Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Error Executing Websites created from Episerver CMS 5

Vote:
 
 

Hello,

I had installed Episerver CMS Ver 5.1.422.256.

Now if I create the empty Episerver website from Visual Studio 2005 then everything is working fine.

But when I am creating new Website with the help of Manager then I am facing error as  

The trust relationship between the primary domain and the trusted domain failed.

 

  

  • 1. Also Ichanged the settings as shown in the link below but then also its not working.

 http://world.episerver.com/en/FAQ/Items/The-trust-relationship-between-the-primary-domain-and-the-trusted-domain-failed/

 

Server Error in '/' Application.


 

The trust relationship between the primary domain and the trusted domain failed.

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.SystemException: The trust relationship between the primary domain and the trusted domain failed.


Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

 

[SystemException: The trust relationship between the primary domain and the trusted domain failed.

]

   System.Security.Principal.NTAccount.TranslateToSids(IdentityReferenceCollection sourceAccounts, Boolean& someFailed) +1167

   System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean& someFailed) +42

   System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess) +46

   System.Security.Principal.WindowsPrincipal.IsInRole(String role) +205

   EPiServer.Web.Hosting.VirtualPathUnifiedProvider.HasFileSystemRights(AuthorizationRuleCollection ruleCollection, FileSystemRights rightsDemand) +145

   EPiServer.Web.Hosting.VirtualPathUnifiedProvider.GetAndValidatePhysicalPathBase(String physicalPath) +209

   EPiServer.Web.Hosting.Versioning.VersioningFileSystem.Init(NameValueCollection config) +107

   EPiServer.Web.Hosting.VirtualPathVersioningProvider..ctor(String name, NameValueCollection configParameters) +198

 

[TargetInvocationException: Exception has been thrown by the target of an invocation.]

   System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) +0

   System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType) +13

   System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +366

   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1036

   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +114

   EPiServer.Web.Hosting.VirtualPathHandler.CreateVirtualPathProviderInstance(ProviderSettings providerSettings) +290

   EPiServer.Web.Hosting.VirtualPathHandler.InitializeProviders(ProviderSettingsCollection providers) +178

   EPiServer.Global.InitializeVirtualPathProviders() +117

   EPiServer.Global.StaticInitialization() +62

   EPiServer.Global.Global_BeginRequest(Object sender, EventArgs e) +119

   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92

   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

#28505
Mar 12, 2009 11:57
Vote:
 

This problem is related to that you machine can not reach the domain controler or if your domain controler has invalid trust reletionship setup.

The easisiest way to solve this (at least in development environment) is to go to the root folders for the VPP (where all files uploaded by the editors are placed).

Right-click on the folder and select properties, security and advanced.

Stop inheriting the access control list. It will ask if you want to copy or remove - choose remove!

Add a local well known security identifier like everyone and give it full access.

So, when you are done, only Everyone should be in the list an no other users or groups from the domain. Then, the above check will not trigger an exception.

#28523
Mar 12, 2009 16:52
Vote:
 

I changed the security properties of the VPP folder and now I am able to execute and run the default page.

Thanks for your help.

Best Regards,

bhavin.chheda@vizualize.com 

 

#28565
Mar 16, 2009 8:13
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.