Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. unhandled exception in crdb_adoplus.dll

unhandled exception in crdb_adoplus.dll

Scheduled Pinned Locked Moved Web Development
helpsysadminlounge
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ritesh1234
    wrote on last edited by
    #1

    Hi Friends, I am using vs2002 and CR 9.1.In my application i have to Export the crystal report to PDF and i am able to do so using below code. Public Sub ExportToPDF() Dim rptDiskFileOptions As New DiskFileDestinationOptions() Try Dim FilePath As String FilePath = Server.MapPath(General.C_TempDownLoadPath & & "Report.pdf") '.Replace("/"c, "\") rptDiskFileOptions.DiskFileName = FilePath rptDoc = DirectCast(Cache(strCacheReport), ReportDocument) rptDoc.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile rptDoc.ExportOptions.DestinationOptions = rptDiskFileOptions rptDoc.ExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat rptDoc.Export() Response.Redirect(General.C_TempDownLoadPath & "ReportName.pdf") Catch exc As Exception Throw exc Finally rptDoc = Nothing rptDiskFileOptions = Nothing End Try End Sub Now my problem is that some time i am getting pdf file without any problem but most of the time it give me this exception. An unhandled exception of type 'System.ExecutionEngineException' occurred in crdb_adoplus.dll can anyone help me to resolved this problem. Regards, Ritesh

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups