Uploading picture after migration from IIS 6.0 to

2019-08-05 18:38发布

问题:

We've got a problem when trying to upload a picture to a IIS application after we've migrated from Windows Server 2003 & IIS 6.0 to Windows Server 2008 R2 & IIS 7.5 a couple of days ago.

You are allowed to choose a picture, but as soon as you click on the "Send"-button to perform the upload you're introduced to the following error message:

"

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/****/****/photouploadproc.asp, line 15

800401f3 

"

In this code, the program uses a proprietary third library called w3upload.dll. We tried to migrate the dll from the old IIS to the new one and give the access rights. It's still not working.

We're close to the edge of insanity, so please, if anybody has any hints or tips we've will gladly accept it :)

回答1:

I'd imagine your running in a 64bit application pool in IIS? you may need to set IIS to allow 32bit applications (dll's, com objects & assemblies etc).

Also, have you registered the dll using regsvr32?