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

Forums / Deployment / Generate error while login to admin

Generate error while login to admin

2 posts, 0 answered
  1. sweety
    sweety avatar
    28 posts
    Registered:
    28 Jun 2010
    19 Jul 2010
    Link to this post
    Dear Team

    I have installed trial version of sitefinity in my system and create a website after completing it i have create virtual sever from IIS for it and run it with the following URL->

    http://localhost/pe2_final/Home.aspx this is working, But when I login it genrates Error and I am unable to go to my admin section ...

    The Generated error message is->

    Server Error in '/pe2_final' Application.

    Failed to update database "C:\INETPUB\WWWROOT\PE2_LATEST\APP_DATA\SITEFINITY.MDF" because the database is read-only.

    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: Failed to update database "C:\INETPUB\WWWROOT\PE2_LATEST\APP_DATA\SITEFINITY.MDF" because the database is read-only.

    Source Error:

    Line 27: 	void Login1_Authenticate(object sender, AuthenticateEventArgs e)
    Line 28: 	{
    Line 29: 		e.Authenticated = UserManager.Default.ValidateUser(this.Login1.UserName, this.Login1.Password);
    Line 30: 	}
    Line 31: 

    Source File: c:\Inetpub\wwwroot\pe2_latest\Sitefinity\Login.aspx.cs    Line: 29

    Stack Trace:

    [SqlException (0x80131904): Failed to update database "C:\INETPUB\WWWROOT\PE2_LATEST\APP_DATA\SITEFINITY.MDF" because the database is read-only.]
       System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1950890
       System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4846875
       System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
       System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392
       System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +33
       System.Data.SqlClient.SqlDataReader.get_MetaData() +83
       System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +297
       System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +954
       System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
       System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
       System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +141
       System.Data.SqlClient.SqlCommand.ExecuteReader() +89
       Nolics.ORMapper.DataProviders.SqlServer2005Provider.BeginUpdate(Connection con) +202
       Nolics.ORMapper.DataProviders.SQLDataProvider.Update(DataSet updateData) +90
       Nolics.ORMapper.Base.Transaction.Commit(Boolean fCleanIfSuccess) +909
       Nolics.ORMapper.Base.Transaction.Commit() +10
       Telerik.DataAccess.AspnetProviders.TelerikMembershipProvider.ValidateUser(String username, String password) +210
       Telerik.Security.UserManager.ValidateUser(String username, String password) +19
       Admin_Login.Login1_Authenticate(Object sender, AuthenticateEventArgs e) in c:\Inetpub\wwwroot\pe2_latest\Sitefinity\Login.aspx.cs:29
       System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e) +108
       System.Web.UI.WebControls.Login.AttemptLogin() +115
       System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +101
       System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
       System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +118
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +166
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
    


    Version Information: Microsoft .NET Fra


    Please guide me how to solve this problem...I am very new in .net and sitefinity both...so I am unable to rectify it at my end..Please help.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    19 Jul 2010
    Link to this post
    Hello sweety,

    You could take a look at


    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered