Click here to Skip to main content
15,949,686 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: What is wrong ? Pin
A kamath19-May-07 2:20
A kamath19-May-07 2:20 
QuestionEditable Combobox/ Dropdownlist Pin
Rajiya19-May-07 0:43
Rajiya19-May-07 0:43 
AnswerRe: Editable Combobox/ Dropdownlist Pin
Christian Graus19-May-07 1:43
protectorChristian Graus19-May-07 1:43 
GeneralRe: Editable Combobox/ Dropdownlist Pin
Rajiya19-May-07 3:16
Rajiya19-May-07 3:16 
QuestionForm Authentication Pin
248912818-May-07 21:30
248912818-May-07 21:30 
Questioncloning a website Pin
IrfanHaleem18-May-07 20:37
IrfanHaleem18-May-07 20:37 
AnswerRe: cloning a website Pin
Christian Graus19-May-07 1:44
protectorChristian Graus19-May-07 1:44 
QuestionProblem while opening MS-Word files using APIs Pin
Abhishek Joshi18-May-07 20:05
Abhishek Joshi18-May-07 20:05 
Hi,

I am facing problem of COMException while opening MS-Word files using on
Windows Server 2003. I am refering Interop.Word.dll for opening MS-Word files to count the
number of words from it.

I am using following API to open the doc files.
Word.ApplicationClass wordApp = null;
Word.Document aDoc = null;
aDoc = wordApp.Documents.Open(ref fileName, ref missing, ref readOnly, ref missing, ref missing, ref missing, <br /> ref missing, ref missing, ref missing, ref missing, ref missing, ref isVisible, <br />ref missing, ref missing, ref missing, ref missing);
aDoc.Activate();
If I deploy above code on
Windows 2000 professional then it works without error but if I deploy same code on Windows Server 2003 then I get following exception.
System.Runtime.InteropServices.COMException (0x800A1066): Command failed at <br /> Word.Documents.Open(Object& FileName, Object& ConfirmConversions, Object& ReadOnly, Object& AddToRecentFiles,<br />Object& PasswordDocument,  Object& PasswordTemplate, Object& Revert, Object& WritePasswordDocument, <br /> Object& WritePasswordTemplate, Object& Format, Object& Encoding,  Object& Visible, <br /> Object& OpenAndRepair, Object& DocumentDirection, Object& NoEncodingDialog, Object& XMLTransform)

Please tell me solution for it.


-- modified at 2:43 Saturday 19th May, 2007

#Abhi#

AnswerRe: Problem while opening MS-Word files using APIs Pin
koolprasad200319-May-07 0:55
professionalkoolprasad200319-May-07 0:55 
QuestionExport datagrid values to TextFile(CSV Format) Pin
jeya krishnan.v18-May-07 18:48
jeya krishnan.v18-May-07 18:48 
AnswerRe: Export datagrid values to TextFile(CSV Format) Pin
wEb GuRu...19-May-07 3:36
wEb GuRu...19-May-07 3:36 
QuestionDataGrid Pin
kumarjammula18-May-07 17:27
kumarjammula18-May-07 17:27 
AnswerRe: DataGrid Pin
enjoycrack18-May-07 17:32
enjoycrack18-May-07 17:32 
GeneralRe: DataGrid Pin
kumarjammula18-May-07 17:44
kumarjammula18-May-07 17:44 
GeneralRe: DataGrid Pin
enjoycrack18-May-07 17:47
enjoycrack18-May-07 17:47 
AnswerRe: DataGrid Pin
Sathesh Sakthivel18-May-07 17:59
Sathesh Sakthivel18-May-07 17:59 
QuestionHelp me how to upload files to server using ASP.NET Pin
Hanh Aeriscute18-May-07 16:52
Hanh Aeriscute18-May-07 16:52 
QuestionRe: [Same Query] Help me how to upload files to server using ASP.NET [modified] Pin
nareshss18-May-07 17:48
nareshss18-May-07 17:48 
QuestionGetting a Photo into a radiobuttonlist Pin
Mxrider8418-May-07 14:14
Mxrider8418-May-07 14:14 
AnswerRe: Getting a Photo into a radiobuttonlist Pin
Mxrider8418-May-07 14:44
Mxrider8418-May-07 14:44 
Questionserving a file as a response to a HTML GET Request [modified] Pin
Glen Harvy18-May-07 13:56
Glen Harvy18-May-07 13:56 
AnswerRe: serving a file as a response to a HTML GET Request Pin
kubben19-May-07 2:30
kubben19-May-07 2:30 
GeneralRe: serving a file as a response to a HTML GET Request Pin
Glen Harvy19-May-07 2:55
Glen Harvy19-May-07 2:55 
Questionregarding forum!!!!!!!!!!!!!!!!!!! Pin
s_a_20026318-May-07 10:54
s_a_20026318-May-07 10:54 
AnswerRe: regarding forum!!!!!!!!!!!!!!!!!!! Pin
Christian Graus18-May-07 14:01
protectorChristian Graus18-May-07 14:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.