So I have WPF application and when I start the application (currently empty) Most of the time its just stuck.
So inside Event Viewer I can See 2 lines with Error:
Application Error:
Faulting application name: edpa.exe, version: 15.8.100.1075, time stamp: 0x60a658b2
Faulting module name: ih.DLL, version: 15.8.100.1075, time stamp: 0x60a658f5
Exception code: 0xc0000005
Fault offset: 0x000000000001f230
Faulting process id: 0x2718
Faulting application start time: 0x01d84738bb6caebc
Faulting application path: C:\Program Files\Manufacturer\Endpoint Agent\edpa.exe
Faulting module path: C:\Program Files\Manufacturer\Endpoint Agent\ih.DLL
Report Id: 79448323-0aaa-4df3-a5bb-98650b9f4cd8
Faulting package full name:
Faulting package-relative application ID:
Provider
Name] Application Error
EventID 1000
Qualifiers] 0
Version 0
Level 2
Task 100
Opcode 0
Keywords 0x80000000000000
TimeCreated
SystemTime] 2022-04-03T08:56:51.3897364Z
EventRecordID 28658
Correlation
Execution
ProcessID] 0
ThreadID] 0
Channel Application
Computer W1322548-01.eree.COM
Security
EventData
edpa.exe
60a658b2
ih.DLL
60a658f5
c0000005
000000000001f230
01d84738bb6caebc
C:\Program Files\Manufacturer\Endpoint Agent\edpa.exe
C:\Program Files\Manufacturer\Endpoint Agent\ih.DLL
79448323-0aaa-4df3-a5bb-98650b9f4cd8
.Net Runtime:
Application: edpa.exe
CoreCLR Version: 4.6.29017.1
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 00007FFFF61AF230
I am using .net6 And I cannot find what could cause this errors.
Related
we have a wpf application which is written with .net core 3.1 .
so for forcing wpf to run as admin we added appmanifest file and changed :
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
to
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
and below line added to project.csproj file :
<ApplicationManifest>app.manifest</ApplicationManifest>
after doing all of before step and publishing application we got an error in windows eventviewer :
Faulting application name: WpfVideoCourseApp.Presentation.exe, version: 1.0.0.0, time stamp: 0x60776cd9
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1151, time stamp: 0x891df6d3
Exception code: 0xe0434352
Fault offset: 0x0000000000034ed9
Faulting process id: 0x2ac8
Faulting application start time: 0x01d7a5852476cbd1
Faulting application path: E:\VideoCourseApp\WpfVideoCourseApp.Presentation.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: d9b3e20f-55dc-4dd2-b0ad-40e940dedaa6
Faulting package full name:
Faulting package-relative application ID:
but afterall i should say that : app runs without any problem when using debug files(problem is all about published version of application)
Update :
in publish when i run app , app try to write something in windows document folder and access will denied(but thats not happening when running debug code)
actualy i added manifest file for having permission to reading and writing my files in some special path's(like document folder) but it just work in debug
I am afraid you can't run a ClickOnce deployed application with administrative privileges.
As a workaround, you may consider to implement your app to start a new process as an admininstrator or choose another deployment strategy.
I have created a desktop application in visual studio and sqlserver and when I created a setup, it is working on the development machine but when the setup is installed in the client machine together with crystal reports runtime engine, the application is not starting. I have implemented event logging and managed to get the following error for crystal reports.
Application: Crystals.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.BadImageFormatException
at CrystalDecisions.Shared.SharedUtils..cctor()
Exception Info: System.TypeInitializationException
at CrystalDecisions.Shared.SharedUtils.get_CurrentControl()
at CrystalDecisions.Shared.SharedUtils.GetEffectiveCulture()
at CrystalDecisions.Shared.LocaleManager..ctor()
at CrystalDecisions.Windows.Forms.CrystalReportViewer.InitReportViewer()
at CrystalDecisions.Windows.Forms.CrystalReportViewer..ctor()
at Crystals.Form1.InitializeComponent()
at Crystals.Form1..ctor()
Exception Info: System.InvalidOperationException
at Crystals.My.MyProject+MyForms.Create__Instance__[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon)
at Crystals.My.MyProject+MyForms.get_Form1()
at Crystals.My.MyApplication.OnCreateMainForm()
at Microsoft.VisualBasic.ApplicationServices
I have also tried Microsoft Report Viewer RDLC and it is returning the following error
Faulting Application name:ReportViewerSample.exe,version:1.0.0.0, time stamp:0x6130af2a
Faulting module name:KERNELBASE.dll,version:10.0.10240.16384, time stamp:0x559f3b2a
Exception code:0xe0434352
Fault offset:0x000b3e28
Faulting process id:0x17b4
Faulting application start time:0x01d7a059329df75d
Faulting application path: C:\Program Files(x86)\Beymo\RDLCViewer\ReportViewerSample.exe
Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll
Report id: 57ed1ef9-6ed3-418f-952a-aea23f09618b
Faulting package full name:
Faulting package-relative application ID:
Log Name: Application
Source: Application error
Event ID: 100
When I create a project without a report, it is working fine in both development environment and client machine. How can I resolve the issue?
I am using:
And everything works fine, I can even see reports performance:
But when I hit 'new query', I get this, and SSMS restarts automatically:
Most of what I have to do is on the query window, so this is quite irritating
error:
Faulting application name: Ssms.exe, version: 2017.140.17230.0, time stamp: 0x5aa77b02
Faulting module name: WindowsBase.ni.dll, version: 4.7.2558.0, time stamp: 0x59d41ae3
Exception code: 0x80131623
Fault offset: 0x002809a3
Faulting process id: 0x3ddc
Faulting application start time: 0x01d3d894161c96fd
Faulting application path: C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\Ssms.exe
Faulting module path: C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\WindowsBase\d9eac8ec5a604324b2ad7792cf8d8ed4\WindowsBase.ni.dll
Report Id: 9889b185-67cd-4cb4-928f-d89b5801d2f3
Faulting package full name:
Faulting package-relative application ID:
Application: Ssms.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.
Message: Unrecoverable system error.
Stack at System.Environment.FailFast
at MS.Internal.Invarian
Right click on the database giving you the problem in the object explorer.
Click ‘Properties’
Click ‘Options’
Set ‘Auto Close’ to False
I have created a new Integration Services Project in Visual Studio 2015. I have added a package with a Data Flow Task. In this task I have added the ADO.NET Source component with a simple SQL query as the command. In the Expressions editor of the Data Flow Task I have added an expression for the [ADO NET Source].[SqlCommand] property with (currently) the same SQL query. This SSIS package runs successfully.
Now, when I rename the ADO.NET Source component in the Data Flow Task and want to save the package, Visual Studio crashes. The following information is logged in the Event Log:
1st Event
Source: .Net Runtime
Message:
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackagePersist100.SavePackageToXML(System.Object ByRef, Boolean, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100)
at Microsoft.SqlServer.Dts.Runtime.Package.SaveToXML(System.String ByRef, Microsoft.SqlServer.Dts.Runtime.IDTSEvents)
at Microsoft.DataTransformationServices.Design.Serialization.DtrDesignerSerializer.SerializePackage(System.ComponentModel.Design.Serialization.IDesignerSerializationManager, Microsoft.SqlServer.Dts.Runtime.Package, System.IO.TextWriter)
at Microsoft.DataTransformationServices.Design.Serialization.DtrDesignerSerializer.SerializeComponent(System.ComponentModel.Design.Serialization.IDesignerSerializationManager, System.ComponentModel.IComponent, System.Object)
at Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer.Serialize(System.ComponentModel.Design.Serialization.IDesignerSerializationManager, System.Object)
at Microsoft.DataWarehouse.VsIntegration.Designer.Serialization.DataWarehouseDesignerLoader.Serialize()
at Microsoft.DataWarehouse.VsIntegration.Designer.Serialization.BaseDesignerLoader.Flush(Boolean)
at Microsoft.DataWarehouse.VsIntegration.Designer.Serialization.BaseDesignerLoader.Flush()
at Microsoft.DataWarehouse.VsIntegration.Designer.Serialization.DataWarehouseContainerManager.OnBeforeSave(UInt32)
2nd Event
Source: Application Error
Message:
Faulting application name: devenv.exe, version: 14.0.25420.1, time stamp: 0x57685d85
Faulting module name: DTS.dll, version: 2017.140.800.90, time stamp: 0x5964da54
Exception code: 0xc0000005
Fault offset: 0x00070c07
Faulting process id: 0x1660
Faulting application start time: 0x01d3c4ee248a88f4
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
Faulting module path: C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\DTS.dll
Report Id: 9b9d1a33-4974-480f-a6b0-91bf7658045f
Faulting package full name:
Faulting package-relative application ID:
Check this video on YouTube
Does anybody have an idea on solving this problem?
Thanks,
Danny
My app was built on .NET 4.0 with WPF, Prism, Entity Framework
There are 1 exe (the app), 1 exe (the app config - simple app to restore db, no referenced dll no prism and no EF), and several referenced DLLs like the prism-way, SQL Server 2008 Express. All assemblies and Exe are built with target platform AnyCpu.
I tested in my development environment(Win764bits, VS2010, .NET4...), no problem. Then I tested in Windows 7 32 bits and the app config works well. But the app runs perfectly only if the Visual Studio is installed. Without VS 2010, I got the 2 errors in event log:
Application Error:
Faulting application name: App.exe, version: 1.0.0.0, time stamp: 0x4df473d0
Faulting module name: KERNELBASE.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdaae
Exception code: 0xe0434352
Fault offset: 0x00009617
Faulting process id: 0xa28
Faulting application start time: 0x01cc2aa91326a10e
Faulting application path: C:......\Release\App.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 52f2c510-969c-11e0-98bf-000c299e51f4
.NET Runtime:
Application: App.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: Microsoft.Practices.Prism.Modularity.ModuleInitializeException
Stack:
at Microsoft.Practices.Prism.Modularity.ModuleInitializer.HandleModuleInitializationError(Microsoft.Practices.Prism.Modularity.ModuleInfo, System.String, System.Exception)
at Microsoft.Practices.Prism.Modularity.ModuleInitializer.Initialize(Microsoft.Practices.Prism.Modularity.ModuleInfo)
at Microsoft.Practices.Prism.Modularity.ModuleManager.LoadModulesThatAreReadyForLoad()
at Microsoft.Practices.Prism.Modularity.ModuleManager.LoadModuleTypes(System.Collections.Generic.IEnumerable`1)
at Microsoft.Practices.Prism.Modularity.ModuleManager.LoadModulesWhenAvailable()
at Microsoft.Practices.Prism.Modularity.ModuleManager.Run()
at ...
I've searched and tried to fix, but It's the same.
Please help me
Many thanks and regards!
I've found that one of my DLL using ReportViewer. Just installed this one and the problem was resolved
http://www.microsoft.com/download/en/confirmation.aspx?id=6442