News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

An error (318) occurred during the action Drop On Stencil.

Started by Visisthebest, March 09, 2023, 07:35:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Visisthebest

For a group shape that is not or has been a container, I get this weird error:

An error (318) occurred during the action Drop On Stencil.
Referenced cell User.msvSDContainerNoRibbon does not exist.

Even if I create this named user section row in the shape, which is nonsensical as this is not a Container nor does it have any other container user section rows., still I get the same error.

Any ideas about how to fix this error are much appreciated!
Visio 2021 Professional

Surrogate

Quote from: Visisthebest on March 09, 2023, 07:35:30 PMAny ideas about how to fix this error are much appreciated!
Very old blog post Error #318 Explained.
I made my solution, which fix this error (or rather one of the causes of this error), you can read about it there.

There we also have same discussion: SETATREF with Shape Data causing Error 318...

Visisthebest

Thank you Surrogate will try to see if I can fix it this way!
Visio 2021 Professional

Visisthebest

#3
Surrogate it is clear that the issue is indeed formulas in the document's shapesheet that shape cells are referring to, but this time the issue is with a twist.

Somehow between the current document that has been extensively changed and the current stencil that has been extensively changed (meaning user section cells have been added and removed and changed their contents several times as shapes were developed), something between the document and the stencil is mismatching.

If I move the shapes either in to a clean document or in to a clean stencil (just one of them), the issue just disappears. In this case Visio seems to be holding on to old information about the shapes and the documents, as the user section cells that were the problem were removed (and the references in the shape cells to them were removed as well of course), yet in the old document and stencil the issue cannot be resolved. Some old information seems to be sticking around, in the document stencil masters maybe? (I have not edited document stencil masters directly, but I have dragged in updated masters from the stencil frequently).

Only when either a fresh new stencil and/or document is used, Error 318 disappears.
Visio 2021 Professional

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 209 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1058KB.
Tokens: post-login.
Cache hits: 13: 0.00194s for 26,731 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]