Click here to Skip to main content
15,885,546 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Problem Regarding XML Menu Tree [modified] Pin
ais0729-Jan-09 20:14
ais0729-Jan-09 20:14 
GeneralRe: Problem Regarding XML Menu Tree Pin
Christian Graus29-Jan-09 20:24
protectorChristian Graus29-Jan-09 20:24 
GeneralRe: Problem Regarding XML Menu Tree Pin
ais0729-Jan-09 20:28
ais0729-Jan-09 20:28 
GeneralRe: Problem Regarding XML Menu Tree Pin
ais0729-Jan-09 22:01
ais0729-Jan-09 22:01 
QuestionRepeater Pin
Karthick_gc29-Jan-09 19:54
Karthick_gc29-Jan-09 19:54 
AnswerRe: Repeater Pin
Christian Graus29-Jan-09 20:06
protectorChristian Graus29-Jan-09 20:06 
AnswerRe: Repeater Pin
Frauke29-Jan-09 23:26
Frauke29-Jan-09 23:26 
QuestionWMI Pin
siva45529-Jan-09 19:48
siva45529-Jan-09 19:48 
Hi,
As im new to WMI please help me out regarding the problem which is as follows...

WMI connection through asp.net from Computer A(windows 2003 server) to Computer B(Windows XP).
the code is as follows...

ConnectionOptions options = new ConnectionOptions();

options.Username =username;
options.Password = password;

string machinename = "*******";


// Read registry of remote machine....

ManagementScope myScope = new ManagementScope("\\\\" + machinename + "\\root\\default", options);
myScope.Options.EnablePrivileges = true;

myScope.Options.Impersonation = ImpersonationLevel.Impersonate;myScope.Options.Authentication = AuthenticationLevel.Packet;
myScope.Connect();



and the error is as follows

Server Error in '/Skywebadmin' Application.
--------------------------------------------------------------------------------

The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[COMException (0x800706ba): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)]
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) +0
System.Management.ManagementScope.InitializeGuts(Object o) +711
System.Management.ManagementScope.Initialize() +162
System.Management.ManagementScope.Connect() +4
sk._Default.Page_Load(Object sender, EventArgs e) +167
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627





--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
AnswerRe: WMI Pin
Christian Graus29-Jan-09 20:06
protectorChristian Graus29-Jan-09 20:06 
GeneralRe: WMI Pin
siva45529-Jan-09 20:10
siva45529-Jan-09 20:10 
GeneralRe: WMI Pin
Christian Graus29-Jan-09 20:16
protectorChristian Graus29-Jan-09 20:16 
GeneralRe: WMI Pin
siva45529-Jan-09 20:21
siva45529-Jan-09 20:21 
GeneralRe: WMI Pin
Abhijit Jana29-Jan-09 20:53
professionalAbhijit Jana29-Jan-09 20:53 
GeneralRe: WMI Pin
siva45529-Jan-09 21:25
siva45529-Jan-09 21:25 
GeneralRe: WMI Pin
Abhijit Jana29-Jan-09 22:08
professionalAbhijit Jana29-Jan-09 22:08 
GeneralRe: WMI Pin
siva45529-Jan-09 22:18
siva45529-Jan-09 22:18 
AnswerRe: WMI Pin
Ashutosh Phoujdar29-Jan-09 22:30
Ashutosh Phoujdar29-Jan-09 22:30 
GeneralRe: WMI Pin
siva45529-Jan-09 22:34
siva45529-Jan-09 22:34 
QuestionC# vs Javascript Question Pin
Roger Wright29-Jan-09 19:44
professionalRoger Wright29-Jan-09 19:44 
AnswerRe: C# vs Javascript Question Pin
Christian Graus29-Jan-09 20:07
protectorChristian Graus29-Jan-09 20:07 
GeneralRe: C# vs Javascript Question Pin
Roger Wright29-Jan-09 20:23
professionalRoger Wright29-Jan-09 20:23 
GeneralRe: C# vs Javascript Question Pin
N a v a n e e t h29-Jan-09 21:19
N a v a n e e t h29-Jan-09 21:19 
GeneralRe: C# vs Javascript Question Pin
Roger Wright30-Jan-09 2:10
professionalRoger Wright30-Jan-09 2:10 
GeneralRe: C# vs Javascript Question Pin
Christian Graus29-Jan-09 22:38
protectorChristian Graus29-Jan-09 22:38 
GeneralRe: C# vs Javascript Question Pin
Roger Wright30-Jan-09 2:04
professionalRoger Wright30-Jan-09 2:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.