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

AssemblyResolve event and Serialization

Hi NG,
i got a serious problem while using the AssemblyResolve event of the current
AppDomain.
While trying to load the referenced Assembly my code Deserializes an Xml
file which contains a few folders, where my code will look in for the missing
assembly. But when deserializing the xml to my object a second AssemblyResolve
event is fired where the temporary assembly for the serialization is the
missing assembly and here's the problem I don't know how to handle that temporary
assembly evertime it ends up in and StackOverflowException but only when
Deserializing.
TIA for any help.

regards
sascha
Oct 30 '06 #1
0 1149

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

Similar topics

8
by: Dennis C. Drumm | last post by:
I have a class derived from a SortedList called SystemList that contains a list of objects indexed with a string value. The definition of the objects contained in the SortedList have a boolean...
0
by: Boni | last post by:
Hi All, what can produce this error? The error comes at the compile time of the mixed-mode dll. If I comment out one line: m_ResolveEventHandler= AppDomain::get_CurrentDomain()->AssemblyResolve;...
2
by: David W. Simmonds | last post by:
I have a custom object that I use in a PropertyGrid as seen below. It presents an elipsis button that when clicked brings up a custom modal dialog. When I make a change in the property, the...
27
by: Codemonkey | last post by:
Heya All, Sorry, but I think it's about time for a monkey-ramble. I've just had enough of trying to serialize even simple objects with VB. A simple task you may think - stick the...
8
by: dbuchanan | last post by:
Hello, What does this error mean? "The event click is read-only and cannot be changed" This is a design-time error. It is displayed instead of the form. Here is the full text \\ "One or...
4
by: Doru Roman | last post by:
Hi, I have a class MyClass and in the Button1_click() event I create an instance of that class MyClass myc = new MyClass(); In another event I want to access myc for serialization purposes....
0
by: Bob Bins | last post by:
I want to be able to capture the AppDomain.AssemblyResolve event for the entire process. I can't set it for each appdomain individually because I may not even know when one is being created so I...
0
by: butch77 | last post by:
Hi! I have a webservice class that returns an object. This object loads dependent objects through parameters dynamically. A simplified version would look like this: private...
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
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
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...
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
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.