Application error on new web beta app

Forum Home Forums Runtime Bugs Webstation Bugs Application error on new web beta app

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1570
    medvdev
    Participant

    Dear Mikhail,

    I hav installed the new web app, it was working fine, but all of a sudden while i was trying to log in error message pop up:-

    Application Error
    An application error occurred. If it repeats often, please contact the support.
    Details:
    Value cannot be null.
    Parameter name: virtualPath

    What to look for?

    thanx

    #1572
    Mikhail
    Moderator

    Hello,
    How can I reproduce this error?
    Could you send the error details from ScadaWebBeta\log\ScadaWeb.log ?

    #1574
    medvdev
    Participant

    Dear Mikhail,

    it is fixd..

    thanks for promp reply..

    #1578
    medvdev
    Participant

    The error comes only when I try to change the config of webbeta in web configurator, I changed the break between diagram points from 90 to 20 then, after saving and restarting server, this error occurred on login page, for old web app no such issue is observed that is working fine as desired.

    Application Error
    An application error occurred. If it repeats often, please contact the support.
    Details:
    Value cannot be null.
    Parameter name: virtualPath

    Logs of scada web

    Before Change:-

    2016-09-04 09:25:09 <*****-PC><DefaultAppPool><ACT> User information has been added. IP address: 172.168.0.225. Session: web0obyze3321ihitnicnif4
    2016-09-04 09:25:14 <*****-PC><DefaultAppPool><ACT> Login: engineer (Dispatcher). IP address: 172.168.0.225
    2016-09-04 09:25:14 <*****-PC><DefaultAppPool><ACT> User information has been updated. IP address: 172.168.0.225. Session: web0obyze3321ihitnicnif4
    2016-09-04 09:25:21 <*****-PC><DefaultAppPool><ACT> Logout: engineer. IP address: 172.168.0.225
    2016-09-04 09:26:11 <*****-PC><DefaultAppPool><ACT> Request SCADA-Server state
    2016-09-04 09:26:11 <*****-PC><DefaultAppPool><ACT> Disconnect from SCADA-Server
    2016-09-04 09:26:11 <*****-PC><DefaultAppPool><ACT> Connect to SCADA-Server “localhost”
    2016-09-04 09:26:12 <*****-PC><DefaultAppPool><ACT> User information has been added. IP address: 172.168.0.225. Session: isbw0lavpysvdytsykma4qi3

    After change:-

    2016-09-04 09:28:54 <*****-PC><DefaultAppPool><ACT> Request SCADA-Server state
    2016-09-04 09:28:54 <*****-PC><DefaultAppPool><ACT> Disconnect from SCADA-Server
    2016-09-04 09:28:54 <*****-PC><DefaultAppPool><ACT> Connect to SCADA-Server “localhost”
    2016-09-04 09:28:56 <*****-PC><DefaultAppPool><ACT> Login: engineer (Dispatcher). IP address: 172.168.0.225
    2016-09-04 09:28:56 <*****-PC><DefaultAppPool><ACT> User information has been updated. IP address: 172.168.0.225. Session: web0obyze3321ihitnicnif4
    2016-09-04 09:28:56 <*****-PC><DefaultAppPool><EXC> Application error:
    System.ArgumentNullException: Value cannot be null.
    Parameter name: virtualPath
    at System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options)
    at Scada.Web.Shell.ScriptPaths.GenerateHtml()
    at ASP.mastermain_master.__Render__control2(HtmlTextWriter __w, Control parameterContainer)
    at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
    at System.Web.UI.HtmlControls.HtmlHead.RenderChildren(HtmlTextWriter writer)
    at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
    at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
    at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
    at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
    at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
    at System.Web.UI.Page.Render(HtmlTextWriter writer)
    at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Page: http://172.168.0.225/Rapid Scada/View.aspx
    User: engineer

    #1582
    Mikhail
    Moderator

    Thank you. I think, I’ve found the cause. But it is strange that this error occurs. Does it occur every time when you try to open a view or only once?

    #1583
    Mikhail
    Moderator

    Do not use Configurator for the new web app, it breaks the config. Override the ScadaWebBeta\config folder from the distributive. Edit config manually using any text editor.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.