asp:login fails at LIVE location?

View: New views
4 Messages — Rating Filter:   Alert me  

asp:login fails at LIVE location?

by DaleEMoore :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for monodevelop, it's a lovely tool!

But, I have a problem that when I copy from my DEV environment to LIVE the asp:login control does not allow me to login, it's like it cannot find aspnetdb.sqlite. I get the following error "Your login attempt was not successful. Please try again."

I also tried asp:CreateUserWizard but get the following error:

Operation aborted due to an exception (see Trace for details).

System.Configuration.Provider.ProviderException: Operation aborted due to an exception (see Trace for details).
at System.Web.Security.SqliteMembershipProvider.CreateUser (System.String username, System.String password, System.String email, System.String passwordQuestion, System.String passwordAnswer, Boolean isApproved, System.Object providerUserKey, System.Web.Security.MembershipCreateStatus& status) [0x00000]
at System.Web.UI.WebControls.CreateUserWizard.CreateUser () [0x00000]
at System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick (System.Web.UI.WebControls.WizardNavigationEventArgs e) [0x00000]
at System.Web.UI.WebControls.Wizard.ProcessEvent (System.String commandName, System.String commandArg) [0x00000]
at System.Web.UI.WebControls.Wizard.OnBubbleEvent (System.Object source, System.EventArgs e) [0x00000]
at System.Web.UI.WebControls.CreateUserWizard.OnBubbleEvent (System.Object source, System.EventArgs e) [0x00000]
at System.Web.UI.Control.RaiseBubbleEvent (System.Object source, System.EventArgs args) [0x00000]
at System.Web.UI.WebControls.Button.OnCommand (System.Web.UI.WebControls.CommandEventArgs e) [0x00000]
at System.Web.UI.WebControls.Button.RaisePostBackEvent (System.String eventArgument) [0x00000]
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String eventArgument) [0x00000]
at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler sourceControl, System.String eventArgument) [0x00000]
at System.Web.UI.Page.RaisePostBackEvents () [0x00000]
at System.Web.UI.Page.ProcessRaiseEvents () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]
I turned on web.config tracing but it gave me no more information than that displayed above. I wonder where else I can find the trace referred to?

I look forward to hearing from you,
Dale E. Moore

_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list

Re: asp:login fails at LIVE location?

by DaleEMoore :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

asp:login works fine when run in MD, but; fails when I copy the project folder to /var/www. Should I use a different connection than this:
       <add name="sqliteConnection"
          connectionString="Data Source=|DataDirectory|/aspnetdb.sqlite;version=3"
          providerName="Mono.Data.Sqlite"
      />

I've been kind of pulling my hair out on this issue, so; I went into the mono source and pulled the asp:net sqlite connection and used it... I was hoping it would work, but; asp:login still does not let me login.

I look forward to your help,
Dale E. Moore

_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list

Re: asp:login fails at LIVE location?

by Robert Jordan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dale E. Moore wrote:
> asp:login works fine when run in MD, but; fails when I copy the project
> folder to /var/www. Should I use a different connection than this:
>        <add name="sqliteConnection"
>           connectionString="Data
> Source=|DataDirectory|/aspnetdb.sqlite;version=3"
>           providerName="Mono.Data.Sqlite"
>       />


If your live location is powered by Apache, you have to assure
that App_Data is actually writable by the Apache user.

Robert

_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list

Re: asp:login fails at LIVE location?

by DaleEMoore :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Robert!

I tried 

# chmod a+rw -R /var/www/tracktrip

and still cannot login,
Dale

Robert Jordan ...
Sun Nov 1 12:40:59 EST 2009
If your live location is powered by Apache, you have to assure
that App_Data is actually writable by the Apache user.

Robert

_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list