Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / May 2005

Tip: Looking for answers? Try searching our database.

Sometimes "Access denied" whilst saving changes to source files on network drive mapping

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gabriel Lozano-Morán - 03 May 2005 10:03 GMT
Once in a while I receive the pop-up "Access denied" when I try to save a
source file of my project. Pressing on the button "Save All" will however
save the source file without problems. The funny thing is that the "Access
denied" doesn't occur with every save.

The source files are located on a network drive mapping (Z:\) that refers to
my user directory on the companies network. There is no source control
provider used or integrated in my Visual Studio .NET IDE and I am the only
who works on these files.

Has anybody experienced the same problem? How can this be solved?

Many thanks

Gabriel Lozano-Morán
Gabriel Lozano-Morán - 03 May 2005 11:03 GMT
Result of filemon, seems like Visual Studio .NET gives me at random an
access denied error trying to change the end of file position. I have
noticed that some classes have missing lines at the bottom as well.

11:49:27 devenv.exe:336 IRP_MJ_SET_INFORMATION*
Z:\gabriel\Development\Sogeti\EnterpriseLibrary\Data\DataFactory.cs ACCESS
DENIED Length: 18915

Search on MSDN and on Googles gives me no results.

Gabriel Lozano-Morán

> Once in a while I receive the pop-up "Access denied" when I try to save a
> source file of my project. Pressing on the button "Save All" will however
[quoted text clipped - 11 lines]
>
> Gabriel Lozano-Morán
Gabriel Lozano-Morán - 03 May 2005 12:12 GMT
I have further narrowed the problem. Looking at filemon I see that
mcshield.exe which is the process for McAfee ActiveShield is causing this
problem. It seems that mcshield sometimes opens an exclusive lock to files I
try to save and that the Visual Studio .NET IDE tries to change the end of
the file position before mcshield closes the handle.

Gabriel Lozano-Morán

> Result of filemon, seems like Visual Studio .NET gives me at random an
> access denied error trying to change the end of file position. I have
[quoted text clipped - 23 lines]
>>
>> Gabriel Lozano-Morán

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.