Microsoft VBScript run-time error ' 800a01ad

Source: Internet
Author: User

Microsoft VBScript run-time error ' 800a01ad '
ActiveX Parts Cannot create objects: ' Scripting.FileSystemObject ' In fact, this problem is more common, the reason is that the server does not support FSO components. such as wind, science, and easy to move these ASP's mainstream CMS system often encounter this situation, because they are to take the static generation mechanism, the need for FSO component support. Before you begin, it is necessary to test the server's support for the FSO component with an ASP probe, usually using a Windows 2003 System server.

The following is my specific solution, for each of the causes of the error may be caused by the corresponding analysis, I hope you can help.
1 "scrrun.dll" file is not registered. Line C:windowssystem32 folder, see if there are any scrrun.dll files. If not, go to the System installation directory I386 folder to copy one over. Next, Start menu-> run the following command to register the FSO component:
Regsvr32.exe%windir%/system32/scrrun.dll This opens the server to the FSO component support, if you want to turn off the FSO component, run the following command:
regsvr32.exe/u%windir%/system32/scrrun.dll Normal to here, your problem can be solved.

2) if not, check to see if the browser has disabled ActiveX controls. Normal is not, unless the server, the security level will be strictly limited. If this is the case, adjust the browser's security level to medium-low.
3) Your server itself does not support the FSO component.
4) Consider permission issues. In turn, do the following:
Start menu-> run->regedit-> OK, find Hkey_classes_rootscripting.filesystemobject in turn, right-click "Permissions", plus everyone, Internet Guest Account (IUSR ...) User's permissions, restart IIS to resolve. 5) Attached: The server does not support the solution of the Scripting.Dictionary component
This is a perfect solution to the problem of the ActiveX creation object failing. If you also see problems that do not support the Scripting.Dictionary component, the solution is similar, as the first step is to execute the regsvr32.exe%windir%/system32/scrrun.dll command. If it is not resolved, consider permission issues, and you can add permissions to the object in the registry by referring to step fourth. Extrapolate, if you encounter similar problems again, know how to solve it!
6) Attach: Server.CreateObject failure solution. A similar error may be prompted when we execute the program, as follows:
Server object error ' ASP 0177:800401f3 '
Server.CreateObject failed

/include/test.asp, line 38 open test.asp, check the source 38 line near, look at the creation of the object of the written error, the standard writing should be:
<% Set FSO = Server.CreateObject ("Scripting.FileSystemObject")%> This situation is mostly caused by the careless programmer. In fact, the Scripting.FileSystemObject component can be renamed, this will increase the security of the server, we can change in the registry, the following methods:
Start Menu-> Run->regedit-> OK, find Hkey_classes_rootscripting.filesystemobject in turn, right-click "Rename",
Then perform the first step to register the Scrrun.dll file. Note that when you write the program, you create the object with this new name, or you will report an error. 7) with: IIS self-contained components
There is a point where these problems are due to the components of the IIS itself, and the following common IIS components are provided for reference:

MSWC. AdRotator
MSWC. BrowserType
MSWC. Nextlink
MSWC. Tools
MSWC. Status
MSWC. Counters
SWC. PermissionChecker
Wscript.Shell
Microsoft.XMLHTTP
Scripting.FileSystemObject
ADODB. Connection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.