473,473 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

possible bug in CLR? remoting issue.

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
Jun 21 '07 #1
1 1268
Rogelio wrote:
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!

--
Tom Spink
University of Edinburgh
Jun 21 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: NuTcAsE | last post by:
Hi... I have a set of serializable objects in a remoting scenario, where these objects are passed by value back from the server to the clients. While serializing the objects to the client I want...
17
by: Michael Fan | last post by:
I am a newbie for web servcie and want to write a web service which monitors the certain field in the database. Once it exceeds the certain value, web service will send out notification to web...
6
by: Catherine Jones | last post by:
Hi all, we need urgent help in a matter. We are trying to pass a COM object from the client to server and are facing some problems in the same. We've our client in C# as well as the Server...
3
by: Deepal | last post by:
Hi; I'm doing an example program from a book regarding .NET Remoting. Both the Client and Server are C# Console Applications. Server Code is using System; using System.Runtime.Remoting;...
4
by: Uchiha Jax | last post by:
Hello everyone, I am a plenty silly person who is trying to learn .NET remoting through trial and error (all articles I read are going over my head at the moment (mostly) so I thought i'd give...
5
by: LGHummel | last post by:
I'm trying to host a remoting app in IIS and am getting the following error: Failed to execute the request because the ASP.NET process identity does not have read permissions to the global...
4
by: Michael Lindsey | last post by:
I need to write a server app to send images to client GUIs that are outside of the server's domain. The client will have the file system path to the image but can not access the file system. I am...
13
by: Ron L | last post by:
I am working on an application that is a front-end for a SQL database. While it is not an immediate requirement, the application will probably be required to be able to connect via the internet at...
8
by: sandy82 | last post by:
I coded a simple example in c# In which their is a client and a server using a dll . I am confused on the Point that u have to use the .dll on both sides .Cant we have a solution of having a dll...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.