Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

Ultra simple .asp script returns error 500

$
0
0

Suddenly a web site that has been working for years starting giving error 500. I narrowed it down to one line of code. I then created a file called x.asp just to test with that line in it and it returns error 500 every time. Here is the code for my test file x.asp:

_________________________________________________

<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>

<%
response.write Now

dict = Server.CreateObject("Scripting.Dictionary")

%>

hi

_________________________________________________

The "hi" at the bottom is just to know if it makes it to the end, but it always just returns error 500. What could it be.

Any help would be greatly appreciated.

Running IIS 8 with ASP Classic 4.0 on Server 2012 R2

Thanks,

Darren


Viewing all articles
Browse latest Browse all 488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>