I have website project and there is no connectionString in web.config, in other words I deleted its ConnectionString. now I expect the error but no error, Although I rebuilt website several times…
is here anyone what is my problem?
I have website project and there is no connectionString in web.config, in other words
Share
If you have no connection string and the program can still connect to the DB its highly likely the web.config file has been cached and not reloaded yet.
Although IIS does monitor the web.config file there are certain circumstances where its not notified about file updates and you have to manually recycle the app pool (such as hosting a website off of a NFS share).