Ask our Experts
Didn't find what you are looking for? Ask our experts!
Launch of Consumer/Home Owner registration process! We are pleased to announce the commencement of the Consumer/Home Owner Registration Process on Community. Consumers/Home Owners may now proceed to register by clicking on Login/Register. The process is straightforward and designed to be completed in just a few steps.
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-11-05 02:21 PM . Last Modified: 2023-05-03 12:31 AM
>>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_
------------------
AWoodland:
Hi,
Have a look at http://resourcecentre.controlmicrosystems.com/display/CS/Diagnosing+Scripting+Connection+Errors, it should help you identify the possible causes.
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.
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.