Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-11-0502:21 PM. Last Modified: 2023-05-0312:31 AM
[Imported] Mimic Script Server.Query don't work
>>Message imported from previous forum - Category:ClearSCADA Software<< User: florian, originally posted: 2018-10-25 20:20:39 Id:303 This is a re-posting from the obsoleted (October 2018) "Schneider Electric Telemetry & SCADA" forum.
-------------------------------
**_dareksm:_** **_I cannot receive data when I use function Server.Query from mimic script (from any table)._**
**_I always get the error:_**
_PrepareQuery failed : Unknown Error 0x80072f19_
**_The same query runs in datagrid table works fine._**
**_This is my sample script:_**
Public Sub GetData()_ Dim DGRS _ Set DGRS = Server.Query("SELECT * FROM CDBPoint")_ If NOT(DGRS.Error) Then_ Msgbox OK, vbOK, "NO ERROR"_ Else_ Msgbox DGRS.ErrorMessage, vbCritical + vbOKOnly, "Error in SQL Command"_ End If_ End Sub_
The mostly likely cause is that the ClearSCADA WebX port is in use by something else, IIS for example, and so ViewX scripting can't connect to get data.