Server Error in '/' Application.

The ConnectionString property has not been initialized.

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.InvalidOperationException: The ConnectionString property has not been initialized.

Source Error:


Line 50: 			SqlCommand myCommand = new SqlCommand(albumQry, myConnection);
Line 51: 			myCommand.Parameters.Add("@albumId", SqlDbType.VarChar, 255).Value = Request.QueryString["AlbumId"];
Line 52: 			myConnection.Open();		
Line 53: 			try 
Line 54: 			{

Source File: g:\pleskvhosts\sowibo.com\mace95.com\album\changealbumname.aspx.cs    Line: 52

Stack Trace:


[InvalidOperationException: The ConnectionString property has not been initialized.]
   System.Data.SqlClient.SqlConnection.PermissionDemand() +6356272
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +6342711
   System.Data.SqlClient.SqlConnection.Open() +258
   albums.MHchangealbumname.BindTextBoxes() in g:\pleskvhosts\sowibo.com\mace95.com\album\changealbumname.aspx.cs:52
   albums.MHchangealbumname.Page_Load(Object sender, EventArgs e) in g:\pleskvhosts\sowibo.com\mace95.com\album\changealbumname.aspx.cs:40
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062