Cannot open a macro enabled word document

  • Thread starter Thread starter Arun
  • Start date Start date
A

Arun

I uploaded a macro enabled word file to a web application and when I tried to
open it through the application I get a message “File Errorâ€..where as I can
open it from my hard drive.
When I tried to download that file to my system and open it I get the same
message. Please help
 
Hi Arun
I uploaded a macro enabled word file to a web application and when I tried to
open it through the application I get a message “File Errorâ€..where as I can
open it from my hard drive.

I doubt anyone can say much about an unknown web application. But this
latter sentence suggests that maybe the file was damaged during upload
(often: ASCII instead of BINARY via FTP).

2cents
Robert
 
Hi Robert

Thanks for the reply. This is a web application written in VB.net and SQL
Server2005 as back end. In this application users can upload their
departments procedures and manuals. Most of the files are in pdf format..
While some are in word format. Only macro enabled documents face this
problem. If that is the case how can we rectify it?
 
Hi Arun
Thanks for the reply. This is a web application written in VB.net and
SQL Server2005 as back end. In this application users can upload
their departments procedures and manuals. Most of the files are in pdf
format..
While some are in word format. Only macro enabled documents face this
problem. If that is the case how can we rectify it?

sorry, no idea.

Things to look into: How are the documents stored on the server? How are
they opened through the application again? What format (*.doc or
*.docx/docm) are you dealing with?

When you can establish that the document is fine before uploading, then
try to copy it directly as it is stored on the server and open it. If
that alredy throws the error, then you know that either during upload or
through your application storing it on your server/in your DB, the file
integrity has been violated.

If the files are still good there, well, then it's the downloading process.

2cents
Robert
 

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

Back
Top