# Obsidian fails to render .pdf when accessing a vault via windows network share

**URL:** <https://forum.obsidian.md/t/obsidian-fails-to-render-pdf-when-accessing-a-vault-via-windows-network-share/45819>\
**Category:** Help\
**Tags:** wontfix, repro\
**Created:** [October 21, 2022, 12:15pm UTC](https://forum.obsidian.md/t/obsidian-fails-to-render-pdf-when-accessing-a-vault-via-windows-network-share/45819 "2022-10-21T12:15:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![toad\_1998](https://forum.obsidian.md/user_avatar/forum.obsidian.md/toad_1998/32/36455_2.png) [@toad\_1998](https://forum.obsidian.md/u/toad_1998)\
**Post date:** [October 21, 2022, 12:15pm UTC](https://forum.obsidian.md/t/obsidian-fails-to-render-pdf-when-accessing-a-vault-via-windows-network-share/45819/1 "2022-10-21T12:15:40Z")

</div>

Obsidian 1.0 fails to render .pdf when accessing a vault via windows network share.  
When using my desktop to access a vault on my laptop using windows network share, pdfs render as empty spots on my desktop, whilst rendering fine on my laptop. this used to work before the update.

### Steps to reproduce

- Create a vault on device “A”
- Add pdf to vault
- Enable windows network share on device “A”
- Connect to device “A” with device “B” using network share
- Add the vault to device “B” obsidian (network link)
- open the .pdf in obsidian on device “A” and “B”

### Expected result

Obsidian on devices “A” and “B” displays the contents of the opened .pdf

 ![Pasted image 20221021141218](https://forum.obsidian.md/uploads/default/original/3X/e/8/e84e96a215f1a88f2342c560823bccefb9f76c88.png)

### Actual result

Only obsidian on device “A” shows the content of the pdf./Device “B” does not display pdf content.

 ![Screenshot 2022-10-21 140948](https://forum.obsidian.md/uploads/default/original/3X/d/4/d40bfb87e159527f621725800191e2830c1140c2.png)

### Environment

- Operating system: Windows 10

- Debug info:  
SYSTEM INFO:  
Obsidian version: v1.0.0  
Installer version: v1.0.0  
Operating system: Windows 10 Home 10.0.19043  
Login status: not logged in  
Insider build toggle: off  
Live preview: off  
Legacy editor: off  
Base theme: dark  
Community theme: none  
Snippets enabled: 1  
Restricted mode: on

RECOMMENDATIONS:  
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.

* * *

### Additional information

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [October 21, 2022, 2:00pm UTC](https://forum.obsidian.md/t/obsidian-fails-to-render-pdf-when-accessing-a-vault-via-windows-network-share/45819/2 "2022-10-21T14:00:51Z")

</div>

This is not a bug. It’s the byproduct of security features imposed on iframes (which the pdf viewer uses) on network resources.

---

<div class="post-metadata">

**Author:** ![toad\_1998](https://forum.obsidian.md/user_avatar/forum.obsidian.md/toad_1998/32/36455_2.png) [@toad\_1998](https://forum.obsidian.md/u/toad_1998)\
**Post date:** [October 21, 2022, 2:28pm UTC](https://forum.obsidian.md/t/obsidian-fails-to-render-pdf-when-accessing-a-vault-via-windows-network-share/45819/3 "2022-10-21T14:28:24Z")

</div>

I see. So are pdfs are _only_ viewable when the vault is stored locally? With no workarounds for my use-case or e.g NAS.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [October 21, 2022, 2:32pm UTC](https://forum.obsidian.md/t/obsidian-fails-to-render-pdf-when-accessing-a-vault-via-windows-network-share/45819/4 "2022-10-21T14:32:56Z")

</div>

That is correct. I have not tried it but you can try if mapping the network drive to a “virtual” local drive bypasses the issue.

---

<div class="post-metadata">

**Author:** ![toad\_1998](https://forum.obsidian.md/user_avatar/forum.obsidian.md/toad_1998/32/36455_2.png) [@toad\_1998](https://forum.obsidian.md/u/toad_1998)\
**Post date:** [October 21, 2022, 2:42pm UTC](https://forum.obsidian.md/t/obsidian-fails-to-render-pdf-when-accessing-a-vault-via-windows-network-share/45819/5 "2022-10-21T14:42:17Z")

</div>

I tried your suggestion, it works:

After mapping the shared folder as a network drive (Explorer-\>This PC-\>“ **Map network drive** ”) and adding _it_ as a vault, the pdf render.

Thank you for the tip, now i can spread out my work on my bigger screen!  
Have a good day.

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [October 28, 2022, 2:42pm UTC](https://forum.obsidian.md/t/obsidian-fails-to-render-pdf-when-accessing-a-vault-via-windows-network-share/45819/6 "2022-10-28T14:42:38Z")

</div>

Closed on October 28, 2022, 2:42pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
