-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I encountered a problem when remotely connecting to OPCServer #12
Comments
@lishuaia Is there a problem connecting to localhost to execute GetOPCServer? |
@lishuaia Can you test using this version? |
localhost no problem, The remote connection is down发自我的 iPhone在 2024年8月22日,19:51,Xuefeng Tan ***@***.***> 写道:
@lishuaia Can you test using this version?
github.com/huskar-t/opcda v0.3.1-0.20240822113317-9cd33d1b0b09
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@lishuaia Is there still a problem with using this version, and are there any error messages? |
I couldn't find the code for this version? The tag on GitHub only has code for version v0.3.0 |
@lishuaia modify go.mod file |
我测试了下,还是报错:Access is denied |
@lishuaia |
@huskar-t |
@lishuaia It seems that you didn't replace the version I gave. |
@huskar-t |
@lishuaia That's strange. In the GetOPCServers method, if the call to EnumClassesOfCategories fails, it will try to get it from the registry.Are you sure the error returned is caused by EnumClassesOfCategories? |
@huskar-t |
From the screenshot, the error occurs in getServersFromReg |
@lishuaia 加我 qq 吧,有时间我帮你远程看一下 |
@huskar-t 加您了,我的QQ名称是迁就,麻烦通过下 |
+1 for the same problem. I'm sure that the connection is successful when using opc-quick-client or konimarti/opc |
@giter Can you try 0.3.3 and provide the call stack? |
@huskar-t ` server, err := opcda.Connect(progID, host) |
@giter Looks like there is a problem with the dcom configuration, please check the permissions and dcom configuration. |
I'm sure that the connection is successful when using opc-quick-client or konimarti/opc |
@giter Describe your environment and setup |
@giter What opc da server are you using? |
@giter Try compiling the program into 32-bit. |
@giter Can you try running in administrator account? |
I encountered a problem when remotely connecting to OPCServer;
MatrikonOPC can connect remotely, but cannot connect using your library,serverlist report errors:server list EnumClassesOfCategories: Access is denied.Could you please help me answer this question? Thank you
The following image shows MatrikonOPC connected to a remote OPCServer
The following image shows the error message of the server list
The text was updated successfully, but these errors were encountered: