Click here to Skip to main content
15,913,115 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Unfocus control Pin
Dave Kreskowiak10-May-08 13:13
mveDave Kreskowiak10-May-08 13:13 
GeneralRe: Unfocus control Pin
kensai10-May-08 22:20
kensai10-May-08 22:20 
GeneralRe: Unfocus control Pin
Dave Kreskowiak11-May-08 8:34
mveDave Kreskowiak11-May-08 8:34 
QuestionAssemblies Pin
MrColeyted9-May-08 22:22
MrColeyted9-May-08 22:22 
AnswerDouble Post - Please Ignore Pin
Giorgi Dalakishvili10-May-08 5:13
mentorGiorgi Dalakishvili10-May-08 5:13 
Questionhow to find a version of DLL Pin
Sujit Gupta9-May-08 7:01
Sujit Gupta9-May-08 7:01 
AnswerRe: how to find a version of DLL Pin
CodingYoshi9-May-08 13:59
CodingYoshi9-May-08 13:59 
QuestionRemoting issue Pin
Siddharth Rastogi8-May-08 22:58
Siddharth Rastogi8-May-08 22:58 
Hiii...
I am receiving this error :--->


Server encountered an internal error. For more information, turn on customErrors in the server's .config file.

Server stack trace:

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)



1) After googling, I found that customErrors mode="off can help.
Presently its True on Server side. Like this
RemotingConfiguration.CustomErrorsEnabled(true);

2) I am using .Net 1.1 on the server side and .Net 2.0 on client side.

3) Not getting this problem frequently. It has only 5% chances.

4) When I debugging found some interesting stuff:

class One
{
public string m_sResult = null;
public string GetInfo(string sID)
{
try
{
if(OnRequested != null)
OnRequested(sID);

return m_sResult;
}
catch(Exception ex)
{
WriteLog(“ “);
}
}
}

class Two{
void OnRequestedHandler(string sID)
{
try
{
One.m_sReult = "Done";
}
catch(Exception ex)
{
One.m_sReult = ex.message;
}
}
}

From the client side, I am calling One.GetInfo() method.
a) Event OnRequested(sID) raised and handled by class Two and One.m_sReult is set as "Done".
b) But on client side it returns NULL and also writes Log "Server encountered and internal....." on Server side.


So suggest me, what I should do to solve this problem.
I should use customErrors mode="off for better understanding?

I would appreciate any help or suggestions that anyone can provide.
Thank you.


Sidh
AnswerRe: Remoting issue Pin
CodingYoshi9-May-08 12:18
CodingYoshi9-May-08 12:18 
QuestionHow to find argument type (in] [out] using reflection? Pin
fizk8-May-08 22:11
fizk8-May-08 22:11 
QuestionSocket is closed before all buffered data is transmitted Pin
realbobb8-May-08 20:54
realbobb8-May-08 20:54 
AnswerRe: Socket is closed before all buffered data is transmitted Pin
CodingYoshi9-May-08 13:57
CodingYoshi9-May-08 13:57 
GeneralRe: Socket is closed before all buffered data is transmitted Pin
realbobb12-May-08 21:06
realbobb12-May-08 21:06 
Question"?xml namespace="" prefix="asp" ?" in .NET 2005 Pin
salon8-May-08 4:39
salon8-May-08 4:39 
QuestionGet the proper path name, proper case I mean. Pin
AndrewVos8-May-08 3:38
AndrewVos8-May-08 3:38 
AnswerRe: Get the proper path name, proper case I mean. Pin
Dave Kreskowiak8-May-08 4:59
mveDave Kreskowiak8-May-08 4:59 
GeneralRe: Get the proper path name, proper case I mean. Pin
AndrewVos8-May-08 5:14
AndrewVos8-May-08 5:14 
AnswerRe: Get the proper path name, proper case I mean. Pin
Dave Kreskowiak8-May-08 5:32
mveDave Kreskowiak8-May-08 5:32 
GeneralRe: Get the proper path name, proper case I mean. Pin
AndrewVos8-May-08 5:39
AndrewVos8-May-08 5:39 
GeneralRe: Get the proper path name, proper case I mean. Pin
AndrewVos8-May-08 6:12
AndrewVos8-May-08 6:12 
Questiongetting input from user Pin
raydona7-May-08 8:11
raydona7-May-08 8:11 
AnswerRe: getting input from user Pin
Dave Kreskowiak7-May-08 8:42
mveDave Kreskowiak7-May-08 8:42 
Questionhow to use SetWindowLong API function calling in Vb.net Pin
brams77-May-08 4:04
brams77-May-08 4:04 
AnswerRe: how to use SetWindowLong API function calling in Vb.net Pin
Dave Kreskowiak7-May-08 7:12
mveDave Kreskowiak7-May-08 7:12 
GeneralRe: how to use SetWindowLong API function calling in Vb.net Pin
brams77-May-08 10:33
brams77-May-08 10:33 

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.