|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
cannot create files/folders in wwwroot directory
hi
I cannot create/copy any files or folders in the wwwroot directory. I just installed visual studio.NET 2003 complete and IIS 5.1 complete on an XP system and NTFS drive. When I try a Visual C# ASP.NET Web application, VS says that the web components are not installed.....but it is!!! I tried everything..can anyone pls help me out? ![]() |
|
#2
|
|||
|
|||
|
Were you signed on as the local administrator when you installed IIS?
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
|
#3
|
|||
|
|||
|
Yeah its a permission issue.
|
|
#4
|
|||
|
|||
|
yes.. i only use the built-in administrator account thats created when installing XP.
|
|
#5
|
|||
|
|||
|
Then you're going to have to give a more complete explanation of what you are doing and what isn't working.
|
|
#6
|
|||
|
|||
|
It works
Sorry to reply so late...I finally got it working. All I had to do was disable "Simple File sharing" in windows explorer. That displays the security tab in the folder's properties section.
Something small and simple...but winXP is a bit tweaky. ![]() |
|
#7
|
|||
|
|||
|
Marley's fopen day
Thank you kodex750, I want to have your children. This took a full day to crack, and it was only your mention of Simple File Sharing that did it. For the benefit of other hunters, here's a bit more detail of what worked for me.
Firstly, I was presented with "fopen ... failed to open stream ... permission denied". Searching the web on that brought hints but no solution. It was only after I narrowed the problem down to wwwroot that I found your post. I got the error after moving to a new XP SP2 computer. The puzzling thing was that it did not happen on the old machine, which was also SP2. To fix it, click on Tools | Folder Options... | View, from an Explorer window. Turn off Use simple file sharing at the end of the list and click OK. It seems any Explorer window will do - you don't have to Apply to All Folders. Then right-click on (eg) C:\Inetpub\wwwroot and choose Properties. Under the Security tab, highlight a Group or user name called Internet Guest Account (<your computer name>\USR_<your computer name>). In the Permissions area I clicked on Full Control | Allow, but it might have been enough just to uncheck the Deny next to Write. Click OK. This should set the permissions for wwwroot and all its contents. But I found a subfolder still did not work. When I opened Properties for the subfolder, I saw an error message saying the permissions were out of order and might not work. I could click OK to resort them, or Cancel to reset them. A good old helpful Windows choice. I guessed wrong and clicked Cancel: this apparently sets the permssions so Everyone can do everything! I ended up deleting the subfolder and starting again, whereupon !!! fopen works !!!. Thanks again. By the way, I still have no idea why the problem does not arise on the old computer, which has Use simple file sharing enabled. |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > cannot create files/folders in wwwroot directory |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|