473,545 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Remoting

Hi,

I have a method on RemoteServer that returns a ArrayList which contains
objects. The Remote server has been throwing this error whihc i am not been
able to understand .. please can someone let me know what could be happeining.

Error
The internal array cannot expand to greater than Int32.MaxValue elements.:

Server stack trace:
at System.Runtime. Serialization.O bjectIDGenerato r.Rehash()
at System.Runtime. Serialization.O bjectIDGenerato r.GetId(Object obj,
Boolean& firstTime)
at
System.Runtime. Serialization.F ormatters.Binar y.ObjectWriter. InternalGetId(O bject obj, Boolean assignUniqueIdT oValueType, Type type, Boolean& isNew)
at
System.Runtime. Serialization.F ormatters.Binar y.ObjectWriter. WriteString(Nam eInfo memberNameInfo, NameInfo typeNameInfo, Object stringObject)
at
System.Runtime. Serialization.F ormatters.Binar y.ObjectWriter. WriteKnownValue Class(NameInfo memberNameInfo, NameInfo typeNameInfo, Object data)
at
System.Runtime. Serialization.F ormatters.Binar y.ObjectWriter. WriteMembers(Na meInfo
memberNameInfo, NameInfo memberTypeNameI nfo, Object memberData,
WriteObjectInfo objectInfo, NameInfo typeNameInfo, WriteObjectInfo
memberObjectInf o)
at
System.Runtime. Serialization.F ormatters.Binar y.ObjectWriter. WriteMemberSetu p(WriteObjectIn fo
objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo, String
memberName, Type memberType, Object memberData, WriteObjectInfo
memberObjectInf o)
at
System.Runtime. Serialization.F ormatters.Binar y.ObjectWriter. Write(WriteObje ctInfo
objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo, String[]
memberNames, Type[] memberTypes, Object[] memberData, WriteObjectInfo[]
memberObjectInf os)
at
System.Runtime. Serialization.F ormatters.Binar y.ObjectWriter. Write(WriteObje ctInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
at
System.Runtime. Serialization.F ormatters.Binar y.ObjectWriter. Serialize(Objec t
graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
at
System.Runtime. Serialization.F ormatters.Binar y.BinaryFormatt er.Serialize(St ream serializationSt ream, Object graph, Header[] headers, Boolean fCheck)
at
System.Runtime. Remoting.Channe ls.BinaryServer FormatterSink.S erializeRespons e(IServerRespon seChannelSinkSt ack
sinkStack, IMessage msg, ITransportHeade rs& headers, Stream& stream)
at
System.Runtime. Remoting.Channe ls.BinaryServer FormatterSink.P rocessMessage(I ServerChannelSi nkStack
sinkStack, IMessage requestMsg, ITransportHeade rs requestHeaders, Stream
requestStream, IMessage& responseMsg, ITransportHeade rs& responseHeaders ,
Stream& responseStream)
Jul 25 '06 #1
1 4678
Well, it looks like you're trying to create an array with more than 2
billion elements in it. Or, more precisely, more elements than you can
address with 32 bits. Try something smaller.

Jul 26 '06 #2

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

Similar topics

0
2911
by: Sean Newton | last post by:
I am absolutely bewildered by now by the Microsoft.Samples SSPI and Security assemblies. I've been trying to set these up in a very straightforward harness in the way that I'd like to be able to use them. No IIS. Use TCP, binary. Standard server example with a console host and console client. .NET 1.1, windows XP. (I tried posting to the...
0
1893
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS Remoting and possible others. Keywords: VSS Remote Access, VSS Web Access, VSS Internet Access,
5
5671
by: mayamorning123 | last post by:
A comparison among six VSS remote tools including SourceOffSite , SourceAnyWhere, VSS Connect, SourceXT, VSS Remoting, VSS.NET To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere 4.0, SourceOffSite 4.1, VSS Connect 1.5,...
0
3276
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS Remoting and possible others.
4
3106
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 it a go). What I want to do is this: Have a server instance of the program, this server instance will receive communication from client programs...
0
1412
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS Remoting and possible others. Keywords: VSS Remote Access, VSS Web Access, VSS Internet Access,
0
2416
by: Martijn Damen | last post by:
Hi, At the moment I am trying to develop an application that uses another app over .net remoting and having some problems with it (ok, that is ofcourse why I am here), hope somebody can shine a light on the following: I have been given a sample winforms app, which works without problem, I can connect, send queries and become response from...
8
1739
by: Raju Joseph | last post by:
Hi All, I am just trying to get an opinion here. I know this is always a tough choice to make. We are in the process of converting our VB6 based Healthcare Information System (a full-fledged package) to .NET. Our clients have been asking for lot of new stuff namely being able to send patient information to devices, being able to fix...
2
3046
by: erbilkonuk | last post by:
Hi, I am very new to .NET Remoting and I try to run a simple program to subscribe to an event raised by Remoting Class. The Remoting Server initiates an instance of Remoting Class as Singleton / Server activated mode on startup. The Remoting Client accesses the Remoting Class through the interface of the Class and subscribes to an event of...
0
3391
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); I get the following error - doesn't matter if I try it local from my machine or from a remote machine. (After the Errormessage is more text ;))
0
7478
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7410
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7923
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7437
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7773
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5984
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4960
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1901
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 we have to send another system
0
722
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.