Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

New Installation of CR Developer for VS 2012 Not Working for Web App

$
0
0

Just installed Visual Studio Professional 2012 and version 13 of Crystal Reports Developer.

 

I created a single web page app that has the text "Test App" and a Crystal Reports viewer control.  There is no code of any kind created by me at this point.  I simply run the app in debug mode to make sure that Crystal is running okay.

 

When I run my test app I get the following error.

 

nhandled exception at line 61, column 3 in http://localhost:65099/StartPage.aspx

0x800a1391 - JavaScript runtime error: 'bobj' is undefined

 

The code being executed is below...anyideas on what I need to do is greatly appreciated.  Thanks

 

bobj.crv.writeWidget({

'cons':'bobj.crv.newViewer','args':{'id':'crvTest__UI','isDisplayModalBG':false,'visualStyle':{'width':'1104px','height':'1202px'},'layoutType':'fitReport'},'children':[{'cons':'bobj.crv.newPrintUI','args':{'isActxPrinting':false}},{'cons':'bobj.crv.newReportProcessingUI'},{'cons':'bobj.crv.newExportUI','args':{'canSupportRange':true,'availableFormats':[{'name':'Crystal Reports (RPT)','value':'CrystalReports'},{'name':'PDF','value':'PDF'},{'name':'Microsoft Excel (97-2003)','value':'MSExcel'},{'name':'Microsoft Excel (97-2003) Data-Only','value':'RecordToMSExcel'},{'name':'Microsoft Excel Workbook Data-only','value':'RecordToMSExcel2007'},{'name':'Microsoft Word (97-2003)','value':'MSWord'},{'name':'Microsoft Word (97-2003) - Editable','value':'EditableRTF'},{'name':'Rich Text Format (RTF)','value':'RTF'},{'name':'Character Separated Values (CSV)','value':'CharacterSeparatedValues'},{'name':'XML','value':'XML'}]}},{'cons':'bobj.crv.newToolbar','args':{'visualStyle':{'className':'crtoolbar'},'id':'crvTest_toptoolbar'},'children':[{'cons':'bobj.crv.newToolbarButtonGroup','args':{'id':'_btnGrp'},'children':[{'cons':'bobj.crv.newPrintButton','args':{'id':'crvTest_toptoolbar_print','isDisabled':false}},{'cons':'bobj.crv.newDrillUpButton','args':{'id':'crvTest_toptoolbar_drillUp','isDisabled':true}},{'cons':'bobj.crv.newToolbarButtonGroupSeparator'},{'cons':'bobj.crv.newExportButton','args':{'id':'crvTest_toptoolbar_export','isDisabled':false}}]},{'cons':'bobj.crv.newToolbarSeparator'},{'cons':'bobj.crv.newSearchTextControl','args':{'id':'crvTest_toptoolbar_search','searchText':''}},{'cons':'bobj.crv.newToolbarSeparator'},{'cons':'bobj.crv.newPrevPageButton','args':{'id':'crvTest_toptoolbar_prevPg','isDisabled':false}},{'cons':'bobj.crv.newNextPageButton','args':{'id':'crvTest_toptoolbar_nextPg','isDisabled':false}},{'cons':'bobj.crv.newSelectPageControl','args':{'curPage':1,'numPages':'1','id':'crvTest_toptoolbar_selectPg','showMenu':true}},{'cons':'bobj.crv.newZoomControl','args':{'id':'crvTest_toptoolbar_zoom','initialZoom':100}},{'cons':'bobj.crv.newLogoIcon','args':{'id':'crvTest_toptoolbar_logo','layoutAlign':'right'}}]},{'cons':'bobj.crv.newReportAlbum','args':{'initTabIdx':0,'displayDrilldownTab':true},'children':[{'cons':'bobj.crv.newReportView','args':{'viewStateId':'0','label':'Main Report','isMainReport':true},'children':[{'cons':'bobj.crv.newReportPage','args':{'width':816,'height':1056,'documentView':'PrintLayout','content':'\r\n<style>\r\n    div.crystalstyle div {position:absolute; z-index:25}\r\n    div.crystalstyle a {text-decoration:none}\r\n    div.crystalstyle a img {border-style:none; border-width:0}\r\n    div.crystalstyle div.tbg {background: url("aspnet_client/system_web/4_0_30319/crystalreportviewers13/js/dhtmllib/images/transp.gif") repeat-x repeat-y;}\r\n    .drill_cursor { cursor: url("aspnet_client/system_web/4_0_30319/crystalreportviewers13/js/crviewer/images/drill_cursor.cur"), default; }\t.fc80d5b7d8-4b97-4479-8dd1-0e6b1ea6f59a-0 {font-size:10pt;color:#000000;font-family:Arial;font-weight:normal;}\r\n\t.ad9a05be6f-192b-4898-bccd-14a652df4aa6-0 {border-color:#000000;border-left-width:0px;border-right-width:0px;border-top-width:0px;border-bottom-width:0px;}\r\n<\/style>\r\n<div name="crvTest$ctl01" id="crvTest_ctl01" class="crystalstyle" style="overflow:hidden;width:100%;height:100%;">\r\n\t<div class="crystalstyle" style="margin-top:11px;margin-bottom:11px;margin-left:11px;margin-right:11px;top:0px;left:0px;width:794px;height:1034px;overflow:hidden;">\r\n    <div id="Section1" style="z-index:3;top:0px;left:0px;width:794px;height:39px;">\r\n\r\n    <\/div>\r\n    <div id="Text1" class="tbg ad9a05be6f-192b-4898-bccd-14a652df4aa6-0" style="top:8px;left:336px;width:123px;height:15px;">\r\n        <p nowrap style="position:relative;padding-left:1px;margin:0px;"><span style="position:relative;display:block;line-height:16px;"><span class="fc80d5b7d8-4b97-4479-8dd1-0e6b1ea6f59a-0">Test Report<\/span><\/span><\/p>\r\n    <\/div>\r\n    <div id="Section2" style="z-index:3;top:39px;left:0px;width:794px;height:40px;">\r\n\r\n    <\/div>\r\n    <div id="Section3" style="z-index:3;top:79px;left:0px;width:794px;height:15px;">\r\n\r\n    <\/div>\r\n    <div id="Section4" style="z-index:3;top:94px;left:0px;width:794px;height:40px;">\r\n\r\n    <\/div>\r\n    <div id="Section5" style="z-index:3;top:994px;left:0px;width:794px;height:40px;">\r\n\r\n    <\/div>\r\n\r\n<\/div>\r\n\r\n<\/div>\r\n'}}]}]},{'cons':'bobj.crv.newLeftPanel','args':{'hasToggleGroupTreeButton':true,'hasToggleParameterPanelButton':true},'children':[{'cons':'bobj.crv.newToolPanel','args':{'initialViewType':'GroupTree','width':'200px'},'children':[{'cons':'bobj.crv.newGroupTree','args':{'toolPanelType':'GroupTree','enableDrilldown':true,'enableNavigation':true,'lastExpandedPath':'','label':'Group Tree','visualStyle':{}}}]}]},{'cons':'bobj.crv.newStatusbar','args':{'id':'crvTest__UI_statusbar'},'children':[{'cons':'bobj.crv.newStatusbarBreadcrumb','args':{'values':[]}},{'cons':'bobj.crv.newStatusbarVersionIndicator'}]}]}); //-->


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>