# Creating IronPython project causes crash

 Thaumaturge Mar 3, 2013 at 12:13 PM I have both VS2010, and VS2012 shells installed. Whenever I try to create an IronPython project, or switch to IronPython debugging, visual studio will CTD. It does this for both VS2010, and VS2012. It says "Visual studio has stopped working" and crashes. I'm pretty sure it used to work on this PC. If I go into Tools -> Options ->Python Tools, interpreter options, I can set up an IronPython Interpreter, and that appears to work just fine. Any thoughts on how I might solve this would be greatly appreciated. Zooba Coordinator Mar 4, 2013 at 6:25 PM Could you have a look inside your event log to see if there is any more information on the error (such as a call stack)? Also, if you've sent the crash reports in we may also be able to look at those - there may be IDs in the event log which will help us find yours. Otherwise, uninstalling and reinstalling PTVS would be the first suggestion. Zooba Coordinator Mar 4, 2013 at 6:26 PM On rereading, I see that you said you set up an IronPython interpreter manually. Normally we should detect IronPython automatically; did you install it from the packages on their site or was it part of another application? Thaumaturge Mar 4, 2013 at 6:59 PM It auto detected them, but it would crash every time I tried to create an IronPython project, or try to switch the project to start with IronPython. I manually created an intrpreter after that, and was able to switch the project to it, but still can't "create" an IronPython project without crashing. I'm not able to access the PC with the problem at the moment, but I did send the crash report in. It also appears that with the manual interpreter, the intellisense for .NET objects does not appear to work. I've tried uninstalling/reinstalling PTVS, the shells, and so far no luck. This is only happening on my Home PC, the one at work is working just fine. Thaumaturge Mar 4, 2013 at 10:53 PM Edited Mar 4, 2013 at 10:59 PM This is the event log. Log Name: Application Source: Application Error Date: 3/3/2013 1:52:34 PM Event ID: 1000 Task Category: (100) Level: Error Keywords: Classic User: N/A Computer: DadNMom-PC Description: Faulting application name: devenv.exe, version: 11.0.50727.1, time stamp: 0x5011ecaa Faulting module name: clr.dll, version: 4.0.30319.18034, time stamp: 0x50b5a8bb Exception code: 0xc0000005 Fault offset: 0x00002dd8 Faulting process id: 0xef0 Faulting application start time: 0x01ce18489fed3c62 Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll Report Id: e41bbca0-843b-11e2-a654-e89a8fac543d Event Xml:  1000 2 100 0x80000000000000 77986 Application DadNMom-PC  devenv.exe 11.0.50727.1 5011ecaa clr.dll 4.0.30319.18034 50b5a8bb c0000005 00002dd8 ef0 01ce18489fed3c62 C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll e41bbca0-843b-11e2-a654-e89a8fac543d More... Log Name: Application Source: .NET Runtime Date: 3/3/2013 1:52:34 PM Event ID: 1023 Task Category: None Level: Error Keywords: Classic User: N/A Computer: DadNMom-PC Description: Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an internal error in the .NET Runtime at IP 64BB2DD8 (64BB0000) with exit code 80131506. Event Xml:  1023 2 0 0x80000000000000 77985 Application DadNMom-PC  Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an internal error in the .NET Runtime at IP 64BB2DD8 (64BB0000) with exit code 80131506. Zooba Coordinator Mar 4, 2013 at 11:54 PM Thanks for that. I found the report and there's definitely a problem loading IronPython. Are you able to start the IronPython console directly? It may help to uninstall and reinstall IronPython. If that doesn't help, I'll ask around here to find out what else we can try. It's very rare to see a crash like this inside clr.dll. Thaumaturge Mar 5, 2013 at 1:13 AM Edited Mar 5, 2013 at 1:16 AM I could start the console directly using ipy.exe So, I uninstalled IronPython, 2012 integrated shell, 2012 isolated shell, PTVS. Then I installed in this order. Iron Python, Isolated shell Integrated shell PTVS All appears to be working now. Thanks much! Zooba Coordinator Mar 5, 2013 at 3:18 PM Good to hear! Thaumaturge Mar 10, 2013 at 8:02 PM Edited Mar 10, 2013 at 8:26 PM OK, I'm still having issues with this. I'm randomly having the same issue, and when I uninstall Ironpython, and reinstall it, things start working again. Any thoughts would be greatly appreciated. It's getting annoying. Edit to add additional information. There are times where it's a little different, but that seems to depend on weather the interactive window was/is open. When it was open, I started VS in safemode, and got this entry on the interactive window. 54 Error VisualStudio Construction of frame content failed. Frame identifier: ST:1:0:{5adb6033-611f-4d39-a193-57a717115c0f} Frame caption: IronPython 2.7 Interactive Exception details: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context) at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage() at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent() While in safe mode, if I close the interactive window, and restart Visual Studio, I can then open visual studio, but I get the same crash whenever I try to open an existing IronPython project, or start a new IronPython project. dinov Coordinator Mar 11, 2013 at 5:34 PM I suspect something is messing up your IronPython install, but it's hard to tell what exactly. What we probably need to see here is where the 1st exception is coming from which is causing this. Can you launch 2 copies of Visual Studio, and to Debug->Attach to Process and attach to the other one? You'll need to configure VS so that "Just my Code" is disabled in Tools->Options-Debugging->Enable just my Code and then make sure in Debug->Exceptions that breaking on thrown CLR exceptions is enabled (both of these options should be set in the VS you do the attach from). Then open a IronPython project or interactive window and hopefully you'll break into the VS doing the debugging with a stack trace and exception. If you can send that back to us it might be obvious what the issue is. Thaumaturge Mar 25, 2013 at 2:31 PM Just wanted to update this. I don't know what I did for sure (I uninstalled various other programs), but I no longer appear to be having this problem. Thanks for all the help. rainerc May 24, 2013 at 2:30 PM I'm having exactly the same problems as Thaumaturge had. I followed these re-installation steps: So, I uninstalled IronPython, 2012 integrated shell, 2012 isolated shell, PTVS. Then I installed in this order. Iron Python, Isolated shell Integrated shell PTVS Sometime this works sometimes it doesn't. The best way to make it work was to rebooted after unistallation. But after the next rebooting or even after waking the machine up from sleep mode the problems are the same: VS shell starts but crashes as soon as I try to open an existing Python file or try to create one. This is really annoying, because each time I want to use VS with IronPython I need one or two de-installations/re-installations like described above... PLEASE HELP!!! Zooba Coordinator May 24, 2013 at 5:12 PM Do you have any events showing up in your Windows event viewer? (Start -> Event Viewer -> Application) If Visual Studio is crashing completely then there should be some entries here. Also, make sure you let Windows send error reports - we can use these to help figure out what's going on. If this is the same issue, there is probably no need to reinstall Visual Studio and PTVS, since it is IronPython that isn't loading correctly. (You can check this by ensuring that PTVS works fine with a CPython interpreter and without IronPython installed.) rainerc May 24, 2013 at 6:00 PM Got 3 messages in the event viewer. All 3 in the order in which they happened (they are in German, but of course I can provide a translation if needed): Protokollname: Application Quelle: .NET Runtime Datum: 24.05.2013 19:48:49 Ereignis-ID: 1023 Aufgabenkategorie:Keine Ebene: Fehler Schlüsselwörter:Klassisch Benutzer: Nicht zutreffend Computer: Dell002 Beschreibung: Anwendung: devenv.exe Frameworkversion: v4.0.30319 Beschreibung: Der Prozess wurde aufgrund eines internen Fehlers in der .NET-Laufzeit beendet. bei IP 6B9B2DD8 (6B9B0000) mit Exitcode 80131506. Ereignis-XML: 1023 2 0 0x80000000000000 87188 Application Dell002 Anwendung: devenv.exe Frameworkversion: v4.0.30319 Beschreibung: Der Prozess wurde aufgrund eines internen Fehlers in der .NET-Laufzeit beendet. bei IP 6B9B2DD8 (6B9B0000) mit Exitcode 80131506. Protokollname: Application Quelle: Application Error Datum: 24.05.2013 19:48:51 Ereignis-ID: 1000 Aufgabenkategorie:(100) Ebene: Fehler Schlüsselwörter:Klassisch Benutzer: Nicht zutreffend Computer: Dell002 Beschreibung: Name der fehlerhaften Anwendung: devenv.exe, Version: 11.0.50727.1, Zeitstempel: 0x5011ecaa Name des fehlerhaften Moduls: clr.dll, Version: 4.0.30319.18034, Zeitstempel: 0x50b5a8bb Ausnahmecode: 0xc0000005 Fehleroffset: 0x00002dd8 ID des fehlerhaften Prozesses: 0x233c Startzeit der fehlerhaften Anwendung: 0x01ce58a6e465a8bb Pfad der fehlerhaften Anwendung: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe Pfad des fehlerhaften Moduls: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll Berichtskennung: 3178719d-c49a-11e2-8c7b-842b2ba25e84 Ereignis-XML: 1000 2 100 0x80000000000000 87189 Application Dell002 devenv.exe 11.0.50727.1 5011ecaa clr.dll 4.0.30319.18034 50b5a8bb c0000005 00002dd8 233c 01ce58a6e465a8bb C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll 3178719d-c49a-11e2-8c7b-842b2ba25e84 Protokollname: Application Quelle: Windows Error Reporting Datum: 24.05.2013 19:52:56 Ereignis-ID: 1001 Aufgabenkategorie:Keine Ebene: Informationen Schlüsselwörter:Klassisch Benutzer: Nicht zutreffend Computer: Dell002 Beschreibung: Fehlerbucket 3423278703, Typ 1 Ereignisname: APPCRASH Antwort: Nicht verfügbar CAB-Datei-ID: 0 Problemsignatur: P1: devenv.exe P2: 11.0.50727.1 P3: 5011ecaa P4: clr.dll P5: 4.0.30319.18034 P6: 50b5a8bb P7: c0000005 P8: 00002dd8 P9: P10: Angefügte Dateien: C:\Users\HugoXXX\AppData\Local\Temp\WER2C8E.tmp.WERInternalMetadata.xml Diese Dateien befinden sich möglicherweise hier: C:\Users\HugoXXX\AppData\Local\Microsoft\Windows\WER\ReportArchive \AppCrash_devenv.exe_1322e59b8cfe46396fe8a6a2289e1caa32aae5_06e8e725 Analysesymbol: Es wird erneut nach einer Lösung gesucht: 0 Berichts-ID: 3178719d-c49a-11e2-8c7b-842b2ba25e84 Berichtstatus: 0 Ereignis-XML: 1001 4 0 0x80000000000000 87190 Application Dell002 3423278703 1 APPCRASH Nicht verfügbar 0 devenv.exe 11.0.50727.1 5011ecaa clr.dll 4.0.30319.18034 50b5a8bb c0000005 00002dd8 C:\Users\HugoXXX\AppData\Local\Temp\WER2C8E.tmp.WERInternalMetadata.xml C:\Users\HugoXXX\AppData\Local\Microsoft\Windows\WER\ReportArchive \AppCrash_devenv.exe_1322e59b8cfe46396fe8a6a2289e1caa32aae5_06e8e725 0 3178719d-c49a-11e2-8c7b-842b2ba25e84 0  Zooba Coordinator May 24, 2013 at 6:18 PM Thanks. I've done some research into the reports that have been sent in and it seems this is an issue in the .NET framework. It's been around for a while and affects a lot of different applications, but every time somebody opens a bug internally we can't find a way to reproduce the issue. We're talking to people internally to find a fix or workaround, but right now the best I can offer is that it only occurs on Windows 7. While I don't expect you to upgrade to Windows 8 just to fix this (though you can if you like), it's possible that an update is available for Win7 that will fix it. This may be an optional update that you'll need to manually install - we haven't found anyone who can confirm that this has been fixed yet. I'll post back here if we find anything else. rainerc May 24, 2013 at 6:34 PM Thanks, Zooba. Any help would be highly appreciated. The problem is sooo annoying. (And, no, I will not upgrade to Windows 8 ;) ) Thaumaturge May 27, 2013 at 8:57 PM Just curious... Do you happen to have SharpDevelop installed? It was one of the programs I had installed when I was having the issue. I was messing around w/ various IronPython solutions, and this was one of the ones I was using. It was also one of the programs I uninstalled. It was on my suspect list because it uses an IronPython install. rainerc May 27, 2013 at 9:40 PM Yes, I do because it has a forms designer for Python which VS does not offer. So you think SharpDevelop could be the reason for the crashes? Thaumaturge May 28, 2013 at 2:08 PM Edited May 28, 2013 at 2:10 PM I don't know for sure. It was suspect to me because of the IronPython install, so it was one of the programs I tried uninstalling. After that, and an uninstall of VS + PTVS, and reinstall, things have worked ever since. I liked the windows forms designer too, but I haven't bothered re-installing it to see if it was the issue. rainerc May 31, 2013 at 8:16 AM I deinstalled SharpDevelop two days ago and had no problems since with VS and Python projects. That is fine but still annoying because I know no other Windows forms designer for Python than SharpDevelop. owwmythumb Jul 4, 2013 at 2:43 PM Edited Jul 4, 2013 at 2:44 PM I, too, am suffering from these crashes. At random, I will be unable to load an ipy solution. The only fix so far has been to uninstall/reinstall ironpython. Simply repairing ironpython does not work. I do not have to reinstall vs, ptvs, etc to get back in working order. This is with win7 x64 and vs 2012 integrated shell. But, I also have these problems with ironpython solutions when working under vs 2010 pro on win7 x64 on another machine. I just ended up not using ironpython on that pc. Just putting it out there that I would also like this fixed. Thanks. Also, i saw the previous suggestions of uninstalling sharpdevelop. This did not fix my issue with opening ipy solutions in vs 2012 after uninstalling #develop 4.3. I uninstalled #develop, and ended up having to uninstall/reinstall ironpython anyway. Zooba Coordinator Jul 4, 2013 at 3:04 PM You say you hit the issue once after uninstalling SharpDevelop, but have you hit it again since? And do you have any other programs installed that use or include IronPython? We'd like this fixed as well, but we're not sure we have enough information to go on yet. It seems likely that SharpDevelop is responsible though, since we don't include IronPython with PTVS. owwmythumb Jul 4, 2013 at 3:13 PM I only just this morning uninstalled sharpdevelop, and right after that, attempted to start vs 2012 and open an ipy solution which crashed. I then uninstalled/reinstalled ironpython and had it work. I haven't reinstalled #develop. I don't have any other programs that use or include ironpython. But if I continue to get crashes, I will post back. Once I have vs running I tend to leave it running until it crashes, so it may be a while or never (hopefully) that it crashes. Today I had my first crash when I had been working in an ipy project, I switched over to a cpython 3.3 project, and then when I switched back to my ipy project vs crashed. Neither of these projects are large though. The ipy project consists of a few wpf controls and not a lot of code yet. Thanks for the quick response! Zooba Coordinator Jul 4, 2013 at 4:32 PM Often when VS crashes (and sends an error report in, which are amazingly helpful, so please send them) you can find an Error entry in your Event Viewer under Application that includes a stack trace. If you send that in with any reports then it'll make our lives much easier. owwmythumb Jul 4, 2013 at 4:55 PM Here are a couple event viewer messages Log Name: Application Source: .NET Runtime Date: 7/4/2013 9:28:59 AM Event ID: 1023 Task Category: None Level: Error Keywords: Classic User: N/A Computer: Description: Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an internal error in the .NET Runtime at IP 5A6F2DD8 (5A6F0000) with exit code 80131506. Event Xml:  1023 2 0 0x80000000000000 64031 Application computer  Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an internal error in the .NET Runtime at IP 5A6F2DD8 (5A6F0000) with exit code 80131506. Log Name: Application Source: Application Error Date: 7/4/2013 9:29:01 AM Event ID: 1000 Task Category: (100) Level: Error Keywords: Classic User: N/A Computer: computer Description: Faulting application name: devenv.exe, version: 11.0.60610.1, time stamp: 0x51b52140 Faulting module name: clr.dll, version: 4.0.30319.18034, time stamp: 0x50b5a8bb Exception code: 0xc0000005 Fault offset: 0x00002dd8 Faulting process id: 0x516c Faulting application start time: 0x01ce78c2d0439c6e Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll Report Id: 11cccd01-e4b6-11e2-9b1d-005056c00008 Event Xml:  1000 2 100 0x80000000000000 64032 Application computer  devenv.exe 11.0.60610.1 51b52140 clr.dll 4.0.30319.18034 50b5a8bb c0000005 00002dd8 516c 01ce78c2d0439c6e C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll 11cccd01-e4b6-11e2-9b1d-005056c00008 owwmythumb Jul 4, 2013 at 4:57 PM Content from crash dump of devenv Version=1 EventType=APPCRASH EventTime=130174214398352610 ReportType=2 Consent=1 UploadTime=130174214398992738 ReportIdentifier=5dc4068c-e4b5-11e2-9b1d-005056c00008 IntegratorReportIdentifier=5dc4068b-e4b5-11e2-9b1d-005056c00008 WOW64=1 Response.BucketId=3676183047 Response.BucketTable=1 Response.type=4 Sig[0].Name=Application Name Sig[0].Value=devenv.exe Sig[1].Name=Application Version Sig[1].Value=11.0.60610.1 Sig[2].Name=Application Timestamp Sig[2].Value=51b52140 Sig[3].Name=Fault Module Name Sig[3].Value=clr.dll Sig[4].Name=Fault Module Version Sig[4].Value=4.0.30319.18034 Sig[5].Name=Fault Module Timestamp Sig[5].Value=50b5a8bb Sig[6].Name=Exception Code Sig[6].Value=c0000005 Sig[7].Name=Exception Offset Sig[7].Value=00002dd8 DynamicSig[1].Name=OS Version DynamicSig[1].Value=6.1.7601.2.1.0.256.48 DynamicSig[2].Name=Locale ID DynamicSig[2].Value=1033 DynamicSig[22].Name=Additional Information 1 DynamicSig[22].Value=77dd DynamicSig[23].Name=Additional Information 2 DynamicSig[23].Value=77dd358e82df13fa2f5722ab132f566f DynamicSig[24].Name=Additional Information 3 DynamicSig[24].Value=3c52 DynamicSig[25].Name=Additional Information 4 DynamicSig[25].Value=3c5276467d808913fdacf23f8411979f UI[2]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe UI[3]=Microsoft Visual Studio 2012 has stopped working UI[4]=Windows can check online for a solution to the problem and try to restart the program. UI[5]=Check online for a solution and restart the program UI[6]=Check online for a solution later and close the program UI[7]=Close the program LoadedModule[0]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe LoadedModule[1]=C:\Windows\SysWOW64\ntdll.dll LoadedModule[2]=C:\Windows\syswow64\kernel32.dll LoadedModule[3]=C:\Windows\syswow64\KERNELBASE.dll LoadedModule[4]=C:\Windows\syswow64\ADVAPI32.dll LoadedModule[5]=C:\Windows\syswow64\msvcrt.dll LoadedModule[6]=C:\Windows\SysWOW64\sechost.dll LoadedModule[7]=C:\Windows\syswow64\RPCRT4.dll LoadedModule[8]=C:\Windows\syswow64\SspiCli.dll LoadedModule[9]=C:\Windows\syswow64\CRYPTBASE.dll LoadedModule[10]=C:\Windows\system32\MSVCR110.dll LoadedModule[11]=C:\Windows\system32\atl110.DLL LoadedModule[12]=C:\Windows\syswow64\USER32.dll LoadedModule[13]=C:\Windows\syswow64\GDI32.dll LoadedModule[14]=C:\Windows\syswow64\LPK.dll LoadedModule[15]=C:\Windows\syswow64\USP10.dll LoadedModule[16]=C:\Windows\syswow64\ole32.dll LoadedModule[17]=C:\Windows\syswow64\OLEAUT32.dll LoadedModule[18]=C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17825_none_72d273598668a06b\gdiplus.dll LoadedModule[19]=C:\Windows\system32\MSVCP110.dll LoadedModule[20]=C:\Windows\syswow64\CRYPT32.dll LoadedModule[21]=C:\Windows\syswow64\MSASN1.dll LoadedModule[22]=C:\Windows\syswow64\SHELL32.dll LoadedModule[23]=C:\Windows\syswow64\SHLWAPI.dll LoadedModule[24]=C:\Windows\system32\VERSION.dll LoadedModule[25]=C:\Windows\system32\IMM32.DLL LoadedModule[26]=C:\Windows\syswow64\MSCTF.dll LoadedModule[27]=C:\Windows\system32\uxtheme.dll LoadedModule[28]=C:\Windows\system32\profapi.dll LoadedModule[29]=C:\Windows\system32\WindowsCodecs.dll LoadedModule[30]=C:\Windows\system32\mscoree.dll LoadedModule[31]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll LoadedModule[32]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\msenv.dll LoadedModule[33]=C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll LoadedModule[34]=C:\Windows\system32\DWrite.dll LoadedModule[35]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\1033\msenvui.dll LoadedModule[36]=C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\VsLogP.dll LoadedModule[37]=C:\Windows\syswow64\CLBCatQ.DLL LoadedModule[38]=C:\Windows\system32\CRYPTSP.dll LoadedModule[39]=C:\Windows\system32\rsaenh.dll LoadedModule[40]=C:\Windows\system32\RpcRtRemote.dll LoadedModule[41]=C:\Windows\syswow64\urlmon.dll LoadedModule[42]=C:\Windows\syswow64\api-ms-win-downlevel-ole32-l1-1-0.dll LoadedModule[43]=C:\Windows\syswow64\api-ms-win-downlevel-shlwapi-l1-1-0.dll LoadedModule[44]=C:\Windows\syswow64\api-ms-win-downlevel-advapi32-l1-1-0.dll LoadedModule[45]=C:\Windows\syswow64\api-ms-win-downlevel-user32-l1-1-0.dll LoadedModule[46]=C:\Windows\syswow64\api-ms-win-downlevel-version-l1-1-0.dll LoadedModule[47]=C:\Windows\syswow64\api-ms-win-downlevel-normaliz-l1-1-0.dll LoadedModule[48]=C:\Windows\syswow64\normaliz.DLL LoadedModule[49]=C:\Windows\syswow64\iertutil.dll LoadedModule[50]=C:\Windows\syswow64\WININET.dll LoadedModule[51]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\1033\msenvmui.dll LoadedModule[52]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll LoadedModule[53]=C:\Windows\system32\MSVCR110_CLR0400.dll LoadedModule[54]=C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\506bcca8d286f754825f3f1b0bf64894\mscorlib.ni.dll LoadedModule[55]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System\84371136df209abcd5fbf89db89f2e97\System.ni.dll LoadedModule[56]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Vae4913d6#\2f7cd0ef302ff7e96523f2771b1dc735\Microsoft.VisualStudio.Platform.AppDomainManager.ni.dll LoadedModule[57]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\nlssorting.dll LoadedModule[58]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\clrjit.dll LoadedModule[59]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Drawing\d8e2d3037c3d36f5a7c763970400e79c\System.Drawing.ni.dll LoadedModule[60]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\ac75f3ab477cbd11c9b006da280d4afc\System.Windows.Forms.ni.dll LoadedModule[61]=C:\Windows\syswow64\psapi.dll LoadedModule[62]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Core\213a5e78cf78cb4643782fbbe4749631\System.Core.ni.dll LoadedModule[63]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.V412add50#\b4b82fadc1d4f82f978af1d03ee62789\Microsoft.VisualStudio.Shell.UI.Internal.ni.dll LoadedModule[64]=C:\Windows\assembly\NativeImages_v4.0.30319_32\WindowsBase\256cf8bea4eb9fe53e40a55d0880a82f\WindowsBase.ni.dll LoadedModule[65]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\PresentationNative_v0400.dll LoadedModule[66]=C:\Windows\system32\dwmapi.dll LoadedModule[67]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Vc38f2c7b#\8e190cf1498e0bb0e2616ce1ee24ee1a\Microsoft.VisualStudio.Platform.WindowManagement.ni.dll LoadedModule[68]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Vc1f52adb#\babb71c891c32a29228211f12d062115\Microsoft.VisualStudio.Shell.11.0.ni.dll LoadedModule[69]=C:\Windows\assembly\NativeImages_v4.0.30319_32\PresentationCore\7bdcdba46ca24feaabe9905109137e48\PresentationCore.ni.dll LoadedModule[70]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Vc1ae403b#\8adb34b8df7851cc9d69c7a8f760fca2\Microsoft.VisualStudio.Shell.ViewManager.ni.dll LoadedModule[71]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Presentatio5ae0f00f#\a293dc4041e837d437fb0bf058d7a4c3\PresentationFramework.ni.dll LoadedModule[72]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Xaml\f1d702efac188b6774d5134b13fc341a\System.Xaml.ni.dll LoadedModule[73]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpfgfx_v0400.dll LoadedModule[74]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.V96592417#\b0c0d88af416f92cfdca92dc2635d37c\Microsoft.VisualStudio.Shell.Immutable.11.0.ni.dll LoadedModule[75]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.V96592816#\5ccde241ff7495c3e14617b804ccebf9\Microsoft.VisualStudio.Shell.Immutable.10.0.ni.dll LoadedModule[76]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\vslog.dll LoadedModule[77]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\1033\VsLogUI.dll LoadedModule[78]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\sqmapi.dll LoadedModule[79]=C:\Windows\system32\wkscli.dll LoadedModule[80]=C:\Windows\system32\netutils.dll LoadedModule[81]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Presentatio1c9175f8#\7fb8210e421ab4a504b3ad275ca5e15b\PresentationFramework.Aero.ni.dll LoadedModule[82]=C:\Windows\system32\d3d9.dll LoadedModule[83]=C:\Windows\system32\d3d8thk.dll LoadedModule[84]=C:\Windows\system32\igdumd32.dll LoadedModule[85]=C:\Windows\assembly\NativeImages_v4.0.30319_32\UIAutomationTypes\d8848d01967185b8e76dd9aba0cdc896\UIAutomationTypes.ni.dll LoadedModule[86]=C:\Windows\system32\UIAutomationCore.dll LoadedModule[87]=C:\Windows\system32\OLEACC.dll LoadedModule[88]=C:\Windows\system32\WtsApi32.dll LoadedModule[89]=C:\Windows\system32\WINSTA.dll LoadedModule[90]=C:\Windows\system32\SXS.DLL LoadedModule[91]=C:\Windows\system32\Secur32.dll LoadedModule[92]=C:\Windows\system32\api-ms-win-downlevel-advapi32-l2-1-0.dll LoadedModule[93]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Configuration\cd135f4c2e6e3fb8c1932939c04904e2\System.Configuration.ni.dll LoadedModule[94]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Xml\130613a664d9a4237b5b22c3c80f6d96\System.Xml.ni.dll LoadedModule[95]=C:\Windows\system32\msi.dll LoadedModule[96]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.V0adf9eae#\a68f277c5a74403a0a481827efe12db3\Microsoft.VisualStudio.CoreUtility.ni.dll LoadedModule[97]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Vccd86a69#\86aba365a37476a2623a95674e832048\Microsoft.VisualStudio.ComponentModelHost.Implementation.ni.dll LoadedModule[98]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.V135e65ce#\5041cf744fdf510407bc10edb5c39650\Microsoft.VisualStudio.ExtensibilityHosting.ni.dll LoadedModule[99]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Compba577418#\5c29e19abb5de02595098c7de9037fcc\System.ComponentModel.Composition.ni.dll owwmythumb Jul 4, 2013 at 4:57 PM continued.... LoadedModule[100]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.V7702e130#\260f79e0abf8a8b5af33ca9585e83653\Microsoft.VisualStudio.CommonIDE.ni.dll LoadedModule[101]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Vd5d72abf#\419a43e6c66452e7b8ec94c7bdcb2e39\Microsoft.VisualStudio.ExtensionManager.ni.dll LoadedModule[102]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Vf617de63#\d0922f09526b84febe17721a9a79f19c\Microsoft.VisualStudio.ExtensionManager.Implementation.ni.dll LoadedModule[103]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.V60c407c8#\6abc070babcf3c7a7754a41defc84774\Microsoft.VisualStudio.Editor.Implementation.ni.dll LoadedModule[104]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Vc7739fa8#\6dcd36f0a4b93e9e52d0df76bdfcdedc\Microsoft.VisualStudio.Text.Logic.ni.dll LoadedModule[105]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.V0c1ea960#\ba0bfc7456e2e8998a350a7c61500c13\Microsoft.VisualStudio.Platform.VSEditor.ni.dll LoadedModule[106]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Vd5001c35#\8abfe7ba73f2625648c0881ebf01de89\Microsoft.VisualStudio.Text.UI.Wpf.ni.dll LoadedModule[107]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.V68a56f61#\ee4f6199fed37d5e0520b3138d6b6d08\Microsoft.VisualStudio.Text.Internal.ni.dll LoadedModule[108]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Vc03598f6#\cbcd2c1d8e2007c0c369589f6377b415\Microsoft.VisualStudio.Text.Data.ni.dll LoadedModule[109]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.V0ca2bbda#\54a4b13d063e1566e709e9a1af502294\Microsoft.VisualStudio.Text.UI.ni.dll LoadedModule[110]=C:\Windows\Microsoft.Net\assembly\GAC_32\Microsoft.VisualStudio.Settings.11.0\v4.0_11.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Settings.11.0.dll LoadedModule[111]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\VS SCC\Tfsproviderstub.dll LoadedModule[112]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.B83e9cb53#\13cd03f9cbda5bc02c351a528b416a23\Microsoft.Build.Utilities.v4.0.ni.dll LoadedModule[113]=C:\Windows\system32\msftedit.dll LoadedModule[114]=C:\Windows\system32\riched20.dll LoadedModule[115]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\compluslm.dll LoadedModule[116]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Packages\Compsvcspkg.dll LoadedModule[117]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Packages\1033\compsvcspkgui.dll LoadedModule[118]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\fusion.dll LoadedModule[119]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\coloader80.dll LoadedModule[120]=C:\Windows\assembly\NativeImages_v4.0.30319_32\WindowsForm0b574481#\43bff3a78f05a0ab49498d938c29e3ca\WindowsFormsIntegration.ni.dll LoadedModule[121]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Presentatio49d6fefe#\8176bbe9d1c955cdeb880a86018b1b47\PresentationFramework-SystemXml.ni.dll LoadedModule[122]=C:\Windows\assembly\NativeImages_v4.0.30319_32\UIAutomationProvider\33193d09ce0e6dc30497d8f491a627b3\UIAutomationProvider.ni.dll LoadedModule[123]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\msenvmnu.dll LoadedModule[124]=C:\Windows\system32\msctfui.dll LoadedModule[125]=C:\Program Files (x86)\Internet Explorer\ieproxy.dll LoadedModule[126]=C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\msenv100p.dll LoadedModule[127]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\debuggerproxy.dll LoadedModule[128]=C:\Windows\system32\POWRPROF.dll LoadedModule[129]=C:\Windows\syswow64\SETUPAPI.dll LoadedModule[130]=C:\Windows\syswow64\CFGMGR32.dll LoadedModule[131]=C:\Windows\syswow64\DEVOBJ.dll LoadedModule[132]=C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\msenvp.dll LoadedModule[133]=C:\Windows\syswow64\WINTRUST.dll LoadedModule[134]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Build\4e9e8986aa7e551d828112435899df25\Microsoft.Build.ni.dll LoadedModule[135]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.B3325a29b#\13d5f20d0ffefe6e467dc74a98ea6723\Microsoft.Build.Framework.ni.dll LoadedModule[136]=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ProjectAggregator.dll LoadedModule[137]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.W829aa272#\9764cf470b47fc21d1ace73694b108ee\Microsoft.Windows.Design.Host.ni.dll LoadedModule[138]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Ifcaec084#\74138e960276bf25b058b3f753780289\Microsoft.Internal.Tasks.Dataflow.ni.dll LoadedModule[139]=C:\Windows\assembly\NativeImages_v4.0.30319_32\IronPython.Modules\9d7e53d1a37c8cf39b1c83f05cd2604b\IronPython.Modules.ni.dll LoadedModule[140]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Scripting\2cb111ad8a3564d519d970b473fb1c3e\Microsoft.Scripting.ni.dll LoadedModule[141]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.S9f7ef313#\c50a7322978cb63a2dbf8659e89b268c\Microsoft.Scripting.Metadata.ni.dll LoadedModule[142]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Numerics\8509330f3011cef23ba3b625550c20a9\System.Numerics.ni.dll LoadedModule[143]=C:\Windows\assembly\NativeImages_v4.0.30319_32\IronPython\e597a972b35e17556298985cbe9f8478\IronPython.ni.dll LoadedModule[144]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Dynamic\3bcbcfdf92f4aeb662f3b4e4e40f1d1f\Microsoft.Dynamic.ni.dll LoadedModule[145]=C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Scripting\bed514b424b70283ab7593a62cf5f423\Microsoft.Scripting.ni.dll State[0].Key=Transport.DoneStage1 State[0].Value=1 State[1].Key=DataRequest State[1].Value=iData=1/nDumpFile=//Upload//iCab//dbb3e84200e6435182b374e6a6c2816d-ac3b448b23d4f4b47dac9a8ecbc95fcb-1--618784249-AppCrash32-6-1-7601-2.cab/nDumpServer=watson.microsoft.com/nResponseServer=watson.microsoft.com/nResponseURL=//dw//StageFour.asp?iBucket=-618784249&szCab=dbb3e84200e6435182b374e6a6c2816d.cab&EventType=AppCrash32&BucketHash=ac3b448b23d4f4b47dac9a8ecbc95fcb&MID=ACF60D53-EF03-4490-A852-6EBF85E32D13/nMemoryDump=1/nBucket=-618784249/nBucketTable=1/nResponse=1/n FriendlyEventName=Stopped working ConsentKey=APPCRASH AppName=Microsoft Visual Studio 2012 AppPath=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe Zooba Coordinator Jul 4, 2013 at 5:03 PM Yep, same issue we've been seeing. We're still looking into a resolution and will post here when we find something. Zooba Coordinator Jul 9, 2013 at 12:46 AM I haven't been able to reproduce this issue on a local machine, but one thing that could be tried is removing the cached native images that SharpDevelop sets up. To do this, open the Visual Studio Command Prompt as administrator and run the following commands: ngen uninstall IronPython ngen uninstall IronPython.Modules ngen uninstall ipy ngen uninstall Microsoft.Dynamic ngen uninstall Microsoft.Scripting If you've been having this issue, could you try this and let us know if it helps? owwmythumb Jul 9, 2013 at 12:43 PM I have not been able to replicate the crash again since you posted this, but I'll be sure to try this when it does and let you know how it goes. Thanks der_Kosi Oct 20, 2013 at 3:21 PM Hi, I am not sure if this is of any intrest anymore, but i had exactly the .net runtime exception and similar issues with my VS2k13Shell+IronPython installation. I had crashed while creating new Python-WinForms (or any other Python) Projects. I have also a few other IDEs (VS Express 2k12 for Desktop, SharpDevelop 4.3, PyCharm 3.0, IntelliJ 12.1.6) installed. (And a Dragon Natural speaking, it has Python-things, too i think, maybe it matters so i mention it). After the suggested solution ngen uninstall IronPython ngen uninstall IronPython.Modules ngen uninstall ipy ngen uninstall Microsoft.Dynamic ngen uninstall Microsoft.Scripting It seems to work. I now can create ne Projects (hello world) and run them. It actually works with both. IronPython 2.7 or Python 3.3 as an enviroment option setting. I hope that is a real solution, not a workaround, and that this can help other devs too, which are willing to do a little Python, but want to keep using their favorite IDE. So, Thank you alot, keep p the good work, Mathew. p.s. btw, i just made a codeplex account to write this. Zooba Coordinator Oct 21, 2013 at 5:12 PM Thanks for the confirmation, Mathew, and welcome to the community. I've spoken with the SharpDevelop devs before and they said it's fine to remove the ngen images, so it is a real solution. Just out of interest - are you using Windows 7? We haven't seen this issue at all on Windows 8 or later, so it'd be nice to know that it is confined to that version. der_Kosi Oct 27, 2013 at 11:24 AM Hello Zooba and thank you for the nice welcome(ing). So, yes, I am using Windows 7 (x64 Home Premium SP1) currently, but i am going to setup another computer with Windows 8.1 soon (hopefully) and I am thinking about setting the same Dev Tools, so maybe I will be able to confirm or deny the issue on that one. I'll post a update if I really do this. Thus I am thinking about putting it inside (The OS, dont get me wrong) a Level-0-Hypervisor like 2012 Core or ESXi so I am able to "move" my whole setup without going thrugh the whole installing processes in the future. But that shouldn't consider Python Tools too much, In fact, I am not sure if it would even know about it. Anyways, have a nice weekend and thank you for updating me. MarkusSchaber Feb 17, 2014 at 2:52 PM Just for your information: I also was affected by this same issue. Uninstalling IronPython and reinstalling (which seems to drop the ngen images) has solved the problem for me. I'm also using Windows 7 64 Bit Professional, and VS 2010, and have SharpDevelop installed. So the issue is not yet solved.