Re: [Mp3-cms-svn] Invalid ConnectionString format forparameter"D:\ASP.NET SITE\App_Data\music.db3"
Brought to you by:
nealbailey
|
From: Neal B. <nea...@ho...> - 2008-07-22 01:25:51
|
Ah.. yea those developer instructions can be tricky. We did it this way since all the developers have different setups and we got tired of having to keep changing our config files every time we updated the SVN server. Please let us know when you've got something. I think the AJAX feature would be outstanding, where you mouse over a track and get a nice AJAX popup of some kind that displays the lyrics or other things. Great Idea! If you'd like write access to the SVN server as a developer send me your sourceforge id and I'll add you as a developer on the project and then you can commit your changes directly and we all can start using your new features! R/ Neal -------------------------------------------------- From: "Manoj" <mp...@gm...> Sent: Monday, July 21, 2008 9:17 PM To: "Neal Bailey" <nea...@ho...> Cc: "Jeremy Mann" <je...@gm...>; <mp3...@li...> Subject: Re: [Mp3-cms-svn] Invalid ConnectionString format forparameter"D:\ASP.NET SITE\App_Data\music.db3" > Hello Neal, > > Looks like I disregarded it somehow, I will update what happens. In > the meantime, the first I would want to add the following: > > 1. Add image for the artists too > 2. Just like the album page, I would have an artist page, where > description, image, list of their albums, key tracks can be displaced. > 3. For providing song info, instead of loading the new page, i woul > have some ajax work to display it on the same page neatly. > > Also, rating feature for artist and album besides tracks only. > I think they are worth adding to the system :) > > > Thanks, > Manoj > > > > On Mon, Jul 21, 2008 at 9:09 PM, Neal Bailey <nea...@ho...> > wrote: >> Thanks for clarifying that Jeremy. There was a user on the forums a while >> ago that had to do some work to get Visual Studio 2008 to work for him >> but I >> think that he worked out his problem ended up being a setting in Windows >> Server 2008 and not VS2008. >> >> Manjo, so it looks like the issue has to reside in your configuration. >> The >> developer bits can be real tricky to get working and I apologize for >> that. >> Can you validate that you followed the developer instructions outlined in >> this post: http://www.nealosis.com/forum/default.aspx?g=posts&t=40? >> >> ** DEVELOPER INSTRUCTIONS ** >> >> You need the source which can be downloaded from the SVN repository >> >> 1. Copy the sample_web.config file and paste it into the working >> directory >> as Web.Config >> 2. Create a new folder in ~/config called my_settings >> 3. Copy the configuration files in ~/config/default to >> ~/config/my_settings >> 4. Edit the AppSettings.config file. Set a scan path & turn the scanner >> on >> or off >> 5. Edit the NHibernate.config file. In the SQLite >> connection.connection_string property. >> NOTE: This property must point to the fully qaulified path to your >> App_Data >> folder >> 6. Edit the web.config file and replace all instances of /config/default >> to >> /config/my_settings >> >> If you've done all these steps correctly and are still having problems >> can >> you send the contents of your web.config file and NHibernate.config file? >> >> Also, what are you wanting to add to the solution? Perhaps I can add it >> for >> you if you're not able to get the solution working for you in your >> environment. >> >> R/ >> --Neal >> >> >> From: Jeremy Mann >> Sent: Monday, July 21, 2008 8:20 PM >> To: Manoj ; mp3...@li... >> Subject: Re: [Mp3-cms-svn] Invalid ConnectionString format >> forparameter"D:\ASP.NET SITE\App_Data\music.db3" >> Manjo, >> >> Since you didnt mention it, did you verify your connection string is >> valid >> and follows the format in the configuration that Neal provided? For >> reference I can run the project under VS2008 without a problem, so I'm >> guessing the issue is elsewhere. >> >> If your new to SVN, I'd recommend using the VisualSVN plug in for >> VisualStudio. It's basically a Visual Studio plugin/interface with >> TortoiseSVN. They do give out licenses for open source project team >> members >> if you ask nicely. >> >> - Jeremy >> >> >> On Mon, Jul 21, 2008 at 4:29 PM, Manoj <mp...@gm...> wrote: >>> >>> 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. >>> >>> ------------------------------------------------------------------------- >>> 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 >> >> ________________________________ >> >> ------------------------------------------------------------------------- >> 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. > |