473,407 Members | 2,315 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Remoting and callback function

Hi
When I want add my callback function from client application to event server
remoting object I have SecurityException with message that I haven't
permission to do that. I don't know what I do wrong. I read many samples
about event remoting object but my application don't work. Help me what I do
wrong or how I can off this security (in program or in system).
Thank's and sorry for language.

Bonifacy Krzyżyk
Nov 15 '05 #1
3 3188
Bonifacy,

I believe that if you want to do this, then the object that you want to
be a callback must derive from MarshalByRefObject.

Can you show the details of the exception that you are getting?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Boniek" <mo****@poczta.onet.pl> wrote in message
news:bm**********@atlantis.news.tpi.pl...
Hi
When I want add my callback function from client application to event server remoting object I have SecurityException with message that I haven't
permission to do that. I don't know what I do wrong. I read many samples
about event remoting object but my application don't work. Help me what I do wrong or how I can off this security (in program or in system).
Thank's and sorry for language.

Bonifacy Krzyżyk

Nov 15 '05 #2
> I believe that if you want to do this, then the object that you want
to
be a callback must derive from MarshalByRefObject.

Can you show the details of the exception that you are getting?


Now, I can't show this message from exception because I tested my
application at home and I haven't it here at work but I try tell you what
showed me. Exception was SecurityException type and I remember message:
Application haven't permission to do that. You must contact with your
administrator or modify configuraction in Framework configuration.
If this message isn't enough to locate problem I send you original message
tomorrow.

Thank's
Boniek
Nov 15 '05 #3
> I believe that if you want to do this, then the object that you want
to
be a callback must derive from MarshalByRefObject.

Can you show the details of the exception that you are getting?


Now, I can't show this message from exception because I tested my
application at home and I haven't it here at work but I try tell you what
showed me. Exception was SecurityException type and I remember message:
Application haven't permission to do that. You must contact with your
administrator or modify configuraction in Framework configuration.
If this message isn't enough to locate problem I send you original message
tomorrow.

Thank's
Boniek
Nov 15 '05 #4

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

Similar topics

2
by: Nick | last post by:
Is there a way that if I host my remoted object in IIS (not having to mess with encryption & authentication via a custom sink) that the server can raise events and the clients can detect them? If...
1
by: Ahmet AKGUN | last post by:
Hi All; I have one server to which clients are connected to via TcpChannel. I start server on one host and establish a client connection from another host via tcpchannel. On client, using...
15
by: Sharon | last post by:
I’m trying to build a generic Publisher-Subscriber that will work over the net, so I’m using the Remoting. I wish that the subscriber user will be notify about the messages sent by the...
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...
0
by: Feng | last post by:
Hi, I need my remoting server to callback to my client and I am trying to do that using delegate. While the client invoking the server OK, I am getting the following error when the server trying...
0
by: Mark | last post by:
Hi. I am using remoting to communicate between a client and server. The server remotes an object. The client calls GetObject to get the proxy to the server remoted object. The client registers...
4
by: Rich | last post by:
Can anyone suggest a good (current) tutorial on how to do basic remoting with C# (2005 express edition)?
0
by: Kristian Reukauff | last post by:
Hi I have a problem with the .Net-Securty-Functions. I've got a client and a server. When I try to register a channel at the server with this line: ChannelServices.RegisterChannel(chan, false);...
2
by: =?Utf-8?B?ZmFpcnl2b2ljZQ==?= | last post by:
in a remoting application, i set a event in the host, and let the client to book it, and in the host side i set the TypeFilterLevel to Full and open the callback port in the client side, but told...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.