PDA

View Full Version : Add webservice into project


Tinazhu
08-22-2003, 07:59 AM
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

KPayne
09-10-2003, 12:52 AM
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

bruce
10-09-2003, 01:19 AM
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.,

[b]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">

gapowel
10-09-2003, 10:18 AM
KPayne,

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