Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1462
  • Last Modified:

Configuration Error in web.config

Asp.net website using DevArts MySql connector.  Works perfect local.  Uploaded to server and I get this error...

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 'Devart.Data, Version=5.0.1.0, Culture=neutral, PublicKeyToken=09af7300eec23701' or one of its dependencies. The system cannot find the file specified.

Source Error:


Line 67:                         <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 68:                         <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 69:                         <add assembly="Devart.Data, Version=5.0.1.0, Culture=neutral, PublicKeyToken=09AF7300EEC23701"/>
Line 70:                         <add assembly="Devart.Data.Design, Version=5.0.1.0, Culture=neutral, PublicKeyToken=09AF7300EEC23701"/>
Line 71:                         <add assembly="Devart.Data.MySql, Version=5.20.33.0, Culture=neutral, PublicKeyToken=09AF7300EEC23701"/>

Source File: d:\hosting\member\robertnzana4\customerdomains\hlcresource\web.config    Line: 69

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Devart.Data, Version=5.0.1.0, Culture=neutral, PublicKeyToken=09af7300eec23701' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (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\Fusion!EnableLog].
0
RobertNZana
Asked:
RobertNZana
  • 2
1 Solution
 
JaressLooCommented:
Just out of curiosity...have you checked to see if the DLL file is in the bin directory on the web server under your website's root folder?
0
 
RobertNZanaAuthor Commented:
That's wierd.  I added it by 'Add Reference' and selected the dll but it didn't add it to the bin dir.  So I did it manually and it seemed to work.  Isn't it supposed to copy it there automatically?
0
 
JaressLooCommented:
Yeah. I'm not sure why it didn't, but I've had this happen to me before too.

Glad it solved your problem!
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now