Hi guys,

I have an application that provides data and manages data manipulation and sends results with using Remoting.

and my website sends requests to this application .

the Problem :

when I'm working on my local machine if i throw an Exception from the application it's catched in my website and I can Handel it and process the Exception.

but if i deploy the application on the other machine I cant get the Exception ,

and I only get the following exception :

System.Runtime.Remoting.RemotingException: Server encountered an internal error. For more information, turn off 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)
at IFaced.MyClass.IMyClass.AddClass(ClassDefinition InstanceClass)
at Class_Browse.AddClass() in d:\Projects\MainS\BaseData\Class\Browse.aspx.cs:line 328}

Wanted to know how can I get my thrown Exception while I have deployed my website and serviceApplication on different machines.(on two different servers)