Welcome Guest Search | Active Topics | Sign In | Register

Could not load file or assembly 'EO.Web' or one of its dependencies Options
Posted: Monday, August 13, 2007 2:58:13 PM
Rank: Newbie
Groups: Member

Joined: 7/2/2007
Posts: 5
Hi,

We have an application that works fine locally but doesn't work when copied to the production server.

Ideas appreciated.

Thanks, Crile

---

Parser Error Message: Could not load file or assembly 'EO.Web' or one of its dependencies. The module was expected to contain an assembly manifest.

Source Error:


Line 2:
Line 3: <%@ Register Src="Publications.ascx" TagName="Publications" TagPrefix="uc1" %>
Line 4: <%@ Register TagPrefix="eo" NameSpace="EO.Web" Assembly="EO.Web" %>
Line 5:
Line 6: <script runat="server">

eo_support
Posted: Monday, August 13, 2007 6:08:11 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Hi,

It appears that you are running ASP.NET 2.0 on your local machine and ASP.NET 1.1 on your server, thus the 1.1 runtime on your server does not recognize the DLL for .NET 2.0.

Thanks
Posted: Monday, August 13, 2007 7:02:02 PM
Rank: Newbie
Groups: Member

Joined: 7/2/2007
Posts: 5
Thanks, but we are running ASP 2.0 on both servers.

Here's the error detail:

Server Error in '/wheatlandpolice/proof' Application.


Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'EO.Web' or one of its dependencies. The module was expected to contain an assembly manifest.

Source Error:

Line 2:
Line 3: <%@ Register Src="Publications.ascx" TagName="Publications" TagPrefix="uc1" %>
Line 4: <%@ Register TagPrefix="eo" NameSpace="EO.Web" Assembly="EO.Web" %>
Line 5:
Line 6: <script runat="server">


Source File: /wheatlandpolice/proof/MiniPubDownloadLauncher.ascx Line: 4

Assembly Load Trace: The following information can be helpful to determine why the assembly 'EO.Web' 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].





Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
eo_support
Posted: Monday, August 13, 2007 8:06:37 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Hi,

In that case please check the EO.Web.dll that's on the server is identical to the one that you run locally. Appearantly .NET complains about that the file it found is not a valid DLL file. There are many reasons can cause this, such as corrupted FTP upload, virus, etc. But all result in the file as different as the original one.

Thanks
Posted: Tuesday, August 14, 2007 6:52:22 AM
Rank: Newbie
Groups: Member

Joined: 7/2/2007
Posts: 5
That solved it - the file transfer was incomplete - thanks.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.