Click here to Skip to main content
15,848,415 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to read data from xml file to dataset Pin
B Desai22-Jul-06 18:20
B Desai22-Jul-06 18:20 
GeneralRe: How to read data from xml file to dataset Pin
Grapes-R-Fun23-Jul-06 9:25
Grapes-R-Fun23-Jul-06 9:25 
QuestionCrystal Reports fail to load in web comonent Pin
icestatue21-Jul-06 10:11
icestatue21-Jul-06 10:11 
While using the Crystal Report SDK and Business Objects Enterprise XI R2 on a web site that is not hosted on the same machine as the Business Objects server all attempts to retrieve a report from any binding senario available from business objects all fail. A sample block of code for any who are curious.

<br />
string temp=null;<br />
string sampleReportName = "Report1.rpt		<br />
SessionMgr sessionMgr = new SessionMgr();<br />
EnterpriseSession enterpriseSession;<br />
EnterpriseService enterpriseService;<br />
EnterpriseService RasService;<br />
InfoStore infoStore;<br />
nfoObjects infoObjects;<br />
InfoObject infoObject;<br />
					<br />
ReportAppFactory reportAppFactory;<br />
ReportClientDocument reportClientDocument;<br />
 enterpriseSession = sessionMgr.Logon           (UserName,password,"BOHost","secEnterprise");<br />
<br />
try<br />
{		<br />
   enterpriseService = enterpriseSession.GetService("BOHost","InfoStore");<br />
//the code dies here if it is hosted on a server other then the B.O. server<br />
RasService = enterpriseSession.GetService("BOHost",","RASReportFactory");<br />
			<br />
 infoStore = new InfoStore(enterpriseService);<br />
 infoObjects = infoStore.Query("Select SI_ID From CI_INFOOBJECTS Where    SI_NAME Like '" + sampleReportName +"'");<br />
<br />
 infoObject = infoObjects[1];<br />
 temp = infoObject.ID.ToString();<br />
<br />
 reportAppFactory = (ReportAppFactory)RasService.Interface;<br />
 reportClientDocument = reportAppFactory.OpenDocument(infoObject.ID,0);<br />
 CrystalReportViewer1.ReportSource = reportClientDocument;<br />
}<br />
catch(Exception et)<br />
{<br />
	temp =et.Message;<br />
	enterpriseSession.Logoff();	<br />
}<br />
enterpriseSession.Logoff();<br />


I wish those dead beats at Business Objects would spend more time fixing their buggy products then going around advertising to all the idiot managers who think this product is the answer to all their problems. We have a saying for this in America that the French don't understand, its called "False Advertising" Thanks again. I will try to stop complaining.Mad | :mad:

nothing

Questionneed help about DataView [modified] Pin
mahesh kukkadapu21-Jul-06 10:07
mahesh kukkadapu21-Jul-06 10:07 
AnswerRe: need help about DataView Pin
leckey21-Jul-06 12:51
leckey21-Jul-06 12:51 
AnswerRe: How to pass List collection to a web method??? Pin
Felipe Dalorzo21-Jul-06 8:48
Felipe Dalorzo21-Jul-06 8:48 
GeneralRe: How to pass List collection to a web method??? Pin
JimFeng21-Jul-06 9:37
JimFeng21-Jul-06 9:37 
AnswerRe: How to pass List collection to a web method??? Pin
Felipe Dalorzo21-Jul-06 11:12
Felipe Dalorzo21-Jul-06 11:12 
GeneralRe: How to pass List collection to a web method??? Pin
JimFeng24-Jul-06 8:04
JimFeng24-Jul-06 8:04 
QuestionNot loading ascx in some websites only Pin
SIJUTHOMASP21-Jul-06 7:36
professionalSIJUTHOMASP21-Jul-06 7:36 
QuestionNon Item Selected on RadioButtonList Pin
Armando_Ramirez21-Jul-06 7:33
Armando_Ramirez21-Jul-06 7:33 
AnswerRe: Non Item Selected on RadioButtonList Pin
Grapes-R-Fun21-Jul-06 15:45
Grapes-R-Fun21-Jul-06 15:45 
QuestionType.GetType() Pin
Mircea Grelus21-Jul-06 7:10
Mircea Grelus21-Jul-06 7:10 
AnswerRe: Type.GetType() Pin
Felipe Dalorzo21-Jul-06 9:11
Felipe Dalorzo21-Jul-06 9:11 
GeneralRe: Type.GetType() Pin
Mircea Grelus21-Jul-06 9:28
Mircea Grelus21-Jul-06 9:28 
GeneralRe: Type.GetType() Pin
Felipe Dalorzo21-Jul-06 11:05
Felipe Dalorzo21-Jul-06 11:05 
GeneralRe: Type.GetType() Pin
Mircea Grelus21-Jul-06 11:23
Mircea Grelus21-Jul-06 11:23 
GeneralRe: Type.GetType() Pin
Felipe Dalorzo21-Jul-06 11:40
Felipe Dalorzo21-Jul-06 11:40 
GeneralRe: Type.GetType() Pin
Mircea Grelus21-Jul-06 13:53
Mircea Grelus21-Jul-06 13:53 
Questionreporting tool with printing option Pin
cdotpal21-Jul-06 7:07
cdotpal21-Jul-06 7:07 
AnswerRe: reporting tool with printing option Pin
Dustin Metzgar21-Jul-06 9:49
Dustin Metzgar21-Jul-06 9:49 
GeneralRe: reporting tool with printing option Pin
cdotpal26-Jul-06 7:40
cdotpal26-Jul-06 7:40 
AnswerRe: reporting tool with printing option Pin
Frank Kerrigan21-Jul-06 14:14
Frank Kerrigan21-Jul-06 14:14 
QuestionJavascript is making my hair fall out Pin
gantww21-Jul-06 6:14
gantww21-Jul-06 6:14 
GeneralRe: Javascript is making my hair fall out Pin
User 171649221-Jul-06 9:30
professionalUser 171649221-Jul-06 9:30 

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.