[Mono-aspnet-list] trouble deploying my application

Robert Jordan robertj at gmx.net
Wed Jul 15 18:22:34 EDT 2009


rtfm13 wrote:
> I have a trivial VB.Net application I'm trying to deploy. The code is from
> quickstarts.asp.net. It uses a custom Login control. The Web.config uses the
> mono SqliteMembershipProvider and I've created an sqlite database using a
> script from  http://mono-project.com/Guide:_Porting_ASP.NET_Applications
> http://mono-project.com/Guide:_Porting_ASP.NET_Applications 
> 
> Here's the  http://www.nabble.com/file/p24506918/web.config web.config 
> 
> The trick is, it works in MonoDevelop - builds, runs flawlessly - but not
> when I copy everything to my apache root web directory. MonoDevelop has no
> problems with my "App_Data/aspnetdb.sqlite" file.
> 
> Now I know when I get...
> -------------
> Server Error in '/' Application
> Operation aborted due to an exception (see Trace for details).
> 
> Description: HTTP 500. Error processing request.
> 
> Stack Trace:
> 
> System.Configuration.Provider.ProviderException: Operation aborted due to an
> exception (see Trace for details).
>   at System.Web.Security.SqliteMembershipProvider.ValidateUser
> (System.String username, System.String password) [0x00000] 
> ...

Please don't cut exceptions.

> ...it's some problem with the sqlite database or its location or the
> resolution thereof. mod_mono is using Autohosting. Did I forget something?

Did you check that the Apache account is allowed to write to
App_Data/aspnetdb.sqlite?

Robert



More information about the Mono-aspnet-list mailing list