Back to blog

Error 800401F3 with ASP, Server.createObject(“MSWC.AdRotator”) and IIS 7+

December 1, 2014 - Posted in Development Posted by:

I’ve recently been migrating a load of stuff from an old IIS 6, Windows Server 2003 to a brand new box running Windows Server 2012 and IIS 8.5+. One if the things to migrate was an app running using an Access database. Aside from the usual Access permissions problem I also ran across this error: 800401F3 “Server.createObject failed” on the line Server.createObject(“MSWC.AdRotator”).

I had no idea what this meant but after a bit of searching, I found this answer on StackOverflow: http://stackoverflow.com/a/20692585/486434. Which involves copying adrot.dll onto the new server and registering it. Thankfully I could get hold of the dll as I still had the old server. So I put it into C:\Windows\SysWOW64 then it was a case of running the command %systemroot%\syswow64\regsvr32 %systemroot%\syswow64\adrot.dll from a command prompt. I didn’t run into permission errors but the answer talks about granting permissions to Anonymous Login on the dll itself.

Hopefully someone else might find this helpful when migrating an old ASP app to a newer server