Publish HelloWorld Web Service Site from Visual Studio Express 200

P

Peter

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
 
J

John Saunders [MVP]

Peter said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top