connection string problems with connectionString property of web.config

B

Brian Henry

I keep gettings this error message in my application event log

Exception information:

Exception type: InvalidOperationException

Exception message: Not allowed to change the 'ConnectionString' property.
The connection's current state is connecting.


Request information:

Request URL: https://webserve/login.aspx

Request path: /login.aspx

User host address: 10.10.1.5

which i do have two connection strings in the web app, but never try to
change them anywhere... they are as follows

<connectionStrings>
<add name="live" connectionString="Data Source=liveserv;Initial
Catalog=msgs_MESSAGING;User Id=scmw;Password=*****;"/>
<add name="debug" connectionString="Data Source=devserv;Initial
Catalog=msgs;User Id=scmw;Password=******;"/>
</connectionStrings>
of course the password is blanked out so ignore the ***'s



wyh would this happen? it happens consistanty daily around the same time of
4pm...
 
C

Christopher Reed

Have you tried adding the providerName attribute to each of the connection
strings?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top