By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,573 Members | 1,924 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,573 IT Pros & Developers. It's quick & easy.

VB.Net project directory permissions

P: n/a


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.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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!
************************************************** ********************
"rick baker" <rb****@co.slc.ut.us> wrote in message
news:uh**************@TK2MSFTNGP11.phx.gbl...


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.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 20 '05 #2

P: n/a

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.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #3

P: n/a
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!
************************************************** ********************
"rick baker" <rb****@co.slc.ut.us> wrote in message
news:eV**************@TK2MSFTNGP09.phx.gbl...

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.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.