Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Automation server can't create object

  Asked By: Arnold    Date: Sep 12    Category: Sharepoint    Views: 3520

Using WinHttp from a .HTC behavior set in a .CSS style sheet

We use CSS and .HTC behaviors to customize the look (and sometimes function)
of a WSS site. We do this by associating foo.htc with a WSS CSS class.
However, in our foo.htc, when we use to use

var oHTTP = new ActiveXObject("WinHttp.WinHttpRequest.5.1");

... we get the error:

Microsoft Internet Explorer
Name: Error - Message: Automation server can't create object

Any ideas on why this doesn't work. As a counter example, we don't have
any problem using similar code with the XML DOM:

var xml = new ActiveXObject("MSXML2.DOMDocument.3.0");



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Automation server can't create object Or get search suggestion and latest updates.