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

Visio SaveAs Displays "File not found"

Started by Yangyong, February 12, 2010, 09:27:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yangyong

We have a C# project, which uses Visio Drawing Control to draw diagrams. We
have a lot of clients who use the program happily without any problem. The
program gone through several updates. And suddenly, one client has this
problem. When they try to save visio file, they get the "File not found"
message.

The running environment is: Visio 2007 sp2, .net framework 3.5 sp1, windows
XP. And the client has used this software without any problem before update.

I injected a lot of log message, and identified problem as:
this.axDrawingControl1.Document.SaveAs(visioFileFullPath);

It's quite strange because only this client has this problem. We even copied
all the running folder from client and run it on our machine, and it runs
without any problem. We asked the client to upgrade to lastest Visio Service
pack, and .net framework service pack, disabled all the Visio add-ins,
macros. Nothing works.

Please help!!!

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: 130 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1049KB.
Tokens: post-login.
Cache hits: 13: 0.00160s for 26,725 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]