| | |
IIS .NET2 virtual directory not working
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2009
Posts: 3
Reputation:
Solved Threads: 0
0
#21 26 Days Ago
•
•
•
•
I'm trying to create a virtual directory in an asp.net 2 application....and I'm about ready to explode.
My company is hosting several web sites, and I want all of the sites to be able to share a directory of commonly used files, so that I won't have to include all those files with every web site.
This is important to me to save disk space and to make updates as simple as possible.
Each web site has its own application is the IIS (IIS 6.0 on Win2K3) with the following things enabled:
Anonymous acces
Integrated Windows authentication
Local impersonation
Everything's peachy until I create a new virtual directory directly below the application top level.
The virtual directory is automatically configured as an application and shows the contents of the to-be shared folder in IIS alright, but when I run my web site .NET gives me an
"Could not find a part of the path " - Error.
The source folder for the shared virtual directory has read/write acces for the "ASP.NET Machine Account" and "Internet Guest Account".
It seems I've tried everything so any hints/solutions will be greatly appreciated. :cry:
first delete your virtual directory.
next create a shortcut (using windows explorer) to the http://address corresponding to the virtual directory.
next switch over to the mmc console and refresh...you'll notice that the .url suffix was added to your shortcut, remove it....i know what your saying but trust me. Now re-create your virtual directory. when you go to your site and click on the link it will append whatever the name of the link is to the end of the http address. I don't know why this works but it does. Make sure that you do the steps in the order i provided because if the virtual directory exists then you will get an error stating the name already exists when you try to delete the .url extension. Let me know if you have any issues interpreting my instructions. You can email me at [snippedl]
Last edited by Ezzaral; 25 Days Ago at 2:29 pm. Reason: Snipped email. Please keep it on site.
•
•
Join Date: Nov 2009
Posts: 3
Reputation:
Solved Threads: 0
0
#22 26 Days Ago
•
•
•
•
Alright I have figured out a solution! Open the iis mmc console and navigate to the folder that your virtual directory is in....also open windows explorer and navigate to the same directory. This gets weird but i assure you that is works!
first delete your virtual directory.
next create a shortcut (using windows explorer) to the http://address corresponding to the virtual directory.
next switch over to the mmc console and refresh...you'll notice that the .url suffix was added to your shortcut, remove it....i know what your saying but trust me. Now re-create your virtual directory. when you go to your site and click on the link it will append whatever the name of the link is to the end of the http address. I don't know why this works but it does. Make sure that you do the steps in the order i provided because if the virtual directory exists then you will get an error stating the name already exists when you try to delete the .url extension. Let me know if you have any issues interpreting my instructions. You can email me at [snipped]
Last edited by Ezzaral; 25 Days Ago at 2:30 pm. Reason: Snipped email. Please keep it on site.
•
•
Join Date: Jun 2005
Posts: 107
Reputation:
Solved Threads: 3
0
#23 25 Days Ago
•
•
•
•
I forgot to add when you create the shortcut name it with the same name of your virtual directory.
If u notice the post dates you'll find that this thread has been dead for more than 2 years now, and no longer has any relevance. But thank you, though ;-)
Web Developer
When something seems too good to be true...it usually is
When something seems too good to be true...it usually is
•
•
Join Date: Nov 2009
Posts: 3
Reputation:
Solved Threads: 0
0
#24 8 Days Ago
Yes I understand that. But here it is two years later and I had the same problem. I ended up on this forum but did not find a solution. Other people will have this problem. But they will come here and find the solution!
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: Deleting duplicate fields
- Next Thread: how to create ms. word docs in asp.net
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax asp asp.net bc30451 beginner bottomasp.net browser businesslogiclayer button c# c#gridviewcolumn cac checkbox child class click commonfunctions compatible confirmationcodegeneration content contenttype control countryselector courier css database datagrid datagridview datagridviewcheckbox datalist deadlock deployment development dgv dialog dropdownmenu dynamic edit embeddingactivexcontrol expose feedback findcontrol flash flv formatdecimal forms formview gridview homeedition iframe iis javascript jquery list menu mono mssql multistepregistration nameisnotdeclared novell objects order problem ratings rotatepage save search security serializesmo.table silverlight smartcard sql sqlserver2005 ssl suse textbox tracking treeview typeof unauthorized validation vb.net video virtualdirectory vista visual-studio visualstudio vs2008 web webarchitecture webdevelopemnt webdevelopment wizard xml youareanotmemberofthedebuggerusers





