Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception retrieving COM object #21

Closed
trailmax opened this issue Apr 24, 2017 · 2 comments
Closed

Exception retrieving COM object #21

trailmax opened this issue Apr 24, 2017 · 2 comments

Comments

@trailmax
Copy link

I'm hitting this exception:

Retrieving the COM class factory for remote component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344} from machine failed due to the following error: 800706ba

I'm running as admin and firewall is off. But I'm trying to configure the localhost (I'm automating my development setup).

I hit problems on trying to create AppPool:

Task("Create-Application-Pool")
    .Description("Create a ApplicationPool")
    .Does(() =>
    {
        CreatePool("MyProject.dev", new ApplicationPoolSettings()
        {
            Name = "MyProject.dev",
            IdentityType = IdentityType.LocalSystem,
        });
    });

where MyProject.dev is a domain name in hosts file pointing to 127.0.01.

Anything I can do to debug?

@SharpeRAD
Copy link
Owner

I haven't personally seen this error before and have to take your word that the firewall is off, so I can only give you general advice:

  1. Don't include the computer name when calling a local server.
  2. Always include Username / Password when calling a remote server.

@trailmax
Copy link
Author

trailmax commented Apr 24, 2017

Indeed, including computer name for local server was the issue. I did not realise that this was the actual address of the remote machine. Removing it worked:

        CreatePool(new ApplicationPoolSettings()
        {
            Name = "MyProject.dev",
            IdentityType = IdentityType.LocalSystem,
        });

Thank you for pushing into the right direction!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants