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
642 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" ...
0
votes
2answers
664 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 ...
1
vote
1answer
417 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
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
21 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 ...
1
vote
0answers
676 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
106 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
13 views

Can I distribute my python objects without having admin rights?

Playing at home, I learned to build my objects in python and use them in VBA with pythoncom tools. Now I want to do the same at work so colleagues (in the intranet) can load and use the same objects. ...
0
votes
0answers
50 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
252 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 ...