Author Topic: Error 100  (Read 355 times)

0 Members and 1 Guest are viewing this topic.

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2402
    • Paul Herber's website
Error 100
« on: December 31, 2016, 09:29:21 AM »
While working on some of my stencils I got the following:

An error (100) occured during the action Open Stencil
Visio cannot open the file because it's not a Visio file or it has become corrupted.

I was trying to open about 10 stencils at the same time but I'd been doing that all morning with no problem. So, I thought maybe memory resources are getting low so I close down Visio and restart the computer. Made no difference.
Next I open each file individually: all open correctly.
Ah, now I see that two of the files have the same file name except one is a .vss and one is a .vsx. Try to open just those two and I get the error and neither file gets opened.
All the documentation states that this error is caused by the file being corrupt or it not being a Visio file, but it seems to be just a more generic open file error but someone has decided to gold-plate it by stating some specific reasons that indicate that they are the only reasons for the error.
I hope this is useful to someone.
« Last Edit: December 31, 2016, 11:50:19 AM by Paul Herber »
Engineering, business and software stencils and applications for Visio - http://www.paulherber.co.uk/

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2563
  • Ideas Visio-lized into solutions
Re: Error 100
« Reply #1 on: December 31, 2016, 02:54:35 PM »
Paul,

Which Visio release?

Wapperdude

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2402
    • Paul Herber's website
Re: Error 100
« Reply #2 on: January 01, 2017, 09:05:00 AM »
Visio 2010. I'll try 2003 and 2007 later.
Happy new year!
Engineering, business and software stencils and applications for Visio - http://www.paulherber.co.uk/

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2402
    • Paul Herber's website
Re: Error 100
« Reply #3 on: January 01, 2017, 10:33:24 AM »
It's similar in Visio 2003 and 2007, except with both of these one of the files (the .vsx file) gets opened and displayed.
Visio 2010 opens neither of them. Opening three files (one  plus the two duplicates) opens just the first file. The two duplicates + one more opens none of them so it looks like some badly coded stencil open code that just exits if it finds a little error like this. Awful.

Engineering, business and software stencils and applications for Visio - http://www.paulherber.co.uk/

vojo

  • Hero Member
  • *****
  • Posts: 1003
Re: Error 100
« Reply #4 on: January 01, 2017, 02:17:26 PM »
paul...thru my trials and tribulations RE 2013, I have been able to open VSS and VSX on the same drawing.
(did not do it simultaneously...but sequentially)

2013 on W7.

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2402
    • Paul Herber's website
Re: Error 100
« Reply #5 on: January 02, 2017, 10:35:35 AM »
Hi vojo, it's not just any old .vss and .vsx files, it's two files of the same name but one .vss and the other .vsx e.g. blocks.vss and blocks.vsx
Engineering, business and software stencils and applications for Visio - http://www.paulherber.co.uk/

vojo

  • Hero Member
  • *****
  • Posts: 1003
Re: Error 100
« Reply #6 on: January 02, 2017, 06:12:21 PM »
fair enough...but 2 files with same name and different suffixes are represented in NTFS as 2 different files
with different handles.  So if this is true, its a VISIO problem

At any rate, I have been able to read in a VSS and save as VSX with no problem.
on 2003, I was able to read in 2 stencils (same name and suffix but different directories) with no problems.