Initialization failed. Error : The type initializer for '

Posted by Community Admin on 04-Aug-2018 06:03

Initialization failed. Error : The type initializer for 'Telerik.Sitefinity.Localization.Res' threw an exception.

All Replies

Posted by Community Admin on 23-May-2017 00:00

I have tried Using ASP.NET Web API for Sitefinity REST Services but when  built and deployed I 'm getting Initialization failed with  an error saying  "The type initializer for 'Telerik.Sitefinity.Localization.Res' threw an exception".  

 

Even after deleting the files that I have added same error exists and I'm unable to browse my projects. Screenshot attached.

 

I have followed the links below to do so.  

Link1: blog.falafel.com/.../

Link2: docs.microsoft.com/.../tutorial-your-first-web-api

 

Any help on this is highly appreciated.  

 

Thanks,

Santosh

Posted by Community Admin on 23-May-2017 00:00

Hi Santosh, 

Can you please send Sitefinity  error logs. You can find it here: \App_Data\Sitefinity\Logs

Posted by Community Admin on 23-May-2017 00:00

----------------------------------------
Timestamp: 5/23/2017 5:38:43 AM

Message: Timestamp: 5/23/2017 5:38:43 AM
Message: The type initializer for 'Telerik.Sitefinity.Localization.Res' threw an exception.
Category: 
Priority: -1
EventId: 0
Severity: Critical
Title:
Machine: NBHYDSSRIRAM10
App Domain: /LM/W3SVC/1/ROOT-1-131399915214955698
ProcessId: 15032
Process Name: C:\Program Files (x86)\IIS Express\IISExpress.exe
Thread Name: 
Win32 ThreadId:15004
Extended Properties: 

Category: ErrorLog

Priority: -1

EventId: 1

Severity: Information

Title:

Machine: NBHYDSSRIRAM10

App Domain: /LM/W3SVC/1/ROOT-1-131399915214955698

ProcessId: 15032

Process Name: C:\Program Files (x86)\IIS Express\IISExpress.exe

Thread Name: 

Win32 ThreadId:15004

Extended Properties: 
----------------------------------------

Posted by Community Admin on 31-May-2017 00:00
This thread is closed