FIX: Access is Denied 0×80070005
Recently I came across the problem where i was occasionally receiving an ‘Access is Denied 0×80070005′ error in the test environment for an ASP.NET application I was developing. After narrowing it down I discovered the error was only ever occurring when a call to the database was being made within the bounds of a TransactionScope(). After a quick search I discovered a thread on the asp.net forums where someone else was having this issue as the MSDTC was not configured correctly.
Applying the same information from the aforementioned thread I soon discovered that the test vs development environments were showing similar results to that mentioned in the thread. In the end the following solution resolved the problem.
Use sc sdshow msdtc on the server to display the current configuration, which should be similar to:
D:(A;;CCLCSWRPLOCRRC;;;S-1–2-0)(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)(A;;CR;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)(A;;CCLCSWRPLORC;;;NS)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
Using sc sdset msdtc change the section in red to read as (A;;CCLCSWRPRC;;;WD) e.g:
D:(A;;CCLCSWRPLOCRRC;;;S-1–2-0)(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)(A;;CCLCSWRPRC;;;WD)(A;;CCLCSWRPLORC;;;NS)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
Coming ‘Back’ Soon
I have been quite slack and not updated my site since transferring it to the new server, and back to good old WordPress. Currently I am working on getting my old wordpress template back into a wordpress template (apparently i only saved it in html/psd form) and online, which is why I have not made any posts.
A few requests have come through in regards to the SrewturnWiki syntax highlighter; I will add a new post with details and a download link for the plugin — so yes it is still avaliable. Thanks to everyone who is using it.
WTF and Sneak Peak: News.com.au
Looks like someone accidently turned on directory browsing on news.com.au. After a quick look there was one folder which stood out “v3″ which is a new version of the website which contains a few new features such as the News Visualiser, Dragable Sections (Drag to reorder page), Click to read more and Your State News. Click pictures for screenshots of the new site or check it out at http://www.news.com.au/v3/.





