schemeeditor doesn’t launch at all – windows11

Forum Home Forums Installation Issues schemeeditor doesn’t launch at all – windows11

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #16256
    buraksimsek
    Participant

    Hi all,

    I successfully installed rapid scada. I can run simple projects and build tables for those. However, when I try to build a scheme, the editor does not start at all. The behavior is the same for launching from the administrators as well as manual start from the .exe file. The cursor shows it is trying to launch. Then it stops and nothing else…….

    There is no error message. In the log file I see only the following entry:

    2025-03-25 00:27:59 <LAPTOP-H67AIQA5><burak><ACT> Initialize common data of Scheme Editor
    2025-03-25 00:27:59 <LAPTOP-H67AIQA5><burak><ACT> Load components from files
    2025-03-25 00:28:00 <LAPTOP-H67AIQA5><burak><ACT> Components are loaded from the file C:\Program Files\SCADA\ScadaSchemeEditor\Web\bin\PlgSchBasicComp.dll

    Appreciate your help !!!

    Thanks in advance

    #16258
    Mikhail
    Moderator

    Hello,

    When the editor starts correctly, ScadaSchemeEditor.log contains

    2025-03-25 12:50:42 <PC><user><ACT> Initialize common data of Scheme Editor
    2025-03-25 12:50:42 <PC><user><ACT> Load components from files
    2025-03-25 12:50:42 <PC><user><ACT> Components are loaded from the file C:\Program Files\SCADA\ScadaSchemeEditor\Web\bin\PlgSchBasicComp.dll
    2025-03-25 12:50:43 <PC><user><ACT> WCF service is started

    The editor uses WCF, so you may need to enable it as shown here.

    The editor opens TCP port 10001. Using TcpView make sure that the port 10001 is not used by another application.

    #16260
    buraksimsek
    Participant

    Thank 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?

    #16261
    buraksimsek
    Participant

    I see under the “Instance Status” it says webstation “Status not supported” Can it be relevant?

    #16263
    Mikhail
    Moderator

    I see under the “Instance Status” it says webstation “Status not supported” Can it be relevant?

    It’s not relevant. It just means that the app does not provide status.
    I suggest to check events in Windows Event Viewer. If an app accidentally crashes, the OS writes some info there.

    Also try to deploy a new virtual machine using Hyper-V or VMware and install the editor from scratch.

    #16266
    buraksimsek
    Participant

    Hi 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”&gt;
    <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”&gt;
    <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”&gt;
    <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>

    #16267
    Mikhail
    Moderator

    Hi,

    Thank you for the info.
    Scada.Scheme.Editor.AppData.StartWcfService(System.String ByRef)
    The above line means that the error occurred when starting a WCF service.
    This discussion is related to the issue, but it does not contain a solution.
    We are planning to get rid of WCF in Scheme Editor. Until then, I suggest using a virtual machine to create schemes.

    #16270
    Mikhail
    Moderator

    Make sure that the latest updates are installed on your Windows 11.

    #16271
    manjey73
    Participant

    Strangely, I’m currently using Windows 11 on the same project. The scheme editor is working.
    If you can tell me where to look at the settings in Windows 11 and which ones, I’ll take a look.

    • This reply was modified 5 months ago by manjey73.
    #16282
    buraksimsek
    Participant

    I 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!

    #16284
    Mikhail
    Moderator

    Wow! Windows is unpredictable sometimes.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.