Solved

SERVER ERROR on HOSTED Application

Posted on 2013-07-02
1
286 Views
Last Modified: 2013-07-08
We have a web-application that is hosted by an external company.

The application loads perfectly fine for the most part, but we keep getting an error as detailed below:-
Server Error in '/NAME' Application.

Could not load file or assembly 'Elmah' or one pf its dependencies. The system cannot find the file specified.

[b]Description:[/b] An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information...

[i]Content missed for brevity - can be supplied if necessary[/i]

[b]Stack Trace:[/b]
FileNotFoundException: could not load the file or assembly 'Elmah' or one pf its dependencies. The system cannot find the file specified.
System.RuntimeTypeHandle.GetTypeByName(String Name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly)

Open in new window


And so forth.

We have been told that this is not a problem with the hosted end, but an issue at the User's end, which sounds unlikely.

Can anyone advise whether this is a problem locally or with the Hosted Site?
0
Comment
Question by:winstalla
1 Comment
 
LVL 29

Accepted Solution

by:
Paul Jackson earned 500 total points
ID: 39295135
This is a problem with the hosting, it would appear your application is using ELMAH (Error Logging Modules and Handlers). It would also appear that the assembly for ELMAH has not been deployed correctly in the Web application bin file and added to the Global Assembly Cache.

See the following link for an article on EMLAH and it needs to be deployed.

http://msdn.microsoft.com/en-us/library/aa479332.aspx#elmah_topic5
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question