Forum Home › Forums › Development and Integration › Scheme view disabled
- This topic has 4 replies, 3 voices, and was last updated 2 years, 3 months ago by
mgmouk.
-
AuthorPosts
-
June 28, 2023 at 2:54 pm #12897
anaisthrl
ParticipantHello,
During our developments, we try to connect our schemes with scada web.
To recap, we created a Scheme “NewScheme” in “testsView”:
When we check the installation with Scada v6 who is installed on our computer, we see the scheme :
But, if we try to do the same thing (with the same scada project) on the development environment (with visual studio), we can’t access to the testsView :
We don’t know why… can you help us to understand the difference ?
Here you will see the windows services who turn at the same time :
-
This topic was modified 2 years, 3 months ago by
Mikhail.
June 28, 2023 at 6:02 pm #12902Mikhail
ModeratorHello,
Likely, when the web app is started in Visual Studio, it does not load the plugins.
To debug the web app, build it in the Debug configuration, and attach to the process w3wp.exe (IIS).June 29, 2023 at 9:20 am #12911anaisthrl
ParticipantHello, thank you for your answer.
I tried to attach to the process w3wp.exe, but it doesn’t appear in the processes list. I saw in a forum that it is supposed to show only after a first access to the web page, but didn’t change anything for me.
Do you have another track or an idea on something I’m doing wrong ?
June 29, 2023 at 2:43 pm #12914Mikhail
ModeratorMake sure that VS is run as administrator.
July 5, 2023 at 2:42 pm #12956mgmouk
ParticipantTo see the w3wp.exe process in your process list, follow these steps:
1. Ensure that your IIS server is running.
2. Verify that the “ScadaAppPool” application pool is running. You can do this by opening the ‘IIS Manager’ and looking for ScadaAppPool pool under the application pools section.
3. If both of these are running and you still do not see the w3wp.exe process, you can try recycling the application pool or forcing a request onto your application to trigger the w3wp.exe process.
To do this, you can use the following script (which is also present in the svc_restart.bat file) in your terminal:
`
cd /d “%~dp0”
type nul > cmd\webreload
curl http://localhost:10008/ConfigReload
del cmd\webreload:: Alternative
:: “%windir%\system32\inetsrv\appcmd” recycle APPPOOL “ScadaAppPool”
`
These commands will force the start of the w3wp.exe process, and you should now be able to see it in your process list for debugging.
I hope this information is helpful.
-
This reply was modified 2 years, 3 months ago by
mgmouk.
-
This topic was modified 2 years, 3 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.