vb.netvisual-studio-2005web-servicesasmxvisual-sourcesafe

Web Service appears as website instead of developer web server


I recently reimaged my PC and regrabbed one of our projects from Source Safe. In our solution we have a web service that normally runs on a server, however we can build the webservice on our localhost for debugging as well. However, now whenever I grab the project from source safe it is building the webservice as a website instead of a developer web server.

This is causing a variety of issues, specifically I am no longer able to specify which port I would like that webservice to use. As a result I cannot connect to our database through my local webservice.

How can I change the project in my solution that controls the webservice from a website to a developer web server?

The project is using these technologies: MS Visual Studio 2005. MS Visual Source Safe 2005. MS SQL Server 2000. VB .NET project

EDITS:

This is just a clarification I made a comment below:

So to clarify even further, the solution contains multiple projects. One project is a web application in the sense that it contains a web service and web.config but the bulk of the files in the project is mostly app code.


Solution

  • I figured it out. Turns out the issue was that IIS initially saw the webservice as a website. This caused Visual studio to set filepath in the properties for the project to 'http://localhost/project/'. By deleting the website from IIS and setting the filepath to file:///C:/path/project/ the properties window changes from listing itself as a website to a Developer Web Server. That means that the Opened URL is specified along with the path. In addition the Port number, dynamic ports option, and virtual path appear.