locked
how to add crystal report viewer in web form? RRS feed

  • Question

  • User-1814697841 posted

    hi all,

    i am using vs 2008. I did added crystal report in my web application. but now i want to call that report in my page but when i am tring to drag and drop it in my webpage its not droping that.??

    do i have to add any dll's to bin folder or i have to change anything in web.config??

    Can some one please help me?

    Thanks

    Friday, April 6, 2012 4:20 PM

All replies

  • User1839833660 posted

    create a new form, drag crystalreportviewer from toolbox onto it

    assign crystalreport.rpt you created earlier as it's data source

    refer for more info http://csharpdotnetfreak.blogspot.com/2009/07/creating-crystal-reports-in-aspnet.html

    Saturday, April 7, 2012 4:20 AM
  • User-1814697841 posted

    Thanks for your reply but,

    i can not drag and drop crystal report viewer on my web page. Crystalreportviewer is thr in my toolbox but when i am draging that its not doing any thing  do i have to change my web.config first for crystal report????

     

     

    Monday, April 9, 2012 9:12 AM
  • User1839833660 posted

    Check whether you have these entries in your web.config 

    	<assemblies>
    	<add assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    				<add assembly="CrystalDecisions.Shared, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    				<add assembly="CrystalDecisions.ReportSource, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    				<add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/><add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Enterprise.Framework, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></assemblies>



    Monday, April 9, 2012 2:46 PM
  • User-1814697841 posted

    Thanks for your reply,

    I did added this to my web.config and now i can add crystalreportviewer to my website thatnk for your reply but now i cannt deploy that on server can you please help me with that? how to deploy web app with crystal report on server??

     

    Thanks,

    Monday, April 9, 2012 3:56 PM