473,406 Members | 2,549 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,406 software developers and data experts.

Problem with running Ingo Rammer's code.


The dll problem is fixed (forgot to include the target:library in csc.
But
the server name problem is still there.? Also, I thought the point of
the
General assembly in the code, was that you did not have to copy the
server
code to the client or client code to the server and you just use the
General.dll on both the client and server sides.

Any suggestions would be appreciated.

regards
James
"JamesK" <ja****@pacific.net.au> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
This is one of my first postings in this forum, so I do apologize if I have the posting wrong here.

Thank you so much for responding to my previous posting. I have a problem with converting server.cs into a dll(which is not provided with the download code) though. When I try and make a dll it complains that it needs an entry point. I would rather just have a normal public constructor than the public static void main(string[] args) one, because I am instantiating it from another class. If I try and compile a VS.NET C# solution that has more than one entry point the compiler complains.

Would anyone have a further suggestion to this?

with regards

James

Make sure that the server.dll is copied in the clients bin directory as well.

[userName]
In article <em**************@tk2msftngp13.phx.gbl>,
ja****@pacific.net.au says...
Hi there everyone,

Has anyone downloaded and been able to get Ingo's code in the last part
of chapter 6 of his book "Advanced .NET Remoting" to work?

I am having an exception problem in the EventListener class (p.194).
System.IO.FileNotFoundException: File or assembly name Server, or one of
its
dependencies, was not found. This is the same error as was given
in
the previous example, and was supposed to be solved in the revised code.

I have changed all the mains(string[] args) to public constructors

because I
am running the classes inside another class. One VS.NET C# solution
for the
server and one for the client. I also have all the ports set to
IPADDRESS:8080.

with regards
James



*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #1
0 981

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

Similar topics

0
by: Trokey | last post by:
Here's my setup: Component A: .NET exe acting as a .NET remoting server. The channel type is tcp. Component B: .NET assembly acting as a .NET remoting client with event handlers for server...
1
by: IT-Fraggel | last post by:
Dear all, what we have to do is send 1 byte by UDP to a destination, after that we should receive data from there. We implement it already and it works, but we saw after we created the socket,...
0
by: Ingo Kollesch | last post by:
Moin, i will work, remote acces on the server. After the login, I open the control center an when I click on "Database". The System message is "der Befehl DB2Start is noch nicht abgesetzt". When...
4
by: wobbles | last post by:
Hi Everyone, I've spent hours investigating why my Async (one way) call wasn't invoking the method on my server. Basically, if I remove " Console.ReadLine() ", the method DOESN'T get invoked....
0
by: James Kirkup | last post by:
The dll problem is fixed (forgot to include the target:library in csc. But the server name problem is still there.? Also, I thought the point of the General assembly in the code, was that you...
1
by: 2G | last post by:
Hi, It seems I can't get remoting to work when my mbrobject is in a larger namespace. I doing ingo's book and when I do the example like it says in the book, all works fine <configuration> ...
8
by: Giox | last post by:
Hello everybody, I have problem using Windows Services. I want to host a server application on in a windows service and I'm not able to do that. In effect when I try to start the service I receive...
7
by: LearnMore.John | last post by:
I have two Windows Desktop applications App1 and App2. App1 is invoking Appp2 using Reflection. When App2 application opens a Modal window, App1 Application also freezes I dont want to happen...
1
by: ingo-christian.kollesch | last post by:
Hello, we have a performance problem with UDB 8.x. When I start the cotrol center and I select the database and then I select Table, I became the login Window, I write UID and PWD, finaly the...
0
by: amit | last post by:
FAMAS is an integrated and comprehensive financial and managment acounting system complies with each financial and managment accounting stander for NGo and INGO . SOME IMPORTANT FEATURES 1....
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.