Forum Replies Created
-
AuthorPosts
-
buraksimsek
ParticipantI have been trying different solutions to figure out why WCF fails. USed also ChatGPT 🙂 Focused on firewall settings and other rights management solutions… All failed. Then I gave up and used Hyper-V to install rapid scada. Everything worked there. However, all of a sudden I lost connection of the virtual machine. And while I was trying to recover the network settings of the virtual machine, I accidentally solved the above issue…
I did a factory reset for all network adapters. Then tried rapid scada schemeditor without virtual machine and it works…. God knows what kind of a configuration was there avoiding the connection..
Thanks for your help!
buraksimsek
ParticipantHi Mikhail,
indeed windows event viewer shows errors. There are 3 Errors. The log is very long unfortunately. I assume only the first one tells about the real source more. I hope it helps you to help me 😀
First one is .NET:
Log Name: Application
Source: .NET Runtime
Date: 3/26/2025 10:37:39 PM
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: LAPTOP-H67AIQA5
Description:
Application: ScadaSchemeEditor.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at System.Net.UnsafeNclNativeMethods.SetFileCompletionNotificationModes(System.Runtime.InteropServices.CriticalHandle, FileCompletionNotificationModes)
at System.Net.HttpListener.CreateRequestQueueHandle()
at System.Net.HttpListener.Start()
at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
at System.ServiceModel.Channels.TransportManager.Open(System.ServiceModel.Channels.TransportChannelListener)
at System.ServiceModel.Channels.TransportManagerContainer.Open(System.ServiceModel.Channels.SelectTransportManagersCallback)
at System.ServiceModel.Channels.TransportChannelListener.OnOpen(System.TimeSpan)
at System.ServiceModel.Channels.HttpChannelListener`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnOpen(System.TimeSpan)
at System.ServiceModel.Channels.CommunicationObject.Open(System.TimeSpan)
at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(System.TimeSpan)
at System.ServiceModel.Channels.CommunicationObject.Open(System.TimeSpan)
at System.ServiceModel.ServiceHostBase.OnOpen(System.TimeSpan)
at System.ServiceModel.Channels.CommunicationObject.Open(System.TimeSpan)
at Scada.Scheme.Editor.AppData.StartWcfService(System.String ByRef)
at Scada.Scheme.Editor.AppData.StartEditor()
at Scada.Scheme.Editor.FrmMain.FrmMain_Load(System.Object, System.EventArgs)
at System.Windows.Forms.Form.OnLoad(System.EventArgs)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Form.WmShowWindow(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)Event Xml:
<Event xmlns=”http://schemas.microsoft.com/win/2004/08/events/event”>
<System>
<Provider Name=”.NET Runtime” />
<EventID Qualifiers=”0″>1026</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime=”2025-03-26T14:37:39.1014871Z” />
<EventRecordID>10718</EventRecordID>
<Correlation />
<Execution ProcessID=”34740″ ThreadID=”0″ />
<Channel>Application</Channel>
<Computer>LAPTOP-H67AIQA5</Computer>
<Security />
</System>
<EventData>
<Data>Application: ScadaSchemeEditor.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at System.Net.UnsafeNclNativeMethods.SetFileCompletionNotificationModes(System.Runtime.InteropServices.CriticalHandle, FileCompletionNotificationModes)
at System.Net.HttpListener.CreateRequestQueueHandle()
at System.Net.HttpListener.Start()
at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
at System.ServiceModel.Channels.TransportManager.Open(System.ServiceModel.Channels.TransportChannelListener)
at System.ServiceModel.Channels.TransportManagerContainer.Open(System.ServiceModel.Channels.SelectTransportManagersCallback)
at System.ServiceModel.Channels.TransportChannelListener.OnOpen(System.TimeSpan)
at System.ServiceModel.Channels.HttpChannelListener`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnOpen(System.TimeSpan)
at System.ServiceModel.Channels.CommunicationObject.Open(System.TimeSpan)
at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(System.TimeSpan)
at System.ServiceModel.Channels.CommunicationObject.Open(System.TimeSpan)
at System.ServiceModel.ServiceHostBase.OnOpen(System.TimeSpan)
at System.ServiceModel.Channels.CommunicationObject.Open(System.TimeSpan)
at Scada.Scheme.Editor.AppData.StartWcfService(System.String ByRef)
at Scada.Scheme.Editor.AppData.StartEditor()
at Scada.Scheme.Editor.FrmMain.FrmMain_Load(System.Object, System.EventArgs)
at System.Windows.Forms.Form.OnLoad(System.EventArgs)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Form.WmShowWindow(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)</Data>
</EventData>
</Event>————-
Second one is directly from schemeeditor referring to Faulting module name: ASProxy64.dll:
Log Name: Application
Source: Application Error
Date: 3/26/2025 10:37:39 PM
Event ID: 1000
Task Category: Application Crashing Events
Level: Error
Keywords:
User: LAPTOP-H67AIQA5\burak
Computer: LAPTOP-H67AIQA5
Description:
Faulting application name: ScadaSchemeEditor.exe, version: 5.3.1.2, time stamp: 0x6274bbe1
Faulting module name: ASProxy64.dll, version: 2.3.6.3, time stamp: 0x55dda8ac
Exception code: 0xc0000005
Fault offset: 0x000000000000c274
Faulting process id: 0x87B4
Faulting application start time: 0x1DB9E5C9EEB8CA9
Faulting application path: C:\Program Files\SCADA\ScadaSchemeEditor\ScadaSchemeEditor.exe
Faulting module path: C:\WINDOWS\system32\ASProxy64.dll
Report Id: 30d1fa3c-1e0d-4091-b2d0-914bfafbd234
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
<Event xmlns=”http://schemas.microsoft.com/win/2004/08/events/event”>
<System>
<Provider Name=”Application Error” Guid=”{a0e9b465-b939-57d7-b27d-95d8e925ff57}” />
<EventID>1000</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>100</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime=”2025-03-26T14:37:39.6332350Z” />
<EventRecordID>10719</EventRecordID>
<Correlation />
<Execution ProcessID=”29420″ ThreadID=”20176″ />
<Channel>Application</Channel>
<Computer>LAPTOP-H67AIQA5</Computer>
<Security UserID=”S-1-5-21-914742159-529878284-3034585362-1002″ />
</System>
<EventData>
<Data Name=”AppName”>ScadaSchemeEditor.exe</Data>
<Data Name=”AppVersion”>5.3.1.2</Data>
<Data Name=”AppTimeStamp”>6274bbe1</Data>
<Data Name=”ModuleName”>ASProxy64.dll</Data>
<Data Name=”ModuleVersion”>2.3.6.3</Data>
<Data Name=”ModuleTimeStamp”>55dda8ac</Data>
<Data Name=”ExceptionCode”>c0000005</Data>
<Data Name=”FaultingOffset”>000000000000c274</Data>
<Data Name=”ProcessId”>0x87b4</Data>
<Data Name=”ProcessCreationTime”>0x1db9e5c9eeb8ca9</Data>
<Data Name=”AppPath”>C:\Program Files\SCADA\ScadaSchemeEditor\ScadaSchemeEditor.exe</Data>
<Data Name=”ModulePath”>C:\WINDOWS\system32\ASProxy64.dll</Data>
<Data Name=”IntegratorReportId”>30d1fa3c-1e0d-4091-b2d0-914bfafbd234</Data>
<Data Name=”PackageFullName”>
</Data>
<Data Name=”PackageRelativeAppId”>
</Data>
</EventData>
</Event>————————————————-
Third one is again schemeeditor
Log Name: Application
Source: Application Error
Date: 3/26/2025 10:37:45 PM
Event ID: 1000
Task Category: Application Crashing Events
Level: Error
Keywords:
User: LAPTOP-H67AIQA5\burak
Computer: LAPTOP-H67AIQA5
Description:
Faulting application name: ScadaSchemeEditor.exe, version: 5.3.1.2, time stamp: 0x6274bbe1
Faulting module name: ASProxy64.dll, version: 2.3.6.3, time stamp: 0x55dda8ac
Exception code: 0xc000041d
Fault offset: 0x000000000000c274
Faulting process id: 0x87B4
Faulting application start time: 0x1DB9E5C9EEB8CA9
Faulting application path: C:\Program Files\SCADA\ScadaSchemeEditor\ScadaSchemeEditor.exe
Faulting module path: C:\WINDOWS\system32\ASProxy64.dll
Report Id: 14c99ff2-73ac-404b-938d-2d86527d73b8
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
<Event xmlns=”http://schemas.microsoft.com/win/2004/08/events/event”>
<System>
<Provider Name=”Application Error” Guid=”{a0e9b465-b939-57d7-b27d-95d8e925ff57}” />
<EventID>1000</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>100</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime=”2025-03-26T14:37:45.6459047Z” />
<EventRecordID>10721</EventRecordID>
<Correlation />
<Execution ProcessID=”16280″ ThreadID=”29172″ />
<Channel>Application</Channel>
<Computer>LAPTOP-H67AIQA5</Computer>
<Security UserID=”S-1-5-21-914742159-529878284-3034585362-1002″ />
</System>
<EventData>
<Data Name=”AppName”>ScadaSchemeEditor.exe</Data>
<Data Name=”AppVersion”>5.3.1.2</Data>
<Data Name=”AppTimeStamp”>6274bbe1</Data>
<Data Name=”ModuleName”>ASProxy64.dll</Data>
<Data Name=”ModuleVersion”>2.3.6.3</Data>
<Data Name=”ModuleTimeStamp”>55dda8ac</Data>
<Data Name=”ExceptionCode”>c000041d</Data>
<Data Name=”FaultingOffset”>000000000000c274</Data>
<Data Name=”ProcessId”>0x87b4</Data>
<Data Name=”ProcessCreationTime”>0x1db9e5c9eeb8ca9</Data>
<Data Name=”AppPath”>C:\Program Files\SCADA\ScadaSchemeEditor\ScadaSchemeEditor.exe</Data>
<Data Name=”ModulePath”>C:\WINDOWS\system32\ASProxy64.dll</Data>
<Data Name=”IntegratorReportId”>14c99ff2-73ac-404b-938d-2d86527d73b8</Data>
<Data Name=”PackageFullName”>
</Data>
<Data Name=”PackageRelativeAppId”>
</Data>
</EventData>
</Event>buraksimsek
ParticipantI see under the “Instance Status” it says webstation “Status not supported” Can it be relevant?
buraksimsek
ParticipantThank you Mikhail,
I checked WCF. HTTP activation as well as TCP are enabled.
I checked the TCP Port 10001 with TcpView. 10001 is not in use. 10000 and 10002 are used by rapid scada.The log of schemeeditor still shows exactly the same content as above, and stops after PlgSchBasicComp.dll. I do not see an entry for WCF.
I have .Net Framwork 4.8.1. However in the schemeeditor.exe.log 4.7.2 is noted. <startup><supportedRuntime version=”v4.0″ sku=”.NETFramework,Version=v4.7.2″/></startup></configuration>
I dont know whether it would make a difference, but I changed it manually. Didnt help…
It really seems like a wrong or missing configuration somewhere…
Do you have any other suggestions?
-
AuthorPosts