Help!
I am havin this error...........what was causing it? How can i solve this? Please help...thanks
***************
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:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: The ConnectionString property has not been initialized.]
System.Data.SqlClient.SqlConnection.Open() +433
Office.Inquiry.Page_Load(Object sender, EventArgs e) in C:\Inetpub\Office\Inquiry.aspx.
vb:85
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
*****************
I have the following codes in my page_load codes....
Dim ddSqlConnection As SqlConnection = New SqlConnection(ConfigurationSettings.AppSettings("C ol_Conn"))
ddSqlConnection.Open()
*********************
And this is my web.config codes
<appSettings>
<add key="myConn" value="server=servername;user=username;password=pa ssword;database=office;"/>
</appSettings>