Classic ASP Server.CreateObject Failed 800401f3
Posted on 2014-07-30
I am currently having issues with our Classic ASP application, it has been recently moved over to a new server. It should be noted it runs fine on our old server.
The versions of windows are slightly different as our new one has service pack 1.
Old Server: Windows Server 2008
New Server: Windows Server 2008 SP1
The error I am getting is as follows, this is occurring on a page which is supposed to serve a PDF document to the user for a download.
Server.CreateObject Failed 800401f3
The code line in question is the following and does work on our old server which leads me to believe something is not set correctly on the new server or IIS.
Set fs = Server.CreateObject("Scripting.FileSystemObject")
Having been reading I have tried a few methods one being registering the scrrun.dll
I have also tried giving read write permission to the folder where the download files are located.
I just found another solution which was to register the mswcrun.dll on our server however it did not exist on the system so I manually downloaded and registered the dll again.
However, I am still getting the same error.
If anyone can help with a solution to this issue it would be greatly appreciated.