Where oh where do i start.
I am an experienced B developer + 8 years from VB3.
We have been using VB 2003 for about two years and have managed to get used to it's foibles.
We decided it was time to investigate VS2005.
I was using Windows 2000 but due to the fact that I could not install/uninstall a new version of comonent one tools I had my machine rebuild using Windows XP and then i installed VS2005 & the latest version of our component one tools.
First of all there is the problem withthe properties windows. I dave a dual monitor system, in fact all the developers have the same set-up. SO in VS2003 I have the main IDE in the left screen and the various propert windows (solution explorer, properties, toolbox etc on the r=h side).
EVERY time I compile or try to run these windows keep moving back to the other screen, I've tried using the floating and Dockable options but nothing seems to make any difference. It is just driving me mad, mad, mad....
Second. the "show all files" in the solution explorer does not always work, i.e. sometime it will do something and other times nothing, I have to re-load the project to get it back to working again.
To our project...
I made a copy of out current application folder, 15 projects in the solutuion with hundreds of forms and also hundreds of classes.
I managed to resolve all the errors, mainly re-referencing to use VS2005 and Component one controls for VS2005 plus removing all the old licening files. I hit rebuild one last time. No errors and then hir run.
Yep, application ran, I logged in, managerd to access data using our backend ORACLE database, produce some reports and then i went into another screen and BAM! the project dissapeared. I tried re-running the application and it appears to build ok but the logon window appeard for a fraction of a second and the project just died.
in the output window i get the unhelpful message
The program '[3048] Aura.vshost.exe: Managed' has exited with code -1073741819 (0xc0000005).
This appears to happen when I try and open my initial logon form. I tried creating a NEW form but I got the same message.Does anyone have any ideas. I have tried and tried and I CANNOT get this project to run, dispite the fact it ran the first time OK.

IDE Buggy, SLow, errors
PeterVrenken
There's an acces violation in your application or one of it's components. You will need to use mixed-mode debugging (with first chance exceptions turned on) to fiugre out what's causing the crash:
"First-chance exception at 0x001291fa in Aura.exe: 0xC0000005: Access violation reading location 0x00000093."
Hope this helps,
QAKiani
Nope,
Everything is on a local drive.
As I said, It worked the first time i ran it, but never again.
JosepMola
I also found the Properties Window bug to be very anoying.
However, I tried something today that so far is working...
My left monitor is primary, and my right monitor is the extended desktop. I do most of my work in the IDE on the right monitor, and put some of the windows on the left monitor.
I have my Solution Explorer set as Floating, and it seems to stay where I put it (most of the time).
When the Properties window was set as Floating it would jump tot he center of the right monitor, on top of the IDE most of the time after a debug run (but not always). However, I now set the Properties window to Dockable, and moved it right next to the Solution Explorer (docked with it ), and so far it is staying put.
Hope that helps you too.
Mitch Wardrop
In the Debug tab of MyProject there is a debugger option for "Enable the Visual Studio hosting process". Try unchecking this and see if that helps.
It may be that the hosting process hung - and that is why you cannot get it to run again.
Thomas Israelsen
More info,
When I turn on "enable unmanaged code debugging" i get the following (wich is no help to me)
'Aura.exe': Loaded 'C:\Net-2005-V2\AURA\bin\Aura.exe', No native symbols in symbol file.
'Aura.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\mscoree.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd\msvcr80.dll', Symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Culture.dll', No symbols loaded.
'Aura.exe': Unloaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Culture.dll'
'Aura.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\mscorlib\826010e376e58240bdc2a05f63712bc9\mscorlib.ni.dll', No symbols loaded.
'Aura.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\Program Files\Matrox Graphics Inc\PowerDesk HF\Matrox.PowerDesk.Hooks.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\psapi.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\version.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\rsaenh.dll', No symbols loaded.
'Aura.exe' (Managed): Loaded 'C:\Net-2005-V2\AURA\bin\Aura.exe', Symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System\308f5eab10e72a49a963ded165699f9b\System.ni.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Drawing\78a4a48143278a44a83d049b2151fefb\System.Drawing.ni.dll', No symbols loaded.
'Aura.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorjit.dll', No symbols loaded.
'Aura.exe': Loaded 'ImageAtBase0x11000000', No symbols loaded.
'Aura.exe': Unloaded 'ImageAtBase0x11000000'
'Aura.exe': Loaded 'C:\WINDOWS\system32\xpsp2res.dll', Binary was not built with debug information.
'Aura.exe': Loaded 'C:\Net-2005-V2\AURA\bin\StdFunctions.dll', No native symbols in symbol file.
'Aura.exe' (Managed): Loaded 'C:\Net-2005-V2\AURA\bin\StdFunctions.dll', Symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Windows.Forms\875ca349a6a23043ba13156828d404af\System.Windows.Forms.ni.dll', No symbols loaded.
'Aura.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.exe' (Managed): Loaded 'C:\Net-2005-V2\AURA\bin\ExtendedControls.dll', Symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualBas#\cf8fb4fc977c444d80c8abe1c6a85595\Microsoft.VisualBasic.ni.dll', No symbols loaded.
'Aura.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualBasic\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.exe' (Managed): Loaded 'C:\Net-2005-V2\AURA\bin\AuraBackEnd.dll', Symbols loaded.
'Aura.exe' (Managed): Loaded 'C:\Net-2005-V2\AURA\bin\DBObjects.dll', Symbols loaded.
'Aura.exe' (Managed): Loaded 'C:\Net-2005-V2\AURA\bin\EventLog.dll', Symbols loaded.
'Aura.exe': Loaded 'System.Data.OracleClient.dll', No symbols loaded.
'Aura.exe': Unloaded 'System.Data.OracleClient.dll'
'Aura.exe': Loaded 'C:\WINDOWS\assembly\GAC_32\System.Data.OracleClient\2.0.0.0__b77a5c561934e089\System.Data.OracleClient.dll', No symbols loaded.
'Aura.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Data.OracleClient\2.0.0.0__b77a5c561934e089\System.Data.OracleClient.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Data\0d00112502dedb4f9f19b6f0c1c5289e\System.Data.ni.dll', No symbols loaded.
'Aura.exe': Loaded 'System.Data.dll', No symbols loaded.
'Aura.exe': Unloaded 'System.Data.dll'
'Aura.exe': Loaded 'C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll', No symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll', No symbols loaded.
'Aura.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Transactions\cda4696a1fc3354ba19a9f479a98cc1b\System.Transactions.ni.dll', No symbols loaded.
'Aura.exe': Loaded 'System.Transactions.dll', No symbols loaded.
'Aura.exe': Unloaded 'System.Transactions.dll'
'Aura.exe': Loaded 'C:\WINDOWS\assembly\GAC_32\System.Transactions\2.0.0.0__b77a5c561934e089\System.Transactions.dll', No symbols loaded.
'Aura.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Transactions\2.0.0.0__b77a5c561934e089\System.Transactions.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.exe' (Managed): Loaded 'C:\Net-2005-V2\AURA\bin\StdSearch.dll', Symbols loaded.
'Aura.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9f82\GdiPlus.dll', No symbols loaded.
First-chance exception at 0x001291fa in Aura.exe: 0xC0000005: Access violation reading location 0x00000093.
The program '[512] Aura.exe: T-SQL' has exited with code 0 (0x0).
The program '[512] Aura.exe: Managed' has exited with code 0 (0x0).
The program '[512] Aura.exe: Native' has exited with code 0 (0x0).
Helen999888
Majd Yafi
missbluebar
Nope,
No idea why Microsoft have not "released" this bugfix, having to ring microsoft is not something I have ever tried to do. We have a "Virtual" MSDN subscription (i.e. NO Media). I am UK Based.
BUT, I though the hotfix was just for performace of the IDE, Although the IDE IS Slow...... it is rather the fact that
a) My project only ran the first time....
b) The property windows move around etc...
Regards
Fazul
Sorry, Missed this posting,
I have tried unchecking this in the startup project but it makes not difference.
Thanks anyway!
Ayhan Yerli (TR-NL)
As a test I did the following
1. I created an new form
In the sub Main
I places the followingtwo lines as the first to be executed
Dim x As New LoginForm1x.Show()
as soon as it executes show my app stops...
in the output i get
'Aura.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.vshost.exe' (Managed): Loaded 'C:\Net-2005-V2\AURA\bin\Aura.vshost.exe', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC\ADODB\7.0.3300.0__b03f5f7f11d50a3a\ADODB.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Data.OracleClient\2.0.0.0__b77a5c561934e089\System.Data.OracleClient.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualBasic\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The thread 0x83c has exited with code 0 (0x0).
'Aura.vshost.exe' (Managed): Loaded 'C:\Net-2005-V2\AURA\bin\Aura.exe', Symbols loaded.
'Aura.vshost.exe' (Managed): Loaded 'C:\Net-2005-V2\AURA\bin\ExtendedControls.dll', Symbols loaded.
'Aura.vshost.exe' (Managed): Loaded 'C:\Net-2005-V2\AURA\bin\StdFunctions.dll', Symbols loaded.
'Aura.vshost.exe' (Managed): Loaded 'C:\Net-2005-V2\AURA\bin\AuraBackEnd.dll', Symbols loaded.
'Aura.vshost.exe' (Managed): Loaded 'C:\Net-2005-V2\AURA\bin\DBObjects.dll', Symbols loaded.
'Aura.vshost.exe' (Managed): Loaded 'C:\Net-2005-V2\AURA\bin\EventLog.dll', Symbols loaded.
'Aura.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Transactions\2.0.0.0__b77a5c561934e089\System.Transactions.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aura.vshost.exe' (Managed): Loaded 'C:\Net-2005-V2\AURA\bin\StdSearch.dll', Symbols loaded.
The program '[1596] Aura.vshost.exe: Managed' has exited with code -1073741819 (0xc0000005).
Any Ideas
Keith Chapman
Are you using any 3 party controls It looks like some component is causing an AV at runtime. What happens when you run the executable directly from the OS
Hope this helps,
AlexBB
First time was ok, all subsequent compiles it does the same.
I have changed my sub-main and tried the following..
first thing it does is...
1. Create a new "logon form" using the default M/S logono form template with no code changed.. Still errors when it does the form.showdialog
2. Created a form totally programatically... Still errors when I do show dialog
I have change the variable declarations for the sub-main so that they are all "dim a as b" and there are no "dim as as new b".
I have alsom change the solution o that all the other projects are referenced JUST by their DLL's instead of being included in the solution. Still get this problem.
Regards
ChrisCo