Clickonce setup app crashes

Sushil Agarwal 406 Reputation points
2024-10-10T15:46:30.5933333+00:00

on a windows 7,64 bit, Sp1 can a C#.net winform application build on framework 4.8 be installed ?

it was possible to install framework 4.8 on windows 7 sp1, 64 bit pc

the clickonce setup also ran sucsesfully.

but application starts and stops immidietly.

the pc clulture is set to en-IN, same is the culture setup in app

but i am getting following error recorded in Windows Event Viewer

--error 1

Faulting application name: Bansal-ERP.exe, version: 3.0.0.1, time stamp: 0x6706917a

Faulting module name: KERNELBASE.dll, version: 6.1.7601.23807, time stamp: 0x5915fe14

Exception code: 0xe0434352

Fault offset: 0x000000000001a06d

Faulting process id: 0xce8

Faulting application start time: 0x01db1a6b904b8fa3

Faulting application path: C:\Users\sushil\AppData\Local\Apps\2.0\EJ01O02P.Z6O\BC7LJ7TT.AEN\bans..tion_0000000000000000_0003.0000_80ea941b2a4a7e9d\Bansal-ERP.exe

Faulting module path: C:\Windows\system32\KERNELBASE.dll

Report Id: ce46a7ec-865e-11ef-8877-94de80e452b4

--error 2

  • <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  • <System> <Provider Name=".NET Runtime" /> <EventID Qualifiers="0">1026</EventID> <Level>2</Level> <Task>0</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2024-10-09T16:52:02.000000000Z" /> <EventRecordID>493</EventRecordID> <Channel>Application</Channel> <Computer>sushil-PC</Computer> <Security /> </System>
  • <EventData> <Data>Application: Bansal-ERP.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.Globalization.CultureNotFoundException at System.Globalization.CultureInfo.GetCultureInfo(System.String) at System.Resources.ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(System.Reflection.Assembly, System.Resources.UltimateResourceFallbackLocation ByRef) Exception Info: System.ArgumentException at System.Resources.ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(System.Reflection.Assembly, System.Resources.UltimateResourceFallbackLocation ByRef) at System.Resources.ResourceManager.CommonAssemblyInit() at System.Resources.ResourceManager..ctor(System.String, System.Reflection.Assembly) at Kings.ERP.Properties.Resources.get_ResourceManager() at Kings.ERP.Properties.Resources.get_ChesskingBW() at Kings.ERP.Program.Main(System.String[])</Data> </EventData> </Event>

--

Will it be possible to run application on windows 7 , 64bit sp1 pc?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sushil Agarwal 406 Reputation points
    2024-10-20T01:52:26.98+00:00

    Finally i got the answer. .net framework 4.8 app can run on Windows 7 sp1.

    the problem i was facing may be was due to in my application in project assembly information, the language was set to some diffrent country English, upon changing it to as per my requirment en-IN and in entire project all refrences to Country were set to user defined property in app.config and refered it. i had a dll project having base forms and othe utilities was also unified and viola it could be clickonce installed on a Windows 7 pc.my two projects were suspended , becuase it was not failing to run on windows 7, customer had no budget to upgrade the pcs i humbly request microsoft why the application crash could not give the failing line number causing the application simply quit . need to check event viewer , that is also not tailing much. can it be improved ?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.