Forum Home › Forums › Development and Integration › ScadaScheme can't run
- This topic has 24 replies, 3 voices, and was last updated 7 years, 11 months ago by inpelsa.
-
AuthorPosts
-
March 10, 2016 at 5:43 am #897MikhailModerator
Check why serverComm == null in MainData.CheckUser() after executing MainData.RefrServerComm() method.
March 10, 2016 at 6:14 am #898WanParticipantbeacuse “settFileName” is null.
March 11, 2016 at 6:49 am #899MikhailModeratorThe normal call stack is UserData.GetUserData() -> AppData.InitAppData()
Then MainData.SettingsFileName = ConfigDir + CommSettings.DefFileName;Is MainData.SettingsFileName = … executed?
April 13, 2016 at 5:33 pm #951inpelsaParticipantProbably 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) +2207Most 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?
April 13, 2016 at 5:50 pm #953inpelsaParticipantAfter adding silverlight MIME types as follows:
http://www.iis.net/learn/web-hosting/web-server-for-shared-hosting/configuring-iis-for-silverlight-applicationsI get this error:
Че удалось загрузить аему. Загрузка…
(Could not load theme. Loading…)So I suppose is not the same problem…
April 13, 2016 at 7:14 pm #954MikhailModeratorThe 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
April 14, 2016 at 9:43 am #955inpelsaParticipantThis 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 🙂
April 14, 2016 at 7:59 pm #963MikhailModeratorProbably 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.April 15, 2016 at 8:23 am #964inpelsaParticipantI 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.
April 15, 2016 at 1:29 pm #966inpelsaParticipantsmall advice: if you try to graph a non existent channel (not in the table editor file) you get the “Insufficient rights” message too.
-
AuthorPosts
- You must be logged in to reply to this topic.