Re: Getting: "The RPC protocol sequence is not supported."
From: Ivan Brugiolo [MSFT] (ivanbrug_at_online.microsoft.com)
Date: 03/08/04
- Next message: shawn: "Re: WMI corrupt on XP, is reinstall possible?"
- Previous message: Ivan Brugiolo [MSFT]: "Re: Enabling and disabling network cards with WMI"
- In reply to: Steen Tøttrup: "Getting: "The RPC protocol sequence is not supported.""
- Next in thread: Steen Tøttrup: "Re: Getting: "The RPC protocol sequence is not supported.""
- Reply: Steen Tøttrup: "Re: Getting: "The RPC protocol sequence is not supported.""
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 8 Mar 2004 09:46:09 -0800
Looks like you have configured DCOM in the W2K box to
use a tranport protocol that is not enabled by default in W2K3.
For example, RPC-OVER-TCP/UDP.
W2K3 attempts to limit the number of protocols
an RPC sever is listening at the same time,
in order to minimize the attack surface.
In fact, the binding over a transport is process wide,
and if you have 2 servers bound to 2 different transports,
you can reach both of them with the 2 transports,
and this may not a desirable effect.
-- This posting is provided "AS IS" with no warranties, and confers no rights. Use of any included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm "Steen Tøttrup" <never@mind.com> wrote in message news:uNAb2lFBEHA.212@TK2MSFTNGP12.phx.gbl... > > This is what I'm trying to do. I'm building a windows service using C#. At > the moment I'm using a windows app to test the functionality. When running > this app from the windows 2000 server I'm developing on, I'm getting: "The > RPC protocol sequence is not supported." > > The service is connecting to a server on another domain (windows 2003), > using WMI (trying to access the DNS), impersonating an user on the other > domain. > > When connecting to the local DNS server, no problems. > > Then I moved the app to the server I'm try to connect to, and run it. This > is what I get: > > "System.BadImageFormatException: Exception from HRESULT: 0x800700C1. > at System.Management.ManagementScope.Initialize() > at System.Management.ManagementScope.Connect() > " > and the code that is generating the exception: > > // Set impersonation if connecting to a remote server. > ConnectionOptions conOptions = GetConnection(sLocalMachine, sServer); > string sServerPath = "\\\\myserver\\root\\microsoftdns"; > ManagementScope oScope = new ManagementScope(sServerPath, conOptions); > // Explict connection to WMI namespace > oScope.Connect(); > > Any ideas? I've already got another service running doing something similar, > can't seem to locate the problem (or difference).. > I think I've already found all the differences between 2000 and 2003 WMI, > this seems to be something else?! > > Please help! > > regards, > J. > > >
- Next message: shawn: "Re: WMI corrupt on XP, is reinstall possible?"
- Previous message: Ivan Brugiolo [MSFT]: "Re: Enabling and disabling network cards with WMI"
- In reply to: Steen Tøttrup: "Getting: "The RPC protocol sequence is not supported.""
- Next in thread: Steen Tøttrup: "Re: Getting: "The RPC protocol sequence is not supported.""
- Reply: Steen Tøttrup: "Re: Getting: "The RPC protocol sequence is not supported.""
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|