Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Visual Studio LightSwitch 2011 server may crash if an update to ASP.NET is applied


View products that this article applies to.

Symptoms

After you install an ASP.NET update on a computer that is running a Microsoft Visual Studio LightSwitch 2011 two-tier desktop application, or if Internet Information Services (IIS) is hosting the Microsoft Visual Studio LightSwitch 2011 server, the server may crash. When this problem occurs, users of the application may experience data load failures in the client program. 

↑ Back to the top


Cause

This issue occurs because of missing assembly data that is required for the .NET Framework’s Assembly Unification feature to work correctly. Therefore, the application domains load two versions of the same assembly. 

Note This issue can occur only during the time between installing an ASP.NET update and the next restart of the application or server.

↑ Back to the top


Resolution

To resolve this issue, use one of following methods that is appropriate to the application. 

Method 1

For a two-tier desktop application, close and restart the application. 

Method 2

For a three-tier website or desktop application, use the administrator account to restart the server that is running IIS. 

Method 3

If the application is being started by using Microsoft Visual Studio, restart Visual Studio.
 

↑ Back to the top


References

For more information about Visual Studio LightSwitch 2011, go to the following Microsoft website: For more information about the Assembly Unification feature, go to the following MSDN website:

↑ Back to the top


Keywords: kbmustloc, kblangall, kbsecvulnerability, kbsecurity, kbsecreview, kbsurveynew, kb, kbexpertiseadvanced, kbtshoot, kbprb, kbbug

↑ Back to the top

Article Info
Article ID : 2660427
Revision : 2
Created on : 5/22/2017
Published on : 5/22/2017
Exists online : False
Views : 69