asp.net mvc publish with database -
I want to publish one of my hosts to my host. The site was successfully published by the VS and FTP method but the matter is databases side. I have used the unit framework in this project. I have changed the connection string after publication and I have created tables in my online database.
First of all, I want to know how to show a complete error message to my site as it shows when I'm debugging in local mode.
And the other is that should I do anything more that I should do for my DB?
After this I added this line to web.config:
Now this error is:
You section section of your web.config. Can disable custom errors in the web:
& lt ;! - default - & gt; & Lt; CustomError Mode = "Remote Only" Default Redirect = "~ / Home / Error" /> & Lt ;! - disabled - & gt; & Lt; CustomErrors mode = "off" defaultRedirect = "~ / Home / Error" /> MSDN: CustomArray element can be defined at any level in the application file hierarchy.
Official MSDN Documentation:
What do you want to do with DB? I do not know what you mean with anything else.
Comments
Post a Comment