Tech Support > Microsoft Windows > Windows CRM > Can't Login to CRM - Server error in application
Can't Login to CRM - Server error in application
Posted by A. B. on December 19th, 2006


When I log into CRM i get the below mentioned error. It usedto work just a
week ago. No changes have been made to anything and all of a sudden we are
recieveing this error.

Server Error in '/' Application
--------------------------------------------------------------------------------

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: Unable to load file
'Microsoft.Crm.Application.SafeHtml'.

Source Error:


Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="*"/>
Line 199: </assemblies>
Line 200: </compilation>


Source File:
c:\windows\microsoft.net\framework\v1.1.4322\Confi g\machine.config Line:
198

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'Microsoft.Crm.Application.SafeHtml' could not be loaded.


=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Crm.Application.SafeHtml
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: Microsoft.Crm.Application.SafeHtml
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/root/2135a508/8d69a834/Microsoft.Crm.Application.SafeHtml.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/root/2135a508/8d69a834/Microsoft.Crm.Application.SafeHtml/Microsoft.Crm.Application.SafeHtml.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/bin/Microsoft.Crm.Application.SafeHtml.DLL.
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspn et.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\confi g\machine.config.
LOG: Post-policy reference: Microsoft.Crm.Application.SafeHtml,
Version=3.0.5300.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
Version:1.1.4322.2300


I have tried resetting the IIS but still no luck.
I'd appriciate any thoughts on how to determin what the problem is.


Posted by Nathan Warner on December 20th, 2006


Check that you haven't recieved .net 2.0 via windows updates.
As this could be giving you grief.
Make sure the CRM site in the IIS has 1.XXXX selected on the ASP.net tab.

hth,
Nathan

"A. B." wrote: