Click here to Skip to main content
15,918,193 members
Home / Discussions / C#
   

C#

 
GeneralRe: reportAppFactory.OpenDocument throws Invalid Cast exception (No such interfaces supported) Pin
amitcoder836-Sep-10 23:19
amitcoder836-Sep-10 23:19 
GeneralRe: reportAppFactory.OpenDocument throws Invalid Cast exception (No such interfaces supported) Pin
Richard MacCutchan7-Sep-10 1:09
mveRichard MacCutchan7-Sep-10 1:09 
AnswerRe: reportAppFactory.OpenDocument throws Invalid Cast exception (No such interfaces supported) Pin
phil.o6-Sep-10 23:28
professionalphil.o6-Sep-10 23:28 
AnswerRe: reportAppFactory.OpenDocument throws Invalid Cast exception (No such interfaces supported) Pin
amitcoder836-Sep-10 23:39
amitcoder836-Sep-10 23:39 
GeneralRe: reportAppFactory.OpenDocument throws Invalid Cast exception (No such interfaces supported) Pin
Rhys Gravell6-Sep-10 23:43
professionalRhys Gravell6-Sep-10 23:43 
GeneralRe: reportAppFactory.OpenDocument throws Invalid Cast exception (No such interfaces supported) Pin
amitcoder836-Sep-10 23:46
amitcoder836-Sep-10 23:46 
GeneralRe: reportAppFactory.OpenDocument throws Invalid Cast exception (No such interfaces supported) Pin
Rhys Gravell6-Sep-10 23:53
professionalRhys Gravell6-Sep-10 23:53 
GeneralRe: reportAppFactory.OpenDocument throws Invalid Cast exception (No such interfaces supported) [modified] Pin
phil.o7-Sep-10 0:00
professionalphil.o7-Sep-10 0:00 
I never used SAP Business Objects, so I won't be able to help any longer.

What I would do, if I were you, is to find whereas :
- the problem is on the reportAppFactory variable (which wouldn't be of type needed)
- or the problem is on the first parameter of the OpenDocument method (maybe try with infoObject instead of infoObject.ID, as it seems this method expects an object as its first parameter)

But these are only educated guesses and could be completely wrong as I'm not a SAP BO specialist.

Good luck.

modified on Tuesday, September 7, 2010 10:16 AM

AnswerRe: reportAppFactory.OpenDocument throws Invalid Cast exception (No such interfaces supported) Pin
Bernhard Hiller7-Sep-10 0:05
Bernhard Hiller7-Sep-10 0:05 
QuestionHow to write C# struct with array to communicate via IP to C struct device Pin
ejp666-Sep-10 16:12
ejp666-Sep-10 16:12 
AnswerRe: How to write C# struct with array to communicate via IP to C struct device Pin
Luc Pattyn6-Sep-10 16:48
sitebuilderLuc Pattyn6-Sep-10 16:48 
AnswerRe: How to write C# struct with array to communicate via IP to C struct device Pin
DaveyM696-Sep-10 22:18
professionalDaveyM696-Sep-10 22:18 
GeneralRe: How to write C# struct with array to communicate via IP to C struct device Pin
Paul Michalik7-Sep-10 9:42
Paul Michalik7-Sep-10 9:42 
Questionsend file with bluetooth from pc to phone without accept Pin
behzadcp6-Sep-10 8:31
professionalbehzadcp6-Sep-10 8:31 
AnswerRe: send file with bluetooth from pc to phone without accept Pin
Smithers-Jones6-Sep-10 8:42
Smithers-Jones6-Sep-10 8:42 
GeneralRe: send file with bluetooth from pc to phone without accept Pin
behzadcp6-Sep-10 9:01
professionalbehzadcp6-Sep-10 9:01 
GeneralRe: send file with bluetooth from pc to phone without accept Pin
DaveyM696-Sep-10 9:05
professionalDaveyM696-Sep-10 9:05 
GeneralRe: send file with bluetooth from pc to phone without accept Pin
Dave Kreskowiak6-Sep-10 17:41
mveDave Kreskowiak6-Sep-10 17:41 
AnswerRe: send file with bluetooth from pc to phone without accept Pin
allen-homen6-Sep-10 20:11
allen-homen6-Sep-10 20:11 
Questiontextbox like IE Pin
zzinbalzz6-Sep-10 6:40
zzinbalzz6-Sep-10 6:40 
AnswerRe: textbox like IE Pin
DaveyM696-Sep-10 8:24
professionalDaveyM696-Sep-10 8:24 
GeneralRe: textbox like IE Pin
allen-homen6-Sep-10 20:21
allen-homen6-Sep-10 20:21 
AnswerRe: textbox like IE Pin
V.6-Sep-10 20:25
professionalV.6-Sep-10 20:25 
QuestionDraw line in RichTextBox C# Pin
jojoba20116-Sep-10 4:55
jojoba20116-Sep-10 4:55 
AnswerRe: Draw line in RichTextBox C# Pin
Luc Pattyn6-Sep-10 5:07
sitebuilderLuc Pattyn6-Sep-10 5:07 

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.