Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Unhandled crash in C# Application

More
04 Mar 2016 13:05 #3907 by support
What is the behavior of other QuickOPC-based applications on the same computer please? For example, can you run the Demo application supplied with the product just well, or does it also crash?

Thank you

Please Log in or Create an account to join the conversation.

More
03 Mar 2016 20:57 #3905 by andrew_k
Yes.

Please Log in or Create an account to join the conversation.

More
03 Mar 2016 05:49 #3904 by support
Thank you. Is Windows 8.1, 64-bit on any other computer that does work well?

Please Log in or Create an account to join the conversation.

More
03 Mar 2016 05:47 #3903 by andrew_k
Sorry I should have provided this information. We are using the version 5.35 of QuickOPC, installed using the .Net option in your installer. We are using C# 4.5.1 on Windows 8.1 64 bit. Running on a Core i7 7702HQ equipped laptop with 16gb RAM.

Please Log in or Create an account to join the conversation.

More
03 Mar 2016 05:36 #3902 by support
Hello, can you please provide some additional information?:

1. QuickOPC version and build.
2. Operating system used, and whether it is 32-bit or 64-bit. Is it the same system as used on other machines that do work, or a different one?
3. Are you installing with the help of the QuickOPC's Setup.exe, or using your own installer?

Thank you

Please Log in or Create an account to join the conversation.

More
03 Mar 2016 01:50 #3901 by andrew_k
We have a .Net service (C#) in which the process on one of our test systems disappears on the line:

EasyDAClient _Client = new EasyDAClient();

Wrapping this in a try/catch block (including an empty catch clause which should handle some Win32 exceptions) makes no difference. Stepping through with a debugger gives us the same result: the process disappears at that line.

The relevant content from the Visual Studio Output window is below:

...
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\ServiceApp.Domain.dll'. Symbols loaded.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\FluentMigrator.dll'. Symbols loaded.
'ServiceApp.Simulator.vshost.exe' (CLR v4.0.30319: ServiceApp.Simulator.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\UIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationTypes.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\Utility.Glue.Communication.dll'. Symbols loaded.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\Newtonsoft.Json.dll'. Symbols loaded.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\App_Web_OpcLabs.EasyOpcClassicRaw.x86.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\OpcLabs.EasyOpcClassicInternal.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\OpcLabs.BaseLib.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\OpcLabs.BaseLibExtensions.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\BoxedAppSDK.Managed.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\EasyNetQ.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\RabbitMQ.Client.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\FluentMigrator.Runner.dll'. Symbols loaded.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\Iesi.Collections.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll'. Symbols loaded.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\Nito.AsyncEx.Concurrent.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\Nito.AsyncEx.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Threading.Tasks\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Threading.Tasks.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ObjectModel\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.ObjectModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\Nito.AsyncEx.Enlightenment.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\OpcComRcw.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\OpcLabs.BoxOpcCorePS.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\OpcLabs.BoxVC120Redist.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\OpcLabs.EasyOpc.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\OpcLabs.EasyOpcClassic.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\OpcLabs.EasyOpcClassicNative.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\OpcLabs.EasyOpcClassicNetApi.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\OpcNetApi.Com.dll'. Module was built without symbols.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\OpcNetApi.dll'. Module was built without symbols.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\OpcNetApi.Xml.dll'. Module was built without symbols.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll'. Symbols loaded.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\ServiceApp.RabbitMQ.dll'. Symbols loaded.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\ServiceApp.Resources.dll'. Symbols loaded.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\System.Net.Http.Formatting.dll'. Symbols loaded.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\...\Debug\Service\System.Web.Http.WebHost.dll'. Cannot find or open the PDB file.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll'. Symbols loaded.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'Microsoft.GeneratedCode'.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'DynamicProxyGenAssembly2'.
'ServiceApp.Service.vshost.exe' (CLR v4.0.30319: ServiceApp.Service.vshost.exe): Loaded 'DynamicProxyGenAssembly2'.
The program '[10380] ServiceApp.Service.vshost.exe' has exited with code -1073741790 (0xc0000022).

The final error code means 'A process has requested access to an object but has not been granted those access rights.' We checked for possibilities using: neosmart.net/wiki/0xc0000022/ but to no avail. The permissions are set and the files exist. We have also tried completely uninstalling the OPC application and reinstalling. Again, this didn't fix the issue. This only happens on one machine. Any help appreciated.

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.066 seconds