?
Solved

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

Posted on 2007-11-16
3
Medium Priority
?
2,217 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 41

Accepted Solution

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

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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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 …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

771 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