Chandrasekaran C

Chandrasekaran C

  • 1.7k
  • 132
  • 976

Internal Server Error in asp.net website? SQL SERVER

Feb 2 2019 2:30 AM
How to fix 'Internal Server Error in asp.net 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"/>
401 ERROR
{ "Message":"There was an error processing the request.", "StackTrace":"", "ExceptionType":"" }
unauthorized
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
I used to show above errors,
My connection string:
<add name="sdsf" connectionString="Data Source=qtsihiot.com;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 qtsihiot.com from run local but I deploy in website the errors shown.

Answers (11)