Visio SaveAs Displays "File not found"

Y

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 in 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!!!
 
B

Betty Carson

Try to see is there is any problem with the extension of the file you are trying to save.
If this is ok, you should see which Add-on tool of Visio 2007 you are using, that way you will know if anything is missed out.
http://visiotoolbox.com/downloads/addins/



Yangyong wrote:

Visio SaveAs Displays "File not found"
12-Feb-10

We have a C# project, which uses Visio Drawing Control to draw diagrams. W
have a lot of clients who use the program happily without any problem. Th
program gone through several updates. And suddenly, one client has thi
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, window
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 is quite strange because only this client has this problem. We even copie
all the running folder from client and run it in our machine, and it run
without any problem. We asked the client to upgrade to lastest Visio Servic
pack, and .net framework service pack, disabled all the Visio add-ins
macros. Nothing works

Please help!!!

Previous Posts In This Thread:


Submitted via EggHeadCafe - Software Developer Portal of Choice
SharePoint List Usage and Statistics
http://www.eggheadcafe.com/tutorial...d-9723a79fdb14/sharepoint-list-usage-and.aspx
 
B

Betty Carson

Microsoft Visio Add-in for 2007 require some configuration to happen properly.
Do check for the extension in which oyu are trying to save the file.
http://visiotoolbox.com/downloads/addins/



Yangyong wrote:

Visio SaveAs Displays "File not found"
12-Feb-10

We have a C# project, which uses Visio Drawing Control to draw diagrams. W
have a lot of clients who use the program happily without any problem. Th
program gone through several updates. And suddenly, one client has thi
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, window
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 is quite strange because only this client has this problem. We even copie
all the running folder from client and run it in our machine, and it run
without any problem. We asked the client to upgrade to lastest Visio Servic
pack, and .net framework service pack, disabled all the Visio add-ins
macros. Nothing works

Please help!!!

Previous Posts In This Thread:


Submitted via EggHeadCafe - Software Developer Portal of Choice
Dr. Dotnetsky's Cool .Net Tips and Tricks No. 26
http://www.eggheadcafe.com/tutorial...be30-cde5d852348d/dr-dotnetskys-cool-net.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top