we are doing depoyment, and found that although we changed
the database string to point to new database in
web.config, the webapplication still connect to old
database.

Would anyone can tell me what's caused this, and any
solution beside restart web server?

Thanks.
Chang

Re: IIS doesn't pick up database change by jcochran

jcochran
Wed Dec 17 13:03:54 CST 2003

On Wed, 17 Dec 2003 06:50:41 -0800, "Chang" <cwang@gw.odh.state.oh.us>
wrote:

>we are doing depoyment, and found that although we changed
>the database string to point to new database in
>web.config, the webapplication still connect to old
>database.
>
>Would anyone can tell me what's caused this, and any
>solution beside restart web server?

Dump your browser's cache, use the NOCACHE directive, set your IIS not
to cache ASP or wait a few minutes.

Jeff