Can't figure out how to open pre existing web service project

B

Brad Wood

I've reinstalled my operating system and now want to reopen a web
service project.

Here is the URLPath in my project's .webinfo file:
"http://localhost/DriverService/DriverWebService.csproj"

So I create a new virtual directory in IIS, name it "DriverService", and
set it's local path to the directory containing my .csproj (and other
project files). I verified that IIS is working by creating a simple
page in wwwroot and calling http://localhost in a browser.

Then when I open my project I get the "Web Access Failed" error message
reporting "The file path '[path to my project's bin dir]' does not
correspond to the URL 'http://localhost/DriverService'".

So I think I should be pointing the virtual directory to my bin dir, and
I make that change.

Now when I try to open the project I get the error, "Unable to get the
project file from the web server". This makes sense since the paths in
my .csproj and .sln files point to
"localhost/DriverService/DriverWebService.csproj" and there is no such file.

What folder should I point my virtual directory to? BTW, this seems to
have nothing to do with my "web cache" files.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top