Hi all,
I have a copy of the Workstation that has completely stopped functioning. When I try to load a local study I receive the error:
ClearCanvas was unable to load any of the images you requested.
When I try to search the local datastore i get the error:
Unable to Query server My Studies: An error occurred while performing the study root query.
I am able to query remote devices but not receive.
I was running a custom build of V1.3 which had been working fine originally. I don't know exactly when it stopped working, but other software may have been installed in the interim. I have since unistalled and upgraded to the off the shelf V2 Beta with the same exact problem. An excerpt from the log is below.
Here are some of the details on my system:
Windows XP English with SP2
SQL Server 2005
Visual C++ 2005 and 2008 9.0.2, and 9.03 Redistributable
It appears that the Shred Host Service is up and running.
I've tried going through the forums without luck. Here's the log which I'm not very good at interpretting. My guess is that there's a problem somewhere with the local database run by NHibernate. I seem to be running the right version of SQL. Again, things were working peachy until I left the lab and someone else 'upgraded' another piece of software, but I'm not exactly sure what changed.
2009-12-19 03:28:53,021 [1] ERROR - Exception thrown
ClearCanvas.Dicom.DataStore.DataStoreException: An error occurred while performing the study root query. ---> NHibernate.ADOException: cannot open connection ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at System.ModuleHandle._GetPEKind(Int32& peKind, Int32& machine)
at System.ModuleHandle.GetPEKind(PortableExecutableKinds& peKind, ImageFileMachine& machine)
at System.Reflection.Module.GetPEKind(PortableExecutableKinds& peKind, ImageFileMachine& machine)
at System.Reflection.Assembly.ComputeProcArchIndex()
at System.Reflection.Assembly.GetName(Boolean copiedName)
at System.Reflection.Assembly.GetName()
at System.Data.SqlServerCe.SqlCeRestriction.IsWebHosted()
at System.Data.SqlServerCe.SqlCeRestriction.CheckExplicitWebHosting()
at System.Data.SqlServerCe.SqlCeConnection..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at NHibernate.Driver.ReflectionBasedDriver.CreateConnection()
at NHibernate.Connection.DriverConnectionProvider.GetConnection()
at NHibernate.Impl.SessionFactoryImpl.OpenConnection()
--- End of inner exception stack trace ---
at NHibernate.Impl.SessionFactoryImpl.OpenConnection()
at NHibernate.AdoNet.ConnectionManager.GetConnection()
at NHibernate.Impl.SessionImpl.get_Connection()
at NHibernate.Transaction.AdoTransaction.Begin(IsolationLevel isolationLevel)
at NHibernate.Transaction.AdoTransaction.Begin()
at ClearCanvas.Dicom.DataStore.DataAccessLayer.SessionManager.BeginReadTransaction()
at ClearCanvas.Dicom.DataStore.DataAccessLayer.DataStoreReader.StudyQuery(QueryCriteria queryCriteria)
--- End of inner exception stack trace ---
at ClearCanvas.Dicom.DataStore.DataAccessLayer.DataStoreReader.StudyQuery(QueryCriteria queryCriteria)
at ClearCanvas.Dicom.DataStore.DataAccessLayer.DataStoreReader.Query(DicomAttributeCollection queryCriteria)
at ClearCanvas.ImageViewer.StudyFinders.LocalDataStore.LocalDataStoreStudyFinder.Query(QueryParameters queryParams, Object targetServer)
at ClearCanvas.ImageViewer.ImageViewerComponent.FindStudy(QueryParameters queryParameters, Object targetServer, String studyFinderName)
at ClearCanvas.ImageViewer.Explorer.Dicom.StudyBrowserComponent.ProcessReceivedAndRemovedStudies()
2009-12-19 03:29:05,443 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-12-19 03:29:05,506 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-12-19 03:29:05,724 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-12-19 03:29:31,162 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-12-19 03:29:40,724 [1] INFO - No session manager extension found
2009-12-19 03:29:40,896 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-12-19 03:29:40,912 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-12-19 03:29:41,177 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-12-19 03:29:41,177 [1] WARN - Time provider not found - defaulting to local machine time.
2009-12-19 03:29:41,177 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-12-19 03:29:43,083 [1] WARN - No audit sink extensions found - Auditing will be disabled for the remainder of the session.
2009-12-19 03:29:43,224 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-12-19 03:29:43,583 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-12-19 03:29:45,958 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-12-19 03:29:46,005 [1] ERROR - Exception thrown
Failed to load prior study '1.2.124.113532.199.165.153.36.20090306.150302.3359250' from study loader 'DICOM_LOCAL'.
ClearCanvas.ImageViewer.LoadStudyException: An error occurred while attempting to load study '1.2.124.113532.199.165.153.36.20090306.150302.3359250'. ---> ClearCanvas.Dicom.DataStore.DataStoreException: An error occurred while attempting to retrieve the study (1.2.124.113532.199.165.153.36.20090306.150302.3359250) from the data store. ---> NHibernate.ADOException: cannot open connection ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at System.ModuleHandle._GetPEKind(Int32& peKind, Int32& machine)
at System.ModuleHandle.GetPEKind(PortableExecutableKinds& peKind, ImageFileMachine& machine)
at System.Reflection.Module.GetPEKind(PortableExecutableKinds& peKind, ImageFileMachine& machine)
at System.Reflection.Assembly.ComputeProcArchIndex()
at System.Reflection.Assembly.GetName(Boolean copiedName)
at System.Reflection.Assembly.GetName()
at System.Data.SqlServerCe.SqlCeRestriction.IsWebHosted()
at System.Data.SqlServerCe.SqlCeRestriction.CheckExplicitWebHosting()
at System.Data.SqlServerCe.SqlCeConnection..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at NHibernate.Driver.ReflectionBasedDriver.CreateConnection()
at NHibernate.Connection.DriverConnectionProvider.GetConnection()
at NHibernate.Impl.SessionFactoryImpl.OpenConnection()
--- End of inner exception stack trace ---
at NHibernate.Impl.SessionFactoryImpl.OpenConnection()
at NHibernate.AdoNet.ConnectionManager.GetConnection()
at NHibernate.Impl.SessionImpl.get_Connection()
at NHibernate.Transaction.AdoTransaction.Begin(IsolationLevel isolationLevel)
at NHibernate.Transaction.AdoTransaction.Begin()
at ClearCanvas.Dicom.DataStore.DataAccessLayer.SessionManager.BeginReadTransaction()
at ClearCanvas.Dicom.DataStore.DataAccessLayer.DataStoreReader.GetStudy(String studyInstanceUid)
--- End of inner exception stack trace ---
at ClearCanvas.Dicom.DataStore.DataAccessLayer.DataStoreReader.GetStudy(String studyInstanceUid)
at ClearCanvas.ImageViewer.StudyLoaders.LocalDataStore.LocalDataStoreStudyLoader.OnStart(StudyLoaderArgs studyLoaderArgs)
at ClearCanvas.ImageViewer.StudyManagement.StudyLoader.Start(StudyLoaderArgs studyLoaderArgs)
--- End of inner exception stack trace ---
at ClearCanvas.ImageViewer.StudyManagement.StudyLoader.Start(StudyLoaderArgs studyLoaderArgs)
at ClearCanvas.ImageViewer.ImageViewerComponent.SingleStudyLoader.LoadSops()
at ClearCanvas.ImageViewer.ImageViewerComponent.SingleStudyLoader.LoadStudy()
2009-12-19 03:29:46,021 [1] ERROR - Exception thrown
ClearCanvas.ImageViewer.LoadStudyException: An error occurred while attempting to load study '1.2.124.113532.199.165.153.36.20090306.150302.3359250'. ---> ClearCanvas.Dicom.DataStore.DataStoreException: An error occurred while attempting to retrieve the study (1.2.124.113532.199.165.153.36.20090306.150302.3359250) from the data store. ---> NHibernate.ADOException: cannot open connection ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at System.ModuleHandle._GetPEKind(Int32& peKind, Int32& machine)
at System.ModuleHandle.GetPEKind(PortableExecutableKinds& peKind, ImageFileMachine& machine)
at System.Reflection.Module.GetPEKind(PortableExecutableKinds& peKind, ImageFileMachine& machine)
at System.Reflection.Assembly.ComputeProcArchIndex()
at System.Reflection.Assembly.GetName(Boolean copiedName)
at System.Reflection.Assembly.GetName()
at System.Data.SqlServerCe.SqlCeRestriction.IsWebHosted()
at System.Data.SqlServerCe.SqlCeRestriction.CheckExplicitWebHosting()
at System.Data.SqlServerCe.SqlCeConnection..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at NHibernate.Driver.ReflectionBasedDriver.CreateConnection()
at NHibernate.Connection.DriverConnectionProvider.GetConnection()
at NHibernate.Impl.SessionFactoryImpl.OpenConnection()
--- End of inner exception stack trace ---
at NHibernate.Impl.SessionFactoryImpl.OpenConnection()
at NHibernate.AdoNet.ConnectionManager.GetConnection()
at NHibernate.Impl.SessionImpl.get_Connection()
at NHibernate.Transaction.AdoTransaction.Begin(IsolationLevel isolationLevel)
at NHibernate.Transaction.AdoTransaction.Begin()
at ClearCanvas.Dicom.DataStore.DataAccessLayer.SessionManager.BeginReadTransaction()
at ClearCanvas.Dicom.DataStore.DataAccessLayer.DataStoreReader.GetStudy(String studyInstanceUid)
--- End of inner exception stack trace ---
at ClearCanvas.Dicom.DataStore.DataAccessLayer.DataStoreReader.GetStudy(String studyInstanceUid)
at ClearCanvas.ImageViewer.StudyLoaders.LocalDataStore.LocalDataStoreStudyLoader.OnStart(StudyLoaderArgs studyLoaderArgs)
at ClearCanvas.ImageViewer.StudyManagement.StudyLoader.Start(StudyLoaderArgs studyLoaderArgs)
--- End of inner exception stack trace ---
at ClearCanvas.ImageViewer.ImageViewerComponent.LoadStudy(LoadStudyArgs loadStudyArgs)
at ClearCanvas.ImageViewer.ImageViewerComponent.LoadStudies(IList`1 loadStudyArgs)
at ClearCanvas.ImageViewer.StudyManagement.OpenStudyHelper.LoadAndOpenStudies()
2009-12-19 03:29:46,021 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
Thanks!
-Seth
PS I'm very glad the MOVESCU was patched in V2.0 to allow for series moves! Also, the screencast section of the site is a nice addition. Too bad my trial of Camtasia studio expired.