Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > want to create another virt dir to point to existing .net project

Reply
Thread Tools

want to create another virt dir to point to existing .net project

 
 
Roy79
Guest
Posts: n/a
 
      03-18-2006
I have a Virtual directory (call it it VDA) referenceing a .net webservice on
the same machine to "c:\myproject\wsProject\myapp"
The .webinfo file is refereing to this VDA as "http:\\localhost\VDA\..."

This set up works and is typical.

What I want to do:

I want to create another Virtual Directory (VDB) in the same machine
reference to the same .net webservice to.

However, when I change the .webinfo to reference to
"http:\\localhost\VDB\..." and then open the .sln file. I get the error that
when loading solution "web access failed" and detail messages stating it is
trying to reference VDA and is asking to retry path or use frontpage
extensions or work offline.

Basically is there a way to create a new set of virt directories with a
different name point to a directory of .net code.

 
Reply With Quote
 
 
 
 
Pandurang Nayak
Guest
Posts: n/a
 
      03-22-2006
There are two different things you are trying to do. One is to create two
virtual directories to the same directory - that is possible and you should
be able to browse localhost/VDA and localhost/VDB without any problem.

The second thing is opening the project in VS. What version of VS are you
using? If you are using VS 2005, you can use the Open Website... in IIS and
open the site or Open Website... from File System.

For earlier versions, just create a new empty solution, say "Add existing
project" and then reference the IIS virtual directory. If you created two
empty solutions in different directories, you can reference the same solution
- but I wouldn't know why you would want to do that.


Regards,
Pandurang
--
blog: www.thinkingMS.com/pandurang


"Roy79" wrote:

> I have a Virtual directory (call it it VDA) referenceing a .net webservice on
> the same machine to "c:\myproject\wsProject\myapp"
> The .webinfo file is refereing to this VDA as "http:\\localhost\VDA\..."
>
> This set up works and is typical.
>
> What I want to do:
>
> I want to create another Virtual Directory (VDB) in the same machine
> reference to the same .net webservice to.
>
> However, when I change the .webinfo to reference to
> "http:\\localhost\VDB\..." and then open the .sln file. I get the error that
> when loading solution "web access failed" and detail messages stating it is
> trying to reference VDA and is asking to retry path or use frontpage
> extensions or work offline.
>
> Basically is there a way to create a new set of virt directories with a
> different name point to a directory of .net code.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Share-Point-2010 ,Share-Point -2010 Training , Share-point-2010Hyderabad , Share-point-2010 Institute Saraswati lakki ASP .Net 0 01-06-2012 06:39 AM
External prog get file from main dir, want file in diff dir Kga Agk Ruby 2 06-29-2009 02:09 PM
installing another Web Site Project inside my existing VS2005 website project Rob Dob ASP .Net 2 05-23-2006 12:53 PM
installing another Web Site Project inside my existing VS2005 website project Rob Dob ASP .Net Web Controls 2 05-23-2006 12:53 PM
Renaming a project with another project as the starting point? In another solution Maziar Aflatoun ASP .Net 1 01-22-2005 12:49 AM



Advertisments