[Mono-aspnet-list] trouble deploying my application

rtfm13 rtfm13 at gmail.com
Wed Jul 15 23:02:05 EDT 2009




rtfm13 wrote:
> 
> I'll keep playing with web.config.
> 

Got it. This works in MonoDeveloper. This does NOT work with mod_mono,
unless I'm missing some configuration...

  <connectionStrings>
    <add name="MySqlConnection"
connectionString="URI=file:App_Data/aspnetdb.sqlite"/>
  </connectionStrings>

Hard coding the path works with both MonoDeveloper and mod_mono (but they're
both different paths, depending on where my code is).

  <connectionStrings>
    <add name="MySqlConnection"
connectionString="URI=file:/var/www/App_Data/aspnetdb.sqlite"/>
  </connectionStrings>

More importantly, this is what I had initially, which does NOT work:

  <connectionStrings>
    <add name="MySqlConnection"
connectionString="URI=file:~/App_Data/aspnetdb.sqlite"/>
  </connectionStrings>

I'm geussing "the Web application root operator (~)" for server controls
doesn't work in the web.config file.
-- 
View this message in context: http://www.nabble.com/trouble-deploying-my-application-tp24506918p24509380.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.



More information about the Mono-aspnet-list mailing list