Click here to Skip to main content
16,015,097 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: listbox Pin
Christian Graus9-May-08 0:33
protectorChristian Graus9-May-08 0:33 
Questionhow logout Pin
jason_mf8-May-08 23:08
jason_mf8-May-08 23:08 
AnswerRe: how logout Pin
Christian Graus9-May-08 0:34
protectorChristian Graus9-May-08 0:34 
GeneralRe: how logout Pin
jason_mf9-May-08 4:37
jason_mf9-May-08 4:37 
Questionhow to get text within <iframe> in .net with c#</iframe> [modified] Pin
sugunavathysubramanian8-May-08 23:06
sugunavathysubramanian8-May-08 23:06 
AnswerRe: how to get text within in .net with c# Pin
Christian Graus9-May-08 0:35
protectorChristian Graus9-May-08 0:35 
GeneralRe: how to get text within in .net with c# Pin
sugunavathysubramanian9-May-08 1:29
sugunavathysubramanian9-May-08 1:29 
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&amp; 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
Questionadd attributes of Button onmouseover and to execute codebehind function Pin
S.Aijaz8-May-08 22:57
S.Aijaz8-May-08 22:57 
QuestionAJAX:Collapsiblepanelextender related Question Pin
S.Aijaz8-May-08 21:30
S.Aijaz8-May-08 21:30 
QuestionHot to get client side value to server side Pin
chakran8-May-08 20:58
chakran8-May-08 20:58 
AnswerRe: Hot to get client side value to server side Pin
eyeseetee8-May-08 21:28
eyeseetee8-May-08 21:28 
GeneralRe: Hot to get client side value to server side Pin
chakran8-May-08 22:14
chakran8-May-08 22:14 
AnswerRe: Hot to get client side value to server side Pin
Christian Graus9-May-08 0:36
protectorChristian Graus9-May-08 0:36 
AnswerRe: Hot to get client side value to server side Pin
Spunky Coder9-May-08 1:02
Spunky Coder9-May-08 1:02 
QuestionOnline Exam application. Pin
rahul.net118-May-08 20:30
rahul.net118-May-08 20:30 
AnswerRe: Online Exam application. Pin
Christian Graus8-May-08 20:41
protectorChristian Graus8-May-08 20:41 
GeneralRe: Online Exam application. Pin
rahul.net118-May-08 21:06
rahul.net118-May-08 21:06 
GeneralRe: Online Exam application. Pin
Christian Graus8-May-08 21:32
protectorChristian Graus8-May-08 21:32 
GeneralRe: Online Exam application. Pin
rahul.net118-May-08 22:25
rahul.net118-May-08 22:25 
QuestionReset Password Pin
SreejithAchutan8-May-08 19:41
SreejithAchutan8-May-08 19:41 
AnswerRe: Reset Password Pin
Christian Graus8-May-08 19:47
protectorChristian Graus8-May-08 19:47 
QuestionProblem??? Pin
Alamanda Prakash8-May-08 19:36
Alamanda Prakash8-May-08 19:36 
AnswerRe: Problem??? Pin
Christian Graus8-May-08 19:48
protectorChristian Graus8-May-08 19:48 
AnswerRe: Problem??? Pin
Alamanda Prakash8-May-08 19:53
Alamanda Prakash8-May-08 19:53 

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.