Martin wrote:@Redina: Kör du några plugins? Exempelvis plugins som tittar om du har en telefon på nätverket? Står det något i Switch Kings loggfil?
Ja, kör med en plugin. DataSourceValueWriterPlugin.1.0 som jag har kompilerat själv med VS 2010, med tillägg för att spara ned data till mysql. Jag funderar på att plocka bort pluginen, men det tar ju så lång tid innan det blir problem.
DataSource Storvreta temperatur och nederbörd hämtas ifrån yr.no xml,fil och xpath.
Detta är i server-logfilen:
Code: Select all
{BusinessAccess - Invocation} --<Status> -- 2011-11-11 15:46:19 -- Device with id 2, name Utomhus baksidan, native id 2 and code 1:16 has a nonmatching state.
{BusinessAccess - Invocation} --<Status> -- 2011-11-11 15:46:19 -- Device with id 3, name Uthomus under tak, native id 3 and code 1:15 has a nonmatching state.
{BusinessAccess - Invocation} --<Status> -- 2011-11-11 15:46:50 -- Device with id 2, name Utomhus baksidan, native id 2 and code 1:16 is being turned on. Method used is TellStickWrapper.
{BusinessAccess - Invocation} --<Status> -- 2011-11-11 15:46:51 -- Device with id 3, name Uthomus under tak, native id 3 and code 1:15 is being turned on. Method used is TellStickWrapper.
{BusinessAccess - Invocation} --<Status> -- 2011-11-11 15:46:52 -- Device with id 2, name Utomhus baksidan, native id 2 and code 1:16 is being turned on. Method used is TellStickWrapper.
{BusinessAccess - Invocation} --<Status> -- 2011-11-11 15:46:53 -- Device with id 3, name Uthomus under tak, native id 3 and code 1:15 is being turned on. Method used is TellStickWrapper.
{BusinessAccess - Invocation} --<Status> -- 2011-11-11 15:59:08 -- Created failure value 0,0 for DataSource with ID 3 and name Storvreta temperatur due to expired value.
{BusinessAccessDataCollection - ValueEvaluation} --<Warning> -- 2011-11-11 15:59:08 -- Failed to remove data source with id 4 from expiration list. Data source is not stored in list.
{BusinessAccess - Invocation} --<Status> -- 2011-11-11 15:59:23 -- Created failure value 0,0 for DataSource with ID 4 and name Storvreta nederbörd due to expired value.
{Hub Communicator Service - Shutdown} --<Status> -- 2011-11-11 16:29:53 -- Service shut down requested
Sen ser jag att det fel jag skickade upp tidigare nog beror på omstart av tjänsterna (kanske).
Detta felmeddelande förekommer ganska ofta
Code: Select all
<Error> -- 2011-11-11 07:27:53 -- An error occured when polling data from server. Switch King client is temporarily disconnecting from the server. -- Error message: Den begärda kanalen nådde tidsgränsen medan den väntade på ett svar efter 00:01:00. Öka värdet för tidsgränsen som överförs till anropet om att öka SendTimeout-värdet för bindningen. Den tid som tilldelats till den här åtgärden kan ha varit en del av en längre tidsgräns.
System.TimeoutException
Level 1) Den begärda kanalen nådde tidsgränsen medan den väntade på ett svar efter 00:01:00. Öka värdet för tidsgränsen som överförs till anropet om att öka SendTimeout-värdet för bindningen. Den tid som tilldelats till den här åtgärden kan ha varit en del av en längre tidsgräns.
Level 2) Http-begäran http://localhost:8080/SwitchKingFrameworkServiceHost har överskridit den angivna tidsgränsen på 00:01:00. Den tid som tilldelats till den här åtgärden kan ha varit en del av en längre tidsgräns.
Level 3) Åtgärdens tidsgräns har överskridits
StackTrace for Level 1:
Server stack trace:
vid System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
vid System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
vid System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
vid System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
vid System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
vid System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
vid System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
vid System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
vid SwitchKing.Client.GUI.SKSrv.FrameworkService.GetEntityLogEntriesRegisteredNewerThan(DateTime d)
vid SwitchKing.Client.GUI.Server.CheckServerState()
Kan jag själv läsa databasen på något sätt?
----------------------------------------------------------------------------------------------
Windows 7 Professional 64-bit, SK Server 3.2.0.2 (DB 2.5.5), SK Client 3.1.0.1