Chandrasekaran C

Chandrasekaran C

  • 1.8k
  • 138
  • 1.9k

Internal Server Error in website? SQL SERVER

Feb 2 2019 2:30 AM
How to fix 'Internal Server Error in website?' SQL Server connection string
I am working on website building the website is ready its work locally great, but I deploy in website it give Internal server error only the database connection
I change connection string and try various method from others solution. but none of them work.
In web.config
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
{ "Message":"There was an error processing the request.", "StackTrace":"", "ExceptionType":"" }
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
I used to show above errors,
My connection string:
<add name="sdsf" connectionString="Data;Initial Catalog=sample;Integrated Security=False;User ID=xxxxxx;Password=xxxxxxx;Connect Timeout=15;Encrypt=False;TrustServerCertificate=False" />
I need save data but it impact the db in server from run local but I deploy in website the errors shown.

Brought to you by: JavaScript SDK for Bold BI dashboard and analytics embedding. Free trial.

Answers (11)