Solved

Could not write lines to file "obj\..." Access Denied

Posted on 2007-11-16
3
2,210 Views
Last Modified: 2011-09-20
I am trying to compile a program off the network.
I have several other programs that compile off the network, but this one doesn't.
It keeps saying
Could not write lines to file "obj\xxxxx.csproj.FileList.txt". Access to the path '\\share\Documents\xxxxx\obj\xxxxx.csproj.FileList.txt' is denied. xxxxx

I have checked permissions, they are under Everyone, Full Control.

Any Suggestions?

Thanks.
0
Comment
Question by:drbill02
3 Comments
 
LVL 41

Accepted Solution

by:
graye earned 400 total points
ID: 20306448
I presume you checked both the share permission *and* the NTFS permission on the file/directory?
0
 
LVL 29

Expert Comment

by:anarki_jimbel
ID: 20317000
Just check if this file is not locked by any other application like texteditor etc.
0
 

Author Comment

by:drbill02
ID: 20320201
Thanks Graye,

I didn't check on the network share permission.

How can i check if the file is locked by texteditor?

--One Problem done...on to the next..
Do you guys know how to avoid getting this error:

Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, pulicKeyToken=xxxxxxxxxx' failed.

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question