Join us today!
[Solved] How to get rid of webvisu "an error occured"?
I am using a beckhoff PLC with a webvisu. When restarting, I sometimes get "an error occured" in the webvisu stucking forever.
Restarting the windows service helps (which is set to start late in windows) - but I want to automate that.
Anyone else with that problem?
@maier-gmbh Can you share some pictures and error codes ? Are you trying to automate restarting the webvisu service when you get that error?
With all due respect, you need to provide more details about your doubt.
Informing the target operating system (IPC) and version of TwinCAT helps.
I have a blog where I describe a way to restart IIS on PLC startup for PCs with Windows CE OS. For Windows Full (Win 10) there should be a similar command.
https://automacaoweb.wordpress.com/2022/03/18/tf1810-restart-iis/
PROGRAM P_Restart_IIS VAR bStart : BOOL := TRUE; fbCeRestartIis : Tc2_Utilities.NT_StartProcess; END_VAR (*----------------------------------------------------------*) fbCeRestartIis ( START := bStart, PATHSTR := 'services.exe' , DIRNAME := '', COMNDLINE := 'refresh htp0:'); IF NOT fbCeRestartIis .ERR AND fbCeRestartIis .BUSY THEN bStart := FALSE; END_IF
- 17 Forums
- 265 Topics
- 932 Posts
- 2 Online
- 689 Members