Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

QuickOPC VBScript ASP example script not working - by: Kyle.Oshima@caltrol.com

$
0
0
Am prototyping QuickOPC as possible OPC DA interface for web HMI component for industrial DCS.

HMI machine is running Windows Server 2022 Standard and Internet Information Services 10.

Have installed QuickOPC from download "Setup-OPCLabs-OpcStudio-2024.1-Windows-Full.exe" version 5.80.82.1

Am interested in using EasyDVClient thru classic ASP HTML5 script seemingly compatible with HMI.

Have simple "test.asp" script (see attached) <%@ language="vbscript"%><html><body><%response.write("Hello world! - VBScript in IIS")%></body></html> set up in IIS Manager default web site that MS Edge browser displays no problem, so assume IIS is properly set up.

Have QuickOPC "ReadAndDisplayValue_VBScript.asp" VBScript ASP example script (see attached) copied to IIS Manager default web site but MS Edge browser posts following error: "An error occurred on the server when processing the URL. Please contact the system administrator. If you are the system administrator please click here to find out more about this error." -- referenced link refers to MS webpage learn.microsoft.com/en-us/iis/application-frameworks/running...ot-installed-by-default-on-iis which discusses installing classic ASP which appears to be correct (see above paragraph)

Can successfully run QuickOPC OPC Command-line Tool following online documentation kb.opclabs.com/Using_OpcCmd_Utility_as_OPC_DA_Client quickstart commands no problem.

Is QuickOPC install incomplete, why VBScript ASP example script does not work?

Any insight is appreciated. Thanks.

File Attachment:

File Name: ReadAndDisplayValue_VBScript.zip
File Size: 1 KB

Viewing all articles
Browse latest Browse all 1794

Trending Articles