2016-04-22 3 views
-1

Kann mir jemand mit diesem Fehler helfen? Ich arbeite im ELMA BPM Designer, um einen neuen Dokumententyp zu erstellen. Um Änderungen zu übernehmen, muss ich den Server von der Veröffentlichungsseite des Designers neu starten. Aber der Neustart schlägt mit diesem Fehler fehl:Fehler "System.IO.IOException: Der Prozess kann nicht auf die Datei zugreifen ..." bei ELMA BPM-Service Neustart

*EleWise.ELMA.Runtime.Exceptions.ConfigurationInitializeException: Could not initialize provider (EleWise.ELMA.Extensions.MSSQL.MSSQLProvider) ---> System.IO.IOException: The process can not access the file "C:\ELMA3-Standart\Web\App_Data\CompiledModel\EleWise.ELMA.ConfigurationModel.dll", because this file is used by another process. 
в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 
в System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 
в System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 
в System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost) 
в EleWise.ELMA.Extensions.IOExtensions.<>c__DisplayClass2.ojGdPYsZsVXSCIcncMJy(Object , Object) 
в EleWise.ELMA.Extensions.IOExtensions.<>c__DisplayClass2.<WriteAllBytesWithAttempts>b__0() 
в EleWise.ELMA.Extensions.ActionExtensions.ExecuteWithAttempts(Action action, TimeSpan interval, Int32 attemptCount, Func`2 canRetry) 
в EleWise.ELMA.Extensions.ActionExtensions.ExecuteWithAttempts(Action action, TimeSpan interval, Int32 attemptCount) 
в EleWise.ELMA.Extensions.IOExtensions.V8SiNHPWKWSx55xVAVO(Object , TimeSpan interval, Int32 attemptCount) 
в EleWise.ELMA.Extensions.IOExtensions.WriteAllBytesWithAttempts(String fileName, Byte[] bytes, TimeSpan interval, Int32 attemptCount) 
в EleWise.ELMA.Model.Managers.ModelRegistrarImpl.gtNM326hspFGnkwJWMer(Object , Object , TimeSpan interval, Int32 attemptCount) 
в EleWise.ELMA.Model.Managers.ModelRegistrarImpl.Register(ModelRegistrar r, NHManagerRegisterParams parameters) 
в EleWise.ELMA.Model.Managers.ModelRegistrar.UfaKdxswFE3lDcr0dnAE(Object , Object , Object) 
в EleWise.ELMA.Model.Managers.ModelRegistrar.Register(NHManagerRegisterParams parameters) 
в EleWise.ELMA.Runtime.Providers.NHProvider.sNUTU0slYESilTqkrdpp(Object , Object) 
в EleWise.ELMA.Runtime.Providers.NHProvider.Init() 
в EleWise.ELMA.Runtime.RuntimeApplication.hoDmZpsRD8169HIgClCG(Object) 
в EleWise.ELMA.Runtime.RuntimeApplication.InitProvider(IProvider provider) 
--- End of inner exception stack trace --- 
в EleWise.ELMA.Runtime.RuntimeApplication.InitProvider(IProvider provider) 
в EleWise.ELMA.Runtime.RuntimeApplication.vV6Ci8sREl65cvg3g8j0(Object , Object) 
в EleWise.ELMA.Runtime.RuntimeApplication.Init() 
в EleWise.ELMA.ComponentModel.ComponentManager.S3XEv7YWCC6moQn6U26O(Object) 
в EleWise.ELMA.ComponentModel.ComponentManager.<RegisterComponents>b__c(Object h) 
в EleWise.ELMA.ComponentModel.ComponentManager.InvokeInitHandlers(Action`1 action) 
в EleWise.ELMA.ComponentModel.ComponentManager.RegisterComponents() 
в EleWise.ELMA.ComponentModel.ComponentManager.iOqsdcYuK9kGiI5HFBNd(Object) 
в EleWise.ELMA.ComponentModel.ComponentManager.Init() 
в EleWise.ELMA.ComponentModel.ComponentManager.mULmXFYu3IXZsc8MnIcS(Object) 
в EleWise.ELMA.ComponentModel.ComponentManager.Init(String[] assembliesPaths, String workDirectory) 
в EleWise.ELMA.BPM.Mvc.Application.Orchard.ELMAEnviromentStarter.RqpX6RqgtspSri31B0(Object , Object , Object) 
в EleWise.ELMA.BPM.Mvc.Application.Orchard.ELMAEnviromentStarter.StartApplicationInThread() 
Could not initialize provider (EleWise.ELMA.Extensions.MSSQL.MSSQLProvider) 
EleWise.ELMA.SDK 
в EleWise.ELMA.Runtime.RuntimeApplication.InitProvider(IProvider provider) 
в EleWise.ELMA.Runtime.RuntimeApplication.vV6Ci8sREl65cvg3g8j0(Object , Object) 
в EleWise.ELMA.Runtime.RuntimeApplication.Init() 
в EleWise.ELMA.ComponentModel.ComponentManager.S3XEv7YWCC6moQn6U26O(Object) 
в EleWise.ELMA.ComponentModel.ComponentManager.<RegisterComponents>b__c(Object h) 
в EleWise.ELMA.ComponentModel.ComponentManager.InvokeInitHandlers(Action`1 action) 
в EleWise.ELMA.ComponentModel.ComponentManager.RegisterComponents() 
в EleWise.ELMA.ComponentModel.ComponentManager.iOqsdcYuK9kGiI5HFBNd(Object) 
в EleWise.ELMA.ComponentModel.ComponentManager.Init() 
в EleWise.ELMA.ComponentModel.ComponentManager.mULmXFYu3IXZsc8MnIcS(Object) 
в EleWise.ELMA.ComponentModel.ComponentManager.Init(String[] assembliesPaths, String workDirectory) 
в EleWise.ELMA.BPM.Mvc.Application.Orchard.ELMAEnviromentStarter.RqpX6RqgtspSri31B0(Object , Object , Object) 
в EleWise.ELMA.BPM.Mvc.Application.Orchard.ELMAEnviromentStarter.StartApplicationInThread()* 

Antwort

0

Versuchen Sie, den Anwendungspool zu stoppen, und starten Sie ihn ein wenig später neu. Der sofortige Neustart schlägt manchmal fehl, weil die vorherige Instanz noch funktioniert. Es ist kein Fehler, nur ein Feature.

+0

Danke, es hat geholfen, aber es gibt keine Option, den Neustart vom Designer zu verzögern, richtig? – AnalystAlex

+0

Leider gibt es keine Option für eine solche Art der Steuerung des Remote-Webservers. In diesem Fall sollten Sie den Webserver manuell stoppen und starten. – mtronin

Verwandte Themen