From: "Naveed Anwar Kharadi" <n-*****@corrtec.c om>
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 "Insufficie nt 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. 1 1307
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.co m
"Naveed Anwar Kharadi" <n-*****@corrtec.c om> wrote in message
news:eM******** ******@TK2MSFTN GP11.phx.gbl... From: "Naveed Anwar Kharadi" <n-*****@corrtec.c om> 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 "Insufficie nt
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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) {
document.images.src = eval("mt" +menu+ ".src")
}
alert("imgOff_hidemenu");
hideMenu=setTimeout('Hide(menu,num)',500);
|
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+ 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...
|
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 the Data Access Layer method
-or-
2) Pass some kind of a unique id to the Data Access Layer method
|
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 in C# and we're using
remoting for client to server communication.
|
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 drag and drop works fine within the same application, but fails
| |
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 Logic Layer (BLL) and User Interface Layer (UIL).
The problem I found with this was circular referencing...
|
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 a variant containing an array,
and interop expects a parameter of type object if you are passing a variant
(you are expected to cast it to the correct type in your code). I'd like to
find a way of passing arrays so that you don't need to change...
|
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 collection?
Thanks
Donal
|
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 send it across. But when it
gets to the web server, its failing.
Any help would be abvised? Is this possible? Can I add a dataset object and
add it into the collection array and pass it across?
|
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 techniques are not feasible)
The question is;
Given that I have a Person object with a private set for id.
What is the recommended approac in passing that object to the web service
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |