Crystal report Getting Error..

Hi Experts.
i have to create Crystal report using Store Procedure. When i Create Connection using OLE DB (ADO ) and Select the Store Procedure when i select the Store Procedure and pass the Date using Parameter i got the Following Error .
Database Connector Error : 'ADO Error Code :0X Source : SQL Native Client 10.0 Description : Incorrect Syntax near The Keywqord : 'Convert' SQL State :42000 Native Error :  [Database Vendor Code : 156 ]'
Here is my Query please help me out to sort this Problem ....
ALTER PROCEDURE [dbo].[VehicleReport]
     -- Add the parameters for the stored procedure here
     @StartDate as datetime,
     @EndDate as datetime
AS
Select [@VEHICLE].Code ,[@VEHICLE].Name ,[@VEHICLE].U_ChasisNo ,
[@VEHICLE].U_Color ,[@VEHICLE].U_EngineNo ,[@VEHICLE].U_FuelConsumed ,
[@VEHICLE].U_GasConsumed ,[@VEHICLE].U_Horsepower ,[@VEHICLE].U_KG_KL ,
[@VEHICLE].U_KM_Month ,[@VEHICLE].U_Model ,[@VEHICLE].U_Modification ,
[@VEHICLE].U_RegNo ,[@VEHICLE].U_Remarks ,[@VEHICLE].U_Type ,
[@VEHICLE].U_Useageprps ,[@VEHICLE].U_VehicleDes  from [@VEHICLE]
Where Convert(VARCHAR(MAX),Cast([@VEHICLE].U_Date as Datetime),121)>=CONVERT(VARCHAR(10), @StartDate , 101)
And Convert(VARCHAR(MAX),Cast([@VEHICLE].U_Date as Datetime),121)
<=CONVERT(VARCHAR(10), @EndDate, 121)
Thanks
Regards.

Is this error specific to Crystal?  I guess what I am asking is if you are using the Business One SDK?  If this is specific to Crystal and not the SDK, you may also want to post your question in the SAP Business One Reporting & Printing Discussion Forum at:
Reporting and Printing
Eddy

Similar Messages

  • Crystal report unexpected error in Web service (IIS)

    We are using Crystal report in web service.
    We faced some problem due to crystal report unexpected error.
    Refer the below error message.
                Xception E NSF      NSFZ1100 20100608 145511565 GPRAB0 : GPRZ10  [GUEC0001] [1] [AbstractService] Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
                Xception E NSF      NSFZ1100 20100608 145511972 GPRAB0 : GPRZ10  [GUEC0001] [1] [AbstractService]    at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
                   at System.Windows.Forms.MessageBox.Show(String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon)
                   at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e, Boolean suppressMessage)
                   at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e)
                   at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPageNumber()
                   at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPage()
                   at CrystalDecisions.Windows.Forms.DocumentControl.ShowLastPage()
                   at CrystalDecisions.Windows.Forms.PageView.ShowLastPage()
                   at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.TotalPageCount(ReportDocument Rpt)
                   at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.Print(BaseReport RptDefinition)
                   at Biz.Nissan.Cats.CORE.REPORT.MCTLIST260Print.Print(IFData ifData)
                   at Biz.Nissan.W3.CATS.BC.Service.DistributeService.ExecuteMpp()
    How we get the actual error from crystal report?
    Thanks in Advance

    What is the workflow
    What is the application doing?
    Iu2019m guessing you have a windows service application and you're trying to launch a UI (ie the viewer control) from the application or print using the vieweru2019s printing functionality programmatically(?).
    If this is a Windows Service running under the local system account, then follow the instructions in the error message. (ie, bring up the properties of the service, go to the logon tab and check the checkbox that says u201CAllow service to interact with desktopu201D.   At least that should allow whatever popup is trying to come up display properly.
    Ludek

  • Crystal Report Runtime Error 9.0.Could not open the report

    Hi,
    Getting the Crystal Report Runtime Error 9.0.Could not open the report while Run on Launch Application. Actually in Launch Application, created a link for exe which is having crystal reports. We can open the Crystal Reports from the exe outside B1.
    Note: SAP 2007, Crystal Report 2008 is using.Normally can open crystal report.
    Any help to fix the error is appreciated.
    Thanks & Regards,
    Parvatha Solai.N

    Hi,
    Please post screen shot of error message here.
    Thanks & Regards,
    Nagarajan

  • Crystal Report XI Error:717

    Error:717
    Hi,
    We use Crystal Report XI developer with Oracle 10g.
    Our Oracle Client is Oracle 10g and the Oracle server is Oracle 10g.
    Our application develepor tool is CodeGear RAD Studio, Delphi 2007 Enterprise.
    The Crystal Report use the Native Oracle Connection.
    When the applicatin run, and we call the Crystal Report, an error occure:
    Error:717 Error in file c:sample.rpt
    Failed to load database information
    Execute
    Please help me!
    Thanks
    Sándor Lencsé

    I would make verify the database within Crystal report and then re publish it again. It seems it doesn't get the connection to the db.
    Have you refreshed the database within Crystal Reports?
    As Graham said, does it open in Crystal Viewer?
    another thing would be to add the DSN (System DSN) onto your client machine as well. Maybe it is not getting a right connection.
    Try it and let us know.
    Kind Regards
    Jehanzeb

  • Is this crystal report / adobe error   ?

    hi there,
    i developed a web application using asp.net4.0, VS 2010 and crystal report for VS2010. everything working fine in development machine as well as local server machine. but the same failed in production and it gave the error message as
    "the file is damaged and could not repaired" end of this error message everytime some random number is displaying.
    detail error:
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: AcroRd32.exe
    Application Version: 10.1.1.33
    Application Timestamp: 4e64e4e2
    Fault Module Name: IA32.api_unloaded
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 4e64f83d
    Exception Code: c0000005
    Exception Offset: 5c662a6d
    OS Version: 6.0.6002.2.2.0.305.9
    Locale ID: 2057
    Additional Information 1: fd00
    Additional Information 2: ea6f5fe8924aaa756324d57f87834160
    Additional Information 3: fd00
    Additional Information 4: ea6f5fe8924aaa756324d57f87834160
    Read our privacy statement:
    http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
    actually im getting this error only while passing some input data if i pass some other data then its working fine so, what i did was copied the production database,published folder from server to my local machine and ran the same code here i can see the output without any error. so, im confussing how to resove this issue and where is the issue.
    experts please guide me to resolve this issue
    Edited by: winseelan on Nov 22, 2011 6:31 AM

    This is the same as: crystal report / adobe error
    Please do nto cross post. See the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement].
    Locking this thread.
    - Ludek

  • Crystal Reports 2008 - Error 1904 - DLLs will not register

    I have just tried to install Crystal Reports 2008 on a PC which is running on XP Professional 2002 (Service Pack 3) and none of the DDLs will register.  I have administrator privileges on the local PC.
    I could possibly try to register the DLLs manually but I don't understand why they won't register automatically.
    I would really appreciate some assistance with this. 
    Kind regards, Leeanne
    I received the following errors....
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ReportPromptEMF.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ReportSourceBridge.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\busobjReporter.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FullClient.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FullClientAddin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FullClientTemplate.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Webi.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\qaaws.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\MetaDataPlugins.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\lovconvertor.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\EnterpriseControls.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FullClientServerAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Xcelsius.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Flash.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\EventServerAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FileServerAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\JobServerAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\DocProcessingServerAdmin.dll failed to register
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\EnterpriseRepositoryAdaptor.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\AuditProxyService.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Discussions.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\WebIntelligence.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CrystalEnterprise_SMTP.dll failed to register
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\DiskUnmanaged.dll failed to register. 
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Ftp.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Managed.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\MDS.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Connection.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Favorites_Folder.dll failed to register. 
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Folder.dll failed to register.  HRESULT -2147024769.  Contact your support personnel.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Inbox.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\LicenseKey.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ObjectPackage.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Profile.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Publication.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\User.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\UserGroup.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CacheSrvAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\PageSrvAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\SAWebAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CMSAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Calendar.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Event.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Excel.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Hyperlink.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\PDF.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CustomRole.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Powerpoint.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Program.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Agnostic.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\RTF.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ScopeBatch.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Server.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ServerGroup.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Shortcut.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\TXT.dll failed to register. 
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Word.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\AFDashboardPage.dll failed to register
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\AppFoundation.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\InfoView.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CMC.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Designer.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Encyc.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Encyclopedia.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\MyInfoView.dll failed to register. 
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ReportConvTool.dll failed to register.

    Install .NET Framework 1.1 and 2.0 and then any patches Windows has for them.
    Install the C++ runtime distribution from Microsoft, search MS's site for it, they have multiple links for each OS.
    Download the latest Microsoft installer, you can go to MS's web site to get it.
    Check with your IT department to make sure they have not pushed out a "modified" administrator Profile to your PC. Open up regedit.exe and confirm you can change any key in Current User and Software and anything. Be sure to copy the original so you can right the value back and the usual warnings about modifying the registry.
    Download CR 2008 SP1 full build: https://smpdl.sap-ag.de/~sapidp/012002523100006555792009E/cr2008win_sp1.exe ( requires and un-install of existing CR 2008 if any are on your PC )
    Before running CR 2008 Install SP 3: https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
    You could also try Disabling DEP, right click on My Computer, Properties, Advanced tab and Data Execution Prevention and make sure it's set to windows Processes only. Requires a re-boot if changed.
    Disable any and all anti-virus and local firewalls, copy everything local and disconnect your network cable so you don't get anything nasty and try again.
    If none of the above works then try someone elses computer, your system may be beyond repairing and could require an FDISK and starting all over.
    Thank you
    Don

  • SAP Crystal Reports 2011: Error INS00140 The Product keycode is not valid

    I have followed all of the instructions in the previous thread but am still getting the error message.  I am trying to install on a Windows 7 machine.

    Try this Post...
    SAP Crystal Reports 2011: Error INS00140 and other install errors
    PS - Coy no longer works here
    Don

  • Seagate Crystal Reports: Database Error

    I am using Crystal reports Version 8 and frequently get the error 'Seagate Crystal Reports: Database Error' when I try to open a previously working crystal report file. The error occurs when I click on the Database menu. Every time I get this error I end up redesigning the report as the I have not yet found a solution and I cant run the report.
    The error is a message box with the title 'Seagate Crystal Reports: Database Error' and an ok button - nothing else.
    Its very frustrating!
    Please help.
    Thanks.

    Hi,
    What database are you using and how are you connecting to it? 
    What are you clicking in the Database menu:  Set Location, Verify Database, Show SQL Query?
    Before opening the report, can you connect to the database first then open the report? 
    I would have expected an error code or a more descriptive error to follow. 
    Thanks,
    Brian

  • Crystal Report Previewing Error

    Dear Experts,
    After previewing the Crystal Reports, the error message shown like this:
    http://i775.photobucket.com/albums/yy34/erpkenny/CrystalReport_jpg_02JUL.jpg/
    Please kindly help me!
    Thanks!
    Kenny

    hi,
    Check the below link:
    Application has a problem - Printing Problem
    Thanks,
    Neetu

  • Sql Server 2008 Reporting Security issue ( added name to Server, some how cannot acces the report ) getting error message

    have added name to Sql server , users cannot access the report, getting error message ,
    I have give all the permission to this users, so why this users still cannot look at the report,
    and getting error message,
    An error has occurred during report processing.
    cannot create a connection to data source Ax live
    for more information about this error navigate to the report server on the local server machine or enable remote errors.
    can some please help me what this message means,
    I really appreciate it
    thanks In advance

    If "Credentials supplied by the user running the report" is selected, when the report is run, the user will be prompted to provide credentials.  They would need to provide credentials that have the appropriate permissions (e.g., read, execute) to the
    database.  This prevents the double hop.
    If "Credentials stored securely in the report server" is selected, you have to enter the username and password of a user (or service account) that has the appropriate permissions (e.g., read, execute) to the database. When the report is run, SSRS will use
    these stored credentials each time to authenticate to the database engine and query the data.  Users running the report are not prompted to provide credentials.  With this option you can use an Active Directory or SQL Server account.
    In order to access/run the report, a user will need to authenticate to SSRS.  There are options here as well. You can provide them the link to the report manager and they can authenticate, navigate to, and run the report.  You can also provide
    direct links to reports that users click in a document or application.  At this point the user is typically still prompted to authenticate to SSRS.  You can also programmatically call the report using API's and essentially build a proxy that authenticates
    to SSRS and open the report.
    Not sure if that answers your question.

  • Crystal Report generation error

    Hi,
    I m using VS 2008 for development web application on local machine. One of my page is being used to display crystal reports through report document as usual.
    I deployed my application on web server windows 2008 R2 and I have also properly installed CRRedist2008_x64.msi & CRRedist2008_x86.msi on web server
    But When I open this page on browser I always get en error on line Declaring reportdocument object Like
    Retrieving the COM class factory for component with CLSID {5FF57840-5172-4482-9CA3-541C7878AE0F} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
        Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
      Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {5FF57840-5172-4482-9CA3-541C7878AE0F} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
    ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
    To grant ASP.NET access to a file, right-click the file in File Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
      Source Error:
    Line 44: Line 45: Dim rpt = New ReportDocument()
    Line 46:         rpt.Load(Server.MapPath("../Reports/CrRcpt.rpt"))
    Please help me to work on crystal report in my project:
    Thanks

    You have to be careful on the files you deploy. There is Crystal Reports 2008 (v. 12.x) and Crystal Reports Basic for Visual Studio 2008 (v. 10.5).
    If you are referencing CR assemblies of version 12.x, then you have to use the runtime files from here:
    MSM
    https://share.sap.com/a:328ro3/MyAttachments/53ecd0f0-09d3-4633-ada3-eeb7639fcd37/
    MSI
    https://share.sap.com/a:328ro3/MyAttachments/b7b145e0-eab2-46d0-bab1-e072d4f2af35/
    Note that CR 2008 (v. 12.x) does  not have 64 bit runtime.
    If you referenced CR assemblies of version 10.5, then you need to use the runtime files from here:
    Crystal Reports for VS 2005 and VS 2008 Updates & Runtime Downloads
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter
    https://twitter.com/SAPCRNetSup

  • Crystal report / adobe error

    hi there,
    i developed a web application using asp.net4.0, VS 2010 and crystal report for VS2010. everything working fine in development machine as well as local server machine. but the same failed in production and it gave the error message as
    "the file is damaged and could not repaired" end of this error message everytime some random number is displaying.
    detail error:
    Problem signature:
      Problem Event Name:     APPCRASH
      Application Name:     AcroRd32.exe
      Application Version:     10.1.1.33
      Application Timestamp:     4e64e4e2
      Fault Module Name:     IA32.api_unloaded
      Fault Module Version:     0.0.0.0
      Fault Module Timestamp:     4e64f83d
      Exception Code:     c0000005
      Exception Offset:     5c662a6d
      OS Version:     6.0.6002.2.2.0.305.9
      Locale ID:     2057
      Additional Information 1:     fd00
      Additional Information 2:     ea6f5fe8924aaa756324d57f87834160
      Additional Information 3:     fd00
      Additional Information 4:     ea6f5fe8924aaa756324d57f87834160
    Read our privacy statement:
      http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
    actually im getting this error only while passing some input data  if i pass some other data then its working fine so, what i did was copied the production database,published folder from server to my local machine and ran the same code here i can see the output without any error. so, im confussing how to resove this issue and where is the issue.
    experts please guide me to resolve this issue
    Edited by: winseelan on Nov 22, 2011 6:25 AM

    Check DLL differences; CR dlls, db client dlls, system dlls. Use [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] to compare the two scenarios.
    - Ludek

  • Purchase Order Crystal Report Layout Error

    The stock Crystal Report Layout for Purchase Orders is giving me the following error:
    A subscript must be between 1 and the size of the array.
    Details: errorKind
    Error in File POR20002 {b89f97ad-bf1f-447b-8bb4-b3d2e5219269}
    {3C375C81-7D37-475D-9BCB-1703CE533B65}.rpt
    Error in formula N_Decimal_Places:
    '// To get the length of decimals
    A subscript must be between 1 and the size of the array.
    Details: errorKind
    I looked in the Crystal Reports Formula fields and could not find N_Decimal_Places.
    Has any one else had the problem with the PO layout that comes with Business One?  If so, how did you fix it?

    Couldn't find how to copy the PO layout over using copy express.
    I did compare the RDOC fields for POR20002 in both databases and they are Identical. 
    In Crystal Reports, I did a formula search for N_Decimal_Places and it found nothing.  Then I did a search for 'length' in all formulas and it finds length in N_Decimal_Places.  When I double click on N_Decimal_Places it clears the screen and never shows the formula. This happens in both layouts for my test database and SBODemoUS.
    Again, SBODemoUS works correctly and AAA_TEST give the error.

  • Crystal report runtime error on print preview

    Hi everybody
    I've built a CR report based on a 'SAP B1' connection type
    I pick my tables from the DBO menu and not from the B1 tables menu (not the one which is organized like  the SAP main menu)
    I  open CR application and the report
    I click on the print preview button
    I enter the parameter
    I enter the Company user password in the "Enter connection details below' window
    After this step, I've often have a C++ runtime error
         Detail of the error message :
         TITLE : MS Visual C++ Runtime library
         Runtime error !
         Prgram : C:\Program files (x86) \business...
    Problem signature:
      Problem Event Name:     APPCRASH
      Application Name:     crw32.exe
      Application Version:     12.2.0.290
      Application Timestamp:     4a365bb5
      Fault Module Name:     MSVCR80.dll
      Fault Module Version:     8.0.50727.3053
      Fault Module Timestamp:     4889d619
      Exception Code:     40000015
      Exception Offset:     000046b4
      OS Version:     6.0.6001.2.1.0.16.7
      Locale ID:     1033
      Additional Information 1:     fbca
      Additional Information 2:     4dd03cfc2bbb8ba75251d9b6c3496254
      Additional Information 3:     81d9
      Additional Information 4:     759284bec319ee7a483715cbc8f2c898
    this erreor does not appear every time
    I do not understand what makes tihs error to appear or not.
    The only solution I've found so far :
    Re open the report
    Go to DATABASE Manue / Set Datasource location
    I change the location of all the table to a new connection source.
    environnement : win XP SP3 and CR 12.2.0.290 or Win 2008 serv and CR 12.2.0.290
    Have you met the same problem in your editions ? Have you found any solutions ?
    Thks for all answers
    Edited by: Antoine TESSIER on Apr 19, 2010 11:58 AM

    I am having the same problem, reloaded Crystal, tried changing database, still getting error message.  I am running in Windows 7 Professional.
    Description
    Faulting Application Path:     C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\crw32.exe
    Problem signature
    Problem Event Name:     APPCRASH
    Application Name:     crw32.exe
    Application Version:     12.1.3.1028
    Application Timestamp:     4991a897
    Fault Module Name:     MSVCR80.dll
    Fault Module Version:     8.0.50727.4927
    Fault Module Timestamp:     4a2752ff
    Exception Code:     40000015
    Exception Offset:     000046b4
    OS Version:     6.1.7600.2.0.0.256.48
    Locale ID:     1033
    Additional Information 1:     cd41
    Additional Information 2:     cd416236504bbf90e1e977a0426bc2fe
    Additional Information 3:     671e
    Additional Information 4:     671eefc7db4b2a40792acc9f378ae3f4

  • Crystal Report/STRUTS: Error (404) when clicking on Control Buttons (Print, Export, Next, Previous, etc...) on report viewer

    Post Author: jwenny
    CA Forum: Deployment
    Need help badly!!!
    We are using the crystal reports plugin for STRUTS.
    We are able to display the report in the crystal report viewer.  However, when we click any control buttons (print, export, etc...), then we get:
    JSPG0036E:  Failed to find resource /Report-viewer.jsp
    We then moved Report-viewer.jsp to the WebContents folder (root directory) and got a different error when we clicked any control button:
    Error:  400 page not found
    Does anyone know how to solve this problem?  For instance, is there a setting or parameter that needs to be set?
    Greatly appreciate any help!

    HI,
    Whenever we print the viewer does an auto postback, I believe due to this some of the values are getting missed. Moreover we are referring to the viewer and reportdocument object, it seems. So can you try this simple code in an application to see if it helps:
    ReportDocument rdoc = new ReportDocument();
    rdoc.Load("C:\TASKECrystalReports\Intraday.rpt");
    rdoc.SetDatabaseLogon("uid","pwd");
    rdoc.SetParameterValues("parameter name","value");
    CrystalReportViewer.ReportSource = rdoc;
    Helps?
    Thanks.

Maybe you are looking for

  • XI3.0: SOAP-Adapter Exception

    Hi All, I'm trying to send a message to a web service via the SOAP adapter. Unfortunately the SOAP adapter throws the following exception: <i> SOAP: error occured: com.sap.aii.messaging.srt.BubbleException: Failed to call the endpoint: HTTP 0 null [n

  • Problem downloading netweaver trial version

    hi, I'd like to download the trialversion 7.01, but the download always stops after a few seconds and then I get the message "sapnw7.0rar.part could not be safed because source could not be read. try again later or contact the administrator" can anyo

  • Adding native menus to an AIR application using ActionScript

    Hi, I'm working on Mac and PC with Air application. I'd creates a class extends Menu witch goal is to create a nativeMenu. My class is package     import flash.desktop.DockIcon;     import flash.desktop.NativeApplication;     import flash.desktop.Sys

  • What is the newest version of Adobe camera raw for PSE 11?

    Wat is de nieuwste versie van Adobe Camera Raw voor PSE 11? What is the newest version of Adobe Camera Raw for PSE 11?

  • Why can't my adobe programs be read?

    Why can't my adobe programs be read?