|
|
|
start date: Fri, 3 Aug 2007 05:28:02 -0700,
posted on: microsoft.public.dotnet.framework.aspnet.webservices
back
| Thread Index |
|
1
Peter
|
|
2
John Saunders [MVP] john.saunders at trizetto.com
|
Publish HelloWorld Web Service Site from Visual Studio Express 200
Hi folks,
I experienced problem to depoly the HelloWorld web service from the
Visual Studio Express 2005 to IIS 6. The following is my workflow:
step-1: in Studio 2005, created the HelloWorld web service
step-2: under websites folder, my application is as below:
folder ws1
- folder App_Code
file Service.cs
- HellowWorld.asmx
step-3: I copy folder ws1 to c:\inetpub\wwwroot
Then I created a consumer. When I did this web reference, a parser error
occurred. The message is extracted as below:
Server error in / Application, Parser Error, Line 1
<%@ WebService ... CodeBehind= "~/App_Code/Service.cs Class=Service" %>
Please advise. Thanks.
PeterK
Date:Fri, 3 Aug 2007 05:28:02 -0700
Author:
|
Re: Publish HelloWorld Web Service Site from Visual Studio Express 200
"Peter" wrote in message
news:368D2355-8C1E-4C45-87FA-DA5B66DC4DD5@microsoft.com...
> Hi folks,
> I experienced problem to depoly the HelloWorld web service from the
> Visual Studio Express 2005 to IIS 6. The following is my workflow:
> step-1: in Studio 2005, created the HelloWorld web service
> step-2: under websites folder, my application is as below:
> folder ws1
> - folder App_Code
> file Service.cs
> - HellowWorld.asmx
> step-3: I copy folder ws1 to c:\inetpub\wwwroot
> Then I created a consumer. When I did this web reference, a parser error
> occurred. The message is extracted as below:
> Server error in / Application, Parser Error, Line 1
> <%@ WebService ... CodeBehind= "~/App_Code/Service.cs Class=Service" %>
I've never used express, so I can't be sure. The other versions have a
Publish command in the Project menu. If you can find a Publish command, then
use that instead of copying the files yourself.
--
John Saunders [MVP]
Date:Fri, 3 Aug 2007 12:05:51 -0400
Author:
|
|
|