ScadaScheme can't run

Forum Home Forums Development and Integration ScadaScheme can't run

Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • #897
    Mikhail
    Moderator

    Check why serverComm == null in MainData.CheckUser() after executing MainData.RefrServerComm() method.

    #898
    Wan
    Participant

    beacuse “settFileName” is null.

    #899
    Mikhail
    Moderator

    The normal call stack is UserData.GetUserData() -> AppData.InitAppData()
    Then MainData.SettingsFileName = ConfigDir + CommSettings.DefFileName;

    Is MainData.SettingsFileName = … executed?

    #951
    inpelsa
    Participant

    Probably not related but I get the same error: Insufficient rights:

    Insufficient rights.
    Descripción: Excepción no controlada al ejecutar la solicitud Web actual. Revise el seguimiento de la pila para obtener más información acerca del error y dónde se originó en el código.

    Detalles de la excepción: System.Exception: Insufficient rights.

    Error de código fuente:

    Se ha generado una excepción no controlada durante la ejecución de la solicitud Web actual. La información sobre el origen y la ubicación de la excepción pueden identificarse utilizando la excepción del seguimiento de la pila siguiente.

    Seguimiento de la pila:

    [Exception: Insufficient rights.]
    Scada.Scheme.Web.scheme.ScadaScheme.Page_Load(Object sender, EventArgs e) +62
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
    System.Web.UI.Control.OnLoad(EventArgs e) +91
    System.Web.UI.Control.LoadRecursive() +74
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

    Most probably this error is because is running in a Windows 2003 server (IIS 6 of course) and needs some tweaks to work on it.

    any clue if it is related or what can be the problem?

    #953
    inpelsa
    Participant

    After adding silverlight MIME types as follows:
    http://www.iis.net/learn/web-hosting/web-server-for-shared-hosting/configuring-iis-for-silverlight-applications

    I get this error:
    Че удалось загрузить аему. Загрузка…
    (Could not load theme. Loading…)

    So I suppose is not the same problem…

    #954
    Mikhail
    Moderator

    The one message is not translated…
    Please open http://localhost/scada/scheme/ScadaSchemeSvc.svc and tell me what you see?
    May be in IIS 6 you need to make some configuration of web services processing.

    Does Insufficient rights error still occur?

    P.S. The new web application is under construction. It will be free of those issues

    #955
    inpelsa
    Participant

    This is what I get:
    =======================================================
    Éste es un servicio de Windows© Communication Foundation.

    La publicación de metadatos para este servicio está deshabilitada actualmente.

    Si tiene acceso al servicio, puede habilitar la publicación de metadatos realizando los siguientes pasos para modificar el archivo de configuración de web o de aplicación:

    1. Cree la siguiente configuración de comportamiento de servicio o agregue el elemento <serviceMetadata> a una configuración de comportamiento de servicio existente:

    <behaviors>
    <serviceBehaviors>
    <behavior name=”MyServiceTypeBehaviors” >
    <serviceMetadata httpGetEnabled=”true” />
    </behavior>
    </serviceBehaviors>
    </behaviors>

    2. Agregue la configuración de comportamiento al servicio:

    <service name=”MyNamespace.MyServiceType” behaviorConfiguration=”MyServiceTypeBehaviors” >

    Nota: el nombre del servicio debe coincidir con el nombre de la configuración para la implementación del servicio.

    3. Agregue el siguiente extremo a la configuración del servicio:

    <endpoint contract=”IMetadataExchange” binding=”mexHttpBinding” address=”mex” />

    Nota: el servicio debe tener una dirección base http para agregar este extremo.

    A continuación, se incluye un ejemplo de un archivo de configuración de servicio con la publicación de metadatos habilitada:

    <configuration>
    <system.serviceModel>

    <services>
    <!– Nota: el nombre del servicio debe coincidir con el nombre de la configuración para la implementación del servicio. –>
    <service name=”MyNamespace.MyServiceType” behaviorConfiguration=”MyServiceTypeBehaviors” >
    <!– Agregue el siguiente extremo. –>
    <!– Nota: el servicio debe tener una dirección base http para agregar este extremo. –>
    <endpoint contract=”IMetadataExchange” binding=”mexHttpBinding” address=”mex” />
    </service>
    </services>

    <behaviors>
    <serviceBehaviors>
    <behavior name=”MyServiceTypeBehaviors” >
    <!– Agregue el siguiente elemento a la configuración del comportamiento del servicio. –>
    <serviceMetadata httpGetEnabled=”true” />
    </behavior>
    </serviceBehaviors>
    </behaviors>

    </system.serviceModel>
    </configuration>

    Para obtener más información acerca de la publicación de metadatos, consulte la siguiente documentación: http://go.microsoft.com/fwlink/?LinkId=65455 (puede estar en inglés).
    =======================================================

    Seems you are right, do you know the right config for the service?

    I do not see anymore the Insufficient rights error.

    PS: OK I will not spend my whole life to make it work 🙂

    #963
    Mikhail
    Moderator

    Probably it’s possible to make it work, but I think it will take too much time.
    May be you have a possibility to install SCADA-Web application to a different machine? It can operate separately from back end applications.

    #964
    inpelsa
    Participant

    I had it on a Win7, but the purpouse was to have it in a server.

    If documentation said Win2003 is not supported I would not have moved it.

    I can live without it on the initial phase.

    #966
    inpelsa
    Participant

    small advice: if you try to graph a non existent channel (not in the table editor file) you get the “Insufficient rights” message too.

Viewing 10 posts - 16 through 25 (of 25 total)
  • You must be logged in to reply to this topic.