8.3.10 Error COMObject

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

Quote
{}: Error calling constructor (COMObject)
ScrptCtrl = New COMObject("MSScriptControl.ScriptControl");
, reason:
-2147221164(0x80040154): Class not registered

8.3.9 and below works fine Windows 7

 
#2
People who like this:0Yes/0No
Active user
Rating: 7
Joined: Nov 3, 2011
Company: 1C Company

Alexey,

sorry for my belated reply. Probably you are using a 64-bit 1C:Enterprise server with a 32-bit component. If this is the case, try the following:

1. Run the Component Services console (%windir%\system32\comexp.msc).
2. In COM+ Applications branch, add an application (right-click the branch, point to New, and click Applications).
3. In the wizard, select Create an empty application.
4. Enter the application name. For activation type, select Server application.
5. Select the following account: Local Service - built-In Service Account.
6. For CreatorOwner role, add the System account and the account that you use to run 1C:Enterprise server. Then complete the wizard by following the on-screen instructions.
7. Under the new application branch, right-click Components, point to New, and click Component.
8. In the wizard, select Import component(s) that are already registered.
9. On the Choose Components To Import step, select the 32-bit Registry check box and find your component.

Please let me know whether this helped.

 
#3
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

Thank you very much for the suggestion. You are right I was using 64 bit 1c client. It is just to complicated to use COM connection, considering that could pass on every client computer.
We will be searching for a workaround.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.