T
TPSreport
I log on to the cookieless application, work within it
for awhile, jump to a URL outside the application, then
return to the application. As soon as a db call is
required, I get the error below. web.config also below.
Thanks in advance for your ideas!
TPS
error message:
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.OleDb.OleDbConnection.Open() +203
web.crgrid.Page_Load(Object sender, EventArgs e) +236
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
----------------------------------------------------------
----------------------
Version Information: Microsoft .NET Framework
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++
my web.config file:
<configuration>
<system.web>
<compilation defaultLanguage="vb"
debug="true"><assemblies></assemblies></compilation>
<customErrors mode="Off"/>
<authentication mode="Forms">
<forms name="pweb_formsauth"
loginUrl="login.aspx" protection="All" timeout="30"/>
</authentication>
<authorization>
<deny verbs="GET, POST" users="?"/>
</authorization>
<trace enabled="false" requestLimit="10"
pageOutput="false" traceMode="SortByTime"
localOnly="true"/>
<sessionState mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes"
cookieless="true" timeout="20"/>
<globalization requestEncoding="utf-8"
responseEncoding="utf-8"/>
</system.web>
</configuration>
for awhile, jump to a URL outside the application, then
return to the application. As soon as a db call is
required, I get the error below. web.config also below.
Thanks in advance for your ideas!
TPS
error message:
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.OleDb.OleDbConnection.Open() +203
web.crgrid.Page_Load(Object sender, EventArgs e) +236
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
----------------------------------------------------------
----------------------
Version Information: Microsoft .NET Framework
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++
my web.config file:
<configuration>
<system.web>
<compilation defaultLanguage="vb"
debug="true"><assemblies></assemblies></compilation>
<customErrors mode="Off"/>
<authentication mode="Forms">
<forms name="pweb_formsauth"
loginUrl="login.aspx" protection="All" timeout="30"/>
</authentication>
<authorization>
<deny verbs="GET, POST" users="?"/>
</authorization>
<trace enabled="false" requestLimit="10"
pageOutput="false" traceMode="SortByTime"
localOnly="true"/>
<sessionState mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes"
cookieless="true" timeout="20"/>
<globalization requestEncoding="utf-8"
responseEncoding="utf-8"/>
</system.web>
</configuration>