Skip to content

Commit 0be89cf

Browse files
Sloader update on _data/OpenXml.json
1 parent fe5f210 commit 0be89cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_data/OpenXml.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"Data":{"Sdk":{"Events":[{"Id":"4847713223","Type":"IssuesEvent","CreatedAt":"2025-11-22T07:05:44","Actor":"PeterAyad","Repository":"dotnet/Open-XML-SDK","Organization":"dotnet","RawContent":null,"RelatedAction":"closed","RelatedUrl":"https://github.com/dotnet/Open-XML-SDK/issues/1971","RelatedDescription":"Closed issue \"'Specified part does not exist' error message is not helpful\" (#1971) at dotnet/Open-XML-SDK","RelatedBody":"I am trying to open this file [testFile.docx](https://docs.google.com/document/d/1VVVcLk07EujdzBI9jTHSdYv5pP6mBOyw/edit?usp=drive_link&ouid=109338977916725867907&rtpof=true&sd=true)\n\nusing the code\n\n```c#\n static void Main(string[] args)\n {\n try\n {\n using (WordprocessingDocument doc = WordprocessingDocument.Open(\"testFile.docx\", false))\n {\n Console.WriteLine(\"File is opened!\");\n }\n }\n catch (Exception ex)\n {\n Console.WriteLine(\"General Exception caught:\");\n Console.WriteLine($\"Type: {ex.GetType()}\");\n Console.WriteLine($\"Message: {ex.Message}\");\n Console.WriteLine($\"StackTrace: {ex.StackTrace}\");\n }\n }\n```\n\nBut I am getting this message which isn't helpful\n\n> General Exception caught:\n> Type: System.InvalidOperationException\n> Message: Specified part does not exist in the package.\n> StackTrace: at System.IO.Packaging.Package.GetPart(Uri partUri)\n> at DocumentFormat.OpenXml.Features.PackageFeatureBase.DocumentFormat.OpenXml.Packaging.IPackage.GetPart(Uri uriTarget)\n> at DocumentFormat.OpenXml.Packaging.PackageUriHandlingExtensions.MalformedUriHandlingPackage.GetPart(Uri uriTarget)\n> at DocumentFormat.OpenXml.Packaging.OpenXmlPart.Load(OpenXmlPackage openXmlPackage, OpenXmlPart parent, Uri uriTarget, String id)\n> at DocumentFormat.OpenXml.Packaging.PartRelationshipsFeature.LoadReferencedPartsAndRelationships()\n> at DocumentFormat.OpenXml.Packaging.PartRelationshipsFeature.DocumentFormat.OpenXml.Features.IReferenceRelationshipsFeature.get_Relationships()\n> at DocumentFormat.OpenXml.Packaging.OpenXmlPartContainer.get_ExternalRelationships()\n> at Demo.Program.Main(String[] args) in ...\n\nIs there a way to find which part is missing?"},{"Id":"4835718176","Type":"PullRequestEvent","CreatedAt":"2025-11-21T15:09:09","Actor":"mkaszewiak","Repository":"dotnet/Open-XML-SDK","Organization":"dotnet","RawContent":null,"RelatedAction":"opened","RelatedUrl":null,"RelatedDescription":"Opened pull request \"\" (#1974) at dotnet/Open-XML-SDK","RelatedBody":null}],"ResultType":"GitHubEvent"}},"RunOn":"2025-11-28T03:30:23.8938198Z","RunDurationInMilliseconds":798}
1+
{"Data":{"Sdk":{"Events":[{"Id":"4847713223","Type":"IssuesEvent","CreatedAt":"2025-11-22T07:05:44","Actor":"PeterAyad","Repository":"dotnet/Open-XML-SDK","Organization":"dotnet","RawContent":null,"RelatedAction":"closed","RelatedUrl":"https://github.com/dotnet/Open-XML-SDK/issues/1971","RelatedDescription":"Closed issue \"'Specified part does not exist' error message is not helpful\" (#1971) at dotnet/Open-XML-SDK","RelatedBody":"I am trying to open this file [testFile.docx](https://docs.google.com/document/d/1VVVcLk07EujdzBI9jTHSdYv5pP6mBOyw/edit?usp=drive_link&ouid=109338977916725867907&rtpof=true&sd=true)\n\nusing the code\n\n```c#\n static void Main(string[] args)\n {\n try\n {\n using (WordprocessingDocument doc = WordprocessingDocument.Open(\"testFile.docx\", false))\n {\n Console.WriteLine(\"File is opened!\");\n }\n }\n catch (Exception ex)\n {\n Console.WriteLine(\"General Exception caught:\");\n Console.WriteLine($\"Type: {ex.GetType()}\");\n Console.WriteLine($\"Message: {ex.Message}\");\n Console.WriteLine($\"StackTrace: {ex.StackTrace}\");\n }\n }\n```\n\nBut I am getting this message which isn't helpful\n\n> General Exception caught:\n> Type: System.InvalidOperationException\n> Message: Specified part does not exist in the package.\n> StackTrace: at System.IO.Packaging.Package.GetPart(Uri partUri)\n> at DocumentFormat.OpenXml.Features.PackageFeatureBase.DocumentFormat.OpenXml.Packaging.IPackage.GetPart(Uri uriTarget)\n> at DocumentFormat.OpenXml.Packaging.PackageUriHandlingExtensions.MalformedUriHandlingPackage.GetPart(Uri uriTarget)\n> at DocumentFormat.OpenXml.Packaging.OpenXmlPart.Load(OpenXmlPackage openXmlPackage, OpenXmlPart parent, Uri uriTarget, String id)\n> at DocumentFormat.OpenXml.Packaging.PartRelationshipsFeature.LoadReferencedPartsAndRelationships()\n> at DocumentFormat.OpenXml.Packaging.PartRelationshipsFeature.DocumentFormat.OpenXml.Features.IReferenceRelationshipsFeature.get_Relationships()\n> at DocumentFormat.OpenXml.Packaging.OpenXmlPartContainer.get_ExternalRelationships()\n> at Demo.Program.Main(String[] args) in ...\n\nIs there a way to find which part is missing?"},{"Id":"4835718176","Type":"PullRequestEvent","CreatedAt":"2025-11-21T15:09:09","Actor":"mkaszewiak","Repository":"dotnet/Open-XML-SDK","Organization":"dotnet","RawContent":null,"RelatedAction":"opened","RelatedUrl":null,"RelatedDescription":"Opened pull request \"\" (#1974) at dotnet/Open-XML-SDK","RelatedBody":null}],"ResultType":"GitHubEvent"}},"RunOn":"2025-11-29T03:30:23.7436416Z","RunDurationInMilliseconds":767}

0 commit comments

Comments
 (0)