Fragensteller
Customization could not be loaded because the application domain could not be created.

Frage
-
Hallo zusammen,
Ich kriege folgenden Fehler beim Starten eines VSTO Outlook 2007 Add-ins:
Customization URI: file:///C:/Programme/Travel Add-in for Outlook 2007/TravelAddin.vsto
Exception: Customization could not be loaded because the application domain could not be created.
************** Exception Text **************
Microsoft.VisualStudio.Tools.Applications.Runtime.CannotCreateCustomizationDomainException: Customization could not be loaded because the application domain could not be created. ---> System.TypeLoadException: Der Typ "Microsoft.VisualStudio.Tools.Office.IOfficeAddInEntryPoint" in der Assembly "Microsoft.Office.Tools.v9.0, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" konnte nicht geladen werden.
bei System.Reflection.Assembly._GetType(String name, Boolean throwOnError, Boolean ignoreCase)
[...]Der Fehler kommt auch bei einem frisch erstelltem Outlook 2007 Add-in mit VS2008.
Ich hab schon das .NET Framework komplett neuinstalliert, ebenso VSTO und Office PIA.Websuche ergab, dass der Fehler evtl. auf Sicherheitsbeschränkungen zurückgehen kann, aber was kann da falsch eingestellt sein bzw. welche Policy muss ich erlauben? Mich wundert auch, das nirgends etwas zu IOfficeAddInEntryPoint zu finden ist...
MfG,
Sebastian
Sebastian Brand [www.instyler.com] [blog.sebastianbrand.com]
Alle Antworten
-
Hallo Sebastian Brand,
Schau Dir die folgenden Diskussionsfaden an. Vielleicht findest Du etwas dass Dir weiter helfen kann.
http://social.msdn.microsoft.com/Forums/en/vsto/thread/16c1a120-cd5b-40d4-9027-f02df4106538
http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/78d27323-62fe-4011-8c99-47f5feed9fe0
Grüße,
Robert
-
Danke Robert,
Die Links hab ich schon brav durch. Virenscanner ist deinstalliert, .NET / VSTO / PIA komplett neu installiert. Ich vermute jetzt dass es was mit den Sicherheitsrichtlinien für .NET zu tun hat. Aber in Verbindung mit CannotCreateCustomizationDomainException hab ich noch nix gefunden. :-(
Sebastian Brand [www.instyler.com] [blog.sebastianbrand.com] -
Hallo Sebastian Brand,
Ich habe in Internet alles gesucht was ich suchen kann in dieses Problem aber nichts gedundet das hilfen kann. Du hast derselbe Problem als ich. Hast du etwas gefindet, dass mir hilfen kann?
Danke!
Mikko
PS. Ich habe findet dass das Problem etwas mit dieser Datei hat: es sucht IOfficeAddInEntryPoint weil nur IOfficeEntryPoint besteht. Wenigtens habe ich nichts mit IOfficeAddInEntryPoint in Internet gefindet.
Mehr:
http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/78d27323-62fe-4011-8c99-47f5feed9fe0/#5793df9f-eb25-477b-9f0d-e405437442ae