Click here to Skip to main content
16,022,335 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have written a software with .net framework version 4.7.2 and .net framework version 4.8.1 is installed in my system. When I run the program, it doesn't run at all and it doesn't give an error, but it detects this error in the Event viewer. Exception code: 0xe0434352. If I recompile the software in Visual Studio and replace it in the path of the program, the program will run and then it won't run again after a few days. please help ?

I replaced the dependency files again. But it didn't work

What I have tried:

I reinstalled the .NET framework. not solved
Posted
Updated 6-Jul-24 12:43pm
v2

0xe0434352 is a general error message associated with System.IO.FileNotFoundException - Some file that the app needs to run or tries to access isn't present.

If your app runs in the debugger but not in production then it's likely you need to look at what files your code accesses and check that they are available in exactly the same place on the production system, and in a location that is accessible to the application.

If you haven't tried the debugger, then that is your first port of call!

We can't fix this for you: we have no access to your code or systems!
 
Share this answer
 
As OriginalGriff says, this is a general exception that is hard to pinpoint. A while back, a decent guide was published here[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900