Opening Word from IE - Any way to get an Access Denied message?

J

JimLad

Hi all,

I am looking very simply for a way to load up a Word document on the
client side, with appropriate error handling. The cases I need to
cover are file does not exist, file is locked and user does not have
permission to view the file. Note that this is an intranet app and the
user will use their own permissions to access the file - it should
open directly in Word, not in IE.

Using a hyperlink with file:// or http:// and target="_self", the
error cases above all cause the basic IE error page. With
target="_blank" then file does not exist gives a reasonable error
message, the locking case opens the file in read only mode, but the
permissions case just leaves an empty IE window with no message.

As directed in http://support.microsoft.com/kb/178222, I tried a
client script solution, but this doesn't produce a decent error
message either (well, if script debugging is turned on it does, but I
don't want users seeing that).

Opening the file directly in Word gives the message "Access is denied.
Please contact your administrator." Is there any way to get this to
appear via IE?

Cheers,

James
 

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