Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > 8.3.10 Error COMObject

Forum

Search UsersRules
8.3.10 Error COMObject
#1
Interested
Points:: 15
Joined:: Oct 27, 2011

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

Profile
#2
Active user
Points:: 0
Joined:: Nov 3, 2011

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.

Profile
#3
Interested
Points:: 15
Joined:: Oct 27, 2011

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.

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.