How to use Microsoft.JScript in a web service

  • Thread starter Thread starter namewitheldbyrequest
  • Start date Start date
N

namewitheldbyrequest

I created a web service that includes the statement:

using Microsoft.JScript;

so I can use the eval methods. The Web Service won't build:

Error 1 The type or namespace name 'JScript' does not exist in the
namespace 'Microsoft' (are you missing an assembly reference?)

Do I need to ask my hosting service to add something to my site?

This builds correctly when I build it on my local machine, but I think
the hosting service is missing something.

Thanks,

Bill
Cincinnati, OH USA
 
you need to add a referce to Microsoft.JScript.dll

-- bruce (sqlwork.com)
 
How do i add a reference? I am deploying the web service to a hosting
service account.
 
Back
Top