Questions tagged [com]

COM - Microsoft Component Object Model

Filter by
Sorted by
Tagged with
2 votes
1 answer
7k views

Complus error (Event ID 4689) on server (IIS)

Yesterday I started getting server too busy errors on some websites we are hosting on our webserver. So I logged on the server and took a look at the event viewer About 4 times / minute im getting ...
0 votes
0 answers
62 views

Retrieve Component Service COM+ Application configuration values

I have a Component Service Application which values need to be retrieved by a powershell script, I've managed to get some configurations like the Pooling & Recycling values with the following ...
0 votes
1 answer
2k views

change Access Permissions in Component Services > COM Security with script/api?

How do I go about changing the Access Permissions for the COM Security? I need to write new values to "Edit Limits..." and "Edit Default..."
1 vote
1 answer
3k 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 ...
4 votes
2 answers
6k views

Server.CreateObject_Failed error when creating a COM object on IIS7 using classic ASP

I am trying to migrate a classic ASP application from a Windows Server 2003, IIS6 server to a Windows 2008, IIS 7 server. The ASP page comes up fine, but the first time it tries to use our .NET ...
1 vote
1 answer
6k 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 vote
1 answer
4k views

How to redirect a Hyper-V COM port named pipe to a file?

I would like to redirect the serial port output on RedHat 5.7 to some recordable or reviewable medium. The normal way to do this on a physical machine is to add the console parameters to the kernel ...
-1 votes
3 answers
2k 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 '...
3 votes
14 answers
2k views

Issues moving an IIS site from w2k to w2k3

Old server is windows 2000, and the original setup guy's answer to pretty much everything was C:\ --> Everyone --> Full Control. However, there WAS a setup doc, that seemed to work up to a point. ...
3 votes
1 answer
3k 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 -...
7 votes
2 answers
9k 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 ...
0 votes
2 answers
259 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:
3 votes
3 answers
11k views

How to retrieve names of all private MSMQ queues - efficiently?

How can I retrieve the names of all of the private MSMQ queues on the local machine, without using System.Messaging.MessageQueue.GetPrivateQueuesByMachine(".")? I'm using PowerShell so any solution ...
0 votes
1 answer
1k 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
2 answers
6k 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
3 answers
12k views

Fatal error: Class 'COM' not found in C:\inetpub\wwwroot\test.php on line 22

There is an IIS 7 webserver and PHP 5.3 I have set com.allow_dcom = true on php.ini file and restarted the webserver. I need to use hmailserver by: $obBaseApp = new COM("hMailServer.Application"); ...
0 votes
1 answer
3k 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
1 answer
3k 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
0 answers
847 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 ...
2 votes
1 answer
2k 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
1 answer
61 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
1 answer
242 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, ...
1 vote
4 answers
4k views

Will Any Popular Root CA Sign a host.domain.local Certificate?

My boss refuses to allow private IP addresses into a public DNS definition. So I am unable to put the private SVN box IP (svn.ourcompany.com) into a .com DNS record. It exists only at svn.ourcompany....
0 votes
2 answers
175 views

Win XP vs Win7, when sending credentials to the remote server, is there a difference?

On a 2003 windows server I have a com+ application which is available to its clients on everybody, anonymous permissions. Windows XP machnes doesn't have problems with accessing, activating, lanuching ...
1 vote
0 answers
2k views

Why is Last Windows Update date not set in Registry when Updating via COMObject?

When i manually Update a Windows Machine (W2K3) via the yellow icon in the Taskbar, i can get the last Install date via the Registry: (Get-ItemProperty -Path Registry::"HKEY_LOCAL_MACHINE\SOFTWARE\...
1 vote
0 answers
138 views

Accessing Outlook Address Book

I have a Delphi XE app and I'd like to pop up the address book dialog that Outlook uses from within my Delphi app - I assume there are COM classes to support this? What's the best way to get this done?...
0 votes
1 answer
638 views

List and compare objects in active directory

I have to clean up computer objects in our AD, and as all computernames has the username included (like pcuser1, nbuser2 and so on), I'm trying to figure out how to generate a complete AD userlist and ...
1 vote
1 answer
197 views

Run java software from OpenVMS

I have a .com file that starts a java software from OpenVMS. Now I need to add the following option to the .com script: set process/parse=extended But it doesn't work! set process/parse_style=...
1 vote
5 answers
9k views

Server.CreateObject Fails when calling .Net object from ASP on 64-bit windows in IIS 32-bit mode

I have a server running Windows 2003 64-bit, that runs IIS in 32-bit mode. I have a COM object that was registered using the following command: C:\WINDOWS\microsoft.net\Framework\v2.0.50727>...
1 vote
1 answer
445 views

How do I allow accessing COM components through IIS service?

What is the best way to allow a user connecting to an IIS service to run a process that instantiates COM objects? Running a COM-based process on the machine with an admin account works fine. ...
0 votes
1 answer
2k views

Virtual COM for Mac OS

IS there a way to create virtual COM ports in Mac OS and connect them to eachother?
0 votes
1 answer
60 views

side by side COM component versions on Windows Server 2000

Is it possible to have different versions of a COM component installed and callable on a Windows 2000 server, much like Registration-Free COM components in Windows Server 2003 onwards?
2 votes
4 answers
3k views

Com DLL becomes unregistered at random

We have a VB6 application that uses a COM object to communicate with an email package. The app runs autonomously and every once in a blue moon the COM DLL seems to become unregistered. A quick call ...