Parser Error Message: Access to the path is denied. caused by SourceSafe merge.

I've used Visual SourceSafe Merge method to merge changes from different brunches of the ASP.NET site project. VSS created merged file, as well as renamed original file with .org extension.
(By the way, it is not widely known, that VSS creates a backup copy of the original file filename.ext.ORG, that can be used to restore file, if merge unsucceded by some reason).

However when I started to run the ASP.NET application in IIS, it caused "Access to the path" errors, e.g.

Parser Error Message: Access to the path 'C:\Projects\FuncSoln\FSDNN\Default.aspx.vb' is denied.

I found that merged files  have in security properties the Inherit from parent the permission entries that apply to child objects. Include these with entries explicitly defined here check box cleared.

And I had to manually change back to Inherit permission entries for Network Service account for each file that was merged.
It looks (I didn't try ) that SetACL utility can propagate of inherited permissions to all files and subfolders.

Site Note: I have to use Web Site Project(because I wasn't able to convert DNN to WAP) and all files with .ORG extension are considered as content and copied to published web site. We don't distribute source code, so it is not desirable. It is recommended to manually delete all .ORG files after the merge was completed.

posted @ Thursday, January 04, 2007 11:24 AM

Print

Comments on this entry:

# re: Parser Error Message: Access to the path is denied. caused by SourceSafe merge.

Left by vish at 6/12/2008 10:16 PM
Gravatar
Good article.ASP and database solved our lots of issue but sometimes due to some error these database get corrupt and our precious data become lost. In this situation we can use access repair utility to repair our database which will fix the error.
get it: http://www.repair-access-file.com
Thanks

# re: Parser Error Message: Access to the path is denied. caused by SourceSafe merge.

Left by Michael Freidgeim at 6/12/2008 11:02 PM
Gravatar
vish,
This post is not related to MS Access database, but to VSS and ASP.NET.

# re: Parser Error Message: Access to the path is denied. caused by SourceSafe merge.

Left by laura at 1/28/2010 12:54 PM
Gravatar
Were you able to find a way of preventing the "access to path denied" error? I'm having the same problem and I have to merge frequently since we have multiple checkouts enabled. Every time I merge I have to go through and fix the security settings on all of my files.

Your comment:



 (will not be displayed)


 
 
 
 
 

Live Comment Preview:

 
«September»
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789