microsoft / microsoft/Analysis-Services

Set-SemanticModelParameters fails with "Sequence contains no elements" when deserializing semantic model folder

Open
#366 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
732
Forks
433
PR merge metrics
No merged PRs in 30d

Description

I’m encountering an error while uploading a semantic model using the Set-SemanticModelParameters function. The error occurs during the call to DeserializeDatabaseFromFolder:

Image Image

We have verified that the path exists and is correct, so the error does not seem to be caused by a missing folder. I’d really appreciate any guidance or suggestions you might have to help resolve this issue. Thank you in advance for your time and support!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Set-SemanticModelParameters entry point and follow its call to DeserializeDatabaseFromFolder, using the reported folder path and screenshots to reproduce the deserialization failure. Confirm why the folder produces “Sequence contains no elements,” then document or implement a fix and verify that the semantic model uploads successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.