Comments (8)
Are you updating an existing service? If so, what schema version was previously referenced?
Or are you creating a new service?
from dicom-server.
I am running it as a new service, no database exists, so when I run the project it creates db but in further steps it fails.
from dicom-server.
How are you deploying your service? Are you using the ARM template provided?
Can you also check the schema version table on your SQL DB to see what it says there? What versions are listed? Did they fail or succeed to register?
from dicom-server.
Im currently running it locally in dev environment.
tables are not getting created on initial run, only database is created.
some lines from logs.
warn: Microsoft.Health.SqlServer.Features.Schema.SchemaInitializer[0]
Could not find stored procedure - dbo.SelectCurrentSchemaVersion
info: Microsoft.Health.SqlServer.Features.Schema.SchemaInitializer[0]
Initial check of schema version is NULL
...
...
...
info: Microsoft.Health.Dicom.Core.Features.Partition.PartitionCache[0]
Cache miss. Initializing the row.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[105]
Executed action Microsoft.Health.Dicom.Api.Controllers.QueryController.QueryForStudyAsync (Microsoft.Health.Dicom.Api) in 931.399ms
warn: Microsoft.Health.Dicom.Api.Features.Exceptions.ExceptionHandlingMiddleware[0]
Service exception.
Microsoft.Health.Dicom.Core.Exceptions.DataStoreNotReadyException: Current SQL schema version could not be resolved.
at Microsoft.Health.Dicom.SqlServer.Features.Schema.VersionedCache`1.ResolveAsync(CancellationToken cancellationToken) in
from dicom-server.
may be default stored procedures are not getting created from shared health package and Initial check of schema version is NULL error is coming.
from dicom-server.
Have you been through these instructions if you are running the service locally? https://github.com/microsoft/dicom-server/blob/main/docs/development/setup.md
from dicom-server.
Have you been through these instructions if you are running the service locally? https://github.com/microsoft/dicom-server/blob/main/docs/development/setup.md
Yes, I'm following the guidelines.
from dicom-server.
I have resolved the issue by following steps in SqlServer readme.md file. We can close this issue.
from dicom-server.
Related Issues (20)
- Online index operations can only be performed in Enterprise edition of SQL Server. HOT 1
- Solution Build fails for projects Dicom.Functions.App and Dicom.Web | [ Commit 511a865] HOT 2
- Unable to load shared library 'Dicom.Native-linux-x64.so' or one of its dependencies. HOT 14
- Help with connecting standalone OHIF deploymenet with dicom server
- Docker image build failure HOT 2
- Add support for callbacks in the export API HOT 4
- Azure DevOps error when restoring Microsoft.Health.Dicom.Client HOT 5
- Dependency Dashboard
- Action Required: Fix Renovate Configuration
- Build failing: Microsoft.Health.Dicom.SqlServer/Features/Schema/Migrations/9.sql"" exited with code 150. HOT 2
- Unable to get corresponding FHIR resource(Patient's data) in FHIR service. HOT 7
- Environment Variables and Workload Options Are Not Fully Configured HOT 1
- Container Status Remaining "Waiting" While Deploying DICOMCast HOT 3
- Getting an Error While Deploying Dicomcast via Azure With Azure Heathcare APIs HOT 5
- Unable to Retrieve Patient Data from FHIR Service When Authentication is Configured for FHIR & DICOM App Services. HOT 3
- DICOMCast Timeout Exceptions HOT 7
- 406 Unaccepted error with latest ohif viewer HOT 13
- Download study as a zip file of dcm files. HOT 5
- With latest changes server is not strating and stuck in health check
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dicom-server.