|
Access is denied: 'netchartdir'. |
Posted by Shawn Smiley on Sep-26-2002 20:53 |
|
Periodically after rebuilding my ASP.net project I receive the following error message when attempting to view my website:
Parser Error Message: Access is denied: 'netchartdir'.
Source Error:
Line 150: <add assembly="System.Drawing, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 151: <add assembly="System.EnterpriseServices, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 152: <add assembly="*"/>
Line 153: </assemblies>
Line 154: </compilation>
Source File: c:\\windows\\microsoft.net\\framework\\v1.0.3705\\Config\\machine.config Line: 152
I saw another message that was similar and downloaded the unsigned version of the Chart Director component. However this error still occurs on occasions and the only way to get it to stop is to reboot my workstation.
Is there anything else I can do, beyond using the unsigned component, to fix this problem?
Thank you,
Shawn Smiley |
Re: Access is denied: 'netchartdir'. |
Posted by Peter Kwan on Sep-26-2002 22:40 |
|
Hi Shawn,
This kind of problem seems to be unrelated to ChartDirector but is related to the ASP.NET in general. So I searched the ASP.NET Forums and found something that may be useful.
http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=19215
From my understanding of the ASP.NET forum posting, it appears it is a bug in Visual Studio.NET (are you using VS.NET?) . The VS.NET sometimes may lock up an assembly if it is using incremental linking. The fix is to set Incremental Build to false.
Hope this can help.
Regards
Peter Kwan |
Re: Access is denied: 'netchartdir'. |
Posted by Shawn Smiley on Oct-02-2002 22:33 |
|
Well I thought that fixed it, I went a couple days without seeing this error. However this morning I've already had to reboot 3 times in the last 2 hours due to this error reappearing.
I have confirmed that all of the projects in my VS.net solution are set to IncrementalBuild=False.
FYI, my solution consists of 1 ASP.net website (developing on my local WinXP Pro machine) and 5 C# dll projects. Only the ASP.net website references the chartdirector library.
Also note that if I let my machine sit for about 5-10 minutes, the error seems to go away until I rebuild my solution in VS.net a couple times.
Thanks for any help you can provide.
Shawn. |
Re: Access is denied: 'netchartdir'. |
Posted by Shawn Smiley on Oct-02-2002 23:04 |
|
I found another post on the asp.net forums with another fix for this problem. So far it appears to be working.
http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=30792
It appears to be related to the Indexing service locking the files.
Thanks for your help.
-Shawn. |
Re: Access is denied: 'netchartdir'. |
Posted by Peter Kwan on Oct-03-2002 01:39 |
|
Hi Shawn,
Thank you very very much for your information. The posting about the Indexing service is really useful to us for supporting future related issues.
Regards
Peter Kwan |
|