Solved

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

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

758 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

19 Experts available now in Live!

Get 1:1 Help Now