Questions tagged [com]

COM - Microsoft Component Object Model

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

COM Error when running as windows service

My application (.net, executable) creates COM object. It works ok when I run it as an ordinary console application with local administrative account. But the same application throws error Creating an ...
1
vote
1answer
1k views

PowerShell - Invoke-WmiMethod : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

I have 2 workgroup computers. I want to setup powershell-remoting between these two computers. The OS on both the computer is windows 1809. Powershell remoting is enabled in one of the computer. ...
-1
votes
3answers
1k views

Windows Update KB4338819 “Can't create object” COM component

We are using on a C# COM component to link our asp classic app to SQL Server. Since the windows update KB4338819, when I run the app we get the ASP exception: Microsoft JScript runtime error '...
7
votes
2answers
5k views

What does regsvr32 do?

To register a DLL file on a windows server using regsvr32, do you first need to move the file to your system32 folder or is that actually done automatically once you call the regsvr32 command? If I ...
1
vote
1answer
1k views

Why is my application running OK manually, but when I run it in Task Scheduler, it errors out?

I have an application that works on my old Windows 2008 R2 server in Task Scheduler very nicely. It reads data from one web service and then writes some data to another Web Service (so it needs ...
0
votes
1answer
559 views

Error Code 80070569 configuring Windows DCOM Identity with domain user

I have a COM application instantiated by a local Windows service with which I would like to gain access to a network share. To achieve this, I simply attempted to configure my COM server to run as a ...
0
votes
2answers
168 views

Can't load MSMQ COM Object on Windows Server 2012

My VBScript tries to load MSMQ COM Object Set MSMQQueueInfo = CreateObject("MSMQ.MSMQQueueInfo") I enabled Messaging DCOM Proxy Script can't load COM object:
0
votes
1answer
2k views

System Center Configuration Manager Installation Access is denied

How to resolve the error during installation of System Center Configuration Manager 2012 with a external MSSQL 2012 Database? Error Log 2/12/2016 7:33:26 AM: ConfigMgrSetupWizard Information: 1 : ...
2
votes
1answer
2k views

Visual Studio's Just-In-Time Debugger window appears in randomly chosen RDP Session

On a Windows Server 2008 R2 Server with Remote Desktop Services installed and multiple users logged on, the Visual Studio Just-In-Time Debugger window may appear on any RDP session, not necessarily ...
1
vote
0answers
576 views

DCOM Security Settings not exported with secedit

I've got a problem with exporting the DCOM-settings. I call secedit /export /cfg C:\UserAccess\config.txt This should export the COM and DCOM settings. But I don't get all of the settings. For ...
1
vote
1answer
1k views

Powershell: Pass parameter by name toa com object function

How can I pass parameters to a com-object function by name rather than by position? Specifically, I've a com-object function (Word document com-object SaveAs2) and for example I want to pass values ...
0
votes
1answer
44 views

Setting COM permissions

Our little COM library is getting the dreaded 80004005 error on a customer's new computer. I recall this has to do with COM permissions, but for the life of me I can't find these any more on this ...
0
votes
2answers
4k views

PowerShell script can't open a file when run as a scheduled task

My PowerShell (2.0) script has the following code snippet: $fileName = "c:\reports\1.xlsx" $xl = new-object -comobject excel.application $xlFormat = [Microsoft.Office.Interop.excel.XlFileFormat]::...
0
votes
1answer
167 views

Is there a way to determine what custom com+ objects are no longer in use?

What ways are available to see if a custom COM+ application is no longer in use? I'm with a company that has been doing custom software development for nearly 20 years. They have a lot of older, ...
3
votes
1answer
2k views

Set the username and password for DCOM application

Is there a way to run a script against a remote machine to enter the username and password for a specific DCOM application? Locally on the server, I can open up Command Prompt, and type: dcomperm -...

15 30 50 per page