COM - Microsoft Component Object Model

learn more… | top users | synonyms

2
votes
2answers
1k 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 ...
0
votes
2answers
525 views

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

Cross-posting from Stack Overflow because there are probably many more Powershell experts on Server Fault. My Powershell (2.0) script has the following code snippet: $fileName = "c:\reports\1.xlsx" ...
1
vote
1answer
381 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 ...
0
votes
1answer
611 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
1answer
1k 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
0answers
644 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
vote
0answers
103 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 ...
0
votes
0answers
41 views

CreateObject failing when running asp application through https on iis7

I am running an asp site on iis7 / Server 2008. I have two websites set up in IIS pointing at the same application, one site uses http, the other uses https. When executing a script, the site using ...
0
votes
0answers
187 views

.dll Solidworks Add-in not registering in COM

I am trying to register this .dll in COM as an Add-in to Solid Works software. The dll is building without any error or warnings.But the Add-in is not appearing in the Windows "Registry Editor" as ...
0
votes
0answers
221 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 ...