Click here to Skip to main content
15,915,324 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Javascript to c# variable Pin
sepel9-Feb-09 4:44
sepel9-Feb-09 4:44 
Question[Message Deleted] Pin
anupmadathil8-Feb-09 19:44
anupmadathil8-Feb-09 19:44 
AnswerRe: How can i read and download attachments of outlook to a folder Pin
Christian Graus8-Feb-09 19:55
protectorChristian Graus8-Feb-09 19:55 
QuestionInput string was not in a correct format. in Rowcommand of a GridView Pin
.NET- India 8-Feb-09 19:38
.NET- India 8-Feb-09 19:38 
AnswerRe: Input string was not in a correct format. in Rowcommand of a GridView Pin
Christian Graus8-Feb-09 19:56
protectorChristian Graus8-Feb-09 19:56 
GeneralRe: Input string was not in a correct format. in Rowcommand of a GridView Pin
.NET- India 8-Feb-09 20:55
.NET- India 8-Feb-09 20:55 
AnswerRe: Input string was not in a correct format. in Rowcommand of a GridView Pin
sepel9-Feb-09 4:45
sepel9-Feb-09 4:45 
QuestionWMI Remote Connection between Windows 2003 server and windows XP sp2... Pin
siva4558-Feb-09 18:43
siva4558-Feb-09 18:43 
I have a web application where im using
WMI connection through asp.net from Computer A(Windows XP) to Computer B(Windows 2003 Server..).
the code is as follows...(and the below code works if the operating systems in both the systems are same otherwise it"s not working...)

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 ...
Server Error in '/' 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:


Line 77: myScope.Options.Authentication = AuthenticationLevel.Packet;
Line 78: mySearcher = new ManagementObjectSearcher(myScope, myQuery);
Line 79: myScope.Connect();
Line 80: //myQueryCollection = mySearcher.Get();
Line 81:


Source File: D:\Tools Validator\Skywebadmin\Skywebadmin\WebForm6.aspx.cs Line: 79

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) +783
System.Management.ManagementScope.Initialize() +216
System.Management.ManagementScope.Connect() +5
Skywebadmin.WebForm6.Button1_Click(Object sender, EventArgs e) in D:\Tools Validator\Skywebadmin\Skywebadmin\WebForm6.aspx.cs:79
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

RPC ,WMI were running in both systems even windows firewall is off....

Please help me out........
QuestionProblem of using Globalization Pin
slSoftware8-Feb-09 17:32
slSoftware8-Feb-09 17:32 
AnswerRe: Problem of using Globalization Pin
Christian Graus8-Feb-09 18:18
protectorChristian Graus8-Feb-09 18:18 
Questionweb application architecture design ask for advice Pin
George_George8-Feb-09 16:13
George_George8-Feb-09 16:13 
AnswerRe: web application architecture design ask for advice Pin
N a v a n e e t h8-Feb-09 17:14
N a v a n e e t h8-Feb-09 17:14 
GeneralRe: web application architecture design ask for advice Pin
George_George8-Feb-09 18:21
George_George8-Feb-09 18:21 
GeneralRe: web application architecture design ask for advice Pin
N a v a n e e t h8-Feb-09 21:00
N a v a n e e t h8-Feb-09 21:00 
GeneralRe: web application architecture design ask for advice Pin
Hamid_RT15-Feb-09 21:40
Hamid_RT15-Feb-09 21:40 
AnswerRe: web application architecture design ask for advice Pin
Christian Graus8-Feb-09 17:32
protectorChristian Graus8-Feb-09 17:32 
GeneralRe: web application architecture design ask for advice Pin
George_George8-Feb-09 18:18
George_George8-Feb-09 18:18 
GeneralRe: web application architecture design ask for advice Pin
Christian Graus8-Feb-09 18:20
protectorChristian Graus8-Feb-09 18:20 
GeneralRe: web application architecture design ask for advice Pin
George_George8-Feb-09 18:25
George_George8-Feb-09 18:25 
GeneralRe: web application architecture design ask for advice Pin
Christian Graus8-Feb-09 18:27
protectorChristian Graus8-Feb-09 18:27 
GeneralRe: web application architecture design ask for advice Pin
George_George8-Feb-09 18:57
George_George8-Feb-09 18:57 
GeneralRe: web application architecture design ask for advice Pin
Christian Graus8-Feb-09 19:00
protectorChristian Graus8-Feb-09 19:00 
GeneralRe: web application architecture design ask for advice Pin
N a v a n e e t h8-Feb-09 21:12
N a v a n e e t h8-Feb-09 21:12 
AnswerRe: web application architecture design ask for advice Pin
Hamid_RT15-Feb-09 21:46
Hamid_RT15-Feb-09 21:46 
QuestionOrder and PayPall Pin
Sarfaraj Ahmed8-Feb-09 12:51
Sarfaraj Ahmed8-Feb-09 12:51 

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.