Solved

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

Posted on 2007-11-16
3
2,208 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This is an explanation of a simple data model to help parse a JSON feed
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
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…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

910 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now