Jump to content
Software FX Community

Access is denied: 'ChartFX.Data'


User (Legacy)

Recommended Posts

Hi,

I keep running in to problems when trying to bind data to a chart using the

webforms component. I downloaded all the updates and it ran fine for about

10 minutes and then started throwing the error again. I have checked all the

permissions on the dll's both those in the temporary files directory and the

application bin. I have gone as far as giving everybody full control of the

dll.

I have included the error message I am getting below and also copies of the

code I am using to test and the xml that I am using as the datasource.

Does anyone have any ideas? Thanks for any help, Dan.

------------------ Error Message ---------------

Server Error in '/LocalKnowledge' Application.

----------------------------------------------------------------------------

----

Access is denied: 'ChartFX.Data'.

Description: An unhandled exception occurred during the execution of the

current web request. Please review the stack trace for more information

about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Access is denied:

'ChartFX.Data'.

Source Error:

An unhandled exception was generated during the execution of the

current web request. Information regarding the origin and location of the

exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine

why the assembly 'ChartFX.Data' could not be loaded.

=== Pre-bind state information ===

LOG: DisplayName = ChartFX.Data, Version=6.0.839.0, Culture=neutral,

PublicKeyToken=a1878e2052c08dce

(Fully-specified)

LOG: Appbase = file:///c:/inetpub/wwwroot/LocalKnowledge

LOG: Initial PrivatePath = bin

Calling assembly : LocalKnowledge, Version=1.0.1231.28399, Culture=neutral,

PublicKeyToken=null.

===

LOG: Attempting download of new URL

file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET

Files/localknowledge/7013f2b1/983cd7a7/ChartFX.Data.DLL.

LOG: Attempting download of new URL

file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET

Files/localknowledge/7013f2b1/983cd7a7/ChartFX.Data/ChartFX.Data.DLL.

LOG: Attempting download of new URL

file:///c:/inetpub/wwwroot/LocalKnowledge/bin/ChartFX.Data.DLL.

Stack Trace:

[FileLoadException: Access is denied: 'ChartFX.Data'.]

LocalKnowledge.compare_testing.Page_Load(Object sender, EventArgs e) +0

System.Web.UI.Control.OnLoad(EventArgs e)

System.Web.UI.Control.LoadRecursive()

System.Web.UI.Page.ProcessRequestMain()

----------------------------------------------------------------------------

----

Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET

Version:1.1.4322.573

-------------------------------------------------------------------

e: dan@mediasterling.com

t: +44 (0) 20 8980 3697

m: +44 (0) 7980 739 436

-------------------------------------------------------------------

Link to comment
Share on other sites

Hi

I seem to have taken a step forward but now encounter a different error (as

seen below) I have made sure that the file is in the directory which it is

(I have not put it there mind)

Any ideas?

Server Error in '/LocalKnowledge' Application.

----------------------------------------------------------------------------

----

Compilation Error

Description: An error occurred during the compilation of a resource required

to service this request. Please review the following specific error details

and modify your source code appropriately.

Compiler Error Message: CS0006: Metadata file

'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\b6bda0a6\00629e96_2a0bc3

01\chartfx.internet.dll' could not be found

Source Error:

[No relevant source lines]

Source File: Line: 0

Show Detailed Compiler Output:

C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.1.4322\csc.exe"

/t:library /utf8output

/R:"c:\winnt\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web

.dll"

/R:"c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll"

/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\b6bda0a6\00629e96_2a0bc3

01\chartfx.internet.dll"

/R:"c:\winnt\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\s

ystem.web.services.dll"

/R:"c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml

.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\e6ab831c\00a62a62_2a0bc3

01\chartfx.base.dll"

/R:"c:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system

.drawing.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary

asp.net

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\254f8950\0081a890_2a0bc3

01\chartfx.dll"

/R:"c:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d5

0a3a\system.enterpriseservices.dll"

/R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.da

ta.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\08468bf9\0095f2d9_3775c2

01\chartfx.writer.accessibility.dll"

/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\9ff42169\005fe2aa_2a0bc3

01\chartfx.data.dll"

/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\9e1300cf\00c27870_2a0bc3

01\chartfx.borders.dll"

/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\6a083126\360b14b4_0e1ec3

01\localknowledge.dll"

/R:"c:\winnt\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\sys

tem.web.mobile.dll"

/R:"c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll"

/out:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET

Files\localknowledge\7013f2b1\983cd7a7\5fseogfm.dll" /D:DEBUG /debug+

/optimize- /warnaserror /w:1

"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET

Files\localknowledge\7013f2b1\983cd7a7\5fseogfm.0.cs"

Microsoft ® Visual C# .NET Compiler version 7.10.3052.4

for Microsoft ® .NET Framework version 1.1.4322

Copyright © Microsoft Corporation 2001-2002. All rights reserved.

error CS0006: Metadata file

'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\b6bda0a6\00629e96_2a0bc3

01\chartfx.internet.dll' could not be found

error CS0006: Metadata file

'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\e6ab831c\00a62a62_2a0bc3

01\chartfx.base.dll' could not be found

error CS0006: Metadata file

'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\9e1300cf\00c27870_2a0bc3

01\chartfx.borders.dll' could not be found

Show Complete Compilation Source:

Line 1:

//--------------------------------------------------------------------------

----

Line 2: // <autogenerated>

Line 3: // This code was generated by a tool.

Line 4: // Runtime Version: 1.1.4322.573

Line 5: //

Line 6: // Changes to this file may cause incorrect behavior and will

be lost if

Line 7: // the code is regenerated.

Line 8: // </autogenerated>

Line 9:

//--------------------------------------------------------------------------

----

Line 10:

Line 11: namespace ASP {

Line 12: using System;

Line 13: using System.Collections;

Line 14: using System.Collections.Specialized;

Line 15: using System.Configuration;

Line 16: using System.Text;

Line 17: using System.Text.RegularExpressions;

Line 18: using System.Web;

Line 19: using System.Web.Caching;

Line 20: using System.Web.SessionState;

Line 21: using System.Web.Security;

Line 22: using System.Web.UI;

Line 23: using System.Web.UI.WebControls;

Line 24: using System.Web.UI.HtmlControls;

Line 25:

Line 26:

Line 27:

[system.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]

Line 28: public class Global_asax : LocalKnowledge.Global {

Line 29:

Line 30: private static bool __initialized = false;

Line 31:

Line 32: public Global_asax() {

Line 33: if ((ASP.Global_asax.__initialized == false)) {

Line 34: ASP.Global_asax.__initialized = true;

Line 35: }

Line 36: }

Line 37: }

Line 38: }

Line 39:

----------------------------------------------------------------------------

----

Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET

Version:1.1.4322.573

"Dan Rough" <dan@mediasterling.com> wrote in message

news:aXO3US8GDHA.1244@webserver1.softwarefx.com...

> Hi,

>

> I keep running in to problems when trying to bind data to a chart using

the

> webforms component. I downloaded all the updates and it ran fine for about

> 10 minutes and then started throwing the error again. I have checked all

the

> permissions on the dll's both those in the temporary files directory and

the

> application bin. I have gone as far as giving everybody full control of

the

> dll.

>

> I have included the error message I am getting below and also copies of

the

> code I am using to test and the xml that I am using as the datasource.

>

> Does anyone have any ideas? Thanks for any help, Dan.

>

> ------------------ Error Message ---------------

> Server Error in '/LocalKnowledge' Application.

> --------------------------------------------------------------------------

--

> ----

>

> Access is denied: 'ChartFX.Data'.

> Description: An unhandled exception occurred during the execution of the

> current web request. Please review the stack trace for more information

> about the error and where it originated in the code.

>

> Exception Details: System.IO.FileLoadException: Access is denied:

> 'ChartFX.Data'.

>

> Source Error:

>

> An unhandled exception was generated during the execution of the

> current web request. Information regarding the origin and location of the

> exception can be identified using the exception stack trace below.

>

> Assembly Load Trace: The following information can be helpful to determine

> why the assembly 'ChartFX.Data' could not be loaded.

>

> === Pre-bind state information ===

> LOG: DisplayName = ChartFX.Data, Version=6.0.839.0, Culture=neutral,

> PublicKeyToken=a1878e2052c08dce

> (Fully-specified)

> LOG: Appbase = file:///c:/inetpub/wwwroot/LocalKnowledge

> LOG: Initial PrivatePath = bin

> Calling assembly : LocalKnowledge, Version=1.0.1231.28399,

Culture=neutral,

> PublicKeyToken=null.

> ===

>

> LOG: Attempting download of new URL

> file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET

> Files/localknowledge/7013f2b1/983cd7a7/ChartFX.Data.DLL.

> LOG: Attempting download of new URL

> file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET

> Files/localknowledge/7013f2b1/983cd7a7/ChartFX.Data/ChartFX.Data.DLL.

> LOG: Attempting download of new URL

> file:///c:/inetpub/wwwroot/LocalKnowledge/bin/ChartFX.Data.DLL.

>

>

> Stack Trace:

>

> [FileLoadException: Access is denied: 'ChartFX.Data'.]

> LocalKnowledge.compare_testing.Page_Load(Object sender, EventArgs e) +0

> System.Web.UI.Control.OnLoad(EventArgs e)

> System.Web.UI.Control.LoadRecursive()

> System.Web.UI.Page.ProcessRequestMain()

>

>

>

> --------------------------------------------------------------------------

--

> ----

> Version Information: Microsoft .NET Framework Version:1.1.4322.573;

ASP.NET

> Version:1.1.4322.573

>

>

>

> -------------------------------------------------------------------

> e: dan@mediasterling.com

> t: +44 (0) 20 8980 3697

> m: +44 (0) 7980 739 436

> -------------------------------------------------------------------

>

>

>

Attachments.zip

Link to comment
Share on other sites

This second error seem to be happening in your global.asax compilation where

ChartFX is neither referenced or used. Have you been able to use other

components in your asp.net pages ? Have you tried with an aspx page that

does not use the code-behind approach ?

--

Regards,

JC

Software FX Support

"Dan Rough" <dan@mediasterling.com> wrote in message

news:LuG4j9gHDHA.1896@webserver1.softwarefx.com...

> Hi

>

> I seem to have taken a step forward but now encounter a different error

(as

> seen below) I have made sure that the file is in the directory which it is

> (I have not put it there mind)

>

> Any ideas?

>

>

> Server Error in '/LocalKnowledge' Application.

> --------------------------------------------------------------------------

--

> ----

>

> Compilation Error

> Description: An error occurred during the compilation of a resource

required

> to service this request. Please review the following specific error

details

> and modify your source code appropriately.

>

> Compiler Error Message: CS0006: Metadata file

> 'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

>

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\b6bda0a6\00629e96_2a0bc3

> 01\chartfx.internet.dll' could not be found

>

> Source Error:

>

>

> [No relevant source lines]

>

> Source File: Line: 0

>

>

>

> Show Detailed Compiler Output:

>

> C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.1.4322\csc.exe"

> /t:library /utf8output

>

/R:"c:\winnt\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web

> .dll"

> /R:"c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll"

> /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

>

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\b6bda0a6\00629e96_2a0bc3

> 01\chartfx.internet.dll"

>

/R:"c:\winnt\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\s

> ystem.web.services.dll"

>

/R:"c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml

> .dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

>

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\e6ab831c\00a62a62_2a0bc3

> 01\chartfx.base.dll"

>

/R:"c:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system

> .drawing.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary

> asp.net

>

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\254f8950\0081a890_2a0bc3

> 01\chartfx.dll"

>

/R:"c:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d5

> 0a3a\system.enterpriseservices.dll"

>

/R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.da

> ta.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

>

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\08468bf9\0095f2d9_3775c2

> 01\chartfx.writer.accessibility.dll"

> /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

>

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\9ff42169\005fe2aa_2a0bc3

> 01\chartfx.data.dll"

> /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

>

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\9e1300cf\00c27870_2a0bc3

> 01\chartfx.borders.dll"

> /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

>

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\6a083126\360b14b4_0e1ec3

> 01\localknowledge.dll"

>

/R:"c:\winnt\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\sys

> tem.web.mobile.dll"

> /R:"c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll"

> /out:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET

> Files\localknowledge\7013f2b1\983cd7a7\5fseogfm.dll" /D:DEBUG /debug+

> /optimize- /warnaserror /w:1

> "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET

> Files\localknowledge\7013f2b1\983cd7a7\5fseogfm.0.cs"

>

>

> Microsoft ® Visual C# .NET Compiler version 7.10.3052.4

> for Microsoft ® .NET Framework version 1.1.4322

> Copyright © Microsoft Corporation 2001-2002. All rights reserved.

>

> error CS0006: Metadata file

> 'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

>

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\b6bda0a6\00629e96_2a0bc3

> 01\chartfx.internet.dll' could not be found

> error CS0006: Metadata file

> 'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

>

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\e6ab831c\00a62a62_2a0bc3

> 01\chartfx.base.dll' could not be found

> error CS0006: Metadata file

> 'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net

>

files\localknowledge\7013f2b1\983cd7a7\assembly\dl2\9e1300cf\00c27870_2a0bc3

> 01\chartfx.borders.dll' could not be found

>

>

>

>

> Show Complete Compilation Source:

>

> Line 1:

>

//--------------------------------------------------------------------------

> ----

> Line 2: // <autogenerated>

> Line 3: // This code was generated by a tool.

> Line 4: // Runtime Version: 1.1.4322.573

> Line 5: //

> Line 6: // Changes to this file may cause incorrect behavior and

will

> be lost if

> Line 7: // the code is regenerated.

> Line 8: // </autogenerated>

> Line 9:

>

//--------------------------------------------------------------------------

> ----

> Line 10:

> Line 11: namespace ASP {

> Line 12: using System;

> Line 13: using System.Collections;

> Line 14: using System.Collections.Specialized;

> Line 15: using System.Configuration;

> Line 16: using System.Text;

> Line 17: using System.Text.RegularExpressions;

> Line 18: using System.Web;

> Line 19: using System.Web.Caching;

> Line 20: using System.Web.SessionState;

> Line 21: using System.Web.Security;

> Line 22: using System.Web.UI;

> Line 23: using System.Web.UI.WebControls;

> Line 24: using System.Web.UI.HtmlControls;

> Line 25:

> Line 26:

> Line 27:

> [system.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]

> Line 28: public class Global_asax : LocalKnowledge.Global {

> Line 29:

> Line 30: private static bool __initialized = false;

> Line 31:

> Line 32: public Global_asax() {

> Line 33: if ((ASP.Global_asax.__initialized == false)) {

> Line 34: ASP.Global_asax.__initialized = true;

> Line 35: }

> Line 36: }

> Line 37: }

> Line 38: }

> Line 39:

>

>

>

>

> --------------------------------------------------------------------------

--

> ----

> Version Information: Microsoft .NET Framework Version:1.1.4322.573;

ASP.NET

> Version:1.1.4322.573

>

> "Dan Rough" <dan@mediasterling.com> wrote in message

> news:aXO3US8GDHA.1244@webserver1.softwarefx.com...

> > Hi,

> >

> > I keep running in to problems when trying to bind data to a chart using

> the

> > webforms component. I downloaded all the updates and it ran fine for

about

> > 10 minutes and then started throwing the error again. I have checked all

> the

> > permissions on the dll's both those in the temporary files directory and

> the

> > application bin. I have gone as far as giving everybody full control of

> the

> > dll.

> >

> > I have included the error message I am getting below and also copies of

> the

> > code I am using to test and the xml that I am using as the datasource.

> >

> > Does anyone have any ideas? Thanks for any help, Dan.

> >

> > ------------------ Error Message ---------------

> > Server Error in '/LocalKnowledge' Application.

>

> --------------------------------------------------------------------------

> --

> > ----

> >

> > Access is denied: 'ChartFX.Data'.

> > Description: An unhandled exception occurred during the execution of the

> > current web request. Please review the stack trace for more information

> > about the error and where it originated in the code.

> >

> > Exception Details: System.IO.FileLoadException: Access is denied:

> > 'ChartFX.Data'.

> >

> > Source Error:

> >

> > An unhandled exception was generated during the execution of the

> > current web request. Information regarding the origin and location of

the

> > exception can be identified using the exception stack trace below.

> >

> > Assembly Load Trace: The following information can be helpful to

determine

> > why the assembly 'ChartFX.Data' could not be loaded.

> >

> > === Pre-bind state information ===

> > LOG: DisplayName = ChartFX.Data, Version=6.0.839.0, Culture=neutral,

> > PublicKeyToken=a1878e2052c08dce

> > (Fully-specified)

> > LOG: Appbase = file:///c:/inetpub/wwwroot/LocalKnowledge

> > LOG: Initial PrivatePath = bin

> > Calling assembly : LocalKnowledge, Version=1.0.1231.28399,

> Culture=neutral,

> > PublicKeyToken=null.

> > ===

> >

> > LOG: Attempting download of new URL

> > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET

> > Files/localknowledge/7013f2b1/983cd7a7/ChartFX.Data.DLL.

> > LOG: Attempting download of new URL

> > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET

> > Files/localknowledge/7013f2b1/983cd7a7/ChartFX.Data/ChartFX.Data.DLL.

> > LOG: Attempting download of new URL

> > file:///c:/inetpub/wwwroot/LocalKnowledge/bin/ChartFX.Data.DLL.

> >

> >

> > Stack Trace:

> >

> > [FileLoadException: Access is denied: 'ChartFX.Data'.]

> > LocalKnowledge.compare_testing.Page_Load(Object sender, EventArgs e)

+0

> > System.Web.UI.Control.OnLoad(EventArgs e)

> > System.Web.UI.Control.LoadRecursive()

> > System.Web.UI.Page.ProcessRequestMain()

> >

> >

> >

>

> --------------------------------------------------------------------------

> --

> > ----

> > Version Information: Microsoft .NET Framework Version:1.1.4322.573;

> ASP.NET

> > Version:1.1.4322.573

> >

> >

> >

> > -------------------------------------------------------------------

> > e: dan@mediasterling.com

> > t: +44 (0) 20 8980 3697

> > m: +44 (0) 7980 739 436

> > -------------------------------------------------------------------

> >

> >

> >

>

>

Link to comment
Share on other sites

  • 5 years later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...