Click here to Skip to main content
15,903,203 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Mapping printers from a webpage Pin
Eddy Vluggen15-Dec-09 8:55
professionalEddy Vluggen15-Dec-09 8:55 
GeneralRe: Mapping printers from a webpage Pin
Not Active15-Dec-09 9:05
mentorNot Active15-Dec-09 9:05 
GeneralRe: Mapping printers from a webpage Pin
Eddy Vluggen15-Dec-09 9:18
professionalEddy Vluggen15-Dec-09 9:18 
GeneralRe: Mapping printers from a webpage Pin
Not Active15-Dec-09 17:13
mentorNot Active15-Dec-09 17:13 
QuestionErr Msg: retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154 [modified] Pin
Jeneesh K. Velayudhan15-Dec-09 1:11
Jeneesh K. Velayudhan15-Dec-09 1:11 
AnswerRe: Err Msg: retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154 Pin
Pete O'Hanlon15-Dec-09 1:26
mvePete O'Hanlon15-Dec-09 1:26 
GeneralRe: Err Msg: retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154 Pin
Jeneesh K. Velayudhan22-Dec-09 15:51
Jeneesh K. Velayudhan22-Dec-09 15:51 
AnswerRe: Err Msg: retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154 Pin
The Man from U.N.C.L.E.15-Dec-09 10:16
The Man from U.N.C.L.E.15-Dec-09 10:16 
I assume a typo there in that surely you have upgraded to 64bit as having a 16 bit server still running is quite impressive, more than 17 years by my reckoning, that being when Windows NT 3.1 brought 32-bit into the world.

Two problems spring to mind, the first is that you will have a 32-bit interop assembly, not a 64-bit one. This is fine in a GUI based solution as you can compile for 32-bit and run in 32-bit mode, however on a server it is a little more tricky. You would have to pre-compile your web app for 32-bit, and even then you may have problems. When installing office it auto-detects your operating system and installs 64 or 32-bit as appropriate so even if you persuade your web app to run in 32-bit the underlying com object will be 64-bit. Microsoft have not released a 64-bit interop assembly package for office.

Final problem is that office automation will not work running under a service such as IIS on a 64-bit server, and that usage is not supported by Microsoft. Part of the issue is the manner in which 64-bit servers initialise the office process. They fire it up in the Administrator profile rather than the profile you are running under meaning that you will not be able to access any documents you try to open.

Not so much help, as bad news I'm afraid. We are facing the same issue, but thankfully are just starting to develop our app and so have no code to scrap.

If you have knowledge, let others light their candles at it.
Margaret Fuller (1810 - 1850)
[My Articles]  [My Website]

GeneralRe: Err Msg: retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154 Pin
5to1baby1in519-Dec-09 6:24
5to1baby1in519-Dec-09 6:24 
GeneralRe: Err Msg: retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154 Pin
Jeneesh K. Velayudhan20-Dec-09 20:05
Jeneesh K. Velayudhan20-Dec-09 20:05 
Questionreport viewer Pin
Member 59031014-Dec-09 18:33
Member 59031014-Dec-09 18:33 
AnswerRe: report viewer Pin
Russ-T24-Dec-09 2:27
Russ-T24-Dec-09 2:27 
QuestionStored procedure in formula in crystal report ... Pin
devboycpp14-Dec-09 3:48
devboycpp14-Dec-09 3:48 
QuestionThe remote server returned an error: (401) Unauthorized Help Please Pin
J71rivera12-Dec-09 20:40
J71rivera12-Dec-09 20:40 
AnswerRe: The remote server returned an error: (401) Unauthorized Help Please Pin
Mark Salsbery13-Dec-09 8:19
Mark Salsbery13-Dec-09 8:19 
QuestionMultithreading in WinForm/WPF Application Pin
sandeepranjan11-Dec-09 15:11
sandeepranjan11-Dec-09 15:11 
AnswerRe: Multithreading in WinForm/WPF Application Pin
Super Lloyd15-Dec-09 17:52
Super Lloyd15-Dec-09 17:52 
AnswerRe: Multithreading in WinForm/WPF Application Pin
Super Lloyd17-Dec-09 0:19
Super Lloyd17-Dec-09 0:19 
QuestionVSTO Excel c# UDF error when pass params Object[] Pin
Diego Gagliano10-Dec-09 14:02
Diego Gagliano10-Dec-09 14:02 
QuestionHow does IDisposable Interface Generate Dispose sub? Pin
Polymorpher10-Dec-09 5:43
Polymorpher10-Dec-09 5:43 
AnswerRe: How does IDisposable Interface Generate Dispose sub? Pin
Paulo Zemek10-Dec-09 6:42
Paulo Zemek10-Dec-09 6:42 
GeneralRe: How does IDisposable Interface Generate Dispose sub? Pin
Polymorpher10-Dec-09 12:55
Polymorpher10-Dec-09 12:55 
GeneralRe: How does IDisposable Interface Generate Dispose sub? Pin
Mark Salsbery10-Dec-09 13:00
Mark Salsbery10-Dec-09 13:00 
GeneralRe: How does IDisposable Interface Generate Dispose sub? Pin
Paulo Zemek10-Dec-09 13:26
Paulo Zemek10-Dec-09 13:26 
GeneralRe: How does IDisposable Interface Generate Dispose sub? Pin
Polymorpher10-Dec-09 14:41
Polymorpher10-Dec-09 14:41 

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.