G
Guest
We have a web based (asp) application that uses the Excel object to generate
reports. The code triggered is in an Add-In for Excel (xla).
The application runs fine for several weeks, than suddenly hangs. After
looking at the web server console the cause is that Excel displayes a
dialogue:
"Excel failed to start correctly last time. Starting Excel in safe mode will
help you correct or isolate a startup problem in order to successfully start
the program. Some functionality may be disabled in yhis mode.
Do you want to start Excel in safe mode?"
Since the web application user do not see this dialogue, the application
hangs. We have "solved" this problem by closing all Excel sessions on the web
server, and restarted the IIS service. Then it runs again for a couple of
weeks.
Now to the questions:
- Is there any way to avoid Excel from prompting to start in safe mode, even
if it crashed the last time?
- What can the causes the problem "Excel failed to start correctly last
time"
- Is there a log for Excel somewhere than can identify the problem?
- We can not start Excel in safe mode since our Add-in does not get loaded
in that mode.
Thankful for any help!
reports. The code triggered is in an Add-In for Excel (xla).
The application runs fine for several weeks, than suddenly hangs. After
looking at the web server console the cause is that Excel displayes a
dialogue:
"Excel failed to start correctly last time. Starting Excel in safe mode will
help you correct or isolate a startup problem in order to successfully start
the program. Some functionality may be disabled in yhis mode.
Do you want to start Excel in safe mode?"
Since the web application user do not see this dialogue, the application
hangs. We have "solved" this problem by closing all Excel sessions on the web
server, and restarted the IIS service. Then it runs again for a couple of
weeks.
Now to the questions:
- Is there any way to avoid Excel from prompting to start in safe mode, even
if it crashed the last time?
- What can the causes the problem "Excel failed to start correctly last
time"
- Is there a log for Excel somewhere than can identify the problem?
- We can not start Excel in safe mode since our Add-in does not get loaded
in that mode.
Thankful for any help!