Any other .NET 3.5 SP1 issues?


So I recently posted Known issues for ASP.NET with .NET 3.5 SP1, what I wanted to do is see how SP1 was working out for everyone so far.  The things I am wondering are:

  • Did you have any problems installing SP1
  • Have any existing applications run into any problems
  • Have any new projects been adjusted because of SP1
  • What are your overall impressions of SP1

If you have any other thoughts, I’d like to hear them too.  I’m hoping there aren’t many problems and that it is proving useful to everyone.

Comments (73)

  1. Thomas Stocker says:

    The Binary Formatter hangs when deserializing certain classes. For me it’s a major issue, because older versions of the software I programmed don’t work anymore

    https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=356498

  2. Simone says:

    ASP.NET MVC P5 makes VS crash if the SP1 is installed.

    It happens when opening a view for editing.

    The cause seems to be some 3rd party components: i read issues with TFS power toys, infragistcs toolbar, VS powercommand and so on

    More about this here:

    http://forums.asp.net/t/1313452.aspx

  3. 1) App_Browsers/default.browser issues when Frontpage _vti_bin folders exist.

    2) Couple of older 3rd party applications didn’t handle the upgrade well.

    3) The install went flawless using a SMS package.

  4. JeroenH says:

    On one machine where we installed .Net 3.5 SP1, we suddenly got a very nasty exception on several ASP.Net 2.0 applications:

    System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

    It occurs on different applications, and with different call stacks, but not easy/consistently reproducible (and only on that specific machine).

    This exception seems to be related to the changes in .Net 2.0 that ship with 3.5 SP1. After restoring the system to the previous situation (uninstalling 3.5 SP1 and related), everything works as before.

    very annoying…

  5. Lenny76 says:

    hi,

    I’ve a problem with your website.

    with IE and debug ON, every time I press a key I receive a debug error.

    So I cannot write anything in forms or navigate with arrowkeys and so on.

    can you check it?

    thanks

    Lenny

  6. Francois Ward says:

    1) Install went fine, though for my machine, it got installed went I went to install SQL Server 2008 from the demo ISO on launch day, so its probably not the typical experience (3.5 SP1 wasn’t even officially out…so it was quite the surprise!)

    2)All my applications run fine, though I’ve heard of some people who had issues with SQL Server Management Studio 2005 (but 2008 ran fine), most of which were fixed with a repair install. There’s also a list of bugs for obscure scenarios that have hit certain sites like infoq… Not gonna affect standard apps, and didn’t affect my own.

    3)Nope, all is peachy.

    4)Impression is that SP1 could have been .NET 4.0 🙂 There’s so much… though it seems a bit like you guys went out with more than you can chew… lots of new stuff, but many of it doesn’t seem like its quite complete (for example, the Dynamic Data for Entities template doesn’t work with many tables of Adventure Works 2005… one would expect at LEAST the demo database to work, since its the first thing many of us will try :)).

    I know there’s a lot of plans for .NET 4.0, but personally, I think its time for Microsoft to have a feature-less release. Just improve and complete whats already there, overhaul some things you didn’t touch in a while (like integrating nullable more), break some backward compatibility with a good tool to analyse and help upgrade application… its time now. .NET used not to have all the features to be taken seriously by heavy enterprise scenarios, but now it does. So stop adding, and just take one release to fix and improve.

    Of course, I know it won’t happen, but I can be wishful, eh?

  7. fbi1970 says:

    There’re problems about App_Browsers JIT compiling.

    Read here: http://forums.asp.net/t/1189100.aspx

    or: http://forums.asp.net/t/1307142.aspx

    Even if I delete _vti_* folder in App_Browsers the FPSE recreates it.

    I opened this feedback but they closed it.

    http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=363176

    Thie behaviour started by installing .NET 3.5 SP1 on two different 2003 + IIS6 web servers.

    Thanks

  8. steve says:

    I had issues.  VS SP1 install craps out right at the end.

  9. JeroenH,

    Do you have anything else on that?  Can you give me the callstacks or anything?

  10. Lenny76,

    What is the error you get?  What browser are you using?

  11. Steve,

    What does it install at the end?

  12. Ephraim Shurpin says:

    After installing SP1, I have not been able to add new controls to the toolbox.

    Each time I try to open the ‘Choose Toolbox Item’ dialog I receive the Visual Studio has encountered a problem and needs to close.

  13. Lenny76 says:

    I have vista and IE7

    VS2008 debug stops here ( see arrow)

    var itk_analytics_event = {

       destination: "",

       cmmdKey: false,

       key_down: function(e){

           if (!e) var e = window.event

           if (itk_browser.OS == "Mac" && e.keyCode == 224) itk_analytics_event.cmmdKey = true;

    —–>  console.log(e.keyCode)

       },

       key_up: function(e){

           if (!e) var e = window.event

           if (itk_browser.OS == "Mac" && e.keyCode == 224) itk_analytics_event.cmmdKey = false;

           console.log(itk_analytics_event.cmmdKey)

       },

  14. cb3431 says:

    I installed SP1 on two Server 2003 machines and the install prohibited .NET 2.0 in IIS both times.

  15. Ephraim Shurpin,

    I tried doing that myself and it works fine for me.  Sounds like something didn’t get installed completely correct.  You may need to try to contact Microsoft support to see what isn’t installed right.

  16. Lenny76,

    That looks like it is just debugging the page.  Is that the line it errors on?  What is the error on that line?  Or the exception.

  17. Eric says:

    The error Lenny76 is talking about is:

    Lines 10 & 16, ‘console’ is undefined.

    Occurs when you type a character in this Comments box.

    ==========

    As to your actual query about SP1.  When I installed, I could not run my ASP.net 2.0 windows app in VS2008.  The web server would crash with "Unable to connect to the ASP.NET Development Server", but it went away when I rebooted.

  18. Thanks Eric,

    And glad the reboot fixed your problem.  I’ll keep my eye on that to see if I see more issues around that.

  19. saglamtimur says:

    I couldnt install on one of my PCs, because of a missing/corrupt office 2007 update file. I re-install office 2007 and all updates, nothing changed.

    On my laptop everything works fine except asp.net 3.5 extensions projects. (System.Web.Extensions, Version=3.6.0.0).

    One more; some 3rd party components render incorrectly in design mode. (like obout flyout). It says one of the properties has invalid value, even if its enumed, and its correct, works fine before. So I dont think its a component related problem.

  20. kamii47@hotmail.com says:

    Like Jeroenh ,

    One of my coleague also get same

    System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

    It occurs on different applications, and with different call stacks, but not easy/consistently reproducible (and only on that specific machine).

    Exact things ahppened to him as of Jeroenh

  21. My coleague has faced Exact error as of JeroenH,

  22. Niklas says:

    I installed VS 2008 and SP1 on a brand new computer for a new co-worker that started working at my company this monday. The install went flawless. I imported all necessary projects from Source Safe and I got it to compile and run perfectly.

    BUT when the new guy arrived we obviously started working with the actual files, and as soon as he opened a aspx- or a ascx-file VS said "Initializing toolbox" for a couple of seconds and then it went down without even displaying a message.

    All info I got was from the log where it says this:

    Event Type: Error

    Event Source: .NET Runtime

    Event Category: None

    Event ID: 1023

    Date: 1.9.2008

    Time: 15:32:52

    User: N/A

    Computer: His computer name

    Description:

    .NET Runtime version 2.0.50727.3053 – Fatal Execution Engine Error (7A097706) (80131506)

    Tried Googling it but got nothing. It works fine in safe mode but that hardly seems like a long term solution.

    Finally I uninstalled it all and reinstalled VS2008 (without SP1) and now we can work, but with all the original bugs and flaws still there that I hoped to get rid of with SP1.

    Any idea what this might be?

    /Frustrated

  23. JeroenH says:

    Tom,

    It seemed to occur rather randomly with different call stacks.

    We’ve tried to uninstall the different parts (3.5 SP1, 3.0 SP2, 2.0 SP2) step by step, and the problem went away as soon as we reverted back to 2.0 SP1. Installing just 2.0 SP2 re-introduced the problem.

    Once this exception has happened, it keeps re-occuring for some time (I presume until the session expires, but that’s just a guess).

    Here are some call stacks:

    [AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.]

      Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) +0

      System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results) +88

      System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter) +121

      System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) +47

      System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, TextWriter results) +46

      System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results) +52

      [SNIP – UserControl]._CreateMenu() +484

      [SNIP – UserControl].Page_Load(Object sender, EventArgs e) +135

      System.Web.UI.Control.OnLoad(EventArgs e) +99

      System.Web.UI.Control.LoadRecursive() +50

      System.Web.UI.Control.LoadRecursive() +141

      System.Web.UI.Control.LoadRecursive() +141

      System.Web.UI.Control.LoadRecursive() +141

      System.Web.UI.Control.LoadRecursive() +141

      System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

    Here’s another one:

    [AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.]

      Web.Global.InitializeComponent() in C:Projects[SNIP]srcWebGlobal.asax.cs:300

      Web.Global..ctor() in C:Projects[SNIP]srcWebGlobal.asax.cs:26

      ASP.global_asax..ctor() in c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filesambo4c4497ce4e2bec13App_global.asax.lvbk3fmf.0.cs:0

    [TargetInvocationException: Exception has been thrown by the target of an invocation.]

      System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0

      System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +86

      System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +230

      System.Activator.CreateInstance(Type type, Boolean nonPublic) +67

      System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1051

      System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +111

      System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +215

      System.Web.HttpApplicationFactory.FireApplicationOnStart(HttpContext context) +8874136

      System.Web.HttpApplicationFactory.EnsureAppStartCalled(HttpContext context) +136

      System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +92

      System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +289

  24. Tom says:

    The only problem I have seen, which may not be 3.5 sp1 related, is that visual web developer some times forgets to delete the app_offline.htm after building.  

    I never had that problem before the sp1 update, but maybe it it just the web app I have been making.

  25. Ephraim Shurpin,

    Another thing you can do is try to reset the toolbox back to the default and then try adding things again.  My guess is that it is some custom toolbox item.

  26. Niklas,

    It would be cool to get to see what that crash was.  Do you know how to attach a debugger to the process and get a dump?

  27. JeroenH or anyone getting the AccessViolationException, I’d really like to get to see this error.  Would it be possible for someone to capture a dump of this exception that I can take a look at?  I can supply a location to upload the dump to.

  28. patrickG says:

    i thought .net 3.5 sp1 was giving me problems (only because that was the only major thing i could remember i’d installed lately), but couldn’t really put my finger on it.

    i just figured it out today, and happened to remember your post, so thought i’d try to help others out.

    it’s much clearer to me in retrospect: i installed sp1 and some web sites stopped working properly (wowhead.com, for one 😉 and anything silverlight kept prompting me to install, even though i already have v2). also, the help in vStudio .net 2003 lost all it’s styling – just plain, ugly text. i also started having a problem in asp.net 1.1 – browser detection was coming back with ‘unknown’ for my ie browser, normal for ff and safari.

    there’s more details at:

    https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=362923

    but suffice to say that ie (v7, in my case, not sure if other versions have this problem) was generating a user agent string that’s too long – 260+ characters screws up navigator.userAgent in javascript and over 256 characters messes up browserCaps regexes in asp.net 1.1.

    my own work-around, for the time being, was to delete some of the .net clr keys from

    HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInternet Settings5.0User AgentPost Platform

    .net 3.5 sp1 put me up to 8 clr versions – i deleted 2 old 3.0.04506.* revisions and am now down to 6, which, along with my media center, officelive, infopath, etc., etc., entries, puts me under the user agent string limits.

  29. Niklas says:

    Tom,

    I obviously should have got a dump from it before I unistalled it all.

    I can’t say I have time to go through the install / reinstall process again at the moment but I can’t be the only one with this problem so I’m sure you’ll get your dump eventually.

  30. patrickG,

    Thanks for the additional information.  That is very useful to know and hope it will help others if they run into that problem.

  31. Niklas,

    I understand.. thanks for reporting it and hopefully I will.

  32. Christian Bayer says:

    Exchange 2007 advertisment service fails without error messages and rebuild does not help.

    Users see the problem when using Outlook 2007. OutOfOffice assistant does not work.

    Schedule meetings with other users will make Outlook crash.

    All works fine with OWA and previous versions of Outlook.

    All this started right after installation of .NET 3.5sp1.

    Uninstall did not solve the problems. Microsoft is working on the issue for the second week now.

  33. Christian Bayer says:

    Exchange 2007 advertisment service fails without error messages and rebuild does not help.

    Users see the problem when using Outlook 2007. OutOfOffice assistant does not work.

    Schedule meetings with other users will make Outlook crash.

    All works fine with OWA and previous versions of Outlook.

    All this started right after installation of .NET 3.5sp1.

    Uninstall did not solve the problems. Microsoft is working on the issue for the second week now.

  34. Fabian Schmied says:

    Here’s a link listing a few issues as well: http://www.ayende.com/Blog/archive/2008/08/15/Waiting-for-the-Service-Pack-I-dont-think-so.aspx

    In my opinion, the SP introduced _way_ too many issues – including a few hard bugs; that’s very uncommon, especially with service packs from Microsoft.

    Fabian

    (BTW: I’m getting the "console is undefined" error, too. IE 7, Server 2003, debugging on)

  35. daveblack says:

    I have a bug with VS2008 SP1 that I discovered yesterday when trying to debug an application with 7 projects.  It has to do with the new Debugging feature of "Enable .NET Framework source stepping" under Tools | Optons.

    VS2008 SP1 will crash if I have this solution open, check ‘Enable .NET Framework source stepping’, and then click OK.  The result of the bug generates:

    Event Type: Error

    Event Source: .NET Runtime

    Event Category: None

    Event ID: 1023

    Date: 9/9/2008

    Time: 4:49:20 PM

    User: N/A

    Computer: VIRTUAL-DEV

    Description:

    .NET Runtime version 2.0.50727.3053 – Fatal Execution Engine Error (7A2E0F92) (0)

    I’m going to open a bug on MS Connect once I try to narrow the problem down.  Here are some things I’ve noticed so far:

    1. It doesn’t occur with some other projects I’ve tried so far.

    2. I believe it has to do with using Symbol Servers

    3. I have only http://referencesource.microsoft.com/symbols and have deleted all of the cached symbols that the SymbolServer previously used.

    4. I think it has to do with a particular project type – but rooted in the .NET references it requires and uses.

    More to come as I narrow it down and will post a link to the MS Connect Bug ID…

  36. daveblack says:

    I’ve found the way to reliably repro the issue and have opened a bug on MS Connect:

    https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=367121

  37. it seems that the System.AccessViolationException that I was looking at for JeroenH was caused by using the Remotesoft .NET Protector.  This is a known issue with it.  So the only ways to fix it are to not use that or to talk to Remotesoft about fixing the problem.  If anyone is not using that and has the System.AccessViolationException issue, please let me know.

  38. Tiger says:

    I am having an issue with a site that uses AspDotNetStoreFront.  I am getting the System.AccessViolationException exception.  I will check tonight if the store is using remotesoft and if they are not I will see if I can get a dump to send to you.

  39. Alan Jackson says:

    I had a huge issue with TFS once I installed .Net 3.5 SP1 and attempted an upgrade to TFS2008 from TFS2005.  I wound up having to get Premier involved (case # SRZ080913000002).  We took the approach of uninstalling .Net 3, .Net 3.5, and .Net 2.0 and reinstalling .Net 2.0.

    I find it absolutely insane that the install of .Net 3.5 Sp1 includes a bundle for .Net 2.0 SP2 and that install winds up uninstalling 2.0 and 2.0 SP1 .  Too much risk for a SP install on a production web server or code server.

  40. Alan,

    So you left 3.5 SP1 off your machine correct?

  41. gangadhar says:

    Hello i have download and installed .net 3.5 with sp1 i din’t get all the controls in my toolbox how to get de m plz reply i need map , media player and some other controls help me thank you

  42. Gangadhar,

    I think it depends on what kind of project you create in Visual Studio.  Try creating a Futures project.

  43. Philippe says:

    Hi,

    Like JeroenH and kamii47 I have a System.AccessViolationException.

    It occurred just after I installed the new .Framework 3.5 SP1.

    The strange thing about that is that it occurs only

    on the Release build.

    To be more precise, I have a c# .Net project which builds dynamically dlls using some IL instructions.

    I may test a build dll by referencing them manualy in the project and calling the differents methods within it in a console application project.

    The test runs ok in Debug but not in Release.

    I have all ok on servers that are still on the Framework 2.0

    The bug occured just after the FWRK 3.5 SP1 installation.

    Thank you for your help.

  44. Philippe says:

    Dear Sir,

    In a precedent post you said "If anyone is not using that and has the System.AccessViolationException issue, please let me know".

    I also have a System.AccessViolationException since .Net Framework 3.5 SP1 installation on an application that ran perfectly well before the installation.

    The application generate a dynamic assembly, generated on the fly, that run as a database mapping layer.

    Here is an extract of the logs :

    DynamicFactorybinRelease>DynamicFactoryTester.exe

    System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

      at __generated__1_reader(Object , IDataReader , Dictionary`2 , Boolean )

      at com.dynamic.factory.SingleRowFactory.CreateList[T,TKey,TValue](IDataReader reader, Boolean getAllItems, Dictionary`2 parameters)

    The "__generated__1_reader" method is build dynamically, as I said earlier : it does not exist before the program starts.

    The strange thing is that the exception is thrown only in Release configuration.

    This seems to be a security issue, but I don’t know what to do.

    Thank you for your help.

  45. Can you email me Philippe?  I’d like to get a sample if possible to investigate this.  You can email me from: http://blogs.msdn.com/tom/contact.aspx

    Thanks

  46. John says:

    Everything worked great, before I had to install .NET 3.5 SP1 on a web server for a client, that is.

    Now I get a stupid error:

    ".NET Runtime version 2.0.50727.3053 – Fatal Execution Engine Error (7A097706) (80131506)" and nothing works.

    This comes in sync with a second error:

    "Faulting application w3wp.exe, version 6.0.3790.3959, stamp 45d6968e, faulting module mscorwks.dll, version 2.0.50727.3053, stamp 4889dc18, debug? 0, fault address 0x000170d8."

    that kills IIS worker process and there goes my website…

    I should have figured that Microsoft is up to no good.

  47. Well Microsoft Net Framework 3.5 SP1 just crashed on me.  My web site is down.. My application Event logs on Windows 2003 R2 Standard says the framework is the problem.

    So I’m trying to find a solution to this problem

  48. Ludmil Tinkov says:

    I keep getting a similar error, except that the faulting module is kernel32.dll. This happens on a 64-bit Windows 2003 Server with .NET Framework 3.5 SP1 installed.

    Here’s what goes into the Application Event Log:

    Faulting application w3wp.exe, version 6.0.3790.3959, stamp 45d6968e, faulting module kernel32.dll, version 5.2.3790.4062, stamp 4626467c

    It worked fine on my 32-bit Windows XP development machine (with .NET 3.5 SP1 installed) but after uploading to the demo server to show it to some clients, it turned out that it crashes the IIS worker process at some point.

  49. Michael,

    Can you give more details on the problem?  If you really need to figure it out, it may be best to open up a support case with Microsoft.

  50. Ludmil,

    It will probably be best to capture a dump at the time of the crash.  Are you using anything from Remotesoft?

  51. Edward Cooke says:

    I had the AccessViolation exception on a production web server running multiple sites. Mostly on the AspDotNetStoreFront sites. Some of the other sites was throwing random errors, can’t remember any of them, but those sites were all .net 2.0 sites.

    I went to uninstall 3.5 sp1 and it trashed all of the .net installs. I couldn’t uninstall or re-install any of them.

    I ended up going through the registry, removing anything related to .net, removed the c:windowsmicrosoft .netframework folders.

    And then I was able to re-install .net 1.1 following a microsoft kb on how to re-install.net 1.1 on a 2003 server, and then installed 2.0, then 2.0 sp1

    Now all is well.

  52. Daniel says:

    I’m trying to do some stuff with WPF in VS2008 using the new SP1 of .Net 3.5.  It’s practically hopeless, the VS2008 IDE disappears regularly, leaving the following message in the Windows Event Log:

    .NET Runtime version 2.0.50727.3053 – Fatal Execution Engine Error (7A2E0F92) (0)

    There are numerous accounts of other people having this problem on the internet, but no conclusive explanation of the problem or how to get rid of it.  Different things work for different people, but nothing has worked for me so far.  If you can offer any assistance, then that’d be great

  53. Daniel,

    Are you using anything from Remotesoft?  If not, the best advice I can offer is to call Microsoft support.  They should be able to get it resolved and get you running again.

  54. Daniel says:

    Thanks Tom,

    No, I’m not running anything from Remotesoft.

    I ended up searching some more forums, and concluded that the best plan was to repair the installation of VS2008, reinstall VS2008 SP1 and install the latest Service Pack for SQL Server 2005.

    There’s a chance that this has helped things, but it’s a bit early to know for sure,

    Daniel

  55. Daniel,

    If you have a specific error message after doing that, let me know and I can see about figuring out what it is.  If not, I would say to have support help, unless you have more time to look into it on your own.

  56. Andrew says:

    We’re also getting accessviolationexceptions all over the place since the beginning of November in our .net 2 windows forms project (running on about 25 workstations – most seem to get the error two or three times a day). We can’t consistently reproduce and it’s never happened on our development machines (Visual Studio 2005)

    At the same time we’ve also started getting a lot of Fatal Execution Engine errors (example: .NET Runtime version 2.0.50727.1433 – Fatal Execution Engine Error (79FFEE24) (80131506)) where our app bombs out and the above error is written to the Application Log.

    I have a couple of stack traces taken just after the error that I can send if they would be of any help.

  57. Andrew,

    I would be interested in seeing them.  You can either post them here or send them to me in an email using the contact form on here.

  58. oxygen says:

    .NET Runtime version 2.0.50727.3053 – Fatal Execution Engine Error (7A097706) (80131506)

    win2k3 sp2, I also have vs6.0 and vs 2005 with sp1  installed

    vs2005 now fails with the same error as vs2008

    I ran into some problems before installing vs2008 with office 2007 which had all components/products with version 12.0.4518.1014

    after i succeeded in installing vs2008, one of the components/products which was failing the install now has version 12.0.4518.1066 (from the vs2008 i guess)

    problably you didn’t need this since it problably is a .net issue, i don’t know

  59. Brian says:

    Seem to have a pathological case that leads to the IDE crash and the following entries in the event log (after trying to attach to w3wp.exe)

    The repro is to use a solution file from a directory two levels up from a web application project that it includes. (You only need one project in the sln file.)  Then try to attach to the w3wp process manually for debugging.  In my case after about 5-8 seconds this crashes the IDE, logs events and ultimately crashes the w3wp process as well.

    I initially ran into the problem after installing vs2008 sp1.  However, rolling the SP back did not resolve the issue. If anybody can shed some light on this or has a better work-around I’d love to hear about it.

    The work-around is to use a solution file in the same folder with the web-application project.

    Don’t have any real idea why – but this was driving me nuts – hope it helps someone…

    Event Type: Error

    Event Source: Microsoft Visual Studio

    Event Category: None

    Event ID: 1000

    Date: 12/23/2008

    Time: 5:38:34 PM

    User: N/A

    Computer: DENSRV

    Description:

    Faulting application devenv.exe, version 9.0.21022.8, stamp 47317b3d, faulting module cpde.dll, version 9.0.21022.8, stamp 47317da4, debug? 0, fault address 0x00048245.

    Event Type: Error

    Event Source: .NET Runtime

    Event Category: None

    Event ID: 1023

    Date: 12/23/2008

    Time: 5:38:37 PM

    User: N/A

    Computer: DENSRV

    Description:

    .NET Runtime version 2.0.50727.3082 – Fatal Execution Engine Error (7A2E1132) (0)

  60. Brian says:

    Just a follow-up.  The issue described in my previous post was in fact not solution path related.  It was finally cleared up by deleting the .suo file of the solution with the debugging issue and the logged error messages.

  61. Luis says:

    Installing .Net 3.5 SP1 or .Net 2.0 SP2 I get this exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.  I’m generating dynamic assemblies, generated on the fly, using System.Emit.  Is there any fix or workaround for this issue?

  62. Gerry says:

    I held off installing 3.5 sp1 but eventually took the plunge, wish I had not. After install when my system rebooted the os started loading new personal/default settings ect. It did not delete anything but lots of desktop icons were gone and the desktop background was changed. Had to do a system restore.

    Win XP SP3

  63. Would it be possible for me to get a dump of one of the processes when the AccessViolation occurs?

  64. Gerry,

    What icons are you talking about?  Can you tell me what changed?

  65. Luis says:

    Tom, regarding the post "# Luis said on February 9, 2009 12:26 PM:" asking for a dump, I used Debug Diagnostic Tool and this is the result:

    DESCRIPTION: In JetBrains.ReSharper.TaskRunner__PID__4788__Date__02_12_2009__Time_05_01_54PM__41__First chance exception 0XC0000005.dmp the assembly instruction at mscorjit!Compiler::optCreateAssertion+1f in C:WINDOWSMicrosoft.NETFrameworkv2.0.50727mscorjit.dll from Microsoft Corporation has caused an access violation exception (0xC0000005) when trying to read from memory location 0x00000000 on thread 10

    RECOMMENDATION: Please follow up with the vendor Microsoft Corporation for C:WINDOWSMicrosoft.NETFrameworkv2.0.50727mscorjit.dll

    THREAD 10:

    Entry point   mscorwks!Thread::intermediateThreadProc

    Create time   12/02/2009 05:01:52 p.m.

    Time spent in user mode   0 Days 0:0:1.343

    Time spent in kernel mode   0 Days 0:0:0.234

    Function     Arg 1     Arg 2     Arg 3   Source

    mscorjit!Compiler::optCreateAssertion+1f     00000000     00000000     00000001    

    mscorjit!Compiler::optAssertionGen+169     01e536ec     00e536ec     00e50010    

    mscorjit!Compiler::fgMorphTreeDone+59     00e536ec     00e536ec     00e537b8    

    mscorjit!Compiler::fgMorphTree+147     00e536ec     00000000     00e52cb8    

    mscorjit!Compiler::fgMorphStmts+61     00e52cb8     0474e72b     0474e72a    

    mscorjit!Compiler::fgMorphBlocks+78     00e50010     7906513e     00e50010    

    mscorjit!Compiler::fgMorph+5a     00e50010     0474e974     0474e790    

    mscorjit!Compiler::compCompile+83     0474e838     0474ea80     00107010    

    mscorjit!Compiler::compCompile+44f     05314d44     00000000     0474e974    

    mscorjit!jitNativeCode+ef     0474e9fc     0474e974     0474e838    

    mscorjit!CILJit::compileMethod+25     790b7268     0474e9fc     0474e974    

    mscorwks!invokeCompileMethodHelper+72     001820c0     0474e9fc     0474e974    

    mscorwks!invokeCompileMethod+31     001820c0     0474e9fc     0474e974    

    mscorwks!CallCompileMethodWithSEHWrapper+5b     001820c0     0474e9fc     0474e974    

    mscorwks!UnsafeJitFunction+31b     053172d8     05258278     00107010    

    mscorwks!MethodDesc::MakeJitWorker+1a8     05258278     00000000     1ae470ab    

    mscorwks!MethodDesc::DoPrestub+41b     0531739c     1ae4737b     0474f164    

    mscorwks!PreStubWorker+f3     0474ee64     1a35f4a2     0144d8f4    

    0x003b1efe     003b1efe     00000000     00000000    

    mscorwks!PreStubWorker+141     014c7544     79e82279     0474ef80    

    mscorwks!CallDescrWorker+33     0474efd0     00000000     0474efa0    

    mscorwks!CallDescrWorkerWithHandler+a3     0474efd0     00000000     0474efa0    

    mscorwks!MethodDesc::CallDescr+19c     03b9a1c0     0474f200     0474f110    

    mscorwks!MethodDesc::CallTargetWorker+1f     03b9a1c0     0474f200     0474f110    

    mscorwks!MethodDescCallSite::CallWithValueTypes+1a     0474f110     0474f2b8     79f7762b    

    mscorwks!InvokeImpl+550     03bd7e28     014ccddc     00000000    

    mscorwks!RuntimeMethodHandle::InvokeMethodFast+bd     03bd7e9c     00000086     0474f3a0    

    mscorlib_ni+215348     03bd7e9c     00000086     0154f9c0    

    mscorlib_ni+21514f     00000000     00000000     00000000    

    mscorlib_ni+214fde     00000000     04ef40e3     01409bc0    

    0x03be67b0     01410a14     0147562c     00000000    

    0x04ef3e5e     0144d268     01410424     01410a14    

    0x03bbeb28     014b08d4     0474f628     792e01ef    

    mscorlib_ni+216d66     0474f66c     014b08d4     014b08a0    

    mscorlib_ni+2201ef     01422ae4     00000000     001aaf90    

    mscorlib_ni+216ce4     7c97be00     0474f6b8     0474f6d0    

    mscorwks!CallDescrWorker+33     0474f720     00000000     0474f6f0    

    mscorwks!CallDescrWorkerWithHandler+a3     0474f720     00000000     0474f6f0    

    mscorwks!MethodDesc::CallDescr+19c     7924290c     0474f968     0474f8a0    

    mscorwks!MethodDesc::CallTargetWorker+1f     7924290c     0474f968     0474f8a0    

    mscorwks!MethodDescCallSite::CallWithValueTypes+1a     0474f8a0     1ae46767     001aaf90    

    mscorwks!ThreadNative::KickOffThread_Worker+192     0474fd50     001aaf90     00000000    

    mscorwks!Thread::DoADCallBack+32a     0474fcc4     0474fac4     79f7762b    

    mscorwks!Thread::ShouldChangeAbortToUnload+e3     0474fcc4     1ae46643     001aaf90    

    mscorwks!Thread::ShouldChangeAbortToUnload+30a     0474fcc4     001aaf90     0474fbcc    

    mscorwks!Thread::RaiseCrossContextException+434     0474fcc4     0474fbc0     79f7762b    

    mscorwks!Thread::DoADCallBack+da     00000002     79fd87f6     0474fcc4    

    mscorwks!Thread::DoADCallBack+310     0474fcc4     0474fc70     79f7762b    

    mscorwks!Thread::ShouldChangeAbortToUnload+e3     0474fcc4     1ae461f7     00000000    

    mscorwks!Thread::ShouldChangeAbortToUnload+30a     0474fcc4     00000002     00000000    

    mscorwks!Thread::ShouldChangeAbortToUnload+33e     00000002     79f3d769     0474fd50    

    mscorwks!ManagedThreadBase::KickOff+13     00000002     79f3d769     0474fd50    

    mscorwks!ThreadNative::KickOffThread+269     001c7a30     8ee6aa04     8efeaac4    

    mscorwks!Thread::intermediateThreadProc+49     001bf5d8     0012b0a0     79e7af69    

    kernel32!BaseThreadStart+37     79f9205f     001bf5d8     00000000    

    MSCORJIT!COMPILER::OPTCREATEASSERTION+1FIn JetBrains.ReSharper.TaskRunner__PID__4788__Date__02_12_2009__Time_05_01_54PM__41__First chance exception 0XC0000005.dmp the assembly instruction at mscorjit!Compiler::optCreateAssertion+1f in C:WINDOWSMicrosoft.NETFrameworkv2.0.50727mscorjit.dll from Microsoft Corporation has caused an access violation exception (0xC0000005) when trying to read from memory location 0x00000000 on thread 10

    Module Information

    Image Name: C:WINDOWSMicrosoft.NETFrameworkv2.0.50727mscorjit.dll   Symbol Type:  PDB

    Base address: 0x79060000   Time Stamp:  Mon Nov 24 22:46:57 2008  

    Checksum: 0x00063f75   Comments:  Flavor=Retail

    COM DLL: False   Company Name:  Microsoft Corporation

    ISAPIExtension: False   File Description:  Microsoft .NET Runtime Just-In-Time Compiler

    ISAPIFilter: False   File Version:  2.0.50727.3082 (QFE.050727-3000)

    Managed DLL: False   Internal Name:  mscorjit.dll

    VB DLL: False   Legal Copyright:  © Microsoft Corporation. All rights reserved.

    Loaded Image Name:  mscorjit.dll   Legal Trademarks:  

    Mapped Image Name:     Original filename:  mscorjit.dll

    Module name:  mscorjit   Private Build:  

    Single Threaded:  False   Product Name:  Microsoft® .NET Framework

    Module Size:  364.00 KBytes   Product Version:  2.0.50727.3082

    Symbol File Name:  c:symcachemscorjit.pdb934D5C2DD37F4A8EA01C91DC700F6EC42mscorjit.pdb   Special Build:  &

    The exception is thrown using either Resharper TaskRunner or NUnit GUI or even the real application.

  66. Luis,

    Is the application anything you can repro on another machine?  Is it something I can see on my machine?  We are also trying to get a case and look at the dump here.  Hopefully we can find something and report back.  If you want to create a case yourself, you can check out http://blogs.msdn.com/tom/archive/2007/11/15/contacting-tom.aspx

  67. Luis says:

    Hi Tom, if the machine has .Net 2 SP2 or .Net 3.5 SP1, you can reproduce the error.  I have a little solution (C# projects) where you can reproduce the exception in your machine.  I will send the solution to you.

  68. Peter Schneider says:

    A client had .Net Framework 3.5 SP1 get installed on an auto update and now when the ASP.Net web site tries to do a post back is crashes their instance.  There are no logs  being written to indicate what the issue is and from a debugging window in VS it says the the Internet connectivity has been lost which it has not.  Everything looks to me like the session state is corrupted.  Very frustrating and I am not sure if can be resolved other than to remove SP1.

  69. weakbird says:

    Fatal Execution Engine Error (7A2E1132) (0) when working with WPF can be cured by deleting dwmapi.dll from System32

  70. Ephraim Shurpin says:

    Removing SilverLight tools helped the issue with ‘Choose Tool Box Item’ Dialog

  71. Samir Shah says:

    I am getting the same error as JOHN.

    Faulting application w3wp.exe, version 6.0.3790.3959, stamp 45d6968e, faulting module mscorwks.dll, version 2.0.50727.3053, stamp 4889dc18, debug? 0, fault address 0x0001fb17.

    Has anyone got any solution for the same?

    Thanks,

    Samir Shah

  72. http://entertainment-lobby.blogspot.com says:

    Fatal Execution Engine Error (7A2E1132) (0) when working with WPF can be cured by deleting dwmapi.dll from System32