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: Login failed for user 'DBUSER'.
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.
Version Information: Microsoft .NET Framework Version:2.0.50727.4918; ASP.NET Version:2.0.50727.4918
Request Details
Session Id:
yhiakoq5ased1cve2qwk4b45
Request Type:
GET
Time of Request:
13-09-2009 16:39:01
Status Code:
500
Request Encoding:
Unicode (UTF-8)
Response Encoding:
Unicode (UTF-8)
Trace Information
Category
Message
From First(s)
From Last(s)
aspx.page
Begin PreInit
umbracoInit
handling request
0,0077523819368104
0,007752
Unhandled Execution Error
Umbraco Exception (DataLayer): SQL helper exception in ExecuteReader at umbraco.DataLayer.SqlHelper`1.ExecuteReader(String commandText, IParameter[] parameters) at umbraco.BusinessLogic.User.setupUser(Int32 ID) at umbraco.BusinessLogic.User..ctor(Int32 ID) at umbraco.BusinessLogic.User.GetUser(Int32 id) at umbraco.content.LoadContentFromDatabase() at umbraco.content.LoadContent() at umbraco.content.get_XmlContentInternal() at umbraco.content.get_XmlContent() at umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Page.OnPreInit(EventArgs e) at System.Web.UI.Page.PerformPreInit() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Make sure your web.config is writeable for the user that your application pool is using. Did you get instructions to manually update your web.config?
It looks like you didn't change the defaults for the database configuration during the installation. You could go to /install/default.aspx and try the installation again. Make sure that you create a database first and know the username and password for that database.
Also refer to the installation manual (page 12 and further) for information on how to install and configure SQL server.
also make sure the dbuser you created has 'dbowner' permissions on your database.
and most likely like Sebastiaan says the NETWORK SERVICE user needs write persmissions on your web.config (if your application pool is running under the NETWORK SERVICE identity)
Torben, maybe, to start off with, it's easier if you try out the Web Platform Installer version. It should set-up everything correctly for you so you wouldn't run into all of these problems.
Login failed for user 'DBUSER'
First time I fire this: http://localhost/umbraco/default.aspx
Server Error in '/umbraco' Application.
Login failed for user 'DBUSER'.
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: Login failed for user 'DBUSER'.
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:
Version Information: Microsoft .NET Framework Version:2.0.50727.4918; ASP.NET Version:2.0.50727.4918
Request Details
Trace Information
Umbraco Exception (DataLayer): SQL helper exception in ExecuteReader
at umbraco.DataLayer.SqlHelper`1.ExecuteReader(String commandText, IParameter[] parameters)
at umbraco.BusinessLogic.User.setupUser(Int32 ID)
at umbraco.BusinessLogic.User..ctor(Int32 ID)
at umbraco.BusinessLogic.User.GetUser(Int32 id)
at umbraco.content.LoadContentFromDatabase()
at umbraco.content.LoadContent()
at umbraco.content.get_XmlContentInternal()
at umbraco.content.get_XmlContent()
at umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Page.OnPreInit(EventArgs e)
at System.Web.UI.Page.PerformPreInit()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Control Tree
Session State
Application State
Request Cookies Collection
Response Cookies Collection
Headers Collection
Response Headers Collection
Form Collection
Querystring Collection
Server Variables
Microsoft
Did you encounter this error during installation or did you already install the application?
I encountered this during installation
Make sure your web.config is writeable for the user that your application pool is using. Did you get instructions to manually update your web.config?
It looks like you didn't change the defaults for the database configuration during the installation. You could go to /install/default.aspx and try the installation again. Make sure that you create a database first and know the username and password for that database.
Also refer to the installation manual (page 12 and further) for information on how to install and configure SQL server.
also make sure the dbuser you created has 'dbowner' permissions on your database.
and most likely like Sebastiaan says the NETWORK SERVICE user needs write persmissions on your web.config (if your application pool is running under the NETWORK SERVICE identity)
Did you initially create a virtual directory somehow? Check if the umbraco-firectory is a virtual-directory. If so, remove that.
1) I encountered this during installation
2) If I go to install/default.aspx I get an error
3) I have been following the Insallation Manual (I hope to the point)
4) how do I check that the user I created (umbracoUser! (and umbracoUser) has the proper access rights (dbowner) to the db?
5) I am not aware having created any virtual directories..
thanks all you nice guys trying to help
Torben
umbracoUser1 sems to be OK but user: umbracoUser is not
Torben, maybe, to start off with, it's easier if you try out the Web Platform Installer version. It should set-up everything correctly for you so you wouldn't run into all of these problems.
Thanks for your advice
I have run into quite a few hiccups.
1) How much do I have to dele/uninstall?
2) Does the MS version of Umbraco give me the same product?
Torben
Yes, it is absolutely the same, no worries. Umbraco is provided TO Microsoft.
The WPI should check what's already installed and configured and finish up for you, I don't think you'd have to uninstall anything.
See this was sound advice.
Umbraco is now installed, db and all, tables created.
The last step in the install procedure asks if I want to install Runway.. Do you recommend this?
I have also ben recommended to install "Creative Website Starter"
Torben
Thank you everyone
is working on a reply...