Geeks With Blogs

News My Blog has been MOVED to https://mfreidge.wordpress.com
Michael Freidgeim's OLD Blog My Blog has been MOVED to https://mfreidge.wordpress.com

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 on Thursday, January 4, 2007 11:24 AM ASP.NET , .Net Framework | Back to top


Comments on this post: Parser Error Message: Access to the path is denied. caused by SourceSafe merge.

# re: Parser Error Message: Access to the path is denied. caused by SourceSafe merge.
Requesting 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
Left by vish on Jun 12, 2008 10:16 PM

# re: Parser Error Message: Access to the path is denied. caused by SourceSafe merge.
Requesting Gravatar...
vish,
This post is not related to MS Access database, but to VSS and ASP.NET.
Left by Michael Freidgeim on Jun 12, 2008 11:02 PM

# re: Parser Error Message: Access to the path is denied. caused by SourceSafe merge.
Requesting 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.
Left by laura on Jan 28, 2010 12:54 PM

# re: Parser Error Message: Access to the path is denied. caused by SourceSafe merge.
Requesting Gravatar...
Excellent work. Your solution solved my problem. This was the first time I had to use the VSS merge feature on a web site in Visual Studio.
Left by Ali on Oct 05, 2010 10:55 AM

# re: Parser Error Message: Access to the path is denied. caused by SourceSafe merge.
Requesting Gravatar...
I am getting this Error where we can find those .ORG Files
Left by Benit on Nov 10, 2010 3:02 AM

Your comment:
 (will show your gravatar)


Copyright © Michael Freidgeim | Powered by: GeeksWithBlogs.net