Thursday, September 20, 2007

Prompt for downloading word documents

I have created a functionality that will allow the users to download a pdf or a word document. The download was working fine when I used it, but on another machine I noticed that the prompt for download that asks the user whether to open or save the word file was not appearing.

These are the steps you need to follow when you are faced with this problem.

Go to the windows explorer,
Choose Tools-- Folder options
Click on File Types tab
Choose file type 'DOC' for word, 'PPT' for Powerpoint etc.
Click on the Advanced botton
Make sure that the "confirm open to download" checkbox is ticked.

Hope you enjoy it.

No comments:

INSERT EXEC failed because the stored procedure altered the schema of the target table.

This morning I was trying to call a stored procedure and insert the results in a temp table using the following code  -- create table #...