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

Reflection causing AccessViolationExceptions after SP1 upgrade?

Hi,

I'm coding some new BOs, and I've hit a problem when using one of my
pre-existing libraries. The only changes is that I've installed SP1
for .Net 3.5 and VS 2008.

My older DAL that I build uses a lot of reflection to get things
done. I'm not getting a lot of AccessViolationExceptions running
tests under NUnit. The stack trace starts off like this:
at (Object , Object[] )
at MyCompany.Data.EntityReflector.GetProvider(Type entType)
at MyCompany.Data.EntityReflector.GetProvider(DataEnt ity ent)
at MyCompany.Data.DataSearcher`1.Find()

It happens quite a bit... but sometimes tests sneek by without causing
the exception. When stepping through code via the debugger, things
work just fine.

I haven't read anything that should cause reflection to fail due to
the upgrade... is this something to do with the fact that I'm on a
dual-core workstation as well?

Anyone else encountering these issues? My DAL has been fine for over
two years now.. I'm surprised I'm hitting problems now.

Andy
Aug 13 '08 #1
0 853

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

Similar topics

2
by: Angelos Karantzalis | last post by:
Hi guys, I'm trying to load a class instance dynamically, and then cast it to it's base type so I can use it in my app. More specifically, I'm dynamically instantiating a...
10
by: Sunny | last post by:
Hi, I have an old problem which I couldn't solve so far. Now I have found a post in that group that gave me an idea, but I can not fully understand it. The problem is: I'm trying to use a...
0
by: Gemma M | last post by:
Hi, I have a C# program (code fragment below), which runs forever, processing incoming jobs. Part of this program launches a COM object. However, after a while I get : ...
5
by: kevin goff | last post by:
I am seeing that our CPU spikes for several minutes at 100% for the asp.net process. This happens several times a day and seems to last for 10 min or so and use a lot of memory. I'm trying to...
2
by: gabe | last post by:
We use a custom versioning scheme that includes the date and time (2.0.10271545). The version number is displayed in a footer user control, which is rendered in every page. The web application is...
0
by: stacy | last post by:
I used the wizard to upgrade an application from VB 6 to VB.net, the following warnings appear around the .Input property of the MSCOmm control 'UPGRADE_WARNING: Couldn't resolve default property...
5
by: Skandy | last post by:
Hello All: I'm having this little trouble getting a form displayed using reflection. objForm.GetType().GetMethod("ShowDialog", BindingFlags.InvokeMethod).Invoke(objForm, null); The above...
4
by: Chris | last post by:
I am looking at this code in C# Assembly a=Assembly.LoadFrom("employee.dll"); Type t=a.GetType("Company.Employee"); I can't figure out what it is in VB.net can anyone help. I try Dim...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...

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.