Home > Crystal Report > Crystal Report Setdatasource Error

Crystal Report Setdatasource Error


more hot questions question feed lang-cs about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation E.g.; my_app.exe would have my_app.config.- Ludek 1 Likes 1 View this answer in context Helpful Answer by Bhushan Hyalij Bhushan Hyalij Bhushan Hyalij 15 replies Share & Follow Privacy Terms of MDAC/Jet/ACE downloads .•. Try that and let us know how it works. his comment is here

I am getting another strange error though. FlexGrid: AutoSize columns .•. I have created and tested my reports on the development pc and it works fine. For example, if you are connecting to Access through ODBC, then set the 'DatabaseName' for the 'ConnectionInfo' object as follows: Code: With crConnectionInfo .DatabaseName = "C:\mydatabase\mydata.mdb" End With If you are

Crystal Report Setdatasource Error

Proposed as answer by Momox123 Monday, July 04, 2011 11:13 PM Thursday, May 05, 2011 12:30 PM 0 Sign in to vote Hi, I am also having the same problem. I have a windows interface not a web one but that makes no difference to what I want to do here - which is: I have designed the report which works Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New?

First time i am given this project :(. Now, I'm getting the LogOn Failed Error. Maybe you need to rebind the crystal report during the postback. All times are GMT -5.

protected void Page_Load(object sender, System.EventArgs e) { if (!string.IsNullOrEmpty(Request.Params(CrystalReportViewer1.ClientID.Replace("_", "$") + "$ctl02$ctl00.x"))) { // do binding } } Hope it help. Setdatasource Crystal Reports C# So to be able to load V1.1 compiled assemblies i needed to add theattributebolted below to my *.config file. God luck!Johan Marked as answer by Harry Zhu We moved from VS 2008 to VS 2010 and Crystal Report Document. http://stackoverflow.com/questions/20829397/when-i-setdatasource-of-crystal-report-it-gives-error-cannot-assign-to-setda MKoslof02-13-2005, 11:04 AMHow did you define the initial report (what version of Crystal and how did you set its initial datasource)?

In the case of a win app, you will have have an app.config file that has the info as per Bhusha'n's post. After I update the app.config file to include your setting, it work like a charm. Just try and you will find that. Good luck, Irene Reply With Quote Quick Navigation Reporting Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Visual Basic Visual Basic .NET VB.net CodeBank Visual

  • Sign in using Search within: Articles Quick Answers Messages Use my saved content filters home articles Chapters and Sections> Search Latest Articles Latest Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update
  • DonDon Williams Tuesday, May 03, 2011 10:17 PM 2 Sign in to vote What's the problem !!
  • Surely this shouldn't be compliated to do?

Setdatasource Crystal Reports C#

Thursday, June 17, 2010 7:04 AM 0 Sign in to vote Same problem no sultionJohan Thursday, June 24, 2010 5:12 PM 2 Sign in to vote Finally! http://www.vbforums.com/showthread.php?414691-RESOLVED-Why-my-SetDataSource-do-not-work So, to solve this problem, use ttx file and active data driver, and it should do the trick. Crystal Report Setdatasource Error How can I ensure my Playstation 2 will last a long time? Also Had the SQL a little out order.

There the file is called app.config. this content Thursday, June 24, 2010 9:22 PM 0 Sign in to vote Works fine! Encasing a star in a perfect insulator Dealing With Dragonslayers Armistice Day Challenge Quine Anagrams! (Cops' Thread) How to prove that authentication system works, and that the customer is using the To start viewing messages, select the forum that you want to visit from the selection below.

You’ll be auto redirected in 1 second. Copyright Quinstreet Inc. 2002-2016 Xtreme Visual Basic Talk > Visual Basic .NET (2002-2015), including Express editions) > .NET Database and Reporting > setdatasource not working! Don Don Williams Wednesday, March 02, 2011 4:29 PM 1 Sign in to vote I'm kissing your legs :-) Thank you very much. weblink Proposed as answer by Saâd HAFFAR Tuesday, May 03, 2011 9:07 PM Tuesday, May 03, 2011 9:05 PM 0 Sign in to vote This post is marked as answered, search first,

You've already set the source. –jessehouwing Dec 29 '13 at 20:13 Problem is still there –Charlie Dec 29 '13 at 20:25 add a comment| Your Answer draft saved SolutionsBrowse by Line of BusinessAsset ManagementOverviewEnvironment, Health, and SafetyAsset NetworkAsset Operations and MaintenanceCommerceOverviewSubscription Billing and Revenue ManagementMaster Data Management for CommerceOmnichannel CommerceFinanceOverviewAccounting and Financial CloseCollaborative Finance OperationsEnterprise Risk and ComplianceFinancial Planning Tutorial: How to automate Excel from VB6 (or VB5/VBA) .•.

Carrie02-08-2005, 10:21 AMcrxrpt.Load(sStr & repname) ' get connection string Dim sLoc As String If rDB = False Then sLoc = ConfigurationSettings.AppSettings("ConnReports") Else sLoc = ConfigurationSettings.AppSettings("ConnectionString") End If Dim iNum As Integer

After digging around in WinDbg i found out that the problem has it root in FW 4.0 Assembly bindning behavor. SQL Server downloads .•. Hitchhiker's Guide to Getting Help at VBForums Classic VB FAQs (updated Oct 2010) ...Database Development FAQs/Tutorials (updated May 2011) (includes fixing common VB errors) .......... (includes fixing common DB related errors, The time now is 02:26 AM.

Member 11 Points 87 Posts Re: Crystal Report with DataSet, DataTable (Having Problems) Oct 16, 2010 03:40 PM|mahdijalilvand|LINK Thanks Reply edsharp Member 6 Points 42 Posts Re: Crystal Report with DataSet, Thank you

.Net 3.5

  • check over here Please refer to the help center for possible explanations why a question might be removed.

    Insults are not welcome. OK, for strange reason, if we use a non ttx file for datasource when designing the Crystal Report, it simply just refuses to discard the original data and reset the datasource. firstly main title pvValue.Value = strTitle1 pvCollection.Add(pvValue) crxrpt.DataDefinition.ParameterFields("x").ApplyCurrentValues(pvCollection) ' had to put this in to make it work!! Then, I modify the original CRViewer form to include this code (in blue below): Dim Report As New CrystalReport1 Dim WithEvents poRS As Recordset Dim db As Connection Private Sub Form_Load()

    Dim myConnection As SqlConnection Dim MyCommand As New SqlCommand() Dim myDA As New SqlDataAdapter() Dim myDS As New DataSet("EmployeeOshaDataSet") Dim connectionString As String = ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString MyCommand.Connection = myConnection MyCommand.CommandText = "SELECT Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: Framework 4.0 & Crystal Reports: problem with SetDataSource method Archived Forums And more as we work through the kinks. From what I've read - I should be able to set up a report pointing to a local database and change datasource at runtime (whatever the set-up type or location?).

    Most of the issues have now been identified and should be resolved in Service Pack 1 or 2. That resolved similar problem that I was getting. MKoslof02-15-2005, 05:48 PMIf you are using Access, this is just a flat file. Thanks!

    wish me luck ... You mean you cannot go to page 2? For these reports, I have used the database expert and set my desired database and tables etc. Hope it help.

    I have tested the connection string - also valid).