Re: [Mp3-cms-svn] Invalid ConnectionString format for parameter"D:\ASP.NET SITE\App_Data\music.db3"
Brought to you by:
nealbailey
|
From: Manoj <mp...@gm...> - 2008-07-21 20:29:33
|
Hello Neal, Helpless I went and installed visual studio 2005 too (which i had removed earlier) : ) Its still giving me the same error, Any ideas? On Mon, Jul 21, 2008 at 11:33 AM, Neal Bailey <nea...@ho...> wrote: > Hi Manoj, > > I have heard that Visual Studio 2008 has problems that have to be hacked > around but I can't verify personally since I'm still using VS2005 for > mp3-cms development. > > I assume that the directory D:\ASP.NET SITE\App_Data exists and that the key > in your NHibernate configuration file look like this: > > <property name="connection.connection_string">Data Source=D:\ASP.NET > SITE\App_Data \music.db3;Version=3;Page Size=4096;Synchronous=Off</property> > > R/ > Neal > > -------------------------------------------------- > From: "Manoj" <mp...@gm...> > Sent: Friday, July 18, 2008 2:50 PM > To: <mp3...@li...> > Subject: [Mp3-cms-svn] Invalid ConnectionString format for > parameter"D:\ASP.NET SITE\App_Data\music.db3" > >> Hi all, >> I exported the svn and opened it in VS2008 (was converted). >> Compilation, Build all went fine. I got the following runtime error. >> >> Any ideas. I wanted to do some enhancing. I am new to svn, but i could >> contribue what I could. >> --Error follows below----- >> >> >> Invalid ConnectionString format for parameter "D:\ASP.NET >> SITE\App_Data\music.db3" >> >> 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.ArgumentException: Invalid ConnectionString >> format for parameter "D:\ASP.NET SITE\App_Data\music.db3" >> >> Source Error: >> >> Line 83: ISession session = SessionManager.GetThreadSession(); >> Line 84: >> Line 85: ITransaction tx = session.BeginTransaction(); >> Line 86: >> Line 87: try >> >> Source File: d:\ASP.NET SITE\site\App_Code\Data\Repository.cs Line: 85 >> >> Stack Trace: >> >> [ArgumentException: Invalid ConnectionString format for parameter >> "D:\ASP.NET SITE\App_Data\music.db3"] >> System.Data.SQLite.SQLiteConnection.ParseConnectionString() +390 >> System.Data.SQLite.SQLiteConnection.Open() +162 >> NHibernate.Connection.DriverConnectionProvider.GetConnection() +97 >> NHibernate.Impl.SessionFactoryImpl.OpenConnection() +60 >> >> [ADOException: cannot open connection] >> NHibernate.Impl.SessionFactoryImpl.OpenConnection() +125 >> NHibernate.Impl.ConnectionManager.GetConnection() +85 >> NHibernate.Impl.SessionImpl.get_Connection() +32 >> NHibernate.Transaction.AdoTransaction.Begin(IsolationLevel >> isolationLevel) +320 >> NHibernate.Transaction.AdoTransaction.Begin() +28 >> NHibernate.Impl.ConnectionManager.BeginTransaction() +39 >> NHibernate.Impl.SessionImpl.BeginTransaction() +41 >> Repository.InitializeDatabase() in d:\ASP.NET >> SITE\site\App_Code\Data\Repository.cs:85 >> DataManagementHttpModule.OnBeginRequest(Object sender, EventArgs e) >> in d:\ASP.NET SITE\site\App_Code\Extensions\DataManagementHttpModule.cs:44 >> >> >> System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() >> +92 >> System.Web.HttpApplication.ExecuteStep(IExecutionStep step, >> Boolean& completedSynchronously) +64 >> >> >> -- >> _______________________________________ >> Manoj >> Do not expect from, or aspire for, for the more you do of either, the >> more your heart will ache; when aspirations fail and expectations >> break. >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Mp3-cms-svn mailing list >> Mp3...@li... >> https://lists.sourceforge.net/lists/listinfo/mp3-cms-svn >> > -- _______________________________________ Manoj Pageni Intersoft Corporation 1101 15th St NW Washington DC, 20005 _______________________________________ Do not expect from, or aspire for, for the more you do of either, the more your heart will ache; when aspirations fail and expectations break. |