Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help. Webservice Creation - File Share? ???

Status
Not open for further replies.

Paladine

Technical User
Sep 16, 2001
26
CA
I am trying to create a web service with C#, as documented in the HOW TO:Write a simple web service by using Visual C#.NET from the Microsoft KB.

The problem is when I try to Create the service I get this error message:

The default web access mode for this project is set to file share, but
the project folder at " cannot be
opened with the path "e:\inetpub\ The
error returned was:

Unable to create Web Project 'Doplhin\MathService'. The file path
'e:\inetpub\ does not correspond with the
URL : ' The two need to map to
the same server location. Error 404:Not Found.

Ok, I am at a loss. What in the world am I doing wrong? My ASP pages,
ASP.NET pages work fine, so what did I miss?

Any help is greatly appreciated!
 
It seems that the path to your web service from the web server is not the same as the one where you deployed the web service.
Could you be more specific of the procedure you followed to create and deploy the web service?
 
Ok, the procedure is as such. I created a Virtual Directory to store/run my asp, and possibly my webservices, called Dolphin. Under in IIS.

I Opened Visual Studio .NET, File -> New -> Project. Under Project Types I selected Visual C# Projects, then ASP.NET Web Service under Templates. Typed MathService in the location text box, clicked ok, it tries to connect/create this, but returns the previous post Error Message.

Hope that is a little moe specific. I am really stumped.

The info for this little project is in the MS KB Article 308359
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top