Sevron
asked on
Classic ASP Server.CreateObject Failed 800401f3
Hi,
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("Scrip ting.FileS ystemObjec t")
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.
Thanks.
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("Scrip
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.
Thanks.
i'm going to guess that it's a permissions issue, what user account did you assign permissions to? assuming it's the IUSR account, make sure it has read/write access to the folder, also make sure the IUSR account (assuming that's the account you're using) has access to scrrun.dll
ASKER
It succeeded registering the scrrun.dll however the issue still remains.
Is there anything else that could cause this?
Is there anything else that could cause this?
Then as Monty says.
are you registering the dll as an admin?
did you check the account has access to the physical dll?
is this a local folder you're saving to or a network drive?
did you check the account has access to the physical dll?
is this a local folder you're saving to or a network drive?
you may also want to move the app to it's own pool:
http://blog.dantup.com/2010/03/intermittent-server-createobject-failed-asp-0177-8000ffff-error-creating-net-com-components/
http://blog.dantup.com/2010/03/intermittent-server-createobject-failed-asp-0177-8000ffff-error-creating-net-com-components/
ASKER
We are registering the dll as an admin.
The security settings for the physical dll says IUSR does not have access to it but when I try to give it access it says permission denied. Is this due to it being in the system32 directory?
This is a local folder.
We also tried the solution regarding the app pool however, this still did not resolve the issue.
I added the registry entry and restarted the app pool however the file still did not download.
The security settings for the physical dll says IUSR does not have access to it but when I try to give it access it says permission denied. Is this due to it being in the system32 directory?
This is a local folder.
We also tried the solution regarding the app pool however, this still did not resolve the issue.
I added the registry entry and restarted the app pool however the file still did not download.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
When you registered, did you follow Gary's instructions to use regsvr32
Are you 300% sure the issue is with fso object?
Did you look at the logs?
Are you 300% sure the issue is with fso object?
Did you look at the logs?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great job thanks for all the help.
most excellent, glad you got it working!
regsvr32 scrrun.dll