Closed DanilaX1 closed 9 months ago
I examined the log and tried to find several errors. maybe it has something to do with it
From your last image it seems using DCOM, which isn't related to my app at all. Do you have more than one OPC servers running in the same box? My app assumes only one OPC server in one box only and install my app with it.
Also from your http error 401, which is Unauthorized, please check account privilege and make sure it has admin privilege to run appPool.
Only 1 OPC server is installed. I tried to give even more privileges to the user, although this user already had administrator rights. After reinstalling the service, the process ends unexpectedly. Tell me what else can I check?
Has it worked before? Any other anti-virus/anti-malware besides MS ones installed? Do you have OpcEnum.exe running as Windows service in the same box?
Has it worked before? No, I just started trying to configure the system Any other anti-virus/anti-malware besides MS ones installed? No, only the standard MS defender. Maybe it needs to be disabled Do you have OpcEnum.exe running as Windows service in the same box? no, I have not seen such an application, does this component need to be additionally installed?
Disabling MS Defender did not help.
I'm currently using https://github.com/ya-mouse/openopc this solution does not require OpcEnum.exe How to add the OpcEnum.exe service?
This OpcEnum.exe is from OPC Foundation, which is used to find each vendor's' OPC server. We need a mechanism to know which vendor's ClsId is so we can use it in application - that is the role OpcEnum.exe plays. Without it no OPC server can work properly. You can copy this exe from another box and add it as a Windows service. Without it my app can't work. OpenOPC doesn't provide it either, usually it comes from vendor's OPC server installation. Once you have it you can use MS sc.exe in command line to add it. You need that definitely!
Good afternoon friend, I haven't lost hope of launching your application. But so far no results. I installed OPC Core Components Redistributable. so I can start the EnumOPC service. но AppPoolID OPCPool but OPCPool keeps crashing with ExitCode fffffffe. where else should I look to get your application to work?
Can you post screenshots on event viewer by sorting source column when you just launch it? There should be a source for OPC native module. Meanwhile in your browser by pressing F12 entering into debug and checking network, see if there is any message available.
Check your IIS C:\inetpub\wwwroot\OPC folder, make sure it matches http://localhost/OPC/websocket.html. Or you can browse websocket.html from IIS Internet manager and launch it from there.
I found several errors in the event viewer, maybe they are somehow related to my problem. The address http://localhost/OPC/websocket.html also does not work. But if you open file:///C:/inetpub/wwwroot/OPC/websocket.html after a few seconds the DISCONNECTED message appears
Check your OpcPool and see if you can start it. If not, it is an authority issue for the account you are using. Meanwhile check your setting as below, see if they are the same.
Make sure OpcEnum.exe is running,
You installed OpcEnum.exe after OPC server, so categoryID under OpcEnum might not have OPC server ClsId associated. In this case you need re-register or reinstall OPC server so its ClsId will be correctly listed under categoryID of OpcEnum.
Good afternoon, thank you for such high-quality support. I have 2 news, 1 good and 1 bad I installed updates on windows. and reinstalled the IIS service. Now http://localhost/OPC/websocket.html is working and OPCpool starts. but it still doesn't work When I go to the application page the following happens. 1 - Freelance OPC Server (ABB server) Starts automatically. 2 - after about 20 seconds the DISCONNECTED message appears 3 - Freelance OPC Server (ABB server) Closes automatically. I have new messages in the log
Great progress! Log indicates you are using DA/AE, but no HDA - which is totally OK. Can you translate Russian to English for the last error (ReadEntityBody error)?
Yes you are right. ABB OPC only has DA and AE and does not have HDA. The last message is translated as End of file reached. ReadEntityBody() failed.
Send email to websocket4opc@gmail.com and I want you to have a patch to try since I don't have ABB OPC server to test. Thx!
I'm sorry, it's my fault. After reinstalling Services, I forgot to check the activation of the Web Socket. Now AE and DA are working as an ABB server.
Good afternoon, Please give me a hint where to follow to get your software working To test your software, I got a separate machine with Windows 10. I installed the OPC server there and then followed your instructions. BUT unfortunately there is no answer in the browser. Please tell me how to find the error or restart your software