Join us today!

Notifications
Clear all

[Solved] How to get rid of webvisu "an error occured"?

3 Posts
3 Users
2 Reactions
361 Views
Posts: 1
Topic starter
(@maier-gmbh)
New Member
Joined: 2 years ago

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?

Reply
2 Replies
1 Reply
ilyasskure
Admin
(@ilyasskure)
Joined: 2 years ago

Member
Posts: 5

@maier-gmbh Can you share some pictures and error codes ? Are you trying to automate restarting the webvisu service when you get that error?

Reply
Posts: 3
(@automacaoweb)
New Member
Joined: 2 years ago

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

Reply
Share: