VB.Net project directory permissions

  • Thread starter Thread starter rick baker
  • Start date Start date
R

rick baker

I have two projects in a solution and have recently upgraded to Net
Framework 1.1. It's not clear if the problem is directly related to the
upgrade or not. One of my directories returns an error when trying to
"Add" an object:

"directory does not have write permission"


This is only true when using the "Add ..." from the Solution Explorer.
From the windows file explorer there are no permission problems. I can
add a new file and then go into VS.Net and with the Solution Explorer
then use the option to "Include In Project"

The other project directory works fine. I can add objects from the
solution explorer without error.

I've opened up the directory in every place I can think of.
 
It most likely comes from the security updates in 1.1, but you can easily
have an admin look at the NTFS permissions on the directory, which is what
the message is stating. If that is not the issue, you may be connected via
FrontPage server extensions, which can be solved with the Internet Services
Manager. Either way, the box admin is the person to talk to. If that is you,
welcome to the fray. ;->

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
We've looked at all the directory permissions. File explorer lets us
copy, past, create, etc within that directory. Visual Studio seems to
be picking up permissions for that directory from something else.

I've also found that is it possible to "Add Web Form" to my other
project that allows this and then copy/paste in the Solution Explorer to
move into my disfunctional project directory.
 
You are probably using FrontPage extensions. On Server, open Internet
Services Manager and right click on the project in question. Go through the
wizard for the FrontPage extensions. Next, make sure you are an author.

One more thing, make sure you are not dealing with a sub-web, as perms can
be different for sub-webs.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
Back
Top