SimplyMe
Member
I hope someone out there can help me.
I have a big vb.net client/server app written with VS 2010 and it won't launch on
Windows 10. This app is running on my Win 7 and client's Win 7 PCs since 2014
but it is time to upgrade and I get this problem after I installed it on a
Win 10 PC and launch it.
Behaviour: After clicking the app, I see the time icon flash twice in quick
successions for a fraction of a second. This is a big app and it normally
take over a minute to launch on Win 7.
Event Viewer Shows: Event ID 1026 followed by 1000.
The details of Event ID 1026 shows:
1) Unhandled Exception: "System.IO.FileNotFoundException at"
AppName.frmCustomer.ctor() at
and a few other forms "at" ...
2) System.TypeInitializationException at AppName.SubMain.Main()
SubMain is the entry point for this app.
So far I have tried the following on the Win 10 PC:
1) Create the folder "URTInstallPath_GAC" inside the "Microsoft.NET\Framework"
and on the Framework64 folders (As someone has suggested).
2) Changed the property of the exe's compatibility to run under Win 7
(also as someone has suggested).
3) Verified the framework as V4.0.30319. It is installed.
On the project, I changed the app.manifest compatibility section to
activate "supportedOS ID" to work with Win 7.
I also verified the Setup project and it should run on "Any CPU"
Nothing works.
I know it is in the process of loading the app as opposed to executing it
because it normally takes a long time to launch it, definitely not
a second or 2.
Features of this app that might be relevant:
1) This app was originally written for VS 2002, and it was changed to
run on VS 2005. These versions worked on Win XP.
2) From VS 2005, it was re-created as a VS 2010 project. This was not an
upgrade but a re-build. I.e re-creating the GUI then cutting,
pasting and massaging the code. This version was implemented on
2014 on Win 7 machines. It has been working since then.
3) It extracts values from "app.config"
4) It has access to MS SQL Server 2008 R2 on my local Win 7 machine and on a
Windows 2011 SBS Server.
5) It uses CrystalReports and has tens of these.
6) It has 40 forms.
7) Some forms uses Text Files with System.IO.
8) The frameworks installed on the Win 10 machine are:
v1.0.3705 V1.1.4322 V2.0.50727 V3.0 V3.5 V4.0.30319
I followed some threads on social media but could not find anything
helpful. Maybe it is a framework problem or something else.
Please help. I am baffled.
I have a big vb.net client/server app written with VS 2010 and it won't launch on
Windows 10. This app is running on my Win 7 and client's Win 7 PCs since 2014
but it is time to upgrade and I get this problem after I installed it on a
Win 10 PC and launch it.
Behaviour: After clicking the app, I see the time icon flash twice in quick
successions for a fraction of a second. This is a big app and it normally
take over a minute to launch on Win 7.
Event Viewer Shows: Event ID 1026 followed by 1000.
The details of Event ID 1026 shows:
1) Unhandled Exception: "System.IO.FileNotFoundException at"
AppName.frmCustomer.ctor() at
and a few other forms "at" ...
2) System.TypeInitializationException at AppName.SubMain.Main()
SubMain is the entry point for this app.
So far I have tried the following on the Win 10 PC:
1) Create the folder "URTInstallPath_GAC" inside the "Microsoft.NET\Framework"
and on the Framework64 folders (As someone has suggested).
2) Changed the property of the exe's compatibility to run under Win 7
(also as someone has suggested).
3) Verified the framework as V4.0.30319. It is installed.
On the project, I changed the app.manifest compatibility section to
activate "supportedOS ID" to work with Win 7.
I also verified the Setup project and it should run on "Any CPU"
Nothing works.
I know it is in the process of loading the app as opposed to executing it
because it normally takes a long time to launch it, definitely not
a second or 2.
Features of this app that might be relevant:
1) This app was originally written for VS 2002, and it was changed to
run on VS 2005. These versions worked on Win XP.
2) From VS 2005, it was re-created as a VS 2010 project. This was not an
upgrade but a re-build. I.e re-creating the GUI then cutting,
pasting and massaging the code. This version was implemented on
2014 on Win 7 machines. It has been working since then.
3) It extracts values from "app.config"
4) It has access to MS SQL Server 2008 R2 on my local Win 7 machine and on a
Windows 2011 SBS Server.
5) It uses CrystalReports and has tens of these.
6) It has 40 forms.
7) Some forms uses Text Files with System.IO.
8) The frameworks installed on the Win 10 machine are:
v1.0.3705 V1.1.4322 V2.0.50727 V3.0 V3.5 V4.0.30319
I followed some threads on social media but could not find anything
helpful. Maybe it is a framework problem or something else.
Please help. I am baffled.
Last edited: