I have a web application where I am creating an org chart with Visio. In the
web config file I am using impersonation to specify a user account that has
permission to instantiate Visio. This application was working fine until I
had to reboot the web server. Now I get an error:

Error instantiating Microsoft Visio Application. Please have the system
administrator check to make sure Microsoft Visio is installed and working
properly on this web server. Error reported was:
System.Runtime.InteropServices.COMException (0x80080005): Server execution
failed at BassTax.Default.renderVisioFile(Guid DrawingID, String EntityName) .

The strange thing is that if I am logged into the webserver using the
account that I impersonate. The application works fine. If I am not logged
in I get the above error. I can see in TaskManager that even when I get the
error that a Visio process is started.

Any suggestions would be welcomed.