Automation server can not create multiple solutions for objects

  

Method 1:
Start-Run: regsvr32 scrrun.dll


Method 2:
Please copy the following statement to the note In this case, save as a file with a .cmd suffix and run it. Of course, there is no problem running the next sentence on the command line.
echo is being fixed, this process may take a few minutes, please wait...
rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%\\System32\\dacui.dll
rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%\\Catroot\\icatalog.mdb
regsvr32 /s comcat.dll
regsvr32 /s asctrls.ocx
regsvr32 /s oleaut32.dll
regsvr32 /s shdocvw.dll /I
Regsvr32 /s shdocvw.dllregsvr32 /s browseui.dll
regsvr32 /s browseui.dll /I
regsvr32 /s msrating.dll
regsvr32 /s mlang.dll
regsvr32 /s Hlink.dll
regsvr32 /s mshtml.dllregsvr32 /s mshtmled.dll
regsvr32 /s urlmon.dll
regsvr32 /s plugin.ocx
regsvr32 /s sendmail.dll
regsvr32 /s mshtml.dll /i
regsvr32 /s scrobj.dll
regsvr32 /s corpol.dll
regsvr32 /s jscript.dll
regsvr32 /s msxml.dll
regsvr32 /s imgutil.dll
regsvr32 /s cryptext.dll
regsvr32 /s inseng.dll
regsvr32 /s iesetup.dll /i
regsvr32 /s cryptdlg.dll
regsvr32 /s actxprxy. Dll
regsvr32 /s dispex.dll
regsvr32 /s occache.dll
reg Svr32 /s iepeers.dll
regsvr32 /s urlmon.dll /i
regsvr32 /s cdfview.dll
regsvr32 /s webcheck.dll
regsvr32 /s mobsync.dll
regsvr32 /s Pngfilt.dll
regsvr32 /s licmgr10.dll
regsvr32 /s hhctrl.ocx
regsvr32 /s inetcfg.dll
regsvr32 /s trialoc.dll
regsvr32 /s tdc.ocx
regsvr32 /s MSR2C.DLL
regsvr32 /s msident.dllregsvr32 /s msieftp.dll
regsvr32 /s xmsconf.ocx
regsvr32 /s ils.dll
regsvr32 /s msoeacct .dll
regsvr32 /s wab32.dllregsvr32 /s wabimp.dllregsvr32 /s wabfind.dllregsvr32 /s oemiglib.dll
regsvr32 /s directdb.dll
Regsvr32 /s inetcomm.dllregsvr32 /s msoe.dllregsvr32 /s oeimport.dllregsvr32 /s msdxm.ocx
regsvr32 /s dxmasf.dll
regsvr32 /s laprxy. Dll
regsvr32 /s l3codecx.ax
regsvr32 /s acelpdec.ax
regsvr32 /s mpg4ds32.ax
regsvr32 /s danim.dll
regsvr32 /s Daxctle.ocx
regsvr32 /s lmrt.dll
regsvr32 /s datime.dll
regsvr32 /s dxtrans.dll
regsvr32 /s dxtmsft.dll
regsvr32 /s wshom.ocx< BR>regsvr32 /s wshext.dllregsvr32 /s vbscript.dllregsvr32 /s scrrun.dll mstinit.exe /setup
regsvr32 /s msnsspc.dll /SspcCreateSspiReg
regsvr32 /s msapsspc. Dll /SspcCreateSspiReg
echo.
echo.
echo Fix it successfully! Any key to exit!
pause>nul

is the registration of the component, my problem is solved by this method.


Method 3:
Has been used well in the vs.net editor, suddenly one day when I create a new project, halfway through, the "Automation server can not create objects" pops up, Then it stopped.

I went to the network to check the C# problem with the "Automation" keyword, and found that many friends have encountered it, and most of the friends who answered the question asked the questioner to ask the IE when parsing the xml file. Errors

Seeing a few friends who answered this kind of question are friends who have encountered this problem. Their answer is: reloading vs.net has no effect. Finally, reinstalling the operating system will solve this problem. solve.
I want to install the operating system really wants my life, so I always use the Copy & Paste project file to achieve the purpose of the new project.

Until one day, I accidentally clicked on vs_setup.msi to add the help documentation for vs.net (I later learned that it should be added by setup.exe). Half of vs_setup.msi is also an error. When the debug result is found, the FileSystemObject creation fails (thanks to God, the error message here is finally friendly).
vs.net error "Automation server can not create objects" Is this also caused by this?

I suddenly remembered that I heard about the use of the FileSystemObject object on the Internet a few months ago. I forgot how to operate it. Anyway, I played with it at the time. I also forgot how to operate it. From that I have never used FileSystemObject in my program. Search on google, found that there are 3 ways to prohibit FileSystemObject, the first method: modify the registry ([HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{0D43FE01-F093-11CF-8940-00A0C9054228}\\ProgID]
@= "Scripting.FileSystemObject"), change the FileSystemObject to an arbitrary name, only the user who knows the name can create the object. I look at the registry, the name is still Scripting.FileSystemObject.

So why can't my FSO be used? I suddenly remembered that I used the second method, "Run Regsvr32 scrrun.dll /u, all users can't create FileSystemObject". It was too embarrassing at the time. Run Regsvr32 scrrun.dll quickly. I tried to create a project with vs.net, a progress reminder, no more damn "Automation server can't create object"

So, friends who have encountered such problems, think about whether there is any movement This "FileSystemObject" cheese should be solved by this method. Otherwise, you really have to reinstall the operating system and reinstall vs.net.


Method 4:
Open the "User Account" in the Control Panel and select the "Automatic Server Cannot Create Object" error message when selecting "Change User Login or Logout Mode". (If you get this error when performing other operations, you can also solve the problem as follows.) The reason is the same.)

Resolve: Mainly Scripting.FileSystemObject (FSO text file read and write) is closed To enable the FSO function, execute regsvr32 scrrun.dll in "Run".

Special method: Execute regsvr32 shimgvw.dll in "Run"
//This article comes from www.45it.com

Method 5:
Do not reinstall OS and vs .net, but some scripts require Microsoft's MSXML control to enter. When using the default security mode of IE 5 or higher, you will be prompted to accept the MSXML control. If accepted, MSXML will be automatically installed on your machine (wait a few minutes). If the automatic installation is not successful, you can download and install MSXML 3.0 yourself. If the "Automation server cannot create object" error still occurs after installing MSXML 3, it is because all the ActiveX is disabled on your machine. Generally, the security mode of IE is set to "Medium".

Method 6: BR> My machine used the above method did not solve the problem, use the following method to solve the problem, you may wish to try: open the "Options" column in the Internet Explorer "Tools" menu bar, click the "Security" column In the Custom Levels tab, set the third item "Initialize and script run activex controls that are not marked as safe" to "Enable".

Copyright © Windows knowledge All Rights Reserved