Add webservice into project

Discussion in 'ASP.NET WebServices' started by Tinazhu, Aug 22, 2003.

  1. Hi there,

    I met the same problem as Kevin. I can not add web service which I ctearted in my local machine to my project. The error info. as following:


    Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

    Source Error:


    Line 37: by Microsoft that offers a single logon and core profile services for member sites.
    Line 38: -->
    Line 39: <authentication mode="Windows" />
    Line 40:
    Line 41:

    Any reply is welcome. Thanks!

    Tina
     
  2. Tina,

    How did you create the Web Service subweb? You have to use VS.NET to create a new Web Service on DASP - FrontPage 2002 does not configure the subweb as an application.

    What I usually do is create the Web Service on DASP through VS.NET. Then I delete everything but the References and Web References folders. Finally I use the Copy Project function to upload the files from my developement machine.

    Keith Payne
    Technical Marketing Solutions
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    See this KB article

    http://kb.discountasp.net/article.aspx?id=10002

    http://kb.discountasp.net/article.aspx?id=10000


    If you don't use VS.net, you can ftp the directory to the server and create a web application using the webapp too in the control panel

    Hope this helps.,

    quote:Originally posted by gapowel

    KPayne,

    How exactly do you create the Web Service on DASP through VS.NET?
    what is DASP? discountASP?
    Thanks for the help.
    Georgia
    </blockquote id="quote"></font id="quote">
     
  4. KPayne,

    How exactly do you create the Web Service on DASP through VS.NET?
    what is DASP? discountASP?
    Thanks for the help.
    Georgia
     

Share This Page