ASP.NET application issue pointing to invalid database

I have a web application that uses the MS SQL Server 2008 database. I recently made two copies of the database, one for ongoing development and one for users to start testing and optimizing the application.

Now I have two separate web applications. I changed the web.config version of "test" to point to a test database, but it seems to use the previous version.

Is it cached somewhere? I ran IISRESET in a field, but the test version of my web application still points to the wrong database.

It drives me crazy, any help is appreciated.

+3
source share
4 answers

: , . , web.config .

, , , .

, ?

+4

, , hibernate.config.

+2

, , , , . , !!! !

+1

/ , @Maria, [] (, Test_DB), "" " ", , , MAIN_DB MAIN_DB.log. , , TEST_DB TEST_DB.log, . ( , , [] [test].)

0

Source: https://habr.com/ru/post/1795332/


All Articles