Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
masolkar

Automation Server can't create object

Recommended Posts

We are having an issue executing a java script which identifies MAC address of the system.

Following is the excerpt of the script:


10 function clientMac() {
20 var locator = new ActiveXObject("WbemScripting.SWbemLocator");
30 var service = locator.ConnectServer(".");
40 var properties = service.ExecQuery("SELECT * FROM Win32_NetworkAdapterConfiguration");
50 var e = new Enumerator (properties);
60
70 ....
80 ....
90 ....
}

at Line No. 20, we get error as "Automation Server can't create object". We have made necessary settings related to Internet Explorer.

and installed WMI script Library as well on server.

At Present We are using Windows 2008 R2 Server. Also the Script works perfectly on Windows 7 and XP client Machines. The issue is only on the Windows 2008 R2 Server.

We have also updated the OS updates till date.

Please provide your expertise to resolve the same. Appreciate your assistance.

Edited by masolkar

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...