CRVS2010 Beta - Error: No valid Report Source is available

I am new to using crystal reports in .NET so any (un-jargoned) help is much welcomed and appreciated.
I am implementing an web application on a Windows XP machine using VS2010 and have downloaded and installed the CR4VS2010 beta 2 and the CRforNET40_x86.  All installed OK with no errors.
I have embedded a crystal report viewer into my web page and have populated a dataset (myDS) successfully from my SQL server connection earlier in the code.
The report (stoppages.rpt) is an untyped report stored in a separate folder and has 2 datetime parameters to pass in.  When I run the web app it runs fine until the parameter boxes appear - I enter 2 valid date values into the parameter boxes when I hit OK I get an error - No valid report source is available.
My code is shown below - I have searched other forums and it was suggested to put in the session.add part but the error occurs with or without this bit in...
Please help - newbie and desparate! Thanks
Dim myReportDocument = New CrystalDecisions.CrystalReports.Engine.ReportDocument()
            myReportDocument.Load("C:\Reports\stoppages.rpt")
            myReportDocument.SetDataSource(myDS)
            Session.Add("Report", myReportDocument)
            crvThisReport.ReportSource = myReportDocument
Subject modified as per the sticky post at the top of this forum; [Crystal Reports for Visual Studio 2010 Beta - read before posting|Crystal Reports for Visual Studio 2010 Beta - read before posting;
Edited by: Ludek Uher on Oct 13, 2010 7:22 AM

Hi Ludek,  I tried adding
<startup useLegacyV2RuntimeActivationPolicy="true">
  <supportedRuntime version="v4.0"/>
</startup>
to the config file but it didnt resolve the problems. 
However I think I have found a work-around solution to setting the parameters programmatically rather than use the crystal report viewer pop-up boxes.  I am posting my code to help anyone else who might be experiencing the same problems:
Dim myReportDocument = New CrystalDecisions.CrystalReports.Engine.ReportDocument()
myReportDocument.Load(Server.MapPath(strRptPath))
myDS.WriteXml(Server.MapPath(strXMLPath), XmlWriteMode.WriteSchema)
myReportDocument.SetDataSource(myDS)
myReportDocument.Refresh()
myReportDocument.SetParameterValue("DateFrom", #9/1/2010 6:35:00 AM#)
myReportDocument.SetParameterValue("DateTo", #9/8/2010 6:35:00 PM#)
crvThisReport.ReportSource = myReportDocument
DateFrom and DateTo are the parameter names within my crystal report.
It seems to be working fine, it stops the crystal report viewer from displaying the parameter pop-up box which stops the error occurring.  However, the error still occurs when you want to interact with the report in other ways, ie page navigation, group tree navigation.  It still allows me to print, export and zoom in and out, so I will have to disable some buttons and features until this error is resolved - the search continues!
Thanks for all your help and advise.
Edited by: juliep68 on Oct 14, 2010 11:33 PM

Similar Messages

  • CRVS2010 Beta - Error in report with currency field in WPF viewer

    When using CRVS2010 with one of my applications I discovered that an InvalidOperationException happens everytime I try to load a report that contains a Currency Field database entry in the WPF viewer.
    To be sure, I made a simple report just with the Currency field and the error happens the same way.
    The exception that I receive is:
    This Pop operation has no corresponding Push to remove from the stack because the stack depth of the DrawingContext is zero.
    And the Stack trace is:
    at System.Windows.Media.RenderDataDrawingContext.Pop()
       at SAPBusinessObjects.WPF.ViewerShared.PageRender.drawFieldObjectInstance(FieldObjectInstance fieldObjectInstance, VisualCollection visuals)
       at SAPBusinessObjects.WPF.ViewerShared.PageRender.drawReportObjectInstance(ReportObjectInstance instance, VisualCollection visuals, Rect sectionClipRect)
       at SAPBusinessObjects.WPF.ViewerShared.PageRender.drawSectionInstance(SectionInstance section, VisualCollection visuals)
       at SAPBusinessObjects.WPF.ViewerShared.PageRender.Render(VisualCollection visuals)
       at SAPBusinessObjects.WPF.ViewerShared.PageView.Render()
       at SAPBusinessObjects.WPF.ViewerShared.PageView.set_PageObj(PageObject value)
       at SAPBusinessObjects.WPF.Viewer.DocumentView.ShowNthPage(Int32 PageNumber, Boolean hasAnimation)
       at SAPBusinessObjects.WPF.Viewer.ReportAlbum.OnCreateNewDocumentViewComplete(CreateNewDocumentArgs args)
       at SAPBusinessObjects.WPF.Viewer.DelegateMarshaler.<>c__DisplayClass6`1.<Invoke>b__4(Object )
    This problem happens in the WPF viewer, but not in the WinForms viewer.
    Please, if you know, tell me what I am doing wrong.

    This seems to be a bug in the software.  We will provide a fix in the final release. 
    -Mandeep

  • CRVS2010 Beta - Error message when running on Server

    Hi,
    In my application everything runs correctly.  As soon as I publish to the server I get this error message.
    "Retrieving the COM class factory for component with CLSID {C0C99FA5-E1D3-494E-BE0C-73C19424F91C} failed due to the following error: 80000003 One or more arguments are invalid (Exception from HRESULT: 0x80000003). "
    The server is running 2003, IIS 6,  and has the new Beta Runtime already installed. 
    Does anyone know what this means and how to get around the issue?
    Thanks
    <Update>
    I have restarted the server as I noticed in other posts with the same issue and I'm still getting the error.
    Edited by: durata on Aug 18, 2010 2:52 PM
    Still having this error.  If anyone has seen this before and knows how to correct it please let me know.  Any help would be appreciated.
    Edited by: durata on Aug 23, 2010 10:18 PM

    This error occurs when trying to use the CR API.
    The error message in the App log is :
    The description for Event ID ( 4353 ) in Source ( Crystal Reports ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: The keycode assembly, BusinessObjects.Licensing.KeycodeDecoder.dll, cannot be loaded.
    I have changed my build from any cpu to x86 as seen in another post but still error continues.
    The server has the following installed.
    Crystal Reports for .Net 2.0(x86)
    Crystal Reports XI
    SAP Crystal Reports for Visual Studio 2010 Beta 2 - Redist (32bit)
    Thanks
    Darren
    On an addtional note.  I have searched the entire server and cannot find that dll anywhere.  I found keydecoder.dll but not the one listed above.
    Edited by: durata on Aug 27, 2010 8:18 PM

  • CRVS2010 Beta - Licensing for "Crystal Reports for VS 2010"

    Hello,
    We have Crystal reports 2008 developer license which was upgraded from Crystal reports 11 Developer edition.
    We have migrated to VS 2010 and need to use "Crystal Reports for VS 2010". But we only need to use the runtime version of it and are not using the crystal reports designer. Do we need to purchase/upgrade the license? If yes, then could you please let us know the details? 
    Thanks,
    Gulab.
    Subject modified as per the sticky post at the top of this forum; [Crystal Reports for Visual Studio 2010 Beta - read before posting|Crystal Reports for Visual Studio 2010 Beta - read before posting;
    Edited by: Ludek Uher on Sep 9, 2010 6:56 AM

    CRVS 2010 being a Beta, I am not sure that the licensing details have been worked out yet. However, going by past versions;
    Runtime is free for win apps
    Runtime is free for web apps - as long as these are used internally. See [SAP Crystal Reports Licensing Information|http://www.sap.com/solutions/sap-crystal-solutions/query-reporting-analysis/sapcrystalreports/licensing/index.epx] for more details.
    The above 2 I suspect will be carried over to CRVS 2010 - no guarantees, but this would make sense.
    Runtime for web apps deployed to 3rd parties does require extra licensing. The licensing for versions of CR that bundled with .NET 2006 and .NET 2008 are described here:
    http://support.microsoft.com/kb/317789
    I'll check with Program Management if all of the above applies and confirm once I get an answer.
    Ludek

  • CRVS2010 Beta - Error message wrong path to access "crdb_adoplus.dll' file

    Hi,
    I just upgraded my VS2008 application to VS2010 and installed the latest "cr4vs2010" and "CRforNET40_x86" package but I'm having some problems.
    When I compile my application I don't get any errors but as soon as I want to show a report I get the following error:
    "Could not load file or assembly 'file:///C:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified."
    On examination I can see is that I have a "dotnet" folder but not "dotnet1", as in the error message, and the "crdb_adoplus.dll' file does exist but in "...\SAP BusinessObjects Enterprise XI 4.0\win32_x86" folder and not as per the error message.
    So my question is why is VS looking in the wrong place and what can I do to fix that?
    Also, I used "Dependency Walker" utility to examine "...\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crdb_adoplus.dll' file and it tells me that "MSVCR80.DLL" and "IESHIMS.DLL" files can't be found.
    I'm a bit puzzled that correct path was not set as part of VS upgrade (of my application) so I would really appreciate some assistance.
    Thanks,
         Michael
    Edited by: turbo56 on Aug 4, 2010 8:01 PM
    Updated the subject line
    Edited by: Don Williams on Aug 4, 2010 11:42 AM

    Thanks Don for pointing me to the solution, i.e. adding the following to my app.config file solved the problem.
    <startup useLegacyV2RuntimeActivationPolicy="true">
            <supportedRuntime version="v4.0"/>
    </startup>
    Edited by: turbo56 on Aug 5, 2010 11:51 PM

  • CRVS2010 Beta - Error on SetTableLocation

    I have made a test installation for the first time on a non developer machine. Whenever I preview a report I get this error:
    System.Runtime.InteropServices.COMException (0x8004100F): Logon fialed.
    Error in File Myreport.rpt {...}:
    Unable to connect: incorret log on parameters
    at
    CrystalDecisions.ReportAppServer.Controllers.DatabaseControllerClass.SetTableLocation(......)
    The report still displays, so the logon parameters are correct. This does not happen on my dev machine.
    I'm running this on a clean Win7 box, 32-bit runtime installed
    Thomas

    Logging helped, I found out that I access the database in crystal using integrated security. This seems to give me the error. If I change it to SQL Login (i'm using ms sql) everything works fine.
    It's interesting though that my app works fine with integrated security but crystal isn't. Is crystal running in a different user context?
    The box is running Win7 32bit.
    Here are some lines of the logfile, couldn't find how to upload the whole logfile
    2010-10-8 7:31:47.852     4304     .\ado.cpp     2943     Begin DbMatchLogonInfo     20
    2010-10-8 7:31:47.868     4304     .\ado.cpp     2974     Begin DbMatchLogonInfo     20
    2010-10-8 7:31:47.868     4304     .\ado.cpp     377     Beginning DbLogonServer      20
    2010-10-8 7:31:47.883     4304     ..\src\credentialmgr.cpp     186     CCredentialManager::SwitchSecurityContext() -- LogonUser (user: sa, domain: ) failed.  GetLastError returns 1326     1
    2010-10-8 7:31:47.883     4304     .\ado.cpp     525     DbLogonServer - User impersonation failed     1
    2010-10-8 7:31:47.883     4304     ..\cserrinf.cpp     523     Error 31816 (..\..\src\data\queryenghelp.cpp, 554): Logon failed.:      1
    2010-10-8 7:31:47.883     4304     ..\cserrinf.cpp     523     Error 31816 (..\..\src\data\queryenghelp.cpp, 554): Logon failed.:      1
    2010-10-8 7:31:51.930     4304     .\ado.cpp     377     Beginning DbLogonServer      20
    2010-10-8 7:31:51.946     4304     .\serverh.cpp     223     Beginning DbServerHandle::logon     20
    2010-10-8 7:31:51.977     4304     .\serverh.cpp     3976     adoConnection->Open succeeded: dataLinkFile=,provider=SQLOLEDB,dataSource=win7-install\swiss,userID=sa,password=     10
    2010-10-8 7:31:51.977     4304     .\serverh.cpp     3988     initialCatalog=Demo,jetSystemDatabase=,jetDatabaseType=Access,jetDatabasePassword=,useIntegratedSecurity=1,includeInitialCatalogProp=1,includeSecurityProps=1,includeJetSecurityProps=0     10
    2010-10-8 7:31:51.977     4304     .\serverh.cpp     414     Finishing DbServerHandle::logon     20
    Thomas

  • CRVS2010 Beta - Report Viewer Errors for Crystal Reports in VS 2010

    I have a project that was written in VS 2008 targeting the 3.5 framework which contains a ton of Crystal Reports.  I recieved my new license for VS 2010 and did the install along with the Crystal Reports for Visual Studio 2010 Beta 2.  I converted my project over successfully.  I am able to open up the reports on their own.  When I try to save them they want to be converted to the new format.  This also works fine.  My problem is the Crystal Reports Viewer.  I am not able to add any reports to the viewer without receiving error messages.  I have tried using the 10.5 and the latest version of the viewer, but receive errors everytime that I try to add a report to it.  I always recevie the following error:
    "Error invoking 'Choose a Crystal Report...'. Details: Invalid Report Source"
    I have also tried just creating a brand new report from the Crystal Report Viewer Tasks window.  When I do that I get this error:
    "Unable to find the report in the manifest resources. Please buld the project, and try again."  "Error invoking 'Create a New Crystal Report...'. Details: Unable to find the report in the mnifest resources. Please build the project, and try again."
    I have tried changed the framework target to 4.0, but this has not helped.  I have tried using the 14.0 versions of the references and the 10.5 versions.  I have searched all over the internet for a resolution, but can't seem to find one.  Any help would be greatly appreciated.

    I am having the same problem. You say make sure all of my assemblies are version 14. Three questions:
    1. Now that I have removed all of the old Crystal assemblies from my project, what are the assemblies that I need to add back?
    2. My VS 2010 "add references" popup shows me many crystal assembles (Crystal XI is also installed) which ones to I need to install now?
    3. If I don't know what they are, or where to find them, how do I determine their version?
    You solution reminds me of the old saying "If I had ham, I could make ham and eggs. If I had eggs!"
    More information please,
    J Rich
    Edited by: JosephRich on Nov 6, 2010 5:36 PM
    Edited by: JosephRich on Nov 6, 2010 5:39 PM

  • CRVS2010 beta - Date field from database does not display in report

    Hi there - can someone please help?!
    I am getting a problem where a date field from the database does not display in the report viewer (It displays on my dev machine, but not on the client machines...details given below)
    I upgraded to VS 2010
    I am using the CRVS2010 Beta
    My development machine is Windows 7 - and so is my fellow developer's
    We are using Microsoft SQL Server 2000
    We run the queries within VS and then we send the data table to VS using .SetDataSource
    We have a few reports which display the date on our dev machines (whether we run the EXE or from within Visual Studio)
    When we roll out to the client machines (running Windows XP SP3) then everything works, except that the date does not display (on quite a few reports)
    This is the only real issue I have had - a show stopper for me
    The rest works well - any input will be greatly appreciated
    Regards,
    Ridwan

    Hi Ridwan,
    After much testing I have it all working now using CRDB_adoplus.dll as a data source ( XML )
    Alter your Config file to look like this:
    <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
    </startup>
    Then using the code below, and CR requires the Schema to be able to read the date format.
    private void SetToXML_Click(object sender, EventArgs e)
    CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    ISCDReportClientDocument rcd;
    rcd = rptClientDoc;
    string connString = "Provider=SQLOLEDB;Data Source=dwcb12003;Database=xtreme;User ID=sb;Password=password";
    string sqlString = "Select * From Orders";
    OleDbConnection oleConn = new OleDbConnection(connString);
    OleDbDataAdapter oleAdapter = new OleDbDataAdapter(sqlString, oleConn);
    //OleDbDataAdapter oleAdapter2 = new OleDbDataAdapter(sqlString2, oleConn);
    DataTable dt1 = new DataTable("Orders");
    oleAdapter.Fill(dt1);
    System.Data.DataSet ds = new System.Data.DataSet();
    // We need the schema to get the data formats
    ds.WriteXml("c:
    sc.xml", XmlWriteMode.WriteSchema);
    //Create a new Database Table to replace the reports current table.
    CrystalDecisions.ReportAppServer.DataDefModel.Table boTable = new CrystalDecisions.ReportAppServer.DataDefModel.Table();
    //boMainPropertyBag: These hold the attributes of the tables ConnectionInfo object
    PropertyBag boMainPropertyBag = new PropertyBag();
    //boInnerPropertyBag: These hold the attributes for the QE_LogonProperties
    //In the main property bag (boMainPropertyBag)
    PropertyBag boInnerPropertyBag = new PropertyBag();
    //Set the attributes for the boInnerPropertyBag
    boInnerPropertyBag.Add("File Path ", @"C:\sc.xml");
    boInnerPropertyBag.Add("Internal Connection ID", "{680eee31-a16e-4f48-8efa-8765193dccdd}");
    //Set the attributes for the boMainPropertyBag
    boMainPropertyBag.Add("Database DLL", "crdb_adoplus.dll");
    boMainPropertyBag.Add("QE_DatabaseName", "");
    boMainPropertyBag.Add("QE_DatabaseType", "");
    //Add the QE_LogonProperties we set in the boInnerPropertyBag Object
    boMainPropertyBag.Add("QE_LogonProperties", boInnerPropertyBag);
    boMainPropertyBag.Add("QE_ServerDescription", "NewDataSet");
    boMainPropertyBag.Add("QE_SQLDB", "False");
    boMainPropertyBag.Add("SSO Enabled", "False");
    //Create a new ConnectionInfo object
    CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo boConnectionInfo =
    new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
    //Pass the database properties to a connection info object
    boConnectionInfo.Attributes = boMainPropertyBag;
    //Set the connection kind
    boConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
    //*EDIT* Set the User Name and Password if required.
    boConnectionInfo.UserName = "";
    boConnectionInfo.Password = "";
    //Pass the connection information to the table
    boTable.ConnectionInfo = boConnectionInfo;
    //Get the Database Tables Collection for your report
    CrystalDecisions.ReportAppServer.DataDefModel.Tables boTables;
    boTables = rptClientDoc.DatabaseController.Database.Tables;
    //For each table in the report:
    // - Set the Table Name properties.
    // - Set the table location in the report to use the new modified table
    boTable.Name = "Orders";
    boTable.QualifiedName = "Orders";
    boTable.Alias = "Orders";
    rptClientDoc.DatabaseController.SetTableLocation(boTables[0], boTable);
    //Verify the database after adding substituting the new table.
    //To ensure that the table updates properly when adding Command tables or Stored Procedures.
    rptClientDoc.VerifyDatabase();
    MessageBox.Show("Data Source Set", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
    Thanks again
    Don

  • CRVS2010 Beta 2 - "Database Logon failed" Error, after Upgrade

    Hi,
    Generally: we are using the Crystal Reports in combination with a DataSet, that is filled during runtime and pushed to the report, using "SetDataSource". The Project is an ASP .NET 3.5 Project, published on our server.
    I upgraded my development-machine to CRVS2010 (installed both packages - the CRVS for VS 2010 and the runtime) last week and changed some fields in the Report. The DataSet was left unchanged. Everything is working well on my development-machine, but when I publish the Project to our server, I get an "Databse Logon failed" Error, when I want to create my Report. The CRVS2010 Beta 2 redist Runtime is installed on our server. Here is the code, we use:
    // create new Report
    var report = new Reports.repMyReport();
    // DataSource ds was filled correctly (we checked with export to XML
    report.SetDataSource(ds);
    // Set several Parameters to Report
    report.SetParameterValue("test", "test");
    // Export Report to PDF-Format and open in Browser
    report.ExportToHttpResponse(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, Response, false, "reportName.pdf");
    Response.End();
    The error I get is:
    Database logon failed.
    [COMException (0x8004100f): Database logon failed.]
       CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext) +0
       CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +260
    [LogOnException: Database logon failed.]
       CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e) +325
       CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +315
       CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) +650
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options) +98
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportOptions options, HttpResponse response, Boolean asAttachment, String attachmentName) +98
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportFormatType formatType, HttpResponse response, Boolean asAttachment, String attachmentName) +124
       SprintBoxWeb.BuchungDruck.Page_Load(Object sender, EventArgs e) in D:\Projects\sprnt_erp\SprintBoxWeb\BuchungDruck.aspx.cs:32
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
    I already tried everything, found googling the web and/or searching this forum:
    e.g.: perform "verify Database" on all Reports and map the DataSet.xsd again to the Report
    Is that a known issue on the Beta and we should wait for the RC, or does anyone have an idea how to fix that one?
    This error is really annoying!
    Many thanks for your help.
    kind regards
    Reinhard

    Dear Ludek,
    Many thanks for your quick reply. Currently, I have to finish some other things. I will try your ideas next week and give you some feedback then, to keep you informed.
    best regards,
    Reinhard

  • FDM validation report with source data gives 0

    Hi All,
    I'm building a validation report to report on the source data (so using ~ instead of |).
    I've created a logic group to sum up the amounts to a member TOTAL.
    When i use the validation editor lookup screen i can browse for Entity, Account (TOTAL), UD1, UD2 and UD3.
    The category, Period and Year are left blank.
    When trying to test i have to select a test entity (which is the target entity dimension). However, these entities are nog in my source entities (since they are mapped).
    So the lookup value gives a value of 0 while a value should be there (since i've selected all dimensions).
    Any suggestions? i remember that in the past i did just select a random test entity and it did work.
    We're using version 11.1.1.3.
    Thanks!

    Hi Tony,
    What do you mean by target information.
    I only retrieve source information but i have to select an entity in the test window (where only the target entities are shown).
    So all fields in the import screen (except those in the pov) are defined and match the import screen members exact.
    Furthermore when i click browse for the years i get an error as well..

  • CRVS2010 Beta - embedded report not showing

    I have a large number of reports which I have written for a client over the years with various versions of Crystal (starting with V5 I think).
    Currently they are running Crystal Enterprise X but have made the decision that they wish to shift to Visual Studio.
    I have been attempting to cut my teeth on re-writing reports in Visual studio and am struggling.  I then decided to port the existing crystal reports across from the Enterprise environment to Visual Studio.
    I have the CRVS2010 Beta installed with the 64-bit runtime on a Server 2008 platform.
    I have testing simpler Crystal Reports within Visual Studio (File | New | Project | Crystal Reports Application) and the simplest seem to publish with no difficulty.
    However I have just attempted to bring a report containing a sub-report and while the end result seemed to publish fine with no errors, only the main report output shows when the published Visual studio application is run.
    I haven't been able to find anything on this in the forum, so would greatly appreciate it if anyone can offer some assistance.
    Slightly off-topic, I have noted that when the Crystal Report is imported into the Visual Studio designer the database seems to get dropped.  I then have to reconnect via ODBC and re-select the tables after which things seem to run fine.  Is this to be expected ?
    Many thanks

    I have been checking further on this issue.
    If I take the report in a fully functional state saved out of Crystal X and import it into the Visual Studio 2010 environment, the functionality of the subreport appears compromised.
    Out of interest (and remembering that the report has been upgraded from Crystal X) I located the Crystal component in the Visual Studio project folder and opened it within Crystal X.  The subreport now no longer runs under the original Crystal X report writer.
    Something appears to have happened between Crystal X and CRVS2010 Beta.
    I'll have a look and see if I can identify what has happened to it.

  • Costing Run Error: No Valid Source of Supply

    Hi Experts,
       I am new to Costing,
        While executing Costing Run for a matrial ABC in plant XXX with a Costing Run 111, I get an error No valid source of supply could be found
    but when I run the Costing Run for Same material for sam plant with different Costing Run It gets executed properly.
    I have read the thread related to it where it is giving reference to note 713111, 499699 and 422926 but there is no check for Source List in Material master.
    Regards,
    Rajdeep Rane.
    Edited by: Rajdeep Rane on Jul 24, 2008 1:30 PM

    Rajdeep
    Use OKKN as Jigar says.  
    Select the costing variant that you are using and then click on "valuation variant"
    Look at the tab for subcontract - this will show what the costing variant is useing to creat cost estimates with.
    Your options for subcontracting are:
    2  Effective Price from Quotation Without Fixed Costs
    3  Net Quotation Price
    4  Gross Quotation Price
    5  Effective Price from Quotation
    6  Effective Price from Purchase Order Without Fixed Costs
    7  Net Purchase Order Price
    8  Gross Purchase Order Price
    9  Effective Price from Purchase Order
    If your material has a Special Procuremnet key 30 - then one of these strategies has to be used.

  • Error: The report source could not be retrieved from the state object.

    I have been trying to create a report in a JSF page. The relevant parts are below:
    Inside the JSP page, this is the code:
                  <jsp:useBean id="MyBean" class="com.nm.facade.rto.POJOViewerBean" scope="session" />
                    <jsp:setProperty name="MyBean" property="reportLocation" value="Report1.rpt" />
                   <v:reportPageViewer reportSource="#{MyBean.reportSource}"
                                           displayToolbarPrintButton="true"
                                           printMode="ActiveX"
                                           zoomPercentage="100"
                                           displayToolbarExportButton="true"
                                           displayToolbarRefreshButton="true"
                                           viewerName="My Viewer"
                   ></v:reportPageViewer>
    In the backing bean, this is the relevant code:
        public Object getReportSource() throws ReportSDKException
            if (propertiesChanged || reportSource == null)
                propertiesChanged = false;
                if (reportLocation == null)
                    throw new RuntimeException("The reportLocation property must be set before a report source is retrieved");
                ReportClientDocument rcd = new ReportClientDocument();
                rcd.setReportAppServer(ReportClientDocument.inprocConnectionString);
                rcd.open(reportLocation, 0);
                DatabaseController dbc = rcd.getDatabaseController();
                //Create the POJO collection and populate it with data
                ReportData[] data =
                  new ReportData("B.B.", "King", 6, new Date(25, 9, 16)),
                    new ReportData("Muddy", "Waters", 7, new Date(15, 4, 4)),
                    new ReportData("John Lee", "Hooker", 8, new Date(16, 8, 16)),
                    new ReportData("Otis", "Rush", 9, new Date(34, 4, 29)),
                    new ReportData("Buddy", "Guy", 10, new Date(36, 7, 30))
                //Create the result set from the collection of POJOs
                POJOResultSetFactory factory = new POJOResultSetFactory(ReportData.class);
                factory.setVerbose(true);
                POJOResultSet results = factory.createResultSet(data);
                ResultSetMetaData metaData = results.getMetaData();
                //Set the resultset as the report datasource
                      //Get the table name from the 'Set Datasource Location' dialog in the Crystal Reports designer
                String reportTable = "getReportDataDataSource";
                dbc.setDataSource(results, reportTable, reportTable);       
                IReportSource reportSource = rcd.getReportSource();
                if (reportSource == null)
                    throw new RuntimeException("Unable to get a report source.");
            return reportSource;
    In the CRConfig.xml, this is what is there:
    <?xml version="1.0" encoding="utf-8"?>
    <CrystalReportEngine-configuration>
        <reportlocation>../reports</reportlocation>
        <timeout>0</timeout>
        <ExternalFunctionLibraryClassNames>
             <classname></classname>
        </ExternalFunctionLibraryClassNames>
    </CrystalReportEngine-configuration>
    The report template 'Report1.rpt' is packaged under WEB-INF/reports in the war file.
    When I try to generate the report by accessing the JSF page, I am getting an error: "The report source could not be retrieved from the state object. "
    I am not sure what is wrong. Can someone help me in resolving this issue?
    Edited by: renshai on Jul 9, 2009 3:21 AM

    My formatting gets lost and the message looks unintelligible. After some experimentation, I found that if the message exceeds some length, the formatting is removed. Since I couldn't find any way to delete this post, I made another post with the same subject. Please ignore this post and help me to find a solution for the problem posted in the other thread with the same subject. Thanks in advance.

  • Source Account Validation Report

    Goodmorning,
    I'm building source validation rules (without problem) but a boring problem occurs:
    Scenario:
    Location -- E2 (source entity:00002)
    |__ E6 (source entity:00006)
    |__ E7 (source entity:00007)
    Validation report result:
    E2
    Rule 1 amount 123
    Rule 2 amount 456
    Rule 3 (source logic account based on 00002 accounts) 789
    E6
    Rule 1 amount 1000 (OK)
    Rule 2 amount 5000 (OK)
    Rule 3 (source logic account based on 00002 accounts) 789 [duplicated]
    E7
    Rule 1 amount 8000 (OK)
    Rule 2 amount 9000 (OK)
    Rule 3 (source logic account based on 00002 accounts) 789 [duplicated]
    This means that for every rule based on source account and for every Entity I've a duplicated rule.
    Obviously it's wrong and I know I need source entity (00002) to build correctly my source validation rule...
    Q: how can I solve this issue avoiding duplicated rules? Building the same validation rule respectively for every source entity logic account the result would be an undesired report with 9 rules instead of 3.
    Thanks,
    Francesco

    What version was this on and did you use assign Validation Entity and Rule groups?

  • Intersection Validation Report error

    After clicking the Validate step to get the intersection validation report (Enable Intersection Validation) is turned on, I get the following error in a new window
    "The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later."
    Any help would be appreciated

    You can't open the XML directly from the outbox. The user ID that you are accessing the file with will likeyl not have access to the directory where the XSL file is stored. The XSL file is used to translate the XML file into a viewable format.
    You can copy the XSL file into a directory where you do have access and modify the XML to look to that directory.
    BTW, please open new threads for your questions.
    Edited by: TonyScalese on Apr 14, 2011 1:35 PM

Maybe you are looking for

  • I cannot access the music via my iTunes account and it will not download all of them.  If it matters, I have not gotten the new update yet.

    I go to school and I would like to be able to listen to my music on my laptop versus using my iPhone or iPad.  Only some of my music had been downloaded and I cannot download the rest.  I have authorized my computer through my account several times b

  • IPhone 6 plus keyboard locked in landscape mode

    When i tried to search song in music app in Portrait mode , keyboard is in landscape mode and its not coming back to portrait mode as the screen in portrait mode. I have observed three more issues : 1. Wify issue . its dropping the network informatio

  • Error Message -6753 when External Drive/Printers Connected

    I downloaded Airport Utility 5.3.2 (532.8) and am now having problems with my Airport Extreme. I have a green light and internet access, but I am no longer able to access the external drive or the 2 printers connected to the Airport (all connected US

  • MICR code in AP Checks

    Hi, We are using the XML Publisher to generate the checks in Payables. We are using the IDAutomationMICR font. The ttf file has been moved to the UNIX server and the custom property has been added to the RTF template When we open the output, we get a

  • Calling PL/SQL function from AM

    Dear All, I have created a java method at AM level which returns a value in a method defined in controller, can any one help me that how i can execute database function from AM ?. Regards, Haroon.