TypeInitializationException

Oct 19, 2010 at 9:53 AM

Hi Guys,

I am getting a exception, but all it requres to fix it is to turn the site off and on again, then its fine for a bit.

Any ideas what might be the issue?

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

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 19/10/2010 10:42:57
Event time (UTC): 19/10/2010 09:42:57
Event ID: f11b6efcdb95491fb01b7208e069a15a
Event sequence: 18
Event occurrence: 17
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/660059907/Root/blog-1-129319547386017500
    Trust level: Full
    Application Virtual Path: /blog
    Application Path: E:\inetpub\wwwroot\mooredesigns\mooredesigns.co.uk\blog\
    Machine name: SVR100135B
 
Process information:
    Process ID: 848
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: TypeInitializationException
    Exception message: The type initializer for 'BlogEngine.Core.Web.HttpModules.ReferrerModule' threw an exception.
 
Request information:
    Request URL: http://www.mooredesigns.co.uk/blog/default.aspx
    Request path: /blog/default.aspx
    User host address: 217.204.76.139
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 8
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:
 
 
Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Coordinator
Oct 19, 2010 at 4:55 PM

It looks related to the Referrer Module.  If you have the Referrer tracking turned on in the control panel (Referrers tab), you can try disabling it (and then manually turn the site off and back on again to register the change), and see if the error disappears.