I'm in the process of trying to migrate a really old web application to a new Windows Server 2019 box. The old application is coded in ASP and uses
<%@ LANGUAGE = VBScript.Encrypt %>
As the language option for the ASP scripts.
I'm trying to run the migrated scripts on the new server and I'm getting errors:
Active Server Pages error 'ASP 0129'
Unknown scripting language
/Default.asp, line 1
The scripting language 'VBScript.Encrypt' is not found on the server.
Edit: The ProgID is not installed in the Registry. I have no idea how it's being loaded on the server. It also isn't an ISAPI filter. The application continues to run correctly on the Windows 2008 server.
Edit 2: Tried to decode the file using scrdec18.exe but to no avail. The program works on VBScript.Encode and not VBScript.Encrypt
Edit 3: To check further, I added a new ASP page to the loaded server with the following content:
<%
Dim objComponent
On Error Resume Next
' Try to create a COM object
Set objComponent = Server.CreateObject("VBScript.Encrypt")
' Check if the object was created
If Err.Number = 0 Then
Response.Write("COM Component is available.")
Else
Response.Write("COM Component is not available.")
End If
Set objComponent = Nothing
On Error GoTo 0
%>
The result is the COM component is not available.
However, the rest of the website encoded with VBScript.Encrypt still functions.