I have a developed service and client application running on a Vista machine in IIS7 in the Visual Studio 2008 beta 2 with .NET 3.5 framework.
I am trying to deploy the service app to a test pre-deployment server that is on the Internet running Server 2003 sp2. I have had all kinds of issues trying to get what seems a simple thing to work, publish the service and connect.
In Visual Studio I should be able to type URL of the service into the "Add Service Referrence" where upon Visual Studio should interrogiate the service and create the "hook-up" proxies and classes.
At this moment, I have a site setup on the server with HTTP on port 80. I installed the server extensions so that Visual Studio could connect the service directly in the project solution (which it does). So now I have the target service and the client app in a Visual Studio solution together. I then attempt to add the service reference to the client and I get the following error:
There was an error downloading 'http://sys117.bizb.net/aService.svc'.
The request failed with HTTP status 403: Forbidden.
Metadata contains a reference that cannot be resolved: 'http://sys117.bizb.net/aService.svc'.
The HTTP request was forbidden with client authentication scheme 'Anonymous'.
The remote server returned an error: (403) Forbidden.
If the service is defined in the current solution, try building the solution and adding the service reference again.
Does anyone have a step by step method that works for deployment? I would like to know.
I am trying to deploy the service app to a test pre-deployment server that is on the Internet running Server 2003 sp2. I have had all kinds of issues trying to get what seems a simple thing to work, publish the service and connect.
In Visual Studio I should be able to type URL of the service into the "Add Service Referrence" where upon Visual Studio should interrogiate the service and create the "hook-up" proxies and classes.
At this moment, I have a site setup on the server with HTTP on port 80. I installed the server extensions so that Visual Studio could connect the service directly in the project solution (which it does). So now I have the target service and the client app in a Visual Studio solution together. I then attempt to add the service reference to the client and I get the following error:
There was an error downloading 'http://sys117.bizb.net/aService.svc'.
The request failed with HTTP status 403: Forbidden.
Metadata contains a reference that cannot be resolved: 'http://sys117.bizb.net/aService.svc'.
The HTTP request was forbidden with client authentication scheme 'Anonymous'.
The remote server returned an error: (403) Forbidden.
If the service is defined in the current solution, try building the solution and adding the service reference again.
Does anyone have a step by step method that works for deployment? I would like to know.
Comment