Click here to Skip to main content
15,911,646 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i create a code for converting doc file to html and display that html file in asp webpage.It works fine in my local machine when i run that same in remote it gives


'This command is not available because no document is open.'

error.please help to solve this
Posted
Comments
Ed Nutting 18-Apr-12 4:28am    
Hi there,
Surely this error is fairly self explanatory? On your server it is not opening the document and so "this command is not available because no document is open.". Your problem therefore is probably that you have forgotten to copy the file you are trying to open across to your server or you are trying to access a file on your local machine from your server which almost certainly isn't possible. Put the file on your server then put in your code a valid path to that file.

Hope this helps,
Ed
saravananraju 18-Apr-12 4:31am    
i kept that file in server also but im getting that same error
Herman<T>.Instance 18-Apr-12 4:50am    
then you might not have the appropriate rights on the server to open the document.

1 solution

 
Share this answer
 
v2
Comments
Member 4463638 29-Jun-15 1:16am    
Still not solve

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900