Creating a ASP.NET project other than under WWWRoot
I received what seems to be good instructions on how to create
a ASP.NET project on a location other than INETPUB:
I created a virutal directory in wwwroot and pointed it to a folder "MyFolder" I created on the C: drive. I then pasted a default htm page in it, went to my browser and went to http:\\localhost\MyVirtualDirectoryName and voila the page was displayed. So I believe I did this part right.
I then went into .NET IDE to create a new project and typed in
http:\\localhost\MyVirtualDirectoryName\Project1 as the location.
I ended up with a error:
Web Access Error
"The default Web access mode for this projectis set to file share, but the folder at "Http://localhost/MyVirtualDirectory/Project1"
cannot be opened with the path "C:\Myfolder\Project1"
"Unable to create Web project "MyVirtualDirectory/Project1".
the UNC share "C:\Myfolder\Project1" doesnot exist or you do
not have access."
I made MyFolder as a share with permissions to all (Was not
logged on as administrator) with no change in results.
Any Clues?
Thanks
Tom
Ok I understand but still no go
I created under C:\MyFolder a sub folder called "Project1"
Went to create a new project with
Name: Project1
Location: http://localhost/MyVirtualDirectoy/Project1
Still Crappo!
Aieeeee!!! Ive lost it!!!! The computer is sailing off the second
story (just a fantasy of course)
Tom
Diffrent names no problems
Diffrent names no problems
hold on, cud simulate ur problem!
there seems to be some problem with sharing of 'nested' folders, which as u said u did. will get back to u.
VS.Net is unable to create a web-application in a virtual directory in IIS if that..
VS.Net is unable to create a web-application in a virtual directory in IIS if that virtual directory is nested inside another directory on the had-drive. 1 curious work-around is U name the alias as the same name as the actually directory!!
ANY BODY ANY ANSWERS ??
sorry tom cudnt figure this out. BTW do you know, there will be always 1 file which is beyond ur control while u create a web-application in VS.Net & that is the .sln file which is always stored like this - "My Documents/Visual Studio Projects/ProjectName/ProjectName.sln"