Publish HelloWorld Web Service Site from Visual Studio Express 200

Discussion in 'ASP .Net Web Services' started by Peter, Aug 3, 2007.

  1. Peter

    Peter Guest

    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
     
    Peter, Aug 3, 2007
    #1
    1. Advertising

  2. "Peter" <> wrote in message
    news:...
    > 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]
     
    John Saunders [MVP], Aug 3, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. hunkgym
    Replies:
    1
    Views:
    2,022
    =?Utf-8?B?TGVvbiBNYXluZQ==?=
    Oct 30, 2006
  2. jonny
    Replies:
    1
    Views:
    493
    Michael Nemtsev
    Oct 6, 2007
  3. HRsoft Informática

    Visual Web Express 2008 X Visual Studio Pro 2008

    HRsoft Informática, Jun 8, 2008, in forum: ASP .Net
    Replies:
    3
    Views:
    761
    Cowboy \(Gregory A. Beamer\)
    Jun 9, 2008
  4. Tim Royal
    Replies:
    0
    Views:
    741
    Tim Royal
    Aug 28, 2008
  5. Jake Henderson

    Visual Web Developer 2005 Express and SQL 2005 Express

    Jake Henderson, Mar 10, 2006, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    260
    Jake Henderson
    Mar 10, 2006
Loading...

Share This Page