Base solution for your next web application
Open Closed

I try to connect to an existing database appears error 500 #4128


User avatar
0
msanchezmmc created

I have change the connection string Database = "b5672t897628888" after recompiling and execute in the body of home page I have 500 Error!

logo and menus are ok. is the body having the problem.


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @MSANCHEZMMC,

    You can find detailed error message in the Logs.txt file under your web project. It can be "App_Data/Logs.txt" or under "bin/.../Logs.txt" according to your version.

    If you can find the actual error message, we can try to help you.

    Thanks.

  • User Avatar
    0
    msanchezmmc created

    Thnak you very much. Just for others that could have simnilar problem:

    The issue was because: I just copien, using SQL tools, the ASP.NET ZERO tables to the Database I wanted to work with, and changed the ConnectionString. It didn't work!

    I solved the problem in this way:

    I just changed the ConnectionString in Web.Config to my new Database (already existant) and I made the process of Update-Database using EntityFramework. Now works very fine.

    Thanks again.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks for the feedback @MSANCHEZMMC :)