Click here to Skip to main content
15,845,912 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: What is wrong ? Pin
A kamath19-May-07 3:20
A kamath19-May-07 3:20 
QuestionEditable Combobox/ Dropdownlist Pin
Rajiya19-May-07 1:43
Rajiya19-May-07 1:43 
AnswerRe: Editable Combobox/ Dropdownlist Pin
Christian Graus19-May-07 2:43
protectorChristian Graus19-May-07 2:43 
GeneralRe: Editable Combobox/ Dropdownlist Pin
Rajiya19-May-07 4:16
Rajiya19-May-07 4:16 
QuestionForm Authentication Pin
248912818-May-07 22:30
248912818-May-07 22:30 
Questioncloning a website Pin
IrfanHaleem18-May-07 21:37
IrfanHaleem18-May-07 21:37 
AnswerRe: cloning a website Pin
Christian Graus19-May-07 2:44
protectorChristian Graus19-May-07 2:44 
QuestionProblem while opening MS-Word files using APIs Pin
Abhishek Joshi18-May-07 21:05
Abhishek Joshi18-May-07 21: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 1:55
professionalkoolprasad200319-May-07 1:55 
QuestionExport datagrid values to TextFile(CSV Format) Pin
jeya krishnan.v18-May-07 19:48
jeya krishnan.v18-May-07 19:48 
AnswerRe: Export datagrid values to TextFile(CSV Format) Pin
wEb GuRu...19-May-07 4:36
wEb GuRu...19-May-07 4:36 
QuestionDataGrid Pin
kumarjammula18-May-07 18:27
kumarjammula18-May-07 18:27 
AnswerRe: DataGrid Pin
enjoycrack18-May-07 18:32
enjoycrack18-May-07 18:32 
GeneralRe: DataGrid Pin
kumarjammula18-May-07 18:44
kumarjammula18-May-07 18:44 
GeneralRe: DataGrid Pin
enjoycrack18-May-07 18:47
enjoycrack18-May-07 18:47 
AnswerRe: DataGrid Pin
Sathesh Sakthivel18-May-07 18:59
Sathesh Sakthivel18-May-07 18:59 
QuestionHelp me how to upload files to server using ASP.NET Pin
Hanh Aeriscute18-May-07 17:52
Hanh Aeriscute18-May-07 17:52 
QuestionRe: [Same Query] Help me how to upload files to server using ASP.NET [modified] Pin
nareshss18-May-07 18:48
nareshss18-May-07 18:48 
QuestionGetting a Photo into a radiobuttonlist Pin
Mxrider8418-May-07 15:14
Mxrider8418-May-07 15:14 
AnswerRe: Getting a Photo into a radiobuttonlist Pin
Mxrider8418-May-07 15:44
Mxrider8418-May-07 15:44 
Questionserving a file as a response to a HTML GET Request [modified] Pin
Glen Harvy18-May-07 14:56
Glen Harvy18-May-07 14:56 
AnswerRe: serving a file as a response to a HTML GET Request Pin
kubben19-May-07 3:30
kubben19-May-07 3:30 
GeneralRe: serving a file as a response to a HTML GET Request Pin
Glen Harvy19-May-07 3:55
Glen Harvy19-May-07 3:55 
Questionregarding forum!!!!!!!!!!!!!!!!!!! Pin
s_a_20026318-May-07 11:54
s_a_20026318-May-07 11:54 
AnswerRe: regarding forum!!!!!!!!!!!!!!!!!!! Pin
Christian Graus18-May-07 15:01
protectorChristian Graus18-May-07 15: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.