Click here to Skip to main content
15,897,891 members
Home / Discussions / C#
   

C#

 
AnswerRe: An abstract singleton factory Pin
Richard Deeming24-Jun-15 4:29
mveRichard Deeming24-Jun-15 4:29 
AnswerRe: An abstract singleton factory Pin
Dave Kreskowiak24-Jun-15 5:17
mveDave Kreskowiak24-Jun-15 5:17 
QuestionExtension Methods in .NET 2 Pin
Member 1171394223-Jun-15 20:43
Member 1171394223-Jun-15 20:43 
AnswerRe: Extension Methods in .NET 2 Pin
OriginalGriff23-Jun-15 20:53
mveOriginalGriff23-Jun-15 20:53 
SuggestionRe: Extension Methods in .NET 2 Pin
Richard Deeming24-Jun-15 1:17
mveRichard Deeming24-Jun-15 1:17 
GeneralRe: Extension Methods in .NET 2 Pin
OriginalGriff24-Jun-15 1:34
mveOriginalGriff24-Jun-15 1:34 
GeneralRe: Extension Methods in .NET 2 Pin
Member 1171394224-Jun-15 12:11
Member 1171394224-Jun-15 12:11 
AnswerRe: Extension Methods in .NET 2 Pin
Sascha Lefèvre24-Jun-15 1:09
professionalSascha Lefèvre24-Jun-15 1:09 
GeneralRe: Extension Methods in .NET 2 Pin
Member 1171394224-Jun-15 12:14
Member 1171394224-Jun-15 12:14 
Questionc# question about moving multiple files Pin
elfenliedtopfan523-Jun-15 14:59
elfenliedtopfan523-Jun-15 14:59 
AnswerRe: c# question about moving multiple files Pin
Wes Aday23-Jun-15 15:09
professionalWes Aday23-Jun-15 15:09 
Questionhelp... C# Pin
Member 1177333823-Jun-15 5:08
Member 1177333823-Jun-15 5:08 
AnswerRe: help... C# Pin
Pete O'Hanlon23-Jun-15 5:15
mvePete O'Hanlon23-Jun-15 5:15 
AnswerRe: help... C# Pin
OriginalGriff23-Jun-15 5:55
mveOriginalGriff23-Jun-15 5:55 
QuestionSatellite Assembly Not Working Properly Pin
AmbiguousName23-Jun-15 3:20
AmbiguousName23-Jun-15 3:20 
AnswerRe: Satellite Assembly Not Working Properly Pin
Bernhard Hiller23-Jun-15 4:38
Bernhard Hiller23-Jun-15 4:38 
GeneralRe: Satellite Assembly Not Working Properly Pin
AmbiguousName23-Jun-15 5:49
AmbiguousName23-Jun-15 5:49 
GeneralRe: Satellite Assembly Not Working Properly Pin
Freak3023-Jun-15 23:03
Freak3023-Jun-15 23:03 
AnswerRe: Satellite Assembly Not Working Properly Pin
AmbiguousName24-Jun-15 0:05
AmbiguousName24-Jun-15 0:05 
QuestionWord was unable to read this document. It may be corrupt.Try one or more of the following:* Pin
Vimalsoft(Pty) Ltd22-Jun-15 23:55
professionalVimalsoft(Pty) Ltd22-Jun-15 23:55 
SuggestionRe: Word was unable to read this document. It may be corrupt.Try one or more of the following:* Pin
Richard MacCutchan23-Jun-15 1:01
mveRichard MacCutchan23-Jun-15 1:01 
GeneralRe: Word was unable to read this document. It may be corrupt.Try one or more of the following:* Pin
Vimalsoft(Pty) Ltd23-Jun-15 1:10
professionalVimalsoft(Pty) Ltd23-Jun-15 1:10 
AnswerRe: Word was unable to read this document. It may be corrupt.Try one or more of the following:* Pin
Richard Deeming23-Jun-15 1:18
mveRichard Deeming23-Jun-15 1:18 

Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment.

The KB article lists several things that you need to check on the server. However, there is no guarantee that you will be able to get your code to work, or that it won't suddenly stop working for no obvious reason.

You might have better luck using the Open Office XML SDK to generate your documents:
Creating Documents by Using the Open XML Format SDK Version 2.0 CTP (Part 1 of 3)[^]
(Part 2 of 3)[^]
(Part 3 of 3)[^]



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


AnswerRe: Word was unable to read this document. It may be corrupt.Try one or more of the following:* Pin
Dave Kreskowiak23-Jun-15 2:39
mveDave Kreskowiak23-Jun-15 2:39 
GeneralRe: Word was unable to read this document. It may be corrupt.Try one or more of the following:* Pin
Vimalsoft(Pty) Ltd24-Jun-15 22:29
professionalVimalsoft(Pty) Ltd24-Jun-15 22:29 

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.