x


System.UnauthorizedAccessException to Temp dll.mdb when running project

Every time I edit a script in MonoDevelop (or with the built in editor) I get this error when running my project:

Internal compiler error. See the console log for more information.
output was:Unhandled Exception: System.UnauthorizedAccessException:
Access to the path "blah...\Temp\cf291a6f7e472a84c8539e503348b31f.dll.mdb" is denied.

(file path truncated for brevity)

Closing the editor and re-opening causes all the scripts to be re-imported (and the Temp folder to be replaced). Then it works again (until the next edit).

Running Windows 7, with Unity 3.3 Pro.

Anyone else experienced the same? Any solution

more ▼

asked Mar 11 '11 at 10:41 AM

badbod99 gravatar image

badbod99
68 3 3 11

Have you found out what the problem was? I'm facing exactly the same thing, it seems, as soon as I'm adding Unity extensions to my project.

Jul 18 '11 at 02:44 AM mduchesneau
(comments are locked)
10|3000 characters needed characters left

1 answer: sort oldest

I actually found it out.

You have to add http://ASP.NET user's to the project folder's permissions, and give it full control.

I added both the IUSR group and the NETWORK SERVICE user; the error went away.

more ▼

answered Jul 18 '11 at 03:08 AM

mduchesneau gravatar image

mduchesneau
1

That seems like a bit of a WTF... and yet it seems to work.. I wonder what http://ASP.NET user permissions have to do with Unity temp folder access...

Sep 04 '12 at 06:11 PM PhobicGunner
(comments are locked)
10|3000 characters needed characters left

This post was a Spambot

edited by testure

more ▼

answered Jul 18 '11 at 03:42 AM

hnrthrt (suspended)
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1729
x351
x182

asked: Mar 11 '11 at 10:41 AM

Seen: 1670 times

Last Updated: Sep 04 '12 at 06:11 PM