I have downloaded CSLA 2.1.3. The ProjectTrackercs solution build’s without errors. When I try to login by providing username and password, I’m getting the following error:
Access to the registry key 'HKEY_CLASSES_ROOT\EnterpriseServicesHost.EnterpriseServicesPortal' is denied.
Failed to register assembly 'EnterpriseServicesHostcs, Version=1.0.0.0, Culture=neutral, PublicKeyToken=01ff308b9193369a'.
You must have administrative credentials to perform this task. Contact your system administrator for assistance.
Following is the stack trace:
at System.EnterpriseServices.RegistrationDriver.InstallAssembly(RegistrationConfig regConfig, Object obSync)
at System.EnterpriseServices.RegistrationHelper.InstallAssemblyFromConfig(RegistrationConfig& regConfig)
at System.EnterpriseServices.RegistrationHelper.InstallAssembly(String assembly, String& application, String partition, String& tlb, InstallationFlags installFlags)
at System.EnterpriseServices.RegistrationHelper.System.EnterpriseServices.Thunk.IThunkInstallation.DefaultInstall(String asm)
at System.EnterpriseServices.Thunk.Proxy.RegisterAssembly(Assembly assembly)
at System.EnterpriseServices.Thunk.Proxy.LazyRegister(Guid id, Type serverType, Boolean checkCache)
at System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, Boolean bQuerySCInfo, Boolean& bIsAnotherProcess, String& uri)
at System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type serverType)
at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, Boolean bNewObj)
at EnterpriseServicesHost.EnterpriseServicesProxy.GetServerObject() in C:\Visual Studio Projects\csla20\ProjectTracker20cs\EnterpriseServicesHostcs\EnterpriseServicesProxy.cs:line 13
at Csla.DataPortalClient.EnterpriseServicesProxy.Fetch(Type objectType, Object criteria, DataPortalContext context) in C:\Visual Studio Projects\csla20\csla20cs\Csla\DataPortal\Client\EnterpriseServicesProxy.cs:line 52
at Csla.DataPortal.Fetch(Type objectType, Object criteria) in C:\Visual Studio Projects\csla20\csla20cs\Csla\DataPortal\Client\DataPortal.cs:line 185
at Csla.DataPortal.Fetch[T](Object criteria) in C:\Visual Studio Projects\csla20\csla20cs\Csla\DataPortal\Client\DataPortal.cs:line 140
at ProjectTracker.Library.Security.PTIdentity.GetIdentity(String username, String password) in C:\Visual Studio Projects\csla20\ProjectTracker20cs\ProjectTracker.Library\Security\PTIdentity.cs:line 57
at ProjectTracker.Library.Security.PTPrincipal.Login(String username, String password) in C:\Visual Studio Projects\csla20\ProjectTracker20cs\ProjectTracker.Library\Security\PTPrincipal.cs:line 15
at PTMembershipProvider.ValidateUser(String username, String password) in c:\Visual Studio Projects\csla20\ProjectTracker20cs\www\PTWeb\App_Code\PTMembershipProvider.cs:line 11
at System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e)
at System.Web.UI.WebControls.Login.AttemptLogin()
at System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Any help to fix this problem will be appreciated.
Thanks
Thank you. It worked.
Som
Copyright (c) Marimer LLC