I have a Library Project (C#) with MVC website. In this project I'm adding some values to my database. When I publish this website using "Release" mode, it doesn't work correctly in IIS. A connection to my database doesn't work and I can't add any values to my database. When I use "Debug" mode, everything is ok and work correctly. What could be the problem?
Thanks in advance!