Click here to Skip to main content
14,390,210 members
Rate this:
Please Sign up or sign in to vote.
See more:
<add name="abcEntities" connectionstring="metadata=res://*/Models.Model1.csdl|res://*/Models.Model1.ssdl|res://*/Models.Model1.msl;provider=MySql.Data.MySqlClient;provider connection string=" server="123.12.123.123;port=3306;Database=mydatabase;Uid=username;Pwd=mypass""" providername="System.Data.EntityClient">

What I have tried:

I am using the above code and i am geeting the error:Server error
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
Please help!
Posted
Updated 15-Aug-19 2:26am
Comments
F-ES Sitecore 15-Aug-19 6:41am
   
You need to debug the code to find the actual error and the line that throws it. 500 is just a generic "something went wrong" message, it doesn't tell you anything in itself.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

500 is a generic error. You'll have to do some digging to find the actual error. Check the event viewer. If not there, then add error handling and more logging so you can track down what the issue is.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100