Solved

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

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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…

808 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