minglelinch
asked on
Configuration Error on file or assembly not loading
I downloaded MSChart.exe and installed on my local machine. My application with chart is working fine. on my local machine. After I posted the application on a testing server, I got the following error. The error locates at line 67: assembly="System.Web.DataV isualizati on.Design -
-------------------------- ---------- ---------- ---------- ---------- -------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'System.Web.DataVisualizat ion.Design , Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad3 64e35' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 65: <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D 50A3A"/>
Line 66: <add assembly="System.Windows.F orms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C56193 4E089"/>
Line 67: <add assembly="System.Web.DataV isualizati on.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD3 64E35"/>
Line 68: <add assembly="System.Web.DataV isualizati on, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD3 64E35"/>
Line 69: <add assembly="System.Windows.F orms.DataV isualizati on.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD3 64E35"/>
Source File: C:\WebApps\OBSAPP\web.conf ig Line: 67
Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.DataVisualizat ion.Design , Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad3 64e35' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\F usion!Enab leLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\F usion!Enab leLog].
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------
How can I resolve it? Please help.
--------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'System.Web.DataVisualizat
Source Error:
Line 65: <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D
Line 66: <add assembly="System.Windows.F
Line 67: <add assembly="System.Web.DataV
Line 68: <add assembly="System.Web.DataV
Line 69: <add assembly="System.Windows.F
Source File: C:\WebApps\OBSAPP\web.conf
Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.DataVisualizat
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\F
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\F
--------------------------
How can I resolve it? Please help.
You used the Microsoft Charting components but the library seems not to be available on the target system. Did you only copy the executable without using an installer?
Can you check .NET framework is installed on that machine?
ASKER
I published my application to that server and I installed MSChart on that machine.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.