+1-888-365-2779
Try Now
More in this section

Forums / Set-up & Installation / Cannot open user default database. Login failed for user 'GLADIATOR\ASPNET'.

Cannot open user default database. Login failed for user 'GLADIATOR\ASPNET'.

2 posts, 0 answered
  1. Eric P.
    Eric P. avatar
    10 posts
    Registered:
    05 Jul 2007
    03 Jan 2008
    Link to this post

    Hello Vlad,

    After following your instructions I now get the error shown below.

    I posted two follow-up messages to your suggestions in my previous post. Did you have a change to look at them yet?

    I'm on a deadline and I'd like to get started with Sitifinity on a healthcare project.

    Eric

    Server Error in '/telerik/JobsIntraSite' Application.  
    --------------------------------------------------------------------------------  
     
    Cannot open user default database. Login failed.  
    Login failed for user 'GLADIATOR\ASPNET'.   
    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.Data.SqlClient.SqlException: Cannot open user default database. Login failed.  
    Login failed for user 'GLADIATOR\ASPNET'.  
     
    Source Error:   
    Line 31:     Assembly assembly = typeof(Job).Assembly;  
    Line 32:     DataConnection.Initialize(false, assembly);  
    Line 33:     OdbDataProvider provider = NolicsHelper.SetConnection("DefaultConnection", "Jobs");  
    Line 34:     //Upgrade the database with the defined data objects for the Jobs module.  
    Line 35:     provider.Upgrade();  
       
     
    Source File: c:\Program Files\telerik\Sitefinity3.1\JobsIntraSite\App_Code\JobsModule.cs    Line: 33   
     
    Stack Trace:   
    [SqlException (0x80131904): Cannot open user default database. Login failed.  
    Login failed for user 'GLADIATOR\ASPNET'.]  
       Nolics.ORMapper.DataProviders.SQLDataProvider.Open() +121  
       Telerik.DataAccess.NolicsHelper.SetConnection(String connectionName, String providerName) +604  
       JobsModule..cctor() in c:\Program Files\telerik\Sitefinity3.1\JobsIntraSite\App_Code\JobsModule.cs:33  
     
    [TypeInitializationException: The type initializer for 'JobsModule' threw an exception.]  
     
    [TargetInvocationException: Exception has been thrown by the target of an invocation.]  
       System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0  
       System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103  
       System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +268  
       System.Activator.CreateInstance(Type type, Boolean nonPublic) +66  
       Telerik.ModuleManager.LoadModules(Boolean reload) +1053  
       Telerik.ModuleManager.LoadModules() +25  
       Telerik.ModuleManager..cctor() +96  
     
    [TypeInitializationException: The type initializer for 'Telerik.ModuleManager' threw an exception.]  
       Telerik.ModuleManager.LoadModules(Boolean reload) +0  
       Telerik.Cms.Web.CmsHttpModule..cctor() +38  
     
    [TypeInitializationException: The type initializer for 'Telerik.Cms.Web.CmsHttpModule' threw an exception.]  
     
    [TargetInvocationException: Exception has been thrown by the target of an invocation.]  
       System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0  
       System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103  
       System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +268  
       System.Activator.CreateInstance(Type type, Boolean nonPublic) +66  
       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  
       System.Web.Configuration.Common.ModulesEntry.Create() +41  
       System.Web.Configuration.HttpModulesSection.CreateModules() +203  
       System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1006  
       System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +259  
       System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +114  
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +350  
     
    --------------------------------------------------------------------------------  
    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433  
     


  2. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    03 Jan 2008
    Link to this post
    Hi Eric P.,

    We have replied to your other ticket. Please find our answer at the following post:
    Sitefinity Forum Thread


    Kind regards,
    Sonya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered