Link to home
Start Free TrialLog in
Avatar of resourcesys
resourcesys

asked on

ASP website not running on Windows 2016

Hi all,

I have a new server with windows 2016, and I need to copy across an small number of ASP websites.

So, starting with a single website, I installed all the necessary files and ran the site. When loading a page that connects to an SQL server database, an error occurs and I get a link to a website assuming that ASP is not activated.

To verify that it is, I have loaded a test .asp page and it does load correctly.

I think the issue is related to MDAC, I have tried to install version 2.8 but I can't tell if it actually did install or not. I can't confirm this is the issue but do believe it is database related.

Has anyone else encountered a similar issue, and resolved it?

Any help is appreciated.

resourcesys.
Avatar of David Favor
David Favor
Flag of United States of America image

If you're saying database connection errors are occurring, then maybe you haven't copied over all the databases yet.

Or, if you're attempting to connect a a remote database instance (remote == different machine), then your remote access credentials require review.

Make your question a bit clearer, as to if this is a database connection error or some other error.
It will help to get the exact error.  It does seem like you have asp, but to get the exact error try this at the top of your page

Err.Clear
On Error Resume Next

Open in new window


and at the bottom of the asp page
if Err.Number <> 0 Then
    Response.Write ("ERROR: "&Err.Number&": "&Err.Description)
end if

Open in new window


This will give you the exact error if you are getting a "500" code.

Try and first run a simple data connection without using any dll's too to eliminate that feature.
ASKER CERTIFIED SOLUTION
Avatar of resourcesys
resourcesys

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial