possible bug in CLR? remoting issue.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hey, I set up remoting in my .net project. needless to say there is alot of
code that goes into making it work.

it runs communication from a windows app to a windows service.

but I notice that sometimes when I set a variable in the middle class from
my windows app, (which is monitored via timer by the win service), the code
will successfully execute, and I wont get any type of error, but the event
will not actually fire. the variable's value will not actually change.

this happens rather erratically. sometimes it works, other times I have to
restart the windows service to make it work.

any ideas on why this would happen? maybe a good remoting link to see if my
code is wrong. but if it were wrong it wouldn't work at all.

anyone ever have a similar issue perhaps?

thanks
 
Rogelio said:
hey, I set up remoting in my .net project. needless to say there is alot
of code that goes into making it work.

it runs communication from a windows app to a windows service.

but I notice that sometimes when I set a variable in the middle class from
my windows app, (which is monitored via timer by the win service), the
code will successfully execute, and I wont get any type of error, but the
event will not actually fire. the variable's value will not actually
change.

this happens rather erratically. sometimes it works, other times I have to
restart the windows service to make it work.

any ideas on why this would happen? maybe a good remoting link to see if
my code is wrong. but if it were wrong it wouldn't work at all.

anyone ever have a similar issue perhaps?

thanks

Hi,

Firstly, *please* don't immediately assume it's a bug with the CLR... it's
more likely a programming error.

Secondly, would you be able to provide some of your code, to help us debug
the situation? Useful code would be the bits pertaining to remoting in all
participating classes. What would also be useful is a stripped down
example of what you're trying to do, with all other functionality
removed... this would help identify if the problem is occurring because of
something else in your code.

Thanks!
 
Back
Top