jdiaz
jdiaz

Reputation: 7482

Deploying wcf with silverlight application?

I am trying to deploy a Silverlight application on a remote server. I've copied over the files within App.Web which includes the .svc file. I created a virtual directory within IIS 6.0 and am able to successfully host the silverlight portion.

BUT... now I am getting an error:

The type 'ServiceGateway', provided as the Service attribute value in the ServiceHost directive could not be found.

I've tried restarting IIS, verified that the ISAPI mapping for .svc extension is showing in IIS.

It seems to me that the service is not getting started.

Thoughts?

Upvotes: 1

Views: 635

Answers (2)

Trevor Tubbs
Trevor Tubbs

Reputation: 2117

Missing a type sounds like it either wasn't compiled properly or the reference doesn't exist on the server. What version of .NET is installed on the server? It should be at least 3.0.

Upvotes: 1

John Saunders
John Saunders

Reputation: 161831

It looks like the service isn't getting started because you're missing the ServiceGateway type. You may be missing the entire assembly it's meant to be in.

Upvotes: 0

Related Questions