Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

connection string changing for not apparent reason

Status
Not open for further replies.

aolb

Programmer
Apr 16, 2002
180
GB
We have a .net solution that has many projects and uses DPAPI Encryption on the connection string.

When I am running in debug I can see that the connection string is as expected the first 9 times it is called but then changes to the live connection string for no apparent reason.

Have checked and checked the config files and recompiled and recompiled and still I have the connection string changing from dev to live on the 10th time it’s called!!

Where could it be getting this connection string from?

Any ideas? Coz I’ve been stuck on this problem for too long!

Thanks
 
Thanks for that Rick but I have already been there. I have now resolved the problem by deinstalling everything and reloading from visual source safe.

I believe the problem had something to do with the string being picked from some compiled componant somewhere but god knows where. Recompiling the solution should have sorted that out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top