Article ID: 2315412 - Last Review: March 7, 2011 - Revision: 1.0 FIX: Access violation may occur when you run a .NET Framework 2.0 SP2-based application that calls a mixed assembly that is domain-neutral
On This PageSYMPTOMS
When you run a Microsoft .NET Framework 2.0-based application that calls a mixed assembly that is domain-neutral, an access violation error may occur. This error may cause some other issues. For example, this access violation error may cause the following issues:
CAUSE
This issue is caused by a race condition that occurs when the assembly is loaded by multiple threads in multiple application domains. In this case, the common language runtime (CLR) only partially loads the assembly and does not fully initialize the types in the assembly. Therefore, when a process accesses the uninitialized part of the assembly, an access violation occurs.
RESOLUTIONHotfix informationA supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site: http://support.microsoft.com/contactus/?ws=support
(http://support.microsoft.com/contactus/?ws=support)
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
PrerequisitesTo apply this hotfix, you must have the .NET Framework 3.5 Service Pack 1 (SP1) installed on one of the following operating systems:
Restart requirementBefore you apply this hotfix, we recommend that you exit all instances of Visual Studio and all .NET Framework-based applications. You do not have to restart the computer after you apply the hotfix if the affected files are not being used.Hotfix replacement informationThis hotfix does not replace any other hotfix.File InformationThe English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.File information for all supported x86-based versions of Windows Vista SP2 and of Windows Server 2008 SP2Collapse this table
File information for all supported x64-based versions of Windows Vista SP2 and of Windows Server 2008 SP2Collapse this table
File information for all supported IA-64-based versions of Windows Server 2008 SP2Collapse this table
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. MORE INFORMATION
For more information about mixed (native and managed) assemblies, visit the following Microsoft Developer Network (MSDN) website:
General information about mixed (native and managed) assemblies
(http://msdn.microsoft.com/en-us/library/x0w2664k%28v=vs.80%29.aspx)
For more information about application domains and assemblies, visit the following MSDN website:
General information about application domains and assemblies
(http://msdn.microsoft.com/en-us/library/43wc4hhs%28v=VS.71%29.aspx)
For more information about Exchange Server Roles in Exchange Server 2010, visit the following Microsoft website:
Understand the Exchange Server Roles in Exchange Server 2010
(http://technet.microsoft.com/en-us/magazine/ff381422.aspx)
Additional file information
Additional file information for all x86-based versions of Windows Vista Service Pack 2 (SP2) and of Windows Server 2008 SP2Collapse this table
Additional file information for all x64-based versions of Windows Vista SP2 and Windows Server 2008 SP2Collapse this table
Additional file information for all IA-64-based versions of Windows Server 2008 SP2Collapse this table
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
