alexking
asked on
system hangups using vb .NET with .NET4.5
I have a very large, multi-form VB .NET program using Visual Studio 10 (VB) and .NET 4.0 with SQL Server - it works well and quickly
When installed on a .NET 4.5 machine there is a 30 - 60 second pause when loading a new form into a MDI interface for BUILT applications, not apparent in debug mode on development PC.
This is still present when compiled with VB13 and targeted to .NET 4.5.1
The code just executes a load command, previously instantaneous. Something must have changed in the memory management with .NET 4.5
How can I restore the short load times, please?
When installed on a .NET 4.5 machine there is a 30 - 60 second pause when loading a new form into a MDI interface for BUILT applications, not apparent in debug mode on development PC.
This is still present when compiled with VB13 and targeted to .NET 4.5.1
The code just executes a load command, previously instantaneous. Something must have changed in the memory management with .NET 4.5
How can I restore the short load times, please?
ASKER
No error messages, just long delays loading forms.
Further investigation shows that checking box 'Prefer 32 bit' in properties overcomes the effect.
However, I am running a 64 bit system - so seems nonsensical
Further investigation shows that checking box 'Prefer 32 bit' in properties overcomes the effect.
However, I am running a 64 bit system - so seems nonsensical
did you try to build for x64 CPU ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This worked, although seems a compromise. No-one suggested anything better.
if you did not handle errors then you can retrieve error Message from Control Panel->Administrative Tools -> Event Viewer.