473,378 Members | 1,334 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,378 software developers and data experts.

Passing a Collection object to a COM+ Server application.


From: "Naveed Anwar Kharadi" <n-*****@corrtec.com>
Subject: Passing a Collection object to a COM+ Server application.
Date: Thursday, May 20, 2004 12:43 PM

Hi,

I am trying to develop a COM+ Server Application, using C#.Net, that accepts
a ListDictionary object in one of its method arguments; but when the client
makes a call to this method there raises an error saying "Insufficient state
to deserialize the object. More information is needed.". This scenario works
fine when the application is a Library package; but since me client is ASP
therefore I need to make it a Server Application.
Can anybody please provide me with some suggestions of tackling this
situation. Its urgent.

Regards,
Naveed Kharadi.


Nov 16 '05 #1
1 1289
Naveed,

I don't think it is complaining about the ListCollection class itself,
after all, it is in System.dll. Rather, the items that are in the
ListDictionary are the ones that I think are causing the problem. If you do
not have an assembly on the other side that contains the type information of
the object that is trying to be deserialized, then the deserialization
process can not take place. You need to place the type information on both
ends in order for it to work.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Naveed Anwar Kharadi" <n-*****@corrtec.com> wrote in message
news:eM**************@TK2MSFTNGP11.phx.gbl...

From: "Naveed Anwar Kharadi" <n-*****@corrtec.com>
Subject: Passing a Collection object to a COM+ Server application.
Date: Thursday, May 20, 2004 12:43 PM

Hi,

I am trying to develop a COM+ Server Application, using C#.Net, that accepts a ListDictionary object in one of its method arguments; but when the client makes a call to this method there raises an error saying "Insufficient state to deserialize the object. More information is needed.". This scenario works fine when the application is a Library package; but since me client is ASP
therefore I need to make it a Server Application.
Can anybody please provide me with some suggestions of tackling this
situation. Its urgent.

Regards,
Naveed Kharadi.

Nov 16 '05 #2

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

Similar topics

3
by: domeceo | last post by:
can anyone tell me why I cannot pass values in a setTimeout function whenever I use this function it says "menu is undefined" after th alert. function imgOff(menu, num) { if (document.images) {...
0
by: Naveed Anwar Kharadi | last post by:
From: "Naveed Anwar Kharadi" <n-anwar@corrtec.com> Subject: Passing a Collection object to a COM+ Server application. Date: Thursday, May 20, 2004 12:43 PM Hi, I am trying to develop a COM+...
11
by: Arsen Vladimirskiy | last post by:
Hello, If I have a few simple classes to represent Entities such as Customers and Orders. What is the proper way to pass information to the Data Access Layer? 1) Pass the actual ENTITY to...
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...
2
by: Barry Moon | last post by:
Hi Can anyone give me any help with passing an object across processes, via drag and drop? I've written a custom ListView control, which supports dragging and dropping of its items. The...
25
by: Stuart Hilditch | last post by:
Hi all, I am hoping that someone with some experience developing nTier apps can give me some advice here. I am writing an nTier web app that began with a Data Access Layer (DAL), Business...
3
by: Mark | last post by:
Hi From what I understand, you can pass arrays from classic ASP to .NET using interop, but you have to change the type of the.NET parameter to object. This seems to be because classic ASP passes...
2
by: Donal McWeeney | last post by:
Hi, Whats the best way to pass an exception object and some string params from one aspx page to another. I cant use the Session or Application objects? Is it possible to use the Context.Items...
3
by: GBR | last post by:
I have a collection object inherited from collection base that is used to carry my object entities from server to client through a web service. I want to add a dataset to this collection object and...
9
by: Greger | last post by:
Hi, I am building an architecture that passes my custom objects to and from webservices. (Our internal architecture requires me to use webservices to any suggestion to use other remoting...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...

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.