Forum Home › Forums › Uncategorized Issues › [Fatal error] Application Exception
Tagged: Fatal error
- This topic has 13 replies, 2 voices, and was last updated 7 years, 9 months ago by Mikhail.
-
AuthorPosts
-
July 9, 2016 at 5:07 pm #1415Michal DziczkowskiParticipant
After following the install instructions and starting the server, I had entered in the web browser the address given in the document:
replacing the [hostname] with localhost. Instead of the propper content, it has displayed following error:
System.Web.HttpException The resource cannot be found. Description: HTTP 404.The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Details: Requested URL: /scada Exception stack trace: at System.Web.StaticFileHandler.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0 at System.Web.DefaultHttpHandler.BeginProcessRequest (System.Web.HttpContext context, System.AsyncCallback callback, System.Object state) [0x00000] in <filename unknown>:0 at System.Web.HttpApplication+<Pipeline>c__Iterator1.MoveNext () [0x00000] in <filename unknown>:0 at System.Web.HttpApplication.Tick () [0x00000] in <filename unknown>:0
. When I removed thw /scada part, it showed me following error:
System.ArgumentOutOfRangeException Argument is out of range. Parameter name: startIndex Description: HTTP 400.Error processing request. Details: Non-web exception. Exception origin (name of application or object): mscorlib. Exception stack trace: at System.String.Substring (Int32 startIndex) [0x00000] in <filename unknown>:0 at Mono.WebServer.MonoWorkerRequest.AssertFileAccessible () [0x00000] in <filename unknown>:0 at Mono.WebServer.MonoWorkerRequest.ProcessRequest () [0x00000] in <filename unknown>:0
- This topic was modified 7 years, 9 months ago by Michal Dziczkowski.
July 9, 2016 at 7:02 pm #1418MikhailModeratorWhat OS do you use?
In case of Raspbian, validate the content of the files
/etc/default/mono-xsp4
/etc/xsp4/debian.webappAlso you can try http://ipaddress:8084/scada/Login.aspx
July 9, 2016 at 7:09 pm #1419Michal DziczkowskiParticipantI have downloaded the Linux version and I wanted to test it on my Ubuntu 14.04
The login link returned:
System.Web.HttpException The resource cannot be found. Description: HTTP 404.The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Details: Requested URL: /scada/login.aspx Exception stack trace: at System.Web.Compilation.BuildManager.AssertVirtualPathExists (System.Web.VirtualPath virtualPath) [0x00000] in <filename unknown>:0 at System.Web.Compilation.BuildManager.Build (System.Web.VirtualPath vp) [0x00000] in <filename unknown>:0 at System.Web.Compilation.BuildManager.GetCompiledType (System.Web.VirtualPath virtualPath) [0x00000] in <filename unknown>:0 at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath (System.Web.VirtualPath virtualPath, System.Type requiredBaseType) [0x00000] in <filename unknown>:0 at System.Web.UI.PageParser.GetCompiledPageInstance (System.String virtualPath, System.String inputFile, System.Web.HttpContext context) [0x00000] in <filename unknown>:0 at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext context, System.String requestType, System.String url, System.String path) [0x00000] in <filename unknown>:0 at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url, Boolean ignoreContextHandler) [0x00000] in <filename unknown>:0 at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url) [0x00000] in <filename unknown>:0 at System.Web.HttpApplication+<Pipeline>c__Iterator1.MoveNext () [0x00000] in <filename unknown>:0
July 9, 2016 at 9:13 pm #1420MikhailModeratorIn Linux a path is case sensitive. Try Login.aspx
July 9, 2016 at 11:10 pm #1421Michal DziczkowskiParticipanttryed. The result was:
System.ArgumentException Directory does not exists Parameter name: value Description: HTTP 400.Error processing request. Details: Non-web exception. Exception origin (name of application or object): System. Exception stack trace: at System.IO.FileSystemWatcher.set_Path (System.String value) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher:set_Path (string) at System.Web.HttpRuntime.SetupOfflineWatch () [0x00000] in <filename unknown>:0 at System.Web.HttpRuntime.Process (System.Web.HttpWorkerRequest req) [0x00000] in <filename unknown>:0 at System.Web.HttpRuntime.RealProcessRequest (System.Object o) [0x00000] in <filename unknown>:0 at System.Web.HttpRuntime.ProcessRequest (System.Web.HttpWorkerRequest wr) [0x00000] in <filename unknown>:0 at Mono.WebServer.MonoWorkerRequest.ProcessRequest () [0x00000] in <filename unknown>:0
July 11, 2016 at 6:10 am #1423MikhailModeratorSomething wrong with XSP4 web server.
Post here the version of XSP and the content of the files
/etc/default/mono-xsp4
/etc/xsp4/debian.webapp
/etc/xsp4/conf.d/scada/*_scadaJuly 11, 2016 at 7:38 am #1424Michal DziczkowskiParticipant- dabian.webapp:
<apps> <web-application> <name>scada</name> <vpath>/scada</vpath> <path>/etc/scada/ScadaWeb</path> </web-application> </apps>
- mono-xsp4:
# Defaults for mono-xsp4, official version # sourced by /etc/init.d/mono-xsp4 # Should we start it? start_boot=true # User and group by default user=www-data group=www-data # Default port port=8084 address=0.0.0.0 # Directory for config files config_files=/etc/xsp4
- xsp4/conf.d/scada/10_scada:
This is the configuration file for the scada virtualhost path = /etc/scada/ScadaWeb alias = /scada
July 11, 2016 at 9:56 am #1426MikhailModerator100% the same as my Raspberry (Raspbian OS).
Maybe you have an opportunity to try on another computer and compare the results?
What version of XSP and Mono do you use?July 11, 2016 at 12:09 pm #1427Michal DziczkowskiParticipantmono: 3.2.8+dfsg-4ubuntu4
mono-xsp4: 3.8-2.1July 11, 2016 at 1:04 pm #1428MikhailModeratorMine are
mono-complete 3.2.8+dfsg-1
mono-xsp4 3.8-2.1Could you try to create a simple HTML file with lowercase name within scada/ScadaWeb directory and open it?
July 11, 2016 at 3:20 pm #1429Michal DziczkowskiParticipantI had uninstalled and re-installed mono, xsp4 RapidScada. Only the part with /scada started to work and the remaining ones still throw errors
July 11, 2016 at 3:44 pm #1432MikhailModeratorOnly the part with /scada started to work and the remaining ones still throw errors
Sorry, I didn’t catch what part works for now?
The problem is really weird. I think you should surf the linux forums for the clue why XSP doesn’t work. Users use Rapid SCADA on Ubuntu, but this error ocuurs the first time.
July 11, 2016 at 3:51 pm #1434Michal DziczkowskiParticipantlet me put it more simple:
http://localhost:8084/scada works and nothing else (else things throw errors)
July 12, 2016 at 6:18 am #1435MikhailModeratorOK. You may ask for advice if needed.
-
AuthorPosts
- You must be logged in to reply to this topic.