Autor Beitrag
LL0rd
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19



BeitragVerfasst: Fr 09.11.07 15:28 
Hallo Leute,

ich stehe gerade vor einem Problem mit Remoting und weiß nicht wirklich weiter. Um das Problem ersteinmal etwas zu beschreiben:

Ich habe eine Software entwickelt, die "rechnet". Da der Desktop Rechner nicht so schnell ist, habe ich eine Server Anwendung geschrieben, die eben das Rechnen übernehmen soll. Dabei werden alle errechneten Ergebnisse (verschiedene Klassen, jedoch von einer abstrakten Klasse abgeleitet) in einer Liste gespeichert.

Start des Programms -> Verbindung zum Server -> Rohdaten einlesen -> Rohdaten zum Server schicken

Soweit funktioniert alles!

Ich kann auch die geschickten Rohdaten vom Server wieder abrufen, aber nachdem ich damit gerechnet habe und neue Objekte erzeugt worden sind, funktioniert das Abrufen nicht mehr und ich weiß auch nicht wieso. Als Exception bekomme ich folgendes angezeigt:

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
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 Interfaces.IServer._getImObjSet(IClient client)
   at Client.ClientObject.getImObjSet() in G:\EntwCogVis\DR\User_Malewitch\Client\ClientObject.cs:line 83
   at GUI.Start.startRemoteTask_Click(Object sender, EventArgs e) in G:\EntwCogVis\DR\CognitiveVision\GUI\Start.cs:line 469
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at User.Manager.start_new_form() in G:\EntwCogVis\DR\User_Malewitch\User\Manager.cs:line 68
   at User.Manager.Main() in G:\EntwCogVis\DR\User_Malewitch\User\Manager.cs:line 76


Wie kann ich denn nun tatsächlich herausfinden, wo der Schuh drückt?