When using Server.CreateObject, you may have come across this error:
Server object, ASP 0177 (0x8007007E) 8007007e <file>.asp, line <line> or Server object error 'ASP 0177 : 8007007f' Server.CreateObject Failed or Provider Error '8007007E' The specified module could nto be found. |
Make sure that the DLL you are trying to instantiate has actually been registered on the system. A DLL you created in VB will work within the VB environment, but will not work from other interfaces (such as ASP) until you register the code as follows (from the command line):
| regsvr32 <path>\<file>.dll |
Next, check IUSR permissions on the DLL, and any folders, files or executables it might be accessing.
If you are attempting to instantiate FileSystemObject, make sure that no anti-virus or other programs are blocking access to script components, and try re-register scrrun.dll, with the following code at the command line:
| regsvr32 %windir%\system32\scrrun.dll |
If you are trying to use CDONTS.NewMail, use CDO.Message instead, especially if you are running Windows XP. See
Article #2026 for more information.