Sub report parameter prompt appears when running Visual Studio 2008 with Crystal Reports 2008

Post Author: relliott
CA Forum: .NET
If I build a simple Crystal Report that contains another simple Crystal Sub Report, the report will print preview fine in Crystal 2008.  The problem happens when add this report to a Visual Studio 2008 Web Application Project and I build and debug the application, the Crystal Viewer is prompting the user for the parameter used to link the sub report to the main report.  This should never happen as the user is not supposed to see this parameter.  If I type in some value for this sub-report parameter prompt, the Crystal Report Viewer gives an error message about not finding the field.
I was having the same problem in Vs2005 with Crystal 10 which is why I upgraded.  Business Object's official fix for this problem was published under their KB article number c2018840 and c2019047.  These hot fixes ended up causing general exception errors in Visual Studio so I scrapped these solutions.
Support had me install SP0 for Crystal 2008 (which did not fix it).
Any ideas?
Any help is greatly appreciated.
Thanks,
Rich Elliott

Hi Bontrager,
Thank you for posting in MSDN forum.
According to your description, I agree with pvdg42's suggestion, so I suggest you can try pvdg42's suggestion to install the version of
Crystal Reports 10.5 to check this issue again.
Reference:
http://forums.asp.net/t/1236730.aspx?Which+CR+version+is+in+Visual+Studio+2008+
In addition, since this forum is
to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. So if you have any issue about the
Crystal Reports, I suggest you can ask the issue to the
SAP Crystal Reports website:
http://scn.sap.com/community/crystal-reports/content?filterID=contentstatus%5bpublished%5d~objecttype~objecttype%255bthread
as pvdg42 pervious suggestion, it will be better support.
Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Error when opening a BW query with Crystal Reports

    Hi all,
    I am having problems when opening a BW query with Crystal Reports, the strange thing is that it only happens with
    the bo user I have created. If I use a user that already exists and that has SAP_ALL authorization it works.
    I don't know if this could be an authorizations issue, but I have created a role with all the authorizations stated in the manual.
    The error I am getting is the following:
    "An error occurred while generating a new report template. Error in UNKNOWN.RPT file"
    Does anyone know what this could be?
    Thanks

    Well,
    I cannot access the system now. But I think it is not an issue of authorization, because I assigned all the good user's role to the bo user,
    and even with that, it still don't work.
    Thanks

  • Report viewer "Go To Next Page" button always load Page2 with Crystal Reports Runtime version 10.0.10. No problem with Crystal Reports Runtime version 10.0.5

    Report viewer "Go To Next Page" button always load Page2 with Crystal Reports Runtime version 10.0.10. No problem with Crystal Reports Runtime version 10.0.5.
    NOTE: I did not check other Crystal Runtime versions.
    Any solution?

    Visual Studio Premium 2012.
    It is a web application.
    It was working fine with Crystal Report version 13.0.5. Only change is uninstall Crystal Report version 13.0.5 and install Crystal Report version 13.0.10
    Entering page number works fine to view that page Request.Form parameters sample for that (change page from page 3 to page 5):
    __CRYSTALSTATEviewer:{"0":{"rptViewLabel":"Ana Rapor", "gpTreeCurrentExpandedPaths":{}, "vCtxt":"/wEXAwUVSXNMYXN0UGFnZU51bWJlcktub3duZwUOTGFzdFBhZ2VOdW1iZXICBQUKUGFnZU51bWJlcgIC", "pageNum":2}, "common":{"width":"100%", "Height":"100%", "enableDrillDown":true, "drillDownTarget":"_self", "printMode":"Pdf", "displayToolbar":true, "pageToTreeRatio":6, "pdfOCP":true, "promptingType":"html", "viewerState":"/wEXBAUkU3lzdGVtLldlYi5VSS5XZWJDb250cm9scy5XZWJDb250cm9sDxYGHgVXaWR0aBsAAAAAAABZQAcAAAAeBkhlaWdodBsAAAAAAABZQAcAAAAeBF8hU0ICgANkBQJodAUGX2JsYW5rBQ9SZXBvcnRWaWV3U3RhdGUXCAUDZHBpAngFB0lMT0lVSVNoBQdGYWN0b3J5BZYBQ3J5c3RhbERlY2lzaW9ucy5SZXBvcnRTb3VyY2UuUmVwb3J0U291cmNlRmFjdG9yeSxDcnlzdGFsRGVjaXNpb25zLlJlcG9ydFNvdXJjZSwgVmVyc2lvbj0xMy4wLjIwMDAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj02OTJmYmVhNTUyMWUxMzA0BQlSZXBvcnRVUkkFSkQ6XFBSSi5ORVRcV2ViUmVwb3J0czIwXFdlYlJlcG9ydHMuREFMXFJlcG9ydHNcVzJfNDMzN19SRVNfQllfQ1JFQVRJT04ucnB0BQpEZXNpZ25Nb2RlaAUHUmVmcmVzaGgFElBhZ2VSZXF1ZXN0Q29udGV4dBcEBRVJc0xhc3RQYWdlTnVtYmVyS25vd25nBQ5MYXN0UGFnZU51bWJlcgIFBQpQYWdlTnVtYmVyAgIFFEludGVyYWN0aXZlU29ydEluZm9zFClYU3lzdGVtLkJ5dGUsIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OY0BAzwDPwN4A20DbAMgA3YDZQNyA3MDaQNvA24DPQMiAzEDLgMwAyIDPwM+Aw0DCgM8A0EDcgNyA2EDeQNPA2YDUwNvA3IDdANJA24DZgNvAyADeANtA2wDbgNzAzoDeANzA2kDPQMiA2gDdAN0A3ADOgMvAy8DdwN3A3cDLgN3AzMDLgNvA3IDZwMvAzIDMAMwAzEDLwNYA00DTANTA2MDaANlA20DYQMtA2kDbgNzA3QDYQNuA2MDZQMiAyADeANtA2wDbgNzAzoDeANzA2QDPQMiA2gDdAN0A3ADOgMvAy8DdwN3A3cDLgN3AzMDLgNvA3IDZwMvAzIDMAMwAzEDLwNYA00DTANTA2MDaANlA20DYQMiAyADLwM+BQlScHRTb3VyY2UFN0NyeXN0YWxEZWNpc2lvbnMuUmVwb3J0U291cmNlLk5vbkhUVFBDYWNoZWRSZXBvcnRTb3VyY2UFA2Nzc2U=", "rptAlbumOrder":["0"], "toolPanelType":"GroupTree", "toolPanelWidth":200, "toolPanelWidthUnit":"px", "iactParams":[{"paramName":"pFromDate", "description":"From Date", "valueDataType":"d", "value":[{"d":9, "m":4, "y":2014, "h":0, "min":0, "s":0, "ms":0}], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pToDate", "description":"To Date", "valueDataType":"d", "value":[{"d":9, "m":6, "y":2014, "h":0, "min":0, "s":0, "ms":0}], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pGroupBy", "description":"Group by", "valueDataType":"n", "value":[2], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"Boardtype"}, {"value":2, "desc":"Room type"}, {"value":3, "desc":"Rate Room type"}, {"value":4, "desc":"Rate code"}, {"value":5, "desc":"Guarantee code"}, {"value":6, "desc":"Adults"}, {"value":7, "desc":"Children"}, {"value":8, "desc":"Market code"}, {"value":9, "desc":"Source code"}, {"value":10, "desc":"Channel code"}, {"value":11, "desc":"Country"}, {"value":12, "desc":"Nationality"}, {"value":13, "desc":"Created by"}, {"value":14, "desc":"Adult+Child"}, {"value":15, "desc":"Agency"}, {"value":16, "desc":"Company"}, {"value":17, "desc":"Source"}, {"value":18, "desc":"Group"}, {"value":19, "desc":"Micros Discount"}, {"value":-1, "desc":"None"}], "defaultDisplayType":1}, {"paramName":"pDistributionBy", "description":"Distribution by", "valueDataType":"n", "value":[1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"RN"}, {"value":2, "desc":"ARR"}], "defaultDisplayType":1}, {"paramName":"pShowDetails", "description":"Show details", "valueDataType":"b", "value":[true], "allowCustomValue":false, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":true}, {"value":false}], "defaultDisplayType":1}, {"paramName":"pSubGroupBy", "description":"Sub Group", "valueDataType":"n", "value":[-1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"Boardtype"}, {"value":2, "desc":"Room type"}, {"value":3, "desc":"Rate Room type"}, {"value":4, "desc":"Rate code"}, {"value":5, "desc":"Guarantee code"}, {"value":6, "desc":"Adults"}, {"value":7, "desc":"Children"}, {"value":8, "desc":"Market code"}, {"value":9, "desc":"Source code"}, {"value":10, "desc":"Channel code"}, {"value":11, "desc":"Country"}, {"value":12, "desc":"Nationality"}, {"value":13, "desc":"Created by"}, {"value":14, "desc":"Adult+Child"}, {"value":15, "desc":"Agency"}, {"value":16, "desc":"Company"}, {"value":17, "desc":"Source"}, {"value":18, "desc":"Group"}, {"value":19, "desc":"Micros Discount"}, {"value":-1, "desc":"None"}], "defaultDisplayType":1}, {"paramName":"pIncludeDayUse", "description":"Include Day Use", "valueDataType":"b", "value":[true], "allowCustomValue":false, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":true}, {"value":false}], "defaultDisplayType":1}, {"paramName":"pDateType", "description":"Date Type", "valueDataType":"n", "value":[1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pCompHuse", "description":"Comp-Huse", "valueDataType":"n", "value":[0, 1, 2], "allowCustomValue":true, "allowMultiValue":true, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pOrderBy", "description":"Order By", "valueDataType":"n", "value":[2], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}], "paramOpts":{"numberFormat":{"groupSeperator":".", "decimalSeperator":","}, "dateFormat":"d.M.yyyy", "timeFormat":"H:mm:ss", "dateTimeFormat":"d.M.yyyy H:mm:ss", "booleanFormat":{"true":"True", "false":"False"}, "maxNumParameterDefaultValues":"200", "canOpenAdvancedDialog":true}, "zoom":100, "zoomFromUI":false, "lastRefresh":"9.7.2014 17:47:04"}, "curViewId":"0"}
    viewer_toptoolbar_search_textField:Bul...
    text_viewer_toptoolbar_selectPg:5
    text_viewer_toptoolbar_zoom:100%
    __CALLBACKID:viewer
    __CALLBACKPARAM:{"tb":"gototext", "text":"5"}
    Try to view New Page does not work. Request.Form parameters sample for that (try change page from page 2 to page 3):
    __CRYSTALSTATEviewer:{"0":{"rptViewLabel":"Ana Rapor", "gpTreeCurrentExpandedPaths":{}, "vCtxt":"/wEXAwUVSXNMYXN0UGFnZU51bWJlcktub3duZwUOTGFzdFBhZ2VOdW1iZXICBQUKUGFnZU51bWJlcgIC", "pageNum":2}, "common":{"width":"100%", "Height":"100%", "enableDrillDown":true, "drillDownTarget":"_self", "printMode":"Pdf", "displayToolbar":true, "pageToTreeRatio":6, "pdfOCP":true, "promptingType":"html", "viewerState":"/wEXBAUkU3lzdGVtLldlYi5VSS5XZWJDb250cm9scy5XZWJDb250cm9sDxYGHgVXaWR0aBsAAAAAAABZQAcAAAAeBkhlaWdodBsAAAAAAABZQAcAAAAeBF8hU0ICgANkBQJodAUGX2JsYW5rBQ9SZXBvcnRWaWV3U3RhdGUXCAUDZHBpAngFB0lMT0lVSVNoBQdGYWN0b3J5BZYBQ3J5c3RhbERlY2lzaW9ucy5SZXBvcnRTb3VyY2UuUmVwb3J0U291cmNlRmFjdG9yeSxDcnlzdGFsRGVjaXNpb25zLlJlcG9ydFNvdXJjZSwgVmVyc2lvbj0xMy4wLjIwMDAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj02OTJmYmVhNTUyMWUxMzA0BQlSZXBvcnRVUkkFSkQ6XFBSSi5ORVRcV2ViUmVwb3J0czIwXFdlYlJlcG9ydHMuREFMXFJlcG9ydHNcVzJfNDMzN19SRVNfQllfQ1JFQVRJT04ucnB0BQpEZXNpZ25Nb2RlaAUHUmVmcmVzaGgFElBhZ2VSZXF1ZXN0Q29udGV4dBcEBRVJc0xhc3RQYWdlTnVtYmVyS25vd25nBQ5MYXN0UGFnZU51bWJlcgIFBQpQYWdlTnVtYmVyAgIFFEludGVyYWN0aXZlU29ydEluZm9zFClYU3lzdGVtLkJ5dGUsIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OY0BAzwDPwN4A20DbAMgA3YDZQNyA3MDaQNvA24DPQMiAzEDLgMwAyIDPwM+Aw0DCgM8A0EDcgNyA2EDeQNPA2YDUwNvA3IDdANJA24DZgNvAyADeANtA2wDbgNzAzoDeANzA2kDPQMiA2gDdAN0A3ADOgMvAy8DdwN3A3cDLgN3AzMDLgNvA3IDZwMvAzIDMAMwAzEDLwNYA00DTANTA2MDaANlA20DYQMtA2kDbgNzA3QDYQNuA2MDZQMiAyADeANtA2wDbgNzAzoDeANzA2QDPQMiA2gDdAN0A3ADOgMvAy8DdwN3A3cDLgN3AzMDLgNvA3IDZwMvAzIDMAMwAzEDLwNYA00DTANTA2MDaANlA20DYQMiAyADLwM+BQlScHRTb3VyY2UFN0NyeXN0YWxEZWNpc2lvbnMuUmVwb3J0U291cmNlLk5vbkhUVFBDYWNoZWRSZXBvcnRTb3VyY2UFA2Nzc2U=", "rptAlbumOrder":["0"], "toolPanelType":"GroupTree", "toolPanelWidth":200, "toolPanelWidthUnit":"px", "iactParams":[{"paramName":"pFromDate", "description":"From Date", "valueDataType":"d", "value":[{"d":9, "m":4, "y":2014, "h":0, "min":0, "s":0, "ms":0}], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pToDate", "description":"To Date", "valueDataType":"d", "value":[{"d":9, "m":6, "y":2014, "h":0, "min":0, "s":0, "ms":0}], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pGroupBy", "description":"Group by", "valueDataType":"n", "value":[2], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"Boardtype"}, {"value":2, "desc":"Room type"}, {"value":3, "desc":"Rate Room type"}, {"value":4, "desc":"Rate code"}, {"value":5, "desc":"Guarantee code"}, {"value":6, "desc":"Adults"}, {"value":7, "desc":"Children"}, {"value":8, "desc":"Market code"}, {"value":9, "desc":"Source code"}, {"value":10, "desc":"Channel code"}, {"value":11, "desc":"Country"}, {"value":12, "desc":"Nationality"}, {"value":13, "desc":"Created by"}, {"value":14, "desc":"Adult+Child"}, {"value":15, "desc":"Agency"}, {"value":16, "desc":"Company"}, {"value":17, "desc":"Source"}, {"value":18, "desc":"Group"}, {"value":19, "desc":"Micros Discount"}, {"value":-1, "desc":"None"}], "defaultDisplayType":1}, {"paramName":"pDistributionBy", "description":"Distribution by", "valueDataType":"n", "value":[1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"RN"}, {"value":2, "desc":"ARR"}], "defaultDisplayType":1}, {"paramName":"pShowDetails", "description":"Show details", "valueDataType":"b", "value":[true], "allowCustomValue":false, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":true}, {"value":false}], "defaultDisplayType":1}, {"paramName":"pSubGroupBy", "description":"Sub Group", "valueDataType":"n", "value":[-1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"Boardtype"}, {"value":2, "desc":"Room type"}, {"value":3, "desc":"Rate Room type"}, {"value":4, "desc":"Rate code"}, {"value":5, "desc":"Guarantee code"}, {"value":6, "desc":"Adults"}, {"value":7, "desc":"Children"}, {"value":8, "desc":"Market code"}, {"value":9, "desc":"Source code"}, {"value":10, "desc":"Channel code"}, {"value":11, "desc":"Country"}, {"value":12, "desc":"Nationality"}, {"value":13, "desc":"Created by"}, {"value":14, "desc":"Adult+Child"}, {"value":15, "desc":"Agency"}, {"value":16, "desc":"Company"}, {"value":17, "desc":"Source"}, {"value":18, "desc":"Group"}, {"value":19, "desc":"Micros Discount"}, {"value":-1, "desc":"None"}], "defaultDisplayType":1}, {"paramName":"pIncludeDayUse", "description":"Include Day Use", "valueDataType":"b", "value":[true], "allowCustomValue":false, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":true}, {"value":false}], "defaultDisplayType":1}, {"paramName":"pDateType", "description":"Date Type", "valueDataType":"n", "value":[1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pCompHuse", "description":"Comp-Huse", "valueDataType":"n", "value":[0, 1, 2], "allowCustomValue":true, "allowMultiValue":true, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pOrderBy", "description":"Order By", "valueDataType":"n", "value":[2], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}], "paramOpts":{"numberFormat":{"groupSeperator":".", "decimalSeperator":","}, "dateFormat":"d.M.yyyy", "timeFormat":"H:mm:ss", "dateTimeFormat":"d.M.yyyy H:mm:ss", "booleanFormat":{"true":"True", "false":"False"}, "maxNumParameterDefaultValues":"200", "canOpenAdvancedDialog":true}, "zoom":100, "zoomFromUI":false, "lastRefresh":"9.7.2014 17:47:04"}, "curViewId":"0"}
    viewer_toptoolbar_search_textField:Bul...
    text_viewer_toptoolbar_selectPg:2 / 5
    text_viewer_toptoolbar_zoom:100%
    __CALLBACKID:viewer
    __CALLBACKPARAM:{"tb":"next"}

  • Visual Studio 2005, embedded Crystal Report problem

    I am very new at .NET, and this is my first post to this forum.
    I've created a Crystal Report within a project using Visual Studio 2005 Professional Edition, on a Windows XP machine.  I set the report as the ReportSource for a CrystalReportViewer on the main form.  I can see data in the report in design view when I right-click on any of the fields and click "Browse Field Data".  But when I preview the report, or run it in the application, all I see are the column headings and report title.  I am hoping I am leaving out something obvious.  I've researched this for two days without success. 
    The report's detail section is NOT suppressed, btw.
    FYI (although I think it might not be relevant, because I don't see the data when I preview it in Visual Studio either) the report is displayed in the application when a button is clicked, as follows:
        Private Sub cmdRunLog_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRunLog.Click
                CrystalReportViewer1.DisplayToolbar = True
                cmdRunLog.Text = "Hide Run Log"
                cmdUpload.Enabled = False
                cmdReports.Enabled = False
                cmdManualRun.Enabled = False
                CrystalReportViewer1.Visible = True
                CrystalReportViewer1.Height = 600
                CrystalReportViewer1.Width = 1000
                CrystalReportViewer1.Left = 10
                Dim strReportSQL As String = "Select * From dbo.PositivePayRunLog"
                Dim DA As New SqlDataAdapter(strReportSQL, conPP)
                Dim DS As New DataSet
                'Variable to assign the report name
                Dim strReportPath As String
                DA.Fill(DS)
                strReportPath = "c:\Positive Pay\PositivePayRunLog.rpt"
                If Not IO.File.Exists(strReportPath) Then
                    _ErrorText = "Unable to locate report file:  " & strReportPath
                    ' Throw (New Exception("Unable to locate report file:" & vbCrLf & strReportPath))
                    GoTo cmdRunLog_Click_Error
                End If
                Dim rptDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                rptDocument.Load(strReportPath)
                rptDocument.SetDataSource(DS.Tables(0))
                rptDocument.Refresh()
                CrystalReportViewer1.ShowRefreshButton = False
                CrystalReportViewer1.ShowCloseButton = False
                CrystalReportViewer1.ShowGroupTreeButton = False
                CrystalReportViewer1.ReportSource = rptDocument
    end sub
    I'm hoping that this is a common problem with an easy answer
    Thanks,
    John Sandin

    >
    Jason Everly wrote:
    > Did you design the report using OLEDB or ODBC instead of against the schema of the dataset you are passing?  It could be seeing data from the database when browsing.
    >
    > Technically you should design the reports against the schema of the dataset you are going to be passing, not against ODBC or OLEDB.
    >
    > You can usually get away with passing datasets to a report created against OLEDB, but if issues occur then you need to redesign them against the ds schema.
    >
    > Jason
    I have done both, but I was currently using OLEDB.
    I redesigned the report to use a dataset containing the correct data.  Now,  when I browse the fields, I see nothing.  When I preview the report, I see what appears to be dummy data (a list of colors, etc).
    But the GOOD news is:  When I run the report in the application, I see the correct data!
    Thanks!  I think I'm good to go now.  I will also apply the other suggestions, and try to simplify things.

  • Visual Studio 2005 deploy Crystal Report to Windows Server 2008 64-bit

    I've read a lot of posts here regarding deploying on a 64-bit server, but I'm still confused.
    We use Visual Studio 2005 to develop on a Windows XP machine.  We use the built-in version of Crystal that comes with VS2005. 
    We want to deploy the runtime to a Windows Server 2008 running 64-bit.  We want to deploy using the msi runtime components and not the merge modules.
    We end up with the message "An error has occurred while attempting to load Crystal Reports". 
    So, the question is, can we build & deploy a 64-bit version, and if so, what are we doing wrong here ?  At first glance, I don't see VS 2005 as listing Windows 2008 as a supported platform, so am I dead in the water right there ?  If that's the case .... then what are my options ?
    Any help or pointing me in the right direction would be greatly appreciated !
    Thank You,
    Wayne

    In a nut shell, the only two 64 bit versions of Crystal Reports are 10.2 (bundles with .NET 2005) and 10.5 (bundles with .NET 2008). All other versions of Crystal Reports are 32 bit only. For more info see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e] article.
    Ludek

  • Vertical offset problem when printing labels after editing with Crystal Reports

    Hello,
    We are still using the RDC component of Crystal reports in some of our C++ Software components. Label design is done with a very old Version 8.5 of Crystal, the Clients use the 10.5 runtime for printing.
    This was running on Windows XP and Server 2003 for a Long time. Recently we changed to Server 2008 R2 (english) and Windows 7 (de) on the Clients. Again we installed CR 8.5 on the Server for Label design and a 10.5 runtime on the Clients for printing. Now something strange happened. If we just open a Report file with CR on the Server and save it (doing no changes), there is a Problem with printing on the Clients. The line spacing is now wrong. It´s about 5th the value as it should be. This only happens on the Client. The reports still print ok from the preview Windows of CR on the Server.
    However, we have to Change Labels. As a Workaround, we installed CR also on one of the Windows 7 Clients. And this is working. We can save Labels unchanged and they are printed with the correct line spacing on the Clients.
    Of Course, this should be solved in the future, because the Clients are placed in our production area and it´s not a good place for sitting and changing Labels.
    i´v no idea what could be the reason?
    Greetings, Jörg

    This might be due to differences in default/specified printer (or printer driver) across the machines involved.

  • Error when exporting to other format from crystal report

    Hi,
    I have been facing an error "Method 'IRCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version = 11.0.3300.0, Culture-neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overriden." while trying to export the crystal report to another format (e.g. pdf and excel) from an application from a software vendor.
    For your information, the machine OS that is running the application is Window 7. Before I did the installation of the application, it already has Visual Studio 2005 and Crystal Report XI Release 1 installed in the Window  7 system. After I had the above error, I went to search more information on the website and found out that I need to upgrade to Crystal Report XI Release 2 from the search results. However, after I upgraded from Crystal Report XI Release 1 to Crystal Report XI Release 2 and apply service pack 6, I still faced the same error when I tried to export. I even tried to uninstall Visual Studio 2005 and Crystal Report XI Release 2 but I'm still facing the same above error while exporting. I also tried to reinstall the application from software vendor but the same error come out.
    Your help is highly appreciated. Thanks!!
    Regards,
    Jennifer

    Good morning Jennifer
    When you say:
    " I also tried to reinstall the application from software vendor but the same error come out."
    I wonder if the app you are trying to install is from a 3rd party vendor / developer? If it is, installing CR XI r2 (11.5) will not resolve the issue for you. From the error, the app was compiled with CR XI R1 (11.0) and the only way to get that app to use CR XI r2 will be to recompile it with CR XI r2 assemblies. E.g.; you will have to have access to the source code and then recompile the app, ensuring that you are referencing CR XI r2 assemblies. Or am I missing something here?
    Ludek

  • Error when startup WPF Application with Crystal Report !

    Hi!
    I have an error when build & run a WPF Application with Crystal Report. Can anyone help me ?
    First, I created 2 project, one is the WPF Application & one is Shell Start Up project (to show loading screen, then show main window when loaded, is WPF Application too)
    WPF Application:
    /// <summary>
        /// Interaction logic for MainWindow.xaml
        /// </summary>
        public partial class MainWindow : Window {
            public MainWindow() {
                InitializeComponent();
               // crViewer is SAPBusinessObjects.WPF.Viewer.CrystalReportsViewer
                crViewer.ViewerCore.ReportSource = new CrystalReport1(); // Assign report to viewer
    Shell Startup:
    [STAThread]
            public static void Main(string[] args) {
                AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
                Application app = new Application();
                ShowLoadingWindow(); // Show loading screen
                MainWindow mw = new MainWindow();
                mw.Show();
                app.Run();   
            static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) {
                // Exception was throw here
    And here is the exception & it's stack trace
    Message:  Object reference not set to an instance of an object.
    Stacktrace:
    at SAPBusinessObjects.WPF.Viewer.ViewerCore.<>c__DisplayClass1.<set_ReportSource>b__0()
       at SAPBusinessObjects.WPF.Viewer.DelegateMarshaler.<>c__DisplayClass29.<QueueOnThreadPoolThread>b__28(Object )
       at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

    As far as I know the error is typically due to the fact that I'm trying to address an object that has not been set. E.g.; this could be due to  bad scoping, bad inits/constructs, trying to access a member of a class without instance object and so on. I suspect this is a design \ code issue. You might be able to confirm this using [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx].
    Other than that, I'd recommend creating a phone case here:
    http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369
    - Ludek

  • Problem with Crystal report viewer

    I am using Crystal viewer 2008 with Crystal report 2008.
    I am using a static parameter.  When running with viewer I can not clik on modify to change the parameter because the modify button is grey.
    Help ty.
    Also where can I read limit of using Crystal Viewer ?
    And how much to get something better ?

    You can update the parameters using Crystal Viewer 2008. I had the same problem with the "CHANGE" button being grayed out.
    Go to your Report -> Select Expert -> and now you have three choices: Record, Group, Saved Data. Put your select statement using your parameters in the Saved Data only (remove it from Record if already there).
    It works awesome and even works on dynamic parameters!

  • Windows Server 2008 R2 Crystal Report XI Runtime hosted on IIS 7 32 bit

    Hi all,
    We have discovered that our software department installed Windows Server 2008 R2 in a production environment.
    The production environment hosts asp .net applications on IIS 7 that enables 32 bit applicatons to run over it.
    We still develope on Windows XP and Visual Studio 2005 using Crystal Report XI runtime.
    Reports are compatible and run properly in production environment having enabled application pool of IIS 7 in 32 bit mode.
    Is Crystal report XI runtime supported on windows server 2008 R2 hosted on IIS7 32 bit mode?
    Regards.
    Roberto.

    Hello,
    Where to start.... first thing to do is search, lots of posts on these exact questions...
    First, CR XI R2 does not support 4.0 framework, although MS does say it's fully backward compatible but it is not supported on Windows 2008 R2 unless you upgrade to CR XI R2A
    https://smpdl.sap-ag.de/~sapidp/012002523100009114712011E/crxir2sp4_fullbuild.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100009114412011E/crxir2sp6_incremental.exe
    Or for a clean PC https://smpdl.sap-ag.de/~sapidp/012002523100009114712011E/crxir2sp4_fullbuild.exe
    Redist is on our download page.
    Second is CR XI R2 is not supported in VS 2010. Only one supported is CR for VS 2010 which you can download from here:
    http://www.sdn.sap.com/irj/boc/crystalreports-dotnet
    Bottom of the page has all of the download links for the 32 and 64 bit runtime for your WEB server.
    App Pool must run in 32 mode, just in case you are using 64 bit OS.
    Lastly, if you are using the SAP Integration Kit to connect to your BEX query then bad news, CR for VS 2010 doesn't have API's available to set the log on on info.
    You may be able to use B1, it uses CR 2008 OEM Build and they may support this. Search that forum to see if they do:
    /community [original link is broken]
    Don

  • It takes long time to load the parameter's value when running we run report

    Hi,
    It takes long time to load the parameter's value when running we run report. What could cause this? How to troubleshoot the behavior of the report? Could I use Profile and what events should i select?
    Thanks

    Hi jori5,
    Based on my understanding, after changing the parameter, the report render very slow, right?
    In Reporting Service, the total time to generate a report include TimeDataRetreval, TimeProcessing and TimeRendering. To analyze which section take much time, we can check the table Executionlog3 in the ReportServer database. For more information, please
    refer to this article:
    More tips to improve performance of SSRS reports.
    In your scenario, since you mention the query spends less time, the delay might happens during report processing and report rendering section. So you should check Executionlog3 to check which section costs most of time, then you can refer to this article
    to optimize your report:
    Troubleshooting Reports: Report Performance.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • Crystal Report errors when installing visual studio 2010 app

    I'm trying to install a Visual Studio 2010 application on two client's machines and I get a different error on each one.  Both errors point to Crystal Reports.
    I have a feeling that I'm supposed to install something on the client's machines but I'm not sure what.
    The first client's error says that CrystalDecisions.Windows.Form Version 13.0.2000.0 cannot be loaded.
    The second client's error says that FlashControlV71. Version 1.0.3187.32366 needs to be installed in the GAC.
    What am I supposed to install on the client's machines?  Or if that's not the problem, what is causing the errors?
    This is my first visual studio app so I'm a complete newbie.
    Thanks for any help or advice.

    Thanks for your reply.  I installed the runtime (x64) and am now getting a new error on the first client's machine.  I think it's telling me that I installed the wrong version of the runtime.  The client is running x64t Win 7 so I chose the x64 runtime to install. 
    System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
       --- End of inner exception stack trace ---
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
       at IM_CMETracking.ReportViewer.CrystalReportViewer1_Load(Object sender, EventArgs e)
       at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
       at CrystalDecisions.Windows.Forms.CrystalReportViewer.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    The second client is running XP.  The error I'm getting on their machine is this:
         CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException:    Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.
    Thank you for your help.

  • Visual Studio 2005/2008 and Crystal Reports versions/upgrade questions.

    I've tried posting this question on the MSDN forums and gotten no response. 
    I've downloaded and installed VS 2008 Beta 2.   The versions on the Crystal Reports files included are 10.5.0.1806  
    I'm currently using VS 2005, with the included Crystal Reports.  The versions on those files are 10.2.0.xxxx.  I've created an desktop app (in VB) which stores it's data in a database and uses the CR 10 runtime merge modules to generate a report.
    I was considering upgrading the Crystal Reports version to XI.  I would like to allow customers to modify my delivered report with their own licensed copy of CR XI.  I am not providing any functionality within my app to create or modify the delivered .rpt or use it outside my application.
    Questions:
    Do I need to update the runtime files to CR XI to support rpt files modified with CR XI?  Current runtime files are being delivered with the CR 10 merge module.
    I see a Crystal Reports for Visual Studio upgrade to CR XI. 
    Can I update the merge modules to CR XI and still use the CR for VS2005 for development?
    Does it make any sense to update CR for VS 2005?  Or to get the full CR XI Developer edition?  My usage of CR functionality is very limited.
    Would there be any benefit to waiting for the release of VS 2008?   How does that change the scenario?
    How does Crystal Reports for Visual Studio fit in with the Crystal Reports Lifecycle?  It's not mentioned on Business Objects End of Life Dates page . Crystal 10 has a Patch EOL of 31-Dec-07.   Does this apply to CR for VS 2005?  Where does 10.5 fit in?
    My main concern is allowing customers with CR XI to change the format of my delivered .rpt to run with my app.  Adding their company name, logo, etc.   My testing show a CR XI report still works with my current app.  But, going forward, what should I deliver and what do I need to use to continue development?

    To use Reports designed in XI, you need to use XI or higher runtime, running them in older versions may work, but you may encounter unforeseen issues doing so.
    If you are to use VS2005 for development you need to use XI Release 2 (11.5) runtime.
    If you are going to use VS2008 for development you need to use Crystal Reports 2008 with Service Pack 0.
    The support end of life for versions of Crystal Reports bundled with Visual Studio are linked to what Microsoft's lifecycle for the product is.  Generally if there is a workaround for the issue that is simple enough, there will not be a patch created.
    The changes you are expecting the customer to do can be accomplished with our RAS SDK which is available without using enterprise starting with Crystal Reports XIR2 SP2.

  • How can I get Visual Studio 2010 to work with Crystal Reports?

    Hi,
    My office upgraded to Windows 7 and Visual Studio 2010 and now I can no longer write front end programs to Crystal Reports version 10.   Does anybody know if there is a a workaround?   Also, our version of Crystal Reports is 32 bit but the new desktop machine I have is 64 bit so there may be issues accessing the Crystal Reports DLLs which are now located in the Programs (x86) folder.
    It's all such a gigantic mess that I don't even know where to begin.   Visual Studio 2008 had Crystal Reports in it so it was real easy.
    Dave

    Try searching first before posting. CR for Visual Studio 2010 download is available on the OverView tab. It's a free install, we don't ship in VS now, it's still a plug in so you can't use VS 2010 Express version, MS doesn't support plugins in Express versions.
    Runtime files will be version 13 and should update your app without issues.
    Install VS 2010/2012/2013 first and then run the first link in the download page. Don't instlal just the runtime redist MSI, it will not integrate into VS.
    Also, set your Project for x86 and not any CPU and use the full .NET Framework and not the client version.
    Don

  • Error when i try to print in Crystal Report

    Hi , im student from mexico, i have a truble with Crystal Report so u can help me ? plz
    my problem with Crystal Report is when i try to print
    check my code
        repComandaGeneral.Load("C:\Users\Usuario\Documents\DozRES - comandas\RepTicketCGeneral.rpt", CrystalDecisions.Shared.OpenReportMethod.OpenReportByDefault)                repComandaGeneral.SetDatabaseLogon("root", "1234", "localhost", "dozres") ' Login base de datos
                    'Dim MiConexion As New ConnectionInfo
                    'Dim myTables As Tables = repComandaGeneral.Database.Tables ' Informe.Database.Tables
                    'MiConexion.ServerName = "192.168.1.254"
                    'MiConexion.DatabaseName = "dozres"
                    'MiConexion.UserID = "root"
                    'MiConexion.Password = "1234"
                    'For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
                    '    Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
                    '    myTableLogonInfo.ConnectionInfo = MiConexion
                    '    myTable.ApplyLogOnInfo(myTableLogonInfo)
                    'Next
                    repComandaGeneral.SetParameterValue(0, "Value")
                    repComandaGeneral.SetParameterValue("cm_id", cm_id)
                    repComandaGeneral.PrintToPrinter(1, False, 0, 0)
                    repComandaGeneral.Close()

    The "database vendor error 556" indicates that the query to the database returned with error 556.  It's vendor specific.  Look up your database vendor's documented error codes, to see what 556 indicates.
    Doing a bit of googling looks like the issue is that the ODBNC datasource does not exist. Remember that there are 32 bit and 64 bit ODBC datasources. If your app is 32 bit, the DSN must be 32 bit, if it is compiled as 64 bit the DSN must be 64 bit.
    See KBA 1505620 - How to create a 32 bit ODBC data source on a 64 bit Operating System
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for

  • NO Dock or Expose, NO Background! PLease Help

    Around 11:00 this morning i received Leopard. I installed just like it said, let it run through everything, the computer rebooted and then no dock, no background, no expose, no dashboard. Nothing with these seems to work anyone have any idea. I tried

  • What is the Tcode for creation of SC..

    HI all, I am very new for the SRM.. Can any body please tell me what is the tcode for creation of SC...?

  • What's the tables to find the relationship between OPT and SUV

    Dear CRMers,   Now, we're trying to find the tables to get the Survey and Answer of Survey to certain opportunity. Any one could give me the details. Any suggestions are appreciated. Best Regard Gerald

  • New iTunes, New iTunes Bug

    I am completely unable to download files from the iTunes store to my network drive after updating iTunes to 7.4.2. I get the ridiculous "disk full" error message on a drive with almost 400 GB of free space. I have to change the iTunes library back to

  • Sync music without sim?

    I'll be getting the 3G iphone soon and I wanted to give my old iPhone to my cousin. Once my old iphone is deactivated will he still be able to use it as an ipod and camera.. etc. Will it be able to sync music with itunes without a sim? Thanks Tom