Fehler direkt nach der Installation
-
Monday, June 14, 2010 2:27 PM
Hallo zusammen,
ich habe auf einen Server CRM 4 installiert. Alle Checks vorab sind ohne Warnung oder Fehler durchgelaufen.
Danach habe ich, wie vorgeschlagen, einen Restart gemacht.Als ich nach dem Restart die CRM-Website aufgerufen habe, habe ich folgende Fehlermeldung bekommen:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Method not found: 'Void Microsoft.Crm.BusinessEntities.SoapContext.set_RawRequest(System.Object)'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace
for more information about the error and where it originated in the code.
Exception Details: System.MissingMethodException: Method not found: 'Void
Microsoft.Crm.BusinessEntities.SoapContext.set_RawRequest(System.Object)'.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this,
please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first
technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an
application has debugging disabled before deploying into production scenario.
Stack Trace:
[MissingMethodException: Method not found: 'Void Microsoft.Crm.BusinessEntities.SoapContext.set_RawRequest
(System.Object)'.]
Microsoft.Crm.Sdk.InProcessCrmService.CreateSoapContext(Object request) +0
Microsoft.Crm.Sdk.InProcessCrmService.Execute(Object request) +721
Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.ExecuteInternal() +599
Microsoft.Crm.Application.Platform.ServiceCommands.RetrieveAvailableLanguagesCommand.Execute() +7
Microsoft.Crm.Application.Utility.ApplicationLanguage.get_AvailableLanguages() +279
Microsoft.Crm.Application.Controls.AppUIPage.get_AvailableLanguages() +5
Microsoft.Crm.Application.Controls.AppPage..ctor() +21
Microsoft.Crm.Web.Loader..ctor() +91
ASP.Organisation_loader_aspx..ctor() +10
__ASP.FastObjectFactory_app_web_ftlree_x.Create_ASP_Organisation_loader_aspx() +20
System.Web.Compilation.BuildResultCompiledType.CreateInstance() +49
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType,
HttpContext context, Boolean allowCrossApp, Boolean noAssert) +115
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath,
String physicalPath) +31
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType,
VirtualPath virtualPath, String physicalPath) +40
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String
pathTranslated, Boolean useAppConfig) +139
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +120
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42Was kann denn hierfür der Grund sein? Ich wüsste nicht, dass ich irgendetwas vergessen hätte.
Viele Grüße,
Stefan
All Replies
-
Monday, June 14, 2010 4:10 PMModerator
Hallo Stefan,
ich würde einfach die Installation noch einmal laufen lassen, das könnte schon helfen. Ansonsten kannst du auch erst einmal die Schritte in der Fehlermeldung ausführen, um eine genauere Fehlermeldung zu erhalten.
Viele Grüße
Michael Sulz
MVP für Microsoft Dynamics CRM- Marked As Answer by Michael SulzMVP, Moderator Thursday, April 04, 2013 12:12 PM
-
Tuesday, June 15, 2010 7:49 AM
Hallo Michael,
eine Neuinstallation habe ich bereits versucht, mit dem selben Ergebnis.
DevErrors usw. sind an, <compilation defaultLanguage="C#" debug="true"> gesetzt, bekomme aber nicht mehr Informationen.Trace-Files könnte ich noch liefern, falls gewünscht...
Aber ansonsten?
Gruß,
Stefan -
Tuesday, June 15, 2010 8:02 AM
Hallo,
ich habe gerade noch festgestellt, dass in der OU des ADs die Gruppen der ehemaligen Installation auch noch vorhanden sind. Sprich, es sind jetzt zwei Gruppen mit dem gleichen Namen (allerdings mit unterschiedlichen IDs) vorhanden.
Könnte das evtl. schon das Problem sein?
Wie erkenne ich jetzt, welche ich entfernen soll und welche nicht. Oder wurden vielleicht irgendwelche Konfigurationen jetzt auf die jeweils falsche Gruppe angewendet. Wenns nicht sein muss, würde ich jetzt ungern alles deinstallieren, bereinigen und wieder neu installieren...
Und vor allem will ich den Fehler verstehen. Diese Konstellation ist jetzt ja nicht sooo unwahrscheinlich.Gruß,
Stefan -
Tuesday, June 15, 2010 8:21 AMModerator
Hallo Stefan,
das ist kein problem, da die OU über die ID zugeordnet wird. So unwahrscheinlich ist diese Konstellation gar nicht, wenn du nur ein AD aber mehrere CRM Server hast, z.B. Produktiv, Abnahme und Entwicklung.
Viele Grüße
Michael Sulz
MVP für Microsoft Dynamics CRM- Marked As Answer by Michael SulzMVP, Moderator Thursday, April 04, 2013 12:12 PM
-
Tuesday, June 15, 2010 9:08 AM
Hallo Michael,
genau, so unwahrscheinlich ist das meiner Meinung nach nicht.
So, und was mache ich jetzt mit dem System? Hat irgendjemand vielleicht ne Idee?Gruß,
Stefan