Crystal Reports connect with my Connection String RRS feed

  • Question

  • User-582711651 posted


    Please clear my doubt, I have desiged one crystal report, i want include to my aspx page, & connect to my ASPX page, how to connect Crystal Report with my existing my Connection string (from my Webconfig). 


    Ayyappan cnn.

    Monday, March 21, 2011 1:34 AM


All replies

  • User-119530012 posted

    As far as I recall bro, everytime you create a New Crystal Report you have to select the Data Source from where the data will be extracted. I haven't seen an option to use the same connection string. Check this post, http://forums.asp.net/t/1092880.aspx/2/10?How+can+i+use+connection+string+from+web+config+in+Crystal+reports+. If you ask me, I'll say it's a dangerous thing to use the same connection string since a failover could harm your application AND your Reports at the same time. I'll recommend you to have separate connections.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 21, 2011 8:57 AM
  • User2026508732 posted

    Try following link.

    Its in vb.

    but works great in C#.

    This worked for me.


    Tuesday, September 13, 2011 9:22 AM