Error: Automation server can'nt create object

If you are getting error "Automation server can'nt create object" while creating activeX object.like:

var shell = new ActiveXObject("wscript.shell");

It could be due to security settings of your web browser. So to fix this error choose Internet Options from Tools menue and go to Security tab, now choose internet zone and click on Custom level...button. Now, in the security settings window go to "ActiveX controls and Plug-ins" section and enable "Initialize and script ActiveX controls not marked as safe for scripting" and "Run ActiveX controls and plug-ins" options. Enable same options for Local intranet zone also.

Now you should be able to create wscript.shell object.

How to create ASPNET Account

The aspnet_wp or ASP.NET Machine Account(ASPNET) is created when the Microsoft .Net Framework 1.1 is installed onto a Windows XP computer. And a registry key is created at following location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList

You can aslo create it manually by creating a new key of DWORD called ASPNET and give it value 0 type Hexadec. under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon\SpecialAccounts\UserList.

It can also be created by issuing the following command from the run dialog (changing the framework version number as appropriate):
%systemroot%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i

Although you can delete this account but than your asp.net applications may not function properly.