Error Code:  18452 - Invalid logon parameters

We are trying to schedule several crystal reports to run automatically on our server and continue to get the following errors.
Invalid log on parameters Database Vendor Code:  18452
When we review the log in Crystal Report Viewer we are receiving the following information.
The database logon information for this report is either incomplete or incorrect.   
Unable to retrieve Object.
Would anyone be able to tell us what is causing these error codes?

We resolved the error by changing the logon paramater within our ODBC datasource connection.   When the crystal report was original created it was using the designers logon credentials to connect to the data source.  In order to fix this we had to change the logon parameter to the datasource logon.   The easiest way we determined that it was using the designers credentials (UserID/password) was by opening up the "set database location" tool and then we opened up the properties; there is where we seen the UserID of the designer.   To change this you might need to create a new connection and then update using the database expert and the set database location tools.

Similar Messages

  • "[LDAP: error code 34 - Invalid DN]" Why?

    Hi all, I have the following problem, when I try to test my Plumtree connection to LDAP Sun One Server I get the following error message:
    Attempt to connect to LDAP Server failed. Double check your installation and logon credentials.
    Could not create InitialDirContext: [LDAP: error code 34 - Invalid DN] [LDAP: error code 34 - Invalid DN]
    I have entered LDAP URL: georgi.masq
    LDAP port: 49129
    ldap user: admin
    ldap pass: XXXXXXX
    With this parameters I can login into SunOne ADmin Console, unfortunately something's wrong and I don't know what, if anyone has any ideas please tell me .

    Hi all, I have the following problem, when I try to
    test my Plumtree connection to LDAP Sun One Server I
    get the following error message:
    Attempt to connect to LDAP Server failed. Double
    check your installation and logon credentials.
    Could not create InitialDirContext: [LDAP: error code
    34 - Invalid DN] [LDAP: error code 34 - Invalid DN]
    I have entered LDAP URL: georgi.masq
    LDAP port: 49129
    ldap user: admin
    ldap pass: XXXXXXX
    With this parameters I can login into SunOne ADmin
    Console, unfortunately something's wrong and I don't
    know what, if anyone has any ideas please tell me .
    Hi all, I have the following problem, when I try to
    test my Plumtree connection to LDAP Sun One Server I
    get the following error message:
    Attempt to connect to LDAP Server failed. Double
    check your installation and logon credentials.
    Could not create InitialDirContext: [LDAP: error code
    34 - Invalid DN] [LDAP: error code 34 - Invalid DN]
    I have entered LDAP URL: georgi.masq
    LDAP port: 49129
    ldap user: admin
    ldap pass: XXXXXXX
    With this parameters I can login into SunOne ADmin
    Console, unfortunately something's wrong and I don't
    know what, if anyone has any ideas please tell me .Hello actually I have the same error, maybe someone have the solution.
    Or what did you do for resolve this error?
    Thanks for your collaboration!!

  • I just updated my 3gs to the latest iOS 5 update and now I am unable to text certain numbers.  I keep getting the error code 1121611611 invalid number, even though the number I have in my contacts is a 10 digit number.  Any suggestions on fixing this?

    I just updated my 3gs to the latest iOS 5 update and now I am unable to text certain numbers.  I keep getting the error code 1121611611 invalid number, even though the number I have in my contacts is a 10 digit number.  Any suggestions on fixing this?

    PhotogYogi wrote:
    I Have the same issue on a brand new iPad mini 2. My battery is only lasting up to 5 hours. I went on chat with Apple last night and they said my battery is fine and its a Safari issue. I'm literally losing 1% every 3-4 minutes. I tried recalibrating my battery, signing out of iCloud, shutting off all locations, turning off background app refresh, restoring network settings, restoring all, and finally restoring from iTunes with no luck. This is just awful. I got this iPad so I could use it on my long flight for a trip I have coming up, and unfortunately, it's not going to last that long, plus I'm concerned about how many times i will be recharging my battery because of this since battery's do have a life cycle dependent on the number of charges. This is frustrating and needs to be fixed ASAP and addressed by Apple.
    By the way, Apple told me to bring my device to the Apple Store because it's still under warranty. That's great and all, but I'm going to waste my time if there is no fix for this issue.
    Ok so you want Apple to address the problem, but yet you don't want to take it to them just in case they can't fix it? What if they can fix it? Complaining here certainly won't fix it.

  • [LDAP: error code 49 - Invalid Credentials]

    New to OID. Using Jdev 10.1.3 and then have following code. user is apenlast and password is penlast2.
    I want to get all the attributes for this user from OID. But I keep getting this error.
    javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
    Actually from SSO login screen, if I try login using apenlast/penlast2 I can successfully login to OID. Then why this error from code ??
    InitialDirContext ctx1 = ConnectionUtil.getDefaultDirCtx
    ( "ormi://br-dev3.fjcs.net:399",
    "389",
    "cn=apenlast",
    "penlast2" );
    System.out.println("TTTTTTTTTTTTTTTTTTTTT "+ctx1.getAttributes("uid"));

    probably you're not using using the fully qualified DN.
    the users are stored by default under cn=users,dc=yourDOMAIN
    so u should try cn=apenlast,cn=users,dc=yourDOMAIN.
    regards,
    --Olaf                                                                                                                                                                                                                                                                                                                                                                                                   

  • LDAP: error code 21 - Invalid Attribute Syntax

    I have written a java program to create an LDAP user. Sometime it works fine but sometimes it gives error. Detailed error is given below:
    createLDAPAgencyUser() : Inside Exception - javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 - Invalid Attribute Syntax]; remaining name 'uid=VINMUMBAI,ou=fci,o=cw,c=in'
    javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 - Invalid Attribute Syntax]; remaining name 'uid=VINMUMBAI,ou=fci,o=cw,c=in'
         at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3001)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2934)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2740)
         at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:777)
         at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:236)
         at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:176)
         at LDAPAgencyCreation4C.createLDAPAgencyUser(LDAPAgencyCreation4C.java:123)
    Stop main method.
         at LDAPAgencyCreation4C.main(LDAPAgencyCreation4C.java:45)
    Does anyone have idea to resove it, please let me know.
    Thanks in advance,
    Vinod Shivhare

    I got the solution. One attribute which I was sending it's name was incorrect. Attribute names are very case sensitive.
    -Vinod.

  • Javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Cre...

    Sir/Madam,
    i am working on Windows Platform and I am getting this error when i want ot configure the LDAP.
    Please suggest
    javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
         at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3005)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2951)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2753)
         at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2667)
         at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:287)
         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
         at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
         at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)
         at TestClient.main(TestClient.java:33)
    Thanks in advance.
    Regards
    Neelamadhab

    javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]LDAP is rejecting your credentials (username / password). Make sure your credentials are coorectly given, otherwise get help from LDAP admin.
    regards,
    Sekar

  • LDAP: error code 1 - Invalid query reference]; remaining name '

    I have the following function for a paged search operation.
    Data retrieved by this function is used somewhere else to modify the Ldap Directory context.
    Despite my setting for ctx and search control as "no timeout", i've been keeping thrown the exception for operations lasting more than 5 minutes(consistently) and for some short operations(sporadically):
    Paged Search failed : javax.naming.NamingException: [LDAP: error code 1 - Invalid query reference]; remaining name '<directory>'
    I am using DirX as LDAP directory.
    Is this a time-out related exception which can be fixed in the code?
    How can it be fixed?
    There's no clue all over the web about this.
    Thanks.
          * Returns the next page of the search results.
          * The returned result from this method can not exceed page size
          * set in the constructor.
          * @return
         public NamingEnumeration nextPage(){
              //1.step Set PagedResultsControl
              NamingEnumeration results = null;
              Control[] controls=null;          
              try {               
                   if( isSearchStarted==false ){
                        isSearchStarted=true;
                        if(sortingAttributes==null)
                             controls=new Control[]{ new PagedResultsControl(pageSize) };
                        else
                             controls=new Control[]{new SortControl(sortingAttributes, Control.NONCRITICAL), new PagedResultsControl(pageSize) };
                   }else {// examine the response controls
                        cookie = parseControls(ctx.getResponseControls());
                        if( cookie!=null && cookie.length!=0 ){
                             // pass the cookie back to the server for the next page
                             if(sortingAttributes==null)
                                  controls=new Control[] { new PagedResultsControl(pageSize, cookie, Control.CRITICAL) };
                             else
                                  controls=new Control[] {new SortControl(sortingAttributes, Control.NONCRITICAL), new PagedResultsControl(pageSize, cookie, Control.CRITICAL) };
                        }else{
                             //search is finished
                             return null;
                   ctx.setRequestControls(controls);
                   //ctx.getEnvironment().values();
                   //ctx.getEnvironment().put("com.sun.jndi.ldap.connect.timeout", "5000", 300000);
                   ctx.addToEnvironment("com.sun.jndi.ldap.connect.timeout", "0");
                   //ctx.getEnvironment().values();
              } catch (NamingException e) {
                   Tracer.getInstance().error("Paged Search failed while setting response controls: " + e);
                   return null;
              } catch (Exception e) {
                   Tracer.getInstance().error("Paged Search failed while setting response controls: " + e);
                   return null;
              //2.step: DO SEARCH
              for(int i=0;i<10;i++){
                   boolean reconnect=false;
                   try{     
                        results = ctx.search(searchBase, searchFilter, searchCtls);
                        Thread.sleep(300000);
                        //ctx.get
                        //Thread.sleep(300000);
                        break;
                   } catch (NamingException e) {
                        Tracer.getInstance().error("Paged Search failed : " + e);
                        reconnect=true;                    
                   } catch (Exception e) {
                        reconnect=true;
                        Tracer.getInstance().error("Paged Search failed : " + e);                    
                   if(reconnect){
                        try {
                             this.ctx = LDAPServer.getInstance().getDirContext();
                             ctx=ctx.newInstance(controls);
                             //ctx.getEnvironment().values();
                        } catch (NamingException e1) {
                             Tracer.getInstance().error("Could not reconnect the ldapcontext");
              return results;
         }

    It turned out to be a DirX "root DSE" entry "PAGP" that is disposing my paged results if a timeout occurs(300 seconds by default).
    So i have to modify this entry during runtime, which is unfortunately only can be accesed by dirxadm.exe.
    Is it possible to modify this attribute by a ldap context method?

  • Error code 907 invalid jar not found

    For those of you that are having trouble with error code 907 invalid jar not found or invalid jad not found. After following all the help available on the Blackberry site to no avail, the cause of the above error codes was a web site down problem. It turns out that when you try to download the blooover.jar or the blooover.jad files to your phone you get the error message 907 invalid jar or jad file not found due to the www.bluejack.ru web site being down. Any other .jar or .jad file that I tried was not a problem.

    Good!
    Still, glad you got it settled. There are even several knowledge base articles here on that exact error code as well as the many posts in the forum explaining what it is.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Error code:1015 invalid lic key

    I bought a photo colagge app and after downloading it,it gave me an invalid lic key error. error code 1015. have the purchase reciept. it tells me to kindly delete the app and reinstall it to regenerate a new lic key,but its not working. what can I do?

    Photo Collage-Photo Frames-Photo Shape Maker.
    This is the exact info and error it gives me:
    Error Code: 1015
    Module Name: PhotoCollage
    App Name: Photo Collage-Photo Frame-Photo Shape Maker:Ajani InfoTech Private Limited
    App Id : 25525900
    LIC Key: E102

  • How do you fix error code "907 Invalid COD"

    Attempts to download on my BB Torch 9850 fails and returns error message "907 Invalind COD".  What is the fix?

    Hello barkbeetle,
    I wanted to follow up with you on the 907 Invalid COD error code that you are receiving on your blackberry Torch 9850. Since the error message that you are getting is not common to the average user, I decided to investigate this issue a little further. After some research on blackberry's website, I found an article about this error message that you have. Even though RIM stated that there is not a permanent solution to this issue, this article has several workarounds to try. Below is the link of possible solution to your specific issue. As you provide additional information on your issue then we can continue to find a permanent resolution for you.
    http://bit.ly/WGvVJ
    Once you have tried the workarounds in the link below, please share your findings with the community as it may help another fellow blackberry user in the future.
    Thank you...
    ArnettH_VZW
    Follow us on Twitter @vzwsupport

  • Fatal Error Code 6 "Invalid Play List"

    Ughh, trying to burn a Blu-ray project and I get this error before Encore can even burn the disc. Using Encore CS5.5.1
    Any suggestions?
    Kellso

    Thanks Bill,
    The menu is a template that I purchased from Precompossed Pro Motion Menus.
    I edited in FCP, exported at a Quicktime file, Encoded with Media Encoder 5.5 I noticed that one of the menu assest has a little green icon but the others have a orange and red.
    Where do I find the details of the play list?
    Thanks

  • Error code 47 invalid URL

    I have been pain stakenly trying to get this to work properly and yet I am getting very tired of having to open the movie trailers in a diffrent window something is wrong on your end please help if any thank you.

    Thanks QTKirk - I think I wasted my money buying QT Pro then as I really wanted to be able to rewind and review things I have streaming from web cams. I am not sure of what other benefit having QT Pro there is to me. I appreciate your help and wish there was a way to view live streaming web cams using QuickTime.
    Are there any live streaming web cams that can be watched using QuickTime?
    Laura

  • BIND Failed [LDAP: error code 49 - Invalid Credentials]

    New to OID and OIM,
    I am trying to add an Oracle Internet Directory Server using Oracle Directory Manager. This company has OIM implimented and I have been given the administrator username and password for the OIM system to connect with, it is not the orcladmin user.
    Do I need to have the orcladmin username and password on the OIM instance to add this OID Server to my list of available directory servers?
    Any help appreciated.
    Larry

    This can be canceled. Apparently I was misunderstood in my request to the other department and was given a DB login, not access to the LDAP server, which explains why it could not bind.

  • Error resetting AD password LDAP: error code 19

    I am getting following exceptions when i try to reset the password of some users in some of my Active directories.
    please help me
    //set password is a ldap modify operation               
                   ModificationItem[] mods = new ModificationItem[2];
                   String oldQuotedPassword =
                        AD_PASSWORD_QUOTE + oldPassword + AD_PASSWORD_QUOTE;
                   byte[] oldUnicodePassword =
                        oldQuotedPassword.getBytes(AD_PASSWORD_ENCODE);
                   String newQuotedPassword =
                        AD_PASSWORD_QUOTE + newPwd + AD_PASSWORD_QUOTE;
                   byte[] newUnicodePassword =
                        newQuotedPassword.getBytes(AD_PASSWORD_ENCODE);
                   mods[0] =
                        new ModificationItem(
                             DirContext.REMOVE_ATTRIBUTE,
                             new BasicAttribute(
                                  AD_PASSWORD_ATTRIBUTE,
                                  oldUnicodePassword));
                   mods[1] =
                        new ModificationItem(
                             DirContext.ADD_ATTRIBUTE,
                             new BasicAttribute(
                                  AD_PASSWORD_ATTRIBUTE,
                                  newUnicodePassword));
                   TR.trace(
                        Trace.LEVEL1,
                        "changeADPassword",
                        "Start reset password for AD ");
                   // Perform the update of pasword.               
                   ctx.modifyAttributes(dnUser, mods);
    Unable to changePassword - Reason: com.ibm.swservices.websphere.registry.RegistryException: Could not change AD password. Reason: javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 19 - 00000005: AtrErr: DSID-03190EFF, #1:
         0: 00000005: DSID-03190EFF, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9005a (unicodePwd); remaining name 'CN=zxx22,OU=Test,OU=Clients,OU=Customer,DC=xxx,DC=xxx'
    faultActor: null
    faultDetail:
    javax.xml.soap.SOAPException: Unable to changePassword - Reason: com.ibm.swservices.websphere.registry.RegistryException: Could not change AD password. Reason: javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 19 - 00000005: AtrErr: DSID-03190EFF, #1:
         0: 00000005: DSID-03190EFF, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9005a (unicodePwd); remaining name 'CN=zxx22,OU=Test,OU=Clients,OU=Customer,DC=xxx,DC=xxx'
         at com.ibm.ws.webservices.engine.WebServicesFault.makeFault(WebServicesFault.java:156)
         at com.ibm.ws.webservices.engine.providers.java.JavaProvider.invoke(JavaProvider.java:294)
         at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
         at com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:61)
         at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
         at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
         at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:255)
         at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:893)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:341)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java(Inlined Compiled Code))
         at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java(Compiled Code))
         at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java(Compiled Code))
         at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java(Compiled Code))
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled Code))
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled Code))
         at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled Code))
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled Code))
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java(Compiled Code))
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code))
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:449)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912)

    It's most likely to be a password policy problem.
    If your Active Directory password policy is enforcing password history, minimum password length, minimum password age or password complexity, then this will raise the LDAP Error Code 19 (invalid attribute exception), with an Active Directory problem code of 1005.

  • Invalid subreport name Error code:-2147483086

    The setup used in this particular environment is to run reports via Crystal reports server 2008. We call the servers via the rassdk_java_dg_12_en and the setup works just fine BUT in one particular case.
    The report that fails have a main report with a datasource to SQL. The report does have about 20 - 25 subreports mostly based on the same datasource. There are however 6 subreports that uses ttx files as datasources.
    The report works fine when there is no data for the ttx subreports, but whenever a "change datasource" is tried to the ttx subreports the error "Invalid subreport name Error code:-2147483086" pops up.
    We have done noumerous tests on the pojo approach in other reports so the technic and code works just fine - it most be some special case in the report.
    Before we start to try to rebuild the report we will give you a chance to help us out. The report sucker is big and complex so a rebuild is not wanted...
    Here is the particular code involved
    private static void passPOJO(ReportClientDocument clientDoc,
                ReportPojoHolder pojoHolder, String reportName)
                    throws ReportSDKException,ClassNotFoundException {
            //Its a pojo data source, but it's nothing in it
            if (pojoHolder.getPojos().size() == 0) {
                return;
            String reportTable = pojoHolder.getTableName();
            Object pojo = pojoHolder.getPojos().iterator().next();
            POJOResultSetFactory factory = new POJOResultSetFactory(pojo.getClass());
            POJOResultSet resultSet = (POJOResultSet)factory.createResultSet(pojoHolder.getPojos());
            if(reportName == null || reportName.equals("")) {
                clientDoc.getDatabaseController().setDataSource(resultSet, reportTable, reportTable);
            else {
                System.err.println("Setting data in " + reportName );
    //Here comes the error
                clientDoc.getSubreportController().getSubreport(reportName).
                    getDatabaseController().setDataSource(resultSet, reportTable, reportTable);
    Here is the stacktrace:
    table: srptMainCustomerList;1, subrapport: AddressField
    table: srptusrinf;1, subrapport: AdvisorName
    table: srptusrinf;1, pojo: Beta
    table: srptusrinf;1, pojo: JensensAlpha
    table: srptusrinf;1, pojo: PerformanceChart
    Setting data in PerformanceChart
    2009-02-06 09:05:31,720 ERROR (CrystalReportServlet:doGet()) - [Username=Patrik Andrén, UserID=n249060, CustId=005563741684, Cstid=37385] - (Creation of report: customer_report.rpt failed on: [ReportAppServer: CCA1CS0569. Datasource: cca1cd0046qa1|omega] com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException:
    Fel i filen customer_report {CDCDCEC2-050C-4405-865C-6031D4BFF2DE}.rpt:
    Ogiltigt underrapportnamn.---- Error code:-2147483086 Error code name:failed, ) - [applicationId=omega, omegaUserId=omega.userid, credentials=IT, groupName=IT, sessionId=yLkhJLtYpLlDQ5Jf5S2GkzhPfSZJBg2zZkT4LfQ0L1bJg2v20pz2!-2033571304!1233906968432, requestId=06968853:167:000], exception-stack=
    com.nordea.omega.report.exceptions.ReportGenerationFailedException: Creation of report: customer_report.rpt failed on: [ReportAppServer: CCA1CS0569. Datasource: cca1cd0046qa1|omega] com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException:
    Fel i filen customer_report {CDCDCEC2-050C-4405-865C-6031D4BFF2DE}.rpt:
    Ogiltigt underrapportnamn.---- Error code:-2147483086 Error code name:failed,
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.s.a(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.bl.do(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.do(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.verifyDatabase(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.bl.byte(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ao.onDataSourceChanged(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(Unknown Source)
         at com.nordea.crystalreports.ReportHelper.passPOJO(ReportHelper.java:814)
         at com.nordea.crystalreports.ReportHelper.changeDataSource(ReportHelper.java:124)
         at com.nordea.crystalreports.ReportGenerator.generate(ReportGenerator.java:115)
         at com.nordea.crystalreports.ReportGenerator.generate(ReportGenerator.java:62)
         at com.nordea.omega.report.servlet.CrystalReportServlet.doGet(CrystalReportServlet.java:116)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServi

    I have been able to wrestle this down after a lot of frustrating work. The error had nothing to do with pojos at all. The error was simple a store procedure that did not reply nothing.
    In the preparation of the subreport that did consist of the pojo data source. The report(server?) did send a "pre call" to the store procedure with NULL as parameters. The reply was unfortunately an "empty" reply. When we changed the reply to an empty result set it went pass the data sources.
    The error message given on this was "Invalid subreport name"! Not very helpful at all.
    I have used this new version for about 3 weeks now in a "proof of concept" work controlling if we would be able to upgrade from crystal 9/Harmoni to Crystal 2008/Crystal Report Server 2008. The answer will be yes. It will work. And with a minimum of report changes which is very nice.
    What have struck me the most during this work is a few proposals to improvements.
    1. Put the versions on jars and sdk's so it's obvious what's used. I spent a few days with an old version of a sdk believing that it was a newer than I already had. It should not be neccessary to go through a manifest file inside a jar in order to find out what the version is. Put it on the file names!
    2. Give proper error messages back when something goes wrong. If a parameter value is missing. Send back the parameter that's missed/misses a value for Gods sake. The programmer catching the error most know what's missed hence the message. Would save the user's of the API very much time.
    I spent about 5 - 10 days trying to find out what was wrong with my sub report name (This thread). It had nothing to do with the subreport name. It had to do with missing data from a called store procedure!
    3. The documentation can be a bit tricky to find. I saw that you have given away a eclipse plugin in order to gather the documentation inside the IDE. That's a good approach.
    If the error messages will be enhanced and more accurate it's a pretty handy api to work with. And the handling of unmanaged reports is a wet dream compared to usage of the Harmoni API. That's a real nightmare. The server seems to be very stable and just runs.
    I like this forum, fast replies when one is stuck is extremely helpful!
    /Patrik

Maybe you are looking for

  • TWO problems with iphone 3G S Calendar

    First of all, my calendar always alerts me 10 minutes before an event regardless of whether I asked it to or not. I can select 'none' and hit done, but when I go back to the event, the alert is set to go off ten minutes before (it appears to change,

  • Quicktime Corrupted Movies... HELP

    I went to watch some old videos (of some of my children's "firsts") and when the window opened up the video was purple and yellow and all pixelated! My newer quicktime videos work just fine so I don't know why some of these older ones have all of a s

  • How can I add the Blackberry my friend gave me to my account that already has my prepaid phone on it?

    How can I add the Blackberry my friend gave me to my account that already has my prepaid phone on it?

  • Problem in configuration of Tomcat

    Hi I downlaoded Tomcat 5.5.17 and unzip it in to the folder of c:\tomcat Then I set the JAVA_HOME varaible to c:\java\jdk. Then in context.xml I set it to true. Then in web.xml I remove the comment lines(invoker and mapping) Then I change my port fro

  • Exception during mapping Execution

    Hi Experts an Matmas05 xml is coming from MDM system. & it should be posted as Matmas05 in R/3. i imported the MDM content in IR. but the fields order in coming Matmas05 xml file and the fields order in Matmas05 Idoc  are Not same. while Executing Ma