I've followed the below tutorial to retrieve data from a SQL Server database hosted on 1&1, but I'm getting a runtime error.
Connect to a SQL Server database using ASP.NET
I copied the code and changed the credentials to match a very simple database table I created to test it. I saved the file as an aspx
file but when I try and reach the page I get a runtime error. Any suggestions? Complete newbie here so layman terms welcome!
The error is...
Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors>