Error Error code:-2147217395 Error code name:serverProgramingError

Hi,
i am using JRC application sample which bascially read the .RPT file and export it to .PDF filefrom this link, i have made the relative changes which point to the .rpt file. compilation went fine.. but i am facing the runtime error which mentioned below.
i have not made any changes in CRconfig.xml expect the Keycode and not a single change ins lof4j.
i came to know it should require the Swing lib too, presently i am not using that.
kindly let me know if i missing some thing in this context.  the error log is
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected error determining relative path---- Error code:-2147217395 Error code name:serverProgrammingError
        at com.businessobjects.reports.sdk.a.if(Unknown Source)
        at com.businessobjects.reports.sdk.a.do(Unknown Source)
        at com.businessobjects.reports.sdk.a.<init>(Unknown Source)
        at com.businessobjects.reports.sdk.a.<clinit>(Unknown Source)
        at com.businessobjects.reports.sdk.c.<clinit>(Unknown Source)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.case(UnknownSource)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<clinit>(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.z.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.int(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ClientDocument.for(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.for(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
        at com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
        at JRCExportReport.main(JRCExportReport.java:33)
Waiting for your response.
Thanks!
Prabhakar J.

Hi,
after removing the reportlocation tag i am getting the following error.
- Requested node not found in configuration file
-  received request: verifyLogon
-  received request: createServerAgent
- Creating JRCAgent1
- JRCAgent1 received request: fetchDataDocumentRequest
- Time to load report C:\DOCUME1\pjujare\LOCALS1\Temp\jrc_tmp_4664716485754572
89.rpt took 391 ms
Exception in thread "main" java.lang.NoClassDefFoundError: com/crystaldecisions/reports/dataengine/l
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
        at com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
        at JRCExportReport.main(JRCExportReport.java:36)
Caused by: java.lang.ClassNotFoundException: com.crystaldecisions.reports.dataengine.l

Similar Messages

  • Can not create temp file---- Error code:-2147215357 [CRSDK00000615] Error code name:internal

    Hello,
    While exporting Export reporting from BI4 getting exception
    Can not create temp file---- Error code:-2147215357 [CRSDK00000615] Error code name:internal
    In Trace Log I am getting
    com.crystaldecisions.xml.serialization.XMLWriter||Failed to create an object instance for CrystalReports.TextObjectFormat
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key CrystalReports.TextObjectFormat
      at java.util.ResourceBundle.getObject(ResourceBundle.java:374)
      at java.util.ResourceBundle.getString(ResourceBundle.java:334)
    I tried following solution according to the all forums but still issue exist.
    Done changes mention in KB article In <Installation-dir-of-BO>\Common\4.0\java\CRConfig.XML we have to increase the JAVA heap MIN and Max size
              <JVMMaxHeap>64000000</JVMMaxHeap>          <JVMMinHeap>32000000</JVMMinHeap>
    Increase the value in the ReportApplicationServer Services in the CMC for "Number of database records to read when previewing or refreshing a report". The value -1 is for unlimited records but not recommended for performance.
    Check for temporary read write permission on server
    Using SDK library from C:\Program Files (x86)\SAP Business Objects\SAP BusinessObjects Enterprise XI 4.0\java\lib
    Can you please let me know is there anything missing.

    Hi,
    We face the same problem with some BI4 reports.
    The same report works well with the "Crystal Reports Viewers API", as used in Infoview, but not with the "Report Application Server (RAS) API".
    This error appears after some time working on a report. If we reproduce the same report, but from zero, no problem.
    Hope it can help.
    Ludovic.

  • Report App Server;Error code:-2147215349 Error code name:docNotReady.......

    Hi Experts,
    In our application we are trying to connect to the RAS server  for the ad hoc reporting capabilities that allow users to modify reports over the Web.
    In order to do this what are servers need to run on the server side( I am looking for settings on server side like, what are the servers and services to be run on).
    When we try to open the document  we are getting the error. The code and error msg are as follows.
    private void GetReportClientDocument()
              try {
                   sessionManager = CrystalEnterprise.getSessionMgr();
                   enterpriseSession = sessionManager.logon(username,password, servername, "SecEnterprise");
                   iStore = (IInfoStore) enterpriseSession.getService("InfoStore");
                   String sampleReportName = "Test_Open";
                   IInfoObjects infolist = iStore.query("Select SI_CUID From CI_INFOOBJECTS Where  SI_NAME='" + sampleReportName + "' and SI_INSTANCE=0");
                   int lookUpId = 0;
                   for (int i = 0; i < infolist.size(); i++) {
                        IInfoObject siId = (IInfoObject) infolist.get(i);
                        lookUpId = siId.getID();
                   System.out.println("The CUID is: "+lookUpId);
                   IInfoObjects list = iStore.query("select * From CI_INFOOBJECTS Where SI_ID="+lookUpId);
                   IInfoObject report = (IInfoObject) list.get(0);
                   ReportClientDocument rcd = new ReportClientDocument();
                   IReportAppFactory appFactory = (IReportAppFactory) enterpriseSession.getService("RASReportFactory");
                   try {
                        System.out.println("Name of Document: "+rcd.getReportDocument().getName());
                        rcd = appFactory.openDocument(report, OpenReportOptions._openAsReadOnly,null);
                   } catch (ReportSDKException e) {
                        e.printStackTrace();
              } catch (SDKException e) {
                   e.printStackTrace();
    Error:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKClientDocException: The document has not been opened.---- Error code:-2147215349 Error code name:docNotReady
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKClientDocException.throwReportSDKClientDocException(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.getDatabaseController(Unknown Source)
         at Viewer.GetReportClientDocument(Viewer.java:98)
         at Viewer.main(Viewer.java:27)
    Thanks in advance for your help.

    Hi Qiang,
    Please check http://metalink.oracle.com/metalink/plsql/ml2_documents.showFrameDocument?p_database_id=NOT&p_id=1047650.6 for possible solutions for this error.
    Thanks,
    Erik

  • The system cannot find the path specified.---- Error code:-2147467259 Error code name:failed

    Friends,
                I'm facing below issue while accessing a crystal report. I heard it might be an access issue. But i'm able to access a report within a same folder.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException : The system cannot find the path specified.---- Error code:-2147467259 Error code name:failed
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    Any suggestions would be very helpful.
    Thanks in Advance,
    Bharath

    Apply trace on RAS and look for errors in the RAS logs at the same timestamp.
    These errors come for various errors and tracing RAS would give us a better idea.
    It might hapen that you observe these errors for reports which takes more than the RAS timeout to export the reports.
    Post getting the RAS logs you can try below steps if we see timeout errors in RAS logs.
    Copy clientSDKOptions.xml file from <BO install path>\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\lib to the machine where your app is running Open clientSDKOptions.xml and change CORBARequestTimeOut from 600000 to a value large enough to allow the report to render, for instance 1200000. Default value is 600000 (10 minutes)
    Specify the location of the clientSDKOptions.xml file at run-time. In your JSP or Java files, use the Java method setProperty from the System class. Set the system property indicated by the ras.config key to the specified directory as: system.setProperty("ras.config","c:\temp"). This function call specifies that the clientSDKOptions.xml file in c:\temp is to be used for locating RAS servers.
    Thanks,
    Prithvi

  • Gettin Error code:-2147215361 Error code name:outOfMemoryError

    Hi all,
    I have Crystal Report Server 2008 V1 and when I invoke the Crystal Report server from my java file i am getting the below error.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Out of memory error occurred. - Java heap space-- Error code:-2147215361 Error code name:outOfMemoryError
         com.crystaldecisions.proxy.remoteagent.TCPIPCommunicationAdapter.request(Unknown Source)
         com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ClientDocument.new(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
         org.apache.jsp.formula_jsp._jspService(formula_jsp.java:93)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Please help me to resolve this.

    Hi,
    thanks a lot for your answer.
    Regards,
    Gourav

  • Global query block is causing a DNS server to fail a query with error code Name Error exists in the DNS database for WPAD

    Global query block is causing a DNS server to fail a query with error code Name Error exists in the DNS database for WPAD on a Windows 2008 server.

    The global query block list is a feature that prevents attacks on your network by blocking DNS queries for specific host names.  This feature has caused the DNS server to fail a query with error code NAME ERROR for wpad.contoso.com. even though data
    for this DNS name exisits in the DNS database.  Other queries in all locally authoritative zones for other names that begin with labels in the block list will also fail, but no event will be logged when further queries are blocked until the DNS server
    service on this computer is restarted.

  • Error code:-2147467259 Error code name:failed

    Hi everyone,
    i am using IBM websphere studio apllication developer integration edition with crystal reports 11 release 2.
    while running jsp program i got following exception:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: The supplied keycode is not valid for this version of the Java Reporting Component---- Error code:-2147467259 Error code name:failed
    I tried but i am not able to resolve this problem.
    can anybody tell me what to do with this problem.
    Thanks in advance.

    Hi everyone,
    i am using IBM websphere studio apllication developer integration edition with crystal reports 11 release 2.
    while running jsp program i got following exception:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: The supplied keycode is not valid for this version of the Java Reporting Component---- Error code:-2147467259 Error code name:failed
    I tried but i am not able to resolve this problem.
    can anybody tell me what to do with this problem.
    Thanks in advance.

  • Error code:-2147467259 Error code name:failed Java desktop application

    Hi guys,
    I'm trying to run
    Java_JRC_Desktop_View_Report_and_set_database_logon downloaded from this link:
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d0d6f979-3e11-2c10-35a8-ac93994a30ed
    but at runtime my java desktop application throws this Exception:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: org/apache/log4j/Logger---- Error code:-2147467259 Error code name:failed
    From what depends?
    thx all.

    Hi,
         I am trying to run a java code to export .rtf file to .pdf format. Below is the code
    *String reportname = "D:\\multiLingual.rpt";;*
    *String exportfilename ="D:\\multiLingual.pdf";*
    *//Open report.*
    *ReportClientDocument reportClientDoc = new ReportClientDocument();*
    *reportClientDoc.open(reportname, 0);*
    *//NOTE: If parameters or database login credentials are required, they need to be set before.*
    *//calling the export() method of the PrintOutputController.*
    *//Export report and obtain an input stream that can be written to disk.*
    *//See the Java Reporting Component Developer's Guide for more information on the supported export format enumerations*
    *//possible with the JRC.*
    *ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);*
    *//Release report.*
    *reportClientDoc.close();*
    *//Use the Java I/O libraries to write the exported content to the file system.*
    *byte byteArray[] = new byte[byteArrayInputStream.available()];*
    *//Create a new file that will contain the exported result.*
    *File file = new File(exportfilename);*
    *FileOutputStream fileOutputStream = new FileOutputStream(file);*
    *ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(byteArrayInputStream.available());*
    *int x = byteArrayInputStream.read(byteArray, 0, byteArrayInputStream.available());*
    *byteArrayOutputStream.write(byteArray, 0, x);*
    *byteArrayOutputStream.writeTo(fileOutputStream);*
    *//Close streams.*
    *byteArrayInputStream.close();*
    *byteArrayOutputStream.close();*
    *fileOutputStream.close();*
    I am running it through eclipse as a standalone with all the required jar files in the buildpath. However when i run it gives following error in console.
    *com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: An error occured while exporting the report---- Error* *code:-2147467259 Error code name:failed*
    *     at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)*
    *     at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)*
    *     at com.crystaldecisions.reports.sdk.PrintOutputController.export(SourceFile:54)*
    *     at test.main(test.java:34)*
    Thanks in advance
    Abhijeet
    Edited by: Abhijeet D on Jul 7, 2010 5:10 PM
    Edited by: Abhijeet D on Jul 7, 2010 5:24 PM

  • Error code name:serverNotFound. Please help

    Hi,
    I was trying to run some code samples but I keep getting this error. I don't know what to do without JPEReportSourceFactory, nothing works. Any idea?
    Error:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: There is no server specified.---- Error code:-2147217390 Error code name:serverNotFound
    Code:
    ReportClientDocument reportClientDoc = new ReportClientDocument();
          reportClientDoc.open("list.rpt", 0);
          Object reportSource = reportClientDoc.getReportSource();
          CrystalReportViewer viewer=new CrystalReportViewer();
          viewer.setParameterFields(fields);
          viewer.setOwnPage(true);
          viewer.setReportSource(reportSource);
          viewer.setEnableParameterPrompt(false);
          viewer.setEnableLogonPrompt(false);
          viewer.setBestFitPage(true);
          viewer.setHasLogo(false);
          viewer.setDisplayGroupTree(false);
          viewer.setPrintMode(CrPrintMode.PDF);
          viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), response.getWriter());

    It's likely you're using the incorrect ReportClientDocument for the Java Reporting Component.
    The full name for the Java Reporting Component is:
    com.crystaldecisions.reports.sdk.ReportClientDocument
    I'm assuming you're using the ReportClientDocument that comes with the Report Application Server (RAS) SDK:
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument
    The RAS SDK expects a RAS server to connect with.
    Sincerely,
    Ted Ueda

  • Error code:-2147217401 Error code name:agentTimeout

    Hi,
    We are getting the below error
    ReportSDKException Occurred com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Server agent has timed out.---- Error code:-2147217401 Error code name:agentTimeout
    while adding SQL to crystal report for few cases (more time consuming reports) . i.e.
    reportClientDocument.getDatabaseController().addTable(boNewCommandTable, null);
    what could be the reason for the same? Is there any maximum time limit for the addTable() method execution, If so how can we change that?
    Thanks & Regards
    Amitav

    Hi Adam,
    Actually we are trying to add an SQL query to the report and we know that the particular SQL supposed to take more time for execution. Our application logs indicate that the agentTimeout error comes approximately after 6 hrs. We are wondering if there is some maximum time limit then will it possible to change the same.
    Thanks & Regards
    Amitav

  • Error code:-2147217387 Error code name:connectServer

    Hi all,
    <br></br>
    I have standalone java file, and i am trying to connect with the Crystal Report server. I have Crystal Report Server 2008.
    Error code:-2147217387 Error code name:connectServer
    <br></br>
    The server is newly installed and i dint make any change. All the services are up and running.
    <br></br>
    I am getting the following exception
    I tried the following cases
    <br></br>
    clientDoc.setReportAppServer("01hw150564");
    clientDoc.setReportAppServer("172.20.224.123");
    clientDoc.setReportAppServer("172.20.224.123:6400");
    but no use.  Please hep me
    <br></br>
    Exception
    <br></br>
    Connecting to report server...
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: . - Connection reset-- Error code:-2147217387 Error code name:connectServer
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.TCPIPCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.new(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
         at SampleExport.method2(SampleExport.java:114)
         at SampleExport.main(SampleExport.java:24)
    Caused by: java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at java.net.SocketInputStream.read(SocketInputStream.java:182)
         at java.io.DataInputStream.readInt(DataInputStream.java:354)
         ... 10 more
    <br></br>
    Caused by
    java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at java.net.SocketInputStream.read(SocketInputStream.java:182)
         at java.io.DataInputStream.readInt(DataInputStream.java:354)
         at com.crystaldecisions.proxy.remoteagent.TCPIPCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.new(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
         at SampleExport.method2(SampleExport.java:114)
         at SampleExport.main(SampleExport.java:24)
    <br></br>
    Caused by:
    java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at java.net.SocketInputStream.read(SocketInputStream.java:182)
         at java.io.DataInputStream.readInt(DataInputStream.java:354)
         at com.crystaldecisions.proxy.remoteagent.TCPIPCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.new(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
         at SampleExport.method2(SampleExport.java:114)
         at SampleExport.main(SampleExport.java:24)
    <br></br>
    Source
    <br></br>
    ReportClientDocument clientDoc = null;
                   System.out.println("Connecting to report server...");
                   clientDoc = new ReportClientDocument();
                   clientDoc.setReportAppServer("172.20.224.123"); // Getting error here
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                        clientDoc.getDataDefController().getParameterFieldController().modify(parameterField, newfld);
                   PrintOutputController poController = clientDoc.getPrintOutputController();
                   DatabaseController dbcontroller = clientDoc.getDatabaseController();
                   dbcontroller.logon("PDTCDEP","chennai1");
                   System.out.println("Creating file...");
                   ByteArrayInputStream byteIS = (ByteArrayInputStream) poController.export(ReportExportFormat.PDF);
                   FileOutputStream fos = new FileOutputStream(outputName);
    But, in Crystal Report Server XI Relese 2, the same code works and generated the pdf reports reports.
    Please help for this.
    If i need to do any change in administration or code ?
    Thanks,
    Anandraj
    Edited by: Aanduu on Sep 9, 2011 9:51 AM

    How to solve this problem. The problem is some time
    my web application can not connect to crystal report
    server. And App. log was receord as below.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServ
    erException: Unable to connect to the server:
    crp.RAS.rptappserver.---- Error code:-2147217387Does this give a hint of what to check? Maybe you need to check if the server is running and the server configuration is correct.
    I haven't ever used Crystal Reports, so I can't be very specific. A Google search might help.

  • Tutorial - Create a blog reader Store app (C++) - Error:The name does not exist in the namespace!

    I'm trying to create my first store app based on msdn's sample.
    Link to the sample:
    https://msdn.microsoft.com/pl-PL/library/windows/apps/hh465045.aspx
    I have problem doing last step (number 3) of part 3.
    In code below in file App.xaml the compiler get the error "The name 'FeedDataSource' does not exist in the namespace 'using:SimpleBlogReader'"
    <Application
    x:Class="SimpleBlogReader.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:SimpleBlogReader">
    <Application.Resources>
    <local:FeedDataSource x:Key="feedDataSource"/>
    </Application.Resources>
    </Application>
    In the file App.xaml.h I added line #include "FeedData.h", and FeedData.h  looks like:
    //feeddata.h
    #pragma once
    #include "pch.h"
    namespace SimpleBlogReader
    namespace WFC = Windows::Foundation::Collections;
    namespace WF = Windows::Foundation;
    namespace WUIXD = Windows::UI::Xaml::Documents;
    namespace WWS = Windows::Web::Syndication;
    /// <summary>
    /// A FeedDataSource represents a collection of FeedData objects
    /// and provides the methods to retrieve the stores URLs and download
    /// the source data from which FeedData and FeedItem objects are constructed.
    /// This class is instantiated at startup by this declaration in the
    /// ResourceDictionary in app.xaml: <local:FeedDataSource x:Key="feedDataSource" />
    /// </summary>
    [Windows::UI::Xaml::Data::Bindable]
    public ref class FeedDataSource sealed
    private:
    Platform::Collections::Vector<FeedData^>^ m_feeds;
    FeedData^ GetFeedData(Platform::String^ feedUri, WWS::SyndicationFeed^ feed);
    void DeleteBadFeedHandler(Windows::UI::Popups::UICommand^ command);
    public:
    FeedDataSource();
    property Windows::Foundation::Collections::IObservableVector<FeedData^>^ Feeds
    Windows::Foundation::Collections::IObservableVector<FeedData^>^ get()
    return this->m_feeds;
    property Platform::String^ CurrentFeedUri;
    void InitDataSource();
    void RetrieveFeedAndInitData(Platform::String^ url, WWS::SyndicationClient^ client);
    How to solve this problem?

    You're testing this too early. You haven't yet finished writing code that your current code depends on. Feeddata.cpp won't build, so you can't use the data object that hasn't yet been created.
    In particular, feeddata.cpp doesn't build since it has many references to items which get added in later steps.
    For example, TextHelper is added in part 5 and App::RemoveFeed is added in part 10.
    You'll need to either wait until you've implemented those before you test or comment out the calls to the unimplemented features until they're done. TextHelper looks like it adds quite a bit and you're almost there, but you can probably get away with commenting
    out the calls to RemoveFeed and GetTitlesFromUri for now.

  • While creating Projects Using the API, get two errors: 'Customer name must be passed' and 'class category is invalid'

    Hi
    While trying to Create Projects using the API, I'm getting two types of errors -
    The first is : 'API failed in one stage 1 Customer Name is a mandatory Quick Entry field. Value must be passed'
    The second is : '
    'API failed in one stage 1 Project: '<Project_Number>'
    The class category is invalid.'
    Both the messages are produced by our custom program. .. however I am not able to understand why the underlying errors occur.
    The first error ( Customer Name is a mandatory quick entry field), is caused by Projects that are to be created from Project templates where it is configured with Quick Entry Customer Name required. We are passing Customer Site number ( Party Bill to site number and Party Ship to side number). The site numbers being passed are also set as 'Primary'. Yet they are failing.
    For the second Error ( The Class Category is invalid), I rechecked multiple times, the Class categories for the Projects I am trying to create, with the Config in R12 and they are fine. Can't understand the reason for these two issues. Has anyone encountered such an issue ? If so how was it resolved?
    Regards
    Vivek

    HI All
    I resolved both the issues. In case there are others facing similar issues, following was the cause and resolution of my errors
    1. Error 1: Customer Name is a Mandatory Quick Entry field. Value must be passed.
    The cause was that the data loaded into our custom staging table was not in the right fields. This was because the data file values and the CTL were not in sync.
    Resolution:
    Corrected the data file to be in Sync with the structure defined in the CTL and  this loaded it successfully
    2. Error 2: The class category is invalid.
    The cause of this error was that  in the  Projects Template (used to create the project from), the Quick Entry setup had a Class Category set as required and I was not passing a value ( a class code value) for that Class Category.
    Hope this helps somebody else
    Cheers
    Turnbill

  • Error '800a0411'  Name redefined (ASP VBScript)

    Hello, I am new in trying to program and I have this problem when I am trying to test my Login page built in Dreamweaver CS4 and my database is in Microsoft Access.
    The error message is the following:
    Microsoft VBScript compilation error '800a0411'
    Name redefined
    /Login.asp, line 10
    Dim MM_NBconnect1_STRING
    ----^
    I have checked the code view , its not repeated towice , so the problem should be something else.

    thank you

  • Error '800a0411'  Name redefined

    Hello, I am new in trying to program and I have this problem
    when I am trying to use the insert record wizard in dreamweaver mx
    2004.
    the error mesage is the following:
    Microsoft VBScript compilation error '800a0411'
    Name redefined
    /web/aspclassic/Connections/connblog.asp, line 8
    Dim MM_connblog_STRING
    ----^
    the code is attached, please help me I am stuck and
    frustrated
    THank you!!

    I Love Doing Websites wrote:
    > Hello, I am new in trying to program and I have this
    problem when I am trying
    > to use the insert record wizard in dreamweaver mx 2004.
    >
    > the error mesage is the following:
    > Microsoft VBScript compilation error '800a0411'
    >
    > Name redefined
    The following code is the cause of this error:
    > <!--#include file="../Connections/connblog.asp"
    -->
    > <!--#include file="../Connections/connblog.asp"
    -->
    Somehow either you or Dreamweaver added an extra link to your
    connection file, delete one of those lines and you should be fine.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

Maybe you are looking for