Extraction of database details

Hi team,
We are decomissioning one application hence we will take cold backup and remove the database.
we want to extract the details for future use for business users in excel format.Since there are lakhs of records
we want to put in different sheets as excel can have only upto 65K records in one sheet.at the same time we dont want to do manual extraction and
save in different excels.Is there any automation available in any oracle tools.

>
We have data of 50 K records per month based on column business date.We do
not need all column details of all tables.Based on requirement i already created a
sql which contains all required details for business users in bank.OK - so if I've understood correctly, you have 50 K records per month - how much
data is this - at 1K per record (pure guess), this is ~ 50 MB per month - do you have
more or less than this?
Currently i am using pl sql developer and retriving one month data and saving the
file with name of the that month.Saving "the file" in what format? In what database? Flat file?
But since database is having 5 years of data , i should
query db for 5 X 12= 60 times.I have 2 such modules ,payments and collections.
hence it would be like we have to manually query and save 120 times which will
take lot of time.hence looking for some alternativesManually query what from where? What does "manually query" mean?
Are you saying that you have to trawl through your monthly files
separately when you want to extract information from this data?
RDBMS to the resuce...
50 MB multiplied by 60 months = 3 GB of data,
that should* fit in XE - of course, I'm guessing here as to the size, but
even if it's more - you could use Firebird or PostgreSQL or MySQL to
store the data - 10 - 50 GB of data is not a big database these days.
Explain a bit more about your data (size, location and current access method)
and why you can't put it into one of the free RDBMS's, if you
can't/don't want to use Oracle.
HTH.
Paul...
When asking database related questions, please give other posters
some clues, like OS (with version), version of Oracle being used and DDL.
Other trivia such as CPU, RAM + Disk configuration might also be useful.
The exact text and/or number of error messages is useful (!= "it didn't work!"). Thanks.
Furthermore, as a courtesy to those who spend time analysing and attempting to help,
please do not top post and do try to trim your replies!

Similar Messages

  • AIA FP 11.1.1.4.0 install problem at Step 6 of 12 AIA Database Details

    I have currently run into a problem where where I am receiving an error
    on Step 6 of 12 AIA Database Database Details which says "Admin Details for "AIADB" is incorrect.
    I have verifed that the information entered is correct, and I am able to log into the database using the same sysdba crendentials.
    I have followed the AIA Foundation Pack Installation Guide and performed the pre-installation configuration and met the requirements for a Linux Installation.
    Any Ideas?
    Edited by: user10403507 on Apr 7, 2011 2:46 PM
    Edited by: user10403507 on Apr 7, 2011 2:47 PM

    Hello, I have copied the section of the .out file where there is an error. The userid and password are valid for the database connection I have successfully connected to the database using sql developer. The DB User has SYSDB permissions.
    uccessfully connected to Admin Server 'AdminServer' that belongs to domain 'soa_domain'.
    Warning: An insecure protocol was used to connect to the
    server. To ensure on-the-wire security, the SSL port or
    Admin port should be used instead.
    Undeploying application FPInfraServices ...
    <Apr 8, 2011 5:03:34 AM CDT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating undeploy operation for application, FPInfraServices [archive: null], to AdminServer .>
    .Completed the undeployment of Application with status completed
    Current Status of your Deployment:
    Deployment command type: undeploy
    Deployment State : completed
    Deployment Message : no message
    Disconnected from weblogic server: AdminServer
    Setting current page standalone validations to true
    resultset.getStatus() : true
    falseisRac value
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    1017
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:406)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
         at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:799)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:368)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
    Edited by: user10403507 on Apr 14, 2011 8:25 PM

  • Collecting SQL Server Database Details from 32bit Instances Result in Error

    Hello,
    I am working with a customer to use the MAP toolkit to collection and SQL Server Instance and Database Details in their environment.  At present we are testing the MAP toolkit against one server that has seven instances installed on it.  One instance
    is 64bit and the others are 32bit.  All instances get discovered; however, the database details are only collected for the 64bit instance.  All of the other instances are marked as failed.  We ran MAP again with the tracing turned on and the
    only errors for the six instances that failed appear to be WMI namespace errors showing up repeatedly (see below).  This is just one example, but these invalid namespace errors are all over the log.
    How can we resolve these errors?
    Does MAP support collecting database details from 32bit instances?
    <2015-02-17 13:59:05.77
    WorkerThread1@WmiClassesCollectionStep,T1> ConnectToNamespaceAccessTest(Device(GUID={f787ea32-08d0-46ad-a910-3e270005b61c},DnsHostName='HOSTNAME')) - Trying to connect to the WMI namespace 'root\Microsoft\SqlServer\ComputerManagement12' while impersonating
    the user 'USERACCOUNT'.
    <2015-02-17 13:59:05.77
    WorkerThread1@WmiClassesCollectionStep,T1> ConnectToNamespaceAccessTest(Device(GUID={f787ea32-08d0-46ad-a910-3e270005b61c},DnsHostName='HOSTNAME')) - Caught ManagementException connecting to the WMI namespace 'root\Microsoft\SqlServer\ComputerManagement12'.
    Exception: System.Management.ManagementException: Invalid namespace
       |   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       |   at System.Management.ManagementScope.InitializeGuts(Object o)
       |   at System.Management.ManagementScope.Initialize()
       |   at Microsoft.AssessmentPlatform.InventoryEngine.DeviceInventory.WmiClassesCollectionStep.ConnectToNamespaceAccessTest(WmiCollectionState stateRec, WindowsIdentity identity, SavedImpersonationContext sic, String wmiNamespace)

    This issue was resolved by updating to Windows Management Framework 4.0 on the server.

  • SQL Server database details - DBInstanceSummary- Connection Status: Failure

    Hi guys,
    I have a strange problem with Maps 9.0 in the SQL Server database details -> DBInstanceSummary and DBInstanceProperties I got a failure as shown in the picture below.
    This sounds quite strange because I'm able to collect most of Instances and Database infos. And I'm also able to connect with status: Success to other Instances hosted in the same cluster.   
    Can you give me any good advice?
    Thanks in advance
    Ruggiero Lauria
    MCT-MCITP-MCSA-MCSE-MS SQL DBA

    We can try to see if a detailed log might reveal where the breakdown occurs. To get the detailed log, follow these instructions precisely:
    With MAP closed, rename the existing MAP log file which is located in "%LOCALAPPDATA%\Microsoft\MAP\MapToolkit.log" if the default was used during installation. It is recommended that you include a number or date when renaming so that we can keep the logs
    in order if we have to do this again.
    Open Notepad as Administrator
    Open "%LOCALAPPDATA%\Microsoft\MAP\Logging.cfg" in Notepad
    Change the line that says “.default=Info” to read “.default=Trace2”
    Save and close the file
    Open MAP (this creates a new log file)
    Go to File > Select a Database
    In the window that opens, select the radio button called “Create an inventory database” and enter a name
    Click ok
    On the Overview page in MAP, click on “Perform an inventory”
    Choose the "SQL Server with Database Details" inventory scenario
    Choose only the manual entry discovery method and enter just one target machine
    Make sure that you use the All Computers credentials for the user name and password
    Once the inventory has completed, exit MAP
    Open Logging.cfg is the same manner as before and change it back to “.default=Info”
    ZIP and send us the new log file
    Please remember to click "Mark as Answer" on the post that helps you, and to click
    "Unmark as Answer" if a marked post does not actually answer your question. Please
    VOTE as HELPFUL if the post helps you. This can be beneficial to other community members reading the thread.

  • How to Extract CREATE DATABASE for 10g?

    I've seen utilities that will re-create the full 'CREATE DATABASE' syntax for a 8i or 9i database. I'd like to do the same thing for 10g that understands the features of 10g like SYSAUX and other new features. I looked at DBMS_METADATA but it doesn't really cover the CREATE DATABASE syntax.
    Has any seen a routine to extract CREATE DATABASE syntax for a 10g database?
    -Crispin

    Hi,
    have you tried by using dbca?
    Create a new template from existing db..
    Acr

  • Extraction of the details of all the views existing in Requisite.

    Hello Experts,
    I am using SRM4.0, Requisite Staging 4.0 and Requisit publishing 4.0.
    I want to extract the details of all the views existing in Requisite
    server from DB. is it possible?
    if i access to Requisite through internet explorer, i have to do it view by view.
    So if i have access to the database think it will go faster.
    Many thanks in advance.
    Regards,
    Saikrishna.

    Hello Saikrishna,
    I don't know the name of your SAP database user,
    but typically they have the prefix SAP, so I wonder
    why the SQL statement didn't return any rows.
    To see all database views, you can try this
    SQL command:
    set long 2000;
    select owner, view_name, text
    from dba_views
    order by owner, view_name;
    This list will surely be quite long, so once you have the
    name of the database user who owns the views it
    would be best to add a WHERE clause and limit the
    select  to only this user.
    Regards,
    Mark

  • XMLSequence EXTRACT HEAD and DETAIL in ORACLE 9.2

    Hi, sorry about my english i am from argentine.
    I have this XML:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <arrayOfServicio >
        <Servicio>
            <Nombre>Autenticacion</Nombre>
            <Descripcion>ws</Descripcion>
            <Activo>true</Activo>
            <Version>1.0</Version>
            <MetodosEntity>
                <Metodo>
                    <Nombre>RequestTicket</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
            </MetodosEntity>
        </Servicio>
        <Servicio>
            <Nombre>Consultas</Nombre>
            <Descripcion>wsConsultas</Descripcion>
            <Activo>true</Activo>
            <Version>1.0</Version>
            <MetodosEntity>
                <Metodo>
                    <Nombre>GetVigencia</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
                <Metodo>
                    <Nombre>GetSiniestralidad</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
                <Metodo>
                    <Nombre>GetAgrupados</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
                <Metodo>
                    <Nombre>GetSiniestralidadPorCuil</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
            </MetodosEntity>
        </Servicio>
        <Servicio>
            <Nombre>Referencias</Nombre>
            <Descripcion>wsReferencias</Descripcion>
            <Activo>true</Activo>
            <Version>1.0</Version>
            <MetodosEntity>
                <Metodo>
                    <Nombre>TablaReferencia</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
                <Metodo>
                    <Nombre>ListadoReferencia</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
            </MetodosEntity>
        </Servicio>
        <Servicio>
            <Nombre>General</Nombre>
            <Descripcion>WsGeneral</Descripcion>
            <Activo>true</Activo>
            <Version>1.0</Version>
            <MetodosEntity>
                <Metodo>
                    <Nombre>GetServicios</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
            </MetodosEntity>
        </Servicio>
        <Servicio>
            <Nombre>eServicios</Nombre>
            <Descripcion>wseServicios</Descripcion>
            <Activo>true</Activo>
            <Version>1.0</Version>
            <MetodosEntity>
                <Metodo>
                    <Nombre>SetComunicacion</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
            </MetodosEntity>
        </Servicio>
        <Servicio>
            <Nombre>VentanillaART</Nombre>
            <Descripcion>wsVentanillaART</Descripcion>
            <Activo>true</Activo>
            <Version>1.0</Version>
            <MetodosEntity>
                <Metodo>
                    <Nombre>ObtenerNovedades</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
            </MetodosEntity>
        </Servicio>
        <Servicio>
            <Nombre>Establecimientos</Nombre>
            <Descripcion>wsEstablecimiento</Descripcion>
            <Activo>true</Activo>
            <Version>1.0</Version>
            <MetodosEntity>
                <Metodo>
                    <Nombre>GetConsultaPorCuit</Nombre>
                    <Activo>true</Activo>
                    <Version>1.0</Version>
                </Metodo>
            </MetodosEntity>
        </Servicio>
    </arrayOfServicio>
    I am working in ORACLE 9.2 and i wrote this query but the result is not correct, i need to join HEAD and DETAIL in some way but cannot do that...
      select extractvalue(value(head),'//Servicio/Nombre/text()') ,
            extractvalue(value(head),'//Servicio/Descripcion/text()'),
            extractvalue(value(head),'//Servicio/Activo/text()'),
            extractvalue(value(head),'//Servicio/Version/text()')
            ,extractvalue(value(detail),'//Metodo/Nombre/text()')
            ,extractvalue(value(detail),'//Metodo/Activo/text()')
            ,extractvalue(value(detail),'//Metodo/Version/text()')
      from arwt_ws_return x
          , table(xmlsequence(extract (x.x_xmldoc, '/arrayOfServicio/Servicio'))) head
          , table(xmlsequence(extract (x.x_xmldoc, '/arrayOfServicio/Servicio/MetodosEntity/Metodo'))) detail;
    Ii really appreciate your help.
    Thanks!

    Hi,
    You can do that by passing the head element to the second XMLSequence. That way you maintain the correlation between the parent and its children :
    select extractvalue(value(head), '/Servicio/Nombre') as srv_nombre
         , extractvalue(value(head), '/Servicio/Descripcion') as srv_desc
         , extractvalue(value(head), '/Servicio/Activo') as srv_activo
         , extractvalue(value(head), '/Servicio/Version') as srv_version
         , extractvalue(value(detail), '/Metodo/Nombre') as met_nombre
         , extractvalue(value(detail), '/Metodo/Activo') as met_activo
         , extractvalue(value(detail), '/Metodo/Version') as met_version
    from arwt_ws_return x
       , table(xmlsequence(extract(x.x_xmldoc, '/arrayOfServicio/Servicio'))) head
       , table(xmlsequence(extract(value(head), '/Servicio/MetodosEntity/Metodo'))) detail
    Please also note that :
    - you don't need a descendant axis (//) if you know the exact path
    - you don't need to go down to the text() node if you're using extractvalue
    Hope that helps.

  • Regarding MS Access Database details....

    Hi,
           I am working on RFC to JDBC interface. Currently my Database tables are not created, so planning to do testing on MS Access database. While creating JDBC communication channel, it is asking JDBC driver and Connection details. Could you please provide me the above said details.
    Thanks in Advance.
    Regards,
      sai.

    Hi,
    For JDBC you first need to install the JDBC drivers on XI:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    Search on SDN with JDBC adapter will give you the details of the parameter.
    Refer the below web log:
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Thnx
    Chirag

  • Error message when Database details are not configured properly

    Hi,
    I am using JDeveloper 11.1.1.1.4 and ADF-BC in my project.
    I use Weblogic Data Source connection to connect to Database.
    I have a requirement that when data base details are not configured properly in Weblogic Data Source or when Database is down,I need to display an error message either when I access application task flows or in login page itself when application starts.
    Can I achieve this???Please advice.
    Regards,
    Praveen

    Praveen,
    Check out Steve's example
    https://blogs.oracle.com/smuenchadf/resource/examples#129
    -Arun

  • How to find the database details from server audit specification with successfull login group?

    Hi,
    We have created a server audit for successfull logins.When we read the audit file using
    sys.fn_get_audit_file we find that all the fields related to the databases
    ie database_principal_id,database_principal_name,database_name are either 0 or null.
    Is there a method to find out to which database the login is accessing from the server
    audit specification of successfull login group.Although the logins are reading and writing
    data to the databases why there are no details of the databases?
    Thanking you in advance,
    Binny Mathew

    Hello Binny,
    The logins are used to connect to the instance and the access to the databases is performed via database users. So, once you connect to the instance via your login, the server level audit takes this action, records it, but without caring to which databases
    you want to connect after that. 
    Unfortunately there is no similar action group on the database audit specifications, that can track which user connected to the DB, except if you are using contained databases in SQL 2012.
    Probably you can share why you need such information and if there is something else specific that you wish to achieve, so we can propose a different solution/audit configuration.
    Regards,
    Ivan
    Ivan Donev MCT and MCSE Data Platform

  • How to fix corrupted backup then proceed with restore? Or extract app databases from corrupted backup?

    Deeply let down by Backup restore :-(
    iPhone 3GS with iOS5.1 (the latest) started to behave abnormally. Made a full restore of iOS then tried to restore from backup only to discover message that my backup is corrupt or not compatible. Contacts were restored more or less OK but all applications data including personal financials (PocketMoney records) were lost.
    Tried 2 times to run restore from backup but without success :-( Is there any chance to fix so-called corrupted backup file or at least to retrieve my app databases out of there?
    Any help will be greatly appreciated. Thanks.

    Not that I've heard of.  You can extract some of your data from a backup using iPhone Backup Extractor, but I'm not sure that includes app data (you could try contacting them to find out).  And even if you could, I don't know how you would sync it back to your phone.

  • Create a table with database details

    I have to create a table which has DBName, FileName, FileSize and FileType of a database(DB1)

    do you mean this?
    INSERT INTO YourTable (DBName,FileName,FileSize,FileType)
    SELECT DB_NAME(),physical_name,size,CASE WHEN type=0 THEN 'Data' ELSE 'Log' END
    FROM sys.database_files
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Parsing a String object that contains the database details in jsp

    Hi All,
    In my project i have a model which is a bean that contains
    a method :-
    UserBean.java
    ....getUserData()
    //the database connection is written here.
    st.executeUpdate("insert ----------");
    In the servlet i am calling the bean,
    ControllerServlet.java
    UserBean ub=new UserBean();
    Object obj=ub.getUserData();
    session.putValue("something",obj); //Here the obj contains all the database datas that is used in insert query
    //By using RequestDispacher i am forwarding this request & the response
    to the jsp page
    ViewJsp.jsp
    String data=(String)session.getValue("something");
    //Here "data" now contains all the database contents that is stored using insert query in the bean
    From here i need to parse the "data" in order to display the contents
    stored in the string "data" in to a html table.
    Plz. do provide a solution for this.It is very Urgent at the moment.
    So that i will be very thankful to u.
    Thanx,
    contactananth

    ok, first of all, in getData, i assume you do a SELECT, not an INSERT,
    so your bean code should look like:
    ResultSet rs = st.executeQuery(...) // or somethig like that
    return rs; // it will contain the data you needand in the jsp you write:
    ResultSet rs = (ResultSet)session.getValue("something");
    instead of
    String data=(String)session.getValue("something");
    i assume you know how to work with a ResultSet

  • Extracting Purchase order details

    Hai All,
               I am workng on a report in which I have to display the purchase order and GRN details for a given Purchase Requisition number.
    If the PR has 5 line items and PO is made only for 2 line items, then the purchase order details for only those 2 line items should be displayed, but I am getting default purch ord data for all those 5 line items even though PO is not made for 3 line items.
    Can anyone pls help me on this....

    Hi ,
        Here goes ur solution , Only u have to use EBAN and EKBE for the purpose.The report displays item no wise details of PR with PO and GR. selection options for PR REQ or REQ Date  is used .
    types: begin of int_pr,
         banfn like eban-banfn,
         bnfpo like eban-bnfpo,
         badat like eban-badat,
         ebeln like eban-ebeln,
         bedat like eban-bedat,
         matnr like eban-matnr,
        end of int_pr.
    declaring work area.
    data: pr_wa type table of int_pr,
          pr_wa1 like line of pr_wa,
           prnum(10),prval(10),tot type n.
    types: begin of type_ekbe,
           ebeln like ekbe-ebeln,       " PO NO
           ebelp like ekbe-ebelp,        " ITEM NO IN PO
           belnr like ekbe-belnr,         " GR NO
           end of type_ekbe.
    data: itab_gr type table of type_ekbe,
          wa_gr like line of itab_gr.
    giving selection crieteria
    select-options pr_no for eban-banfn.         " for purchase requistion no.
    select-options pr_dt for eban-badat.         " for pr date
    start-of-selection.
    if pr_no is not initial.
    select banfn bnfpo badat ebeln bedat matnr into corresponding fields of table pr_wa from eban where
    banfn in pr_no and loekz ne 'x'.
    select ebeln ebelp belnr into table itab_gr from ekbe for all entries in pr_wa where ebeln = pr_wa-ebeln and ebelp = pr_wa-bnfpo.
    elseif pr_dt is not initial.
    select banfn bnfpo badat ebeln bedat matnr into corresponding fields of table pr_wa from eban where
    badat in pr_dt and loekz ne 'x' order by badat.
    select ebeln ebelp belnr into table itab_gr from ekbe for all entries in pr_wa where ebeln = pr_wa-ebeln and ebelp = pr_wa-bnfpo.
    endif.
    loop at pr_wa into pr_wa1.
    read table itab_gr into wa_gr with key ebeln = pr_wa1-ebeln  ebelp = pr_wa1-bnfpo.
    if pr_wa1-ebeln ne ' '.
    write: / sy-vline,2(10) pr_wa1-banfn color 2, sy-vline,14(12) pr_wa1-badat color 2, sy-vline, 28(9) pr_wa1-bnfpo color 2, sy-vline, 40(13) pr_wa1-matnr color 2, sy-vline, 55(16) pr_wa1-ebeln color 2, sy-vline, 74(15) pr_wa1-bedat color 2, sy-vline,
    wa_gr-belnr,sy-vline.
    else.
    write: / sy-vline,2(10) pr_wa1-banfn color 2, sy-vline,14(12) pr_wa1-badat color 2, sy-vline, 28(9) pr_wa1-bnfpo color 2, sy-vline, 40(13) pr_wa1-matnr color 2, sy-vline, 55(16) 'not processed' color 6, sy-vline, 74(15) pr_wa1-bedat color 2, sy-vline,
    wa_gr-belnr,sy-vline.
    endif.
    endloop.
    uline at /1(90).
                                 thats all u have to do for getting the required output.

  • CrystalReports prompting for database details

    Hello all,
    I am posting this issue for the second time.. In my previous post, I didn't get a solution.
    For some reason a few of the reports that we run are prompting for database information for no apparent reason. I have provided a screen shot of what the behavior looks like.  Can you please let me know if you have any ideas on what might be causing this?  I have written a number of reports with the same use but for some reason only a few behave in this way.
    Any ideas you may have would be helpful.
    [Crystal Report DB Login screen|http://img214.imageshack.us/img214/7665/image006cy.jpg]
    Thanks in advance
    Anoop

    Hi..
    I am using CrystalRepots 12.2 in my machines and .NET Framework 2.0.
    I am using vb.net 2005 for developing applications.
    I am using SQL 2005 Database.
    Connection using is ADO.NET
    Here is the database login source code. Please check it.
    <pre>
                Dim c As ConnectionInfo
                Dim crDB As Database
                Dim crTables As Tables
                Dim crTable As Table
                Dim TblLogonInfo As TableLogOnInfo
                Dim crSections As Sections
                Dim crSection As Section
                Dim crReportObjects As ReportObjects
                Dim crReportObject As ReportObject
                Dim crSubreportObject As SubreportObject
                Dim subRepDoc As New ReportDocument
                Dim ServerName As String, DatabaseName As String
                    Me.rptDoc.Load(sCRPath, OpenReportMethod.OpenReportByTempCopy)
                    ServerName = ActiveCompanyServer
                    DatabaseName = ActiveCompanyDB
                    c = New ConnectionInfo
                    'Set Conenction info for DB
                    With c
                        .ServerName = ServerName
                        .DatabaseName = DatabaseName
                        .UserID = "sa"
                        .Password = SAPsaPwd
                    End With
                    'Associate DB to the report
                    crDB = Me.rptDoc.Database
                    'Instantiate Tables collection
                    crTables = crDB.Tables
                    'Loop thru tables in report and set connection information
                    For Each crTable In Me.rptDoc.Database.Tables
                        TblLogonInfo = crTable.LogOnInfo
                        TblLogonInfo.ConnectionInfo = c
                        crTable.ApplyLogOnInfo(TblLogonInfo)
                        crTable.Location = c.DatabaseName & ".dbo." & _
                                 crTable.Location.Substring(crTable.Location.LastIndexOf(".") + 1)
                    Next
                    'Set the sections collection with report sections
                    crSections = Me.rptDoc.ReportDefinition.Sections
                    'Loop through each section and find all the report objects
                    'Loop through all the report objects to find all subreport objects, then set the
                    'logoninfo to the subreport
                    For Each crSection In crSections
                        crReportObjects = crSection.ReportObjects
                        For Each crReportObject In crReportObjects
                            If crReportObject.Kind = ReportObjectKind.SubreportObject Then
                                'If you find a subreport, typecast the reportobject to a subreport object
                                crSubreportObject = CType(crReportObject, SubreportObject)
                                'Open the subreport
                                subRepDoc = crSubreportObject.OpenSubreport(crSubreportObject.SubreportName)
                                crDB = subRepDoc.Database
                                crTables = crDB.Tables
                                'Loop through each table and set the connection info
                                'Pass the connection info to the logoninfo object then apply the
                                'logoninfo to the subreport
                                For Each crTable In crTables
                                    With c
                                        .ServerName = ServerName
                                        .DatabaseName = DatabaseName
                                        .UserID = "sa"
                                        .Password = SAPsaPwd
                                    End With
                                    TblLogonInfo = crTable.LogOnInfo
                                    TblLogonInfo.ConnectionInfo = c
                                    crTable.ApplyLogOnInfo(TblLogonInfo)
                                    crTable.Location = c.DatabaseName & ".dbo." & crTable.Location.Substring(crTable.Location.LastIndexOf(".") + 1)
                                Next
                            End If
                        Next
                    Next
    </pre>
    I had been using the same code from the year 2005(last 5 years). But didn't see this error before.
    Also i am getting this error only for 2 or 3 reports.
    I guess the issue is with the crystal report design.
    Any way please help me.
    Thank you
    Anoop

Maybe you are looking for

  • Report with stored proc running multiple stored procedures with insert statement

    Hi, I wonder if this is possible in SSRS ... I use the 2012 version (Data Tools). I have a report that triggers a stored procedure. See below. Within this SP there are 2 insert statements getting data from 2 other SP's. When I make a dataset referrin

  • Lightroom 5.7  Lens Correction

    i have lightroom 5.7 but the Lens Correction area is not showing in my develop module - does it have to be enabled somehow?

  • How do you bypass camera raw when opening a jpeg into photoshop?

    I am finding that when I right click on a jpg image in a folder in finder, the jpg is being opened in camera raw rather than directly into photoshop even though I am selecting photoshop. Help! Another issue is the shortcut for save is "command s" and

  • Outlook 2013 Not Responding Windows 8.1

    I updated to 8.1 last week. Since then my Outlook (2013) will occasionally freeze. It sits at Not Responding until I close it or restart Outlook. Once it refused to send messages in my Outbox. Upon restarting Outlook the outgoing messages were lost,

  • Error in setting release key for a change number

    When i am giving release key in CC02 01(Global Release) system is giving me message It can not be released for production when i analysed i found the following details ECO PP0000000029 cannot be released for production Message no. CC251 Diagnosis You