Why the err Invalid database Connection -CR 11 version in Visual studio 1.1

Hai all,
I am new to using the Crystal report with Visual studio 2003.I am facing Invalid database connection problem. My objective is tyring to upgrade CR 8 to CR11 with VS 1.1 framework(VC++ in .NET 2003).All things like ODBC connection with MS SQL server 2005,generating report going fine with CR8 version  but invalid database connection error comes with CR11 version. The configuration details and Code snippet are below for your ref,
Upgrading CR8 to CR11 with VS .NET 2003.
Application framework - VS 1.1 framework
CR                            - 11 Version
DB                            - MS SQL server 2005
Connection                - ODBC
DLL                          - CRPE32 DLL (Version11)
Code snippet:
CODBCDatabase * pDatabase = pApp->GetDatabase();
BOOL bRes;
bRes = ::PELogOnSQLServerWithPrivateInfo(_T("pdsodbc.DLL"), pDatabase->m_hdbc);
Note: pdsodbc dll not found in local and anywhere.But it supports CR 8 but not CR 11.So i downloaded and put it in appropriate place exe path\system32\system and tested.Used and tested p2sodbc dll also but "Invalid DataBase connection" err came.Followed some instruction like changing the Data source name,DSN path,re installing CR 11 version and all but same problem coming.
::PELogOnSQLServerWithPrivateInfo() declation is in the following link
http://www.arcaretentores.com.br/FTP/Format/Report/ProgramF/SEAGAT~1/CRW/DEV/Help/HTML/12a_0708.htm
Thanks in advance
Regards
SatheeshKumar
India.

Thanks for your reply
   The API i have given is not available in Crystal report 11.So i tried with the PELogonServer API of version 11.It also failed.
  I am unable to understand the suggestions you gave to me 1) The Report Designer Component (RDC)
2) The CR Assemblies for .NET.
Can you give any link that have related samples or articles to implement the above topics please?
Thanks again,
Satheesh Kumar.D

Similar Messages

  • How to read a passward protected excel file with the help of database connectivity tool kit

    hi, i was reading an excel file with the help of database connectivity tool kit in labview 8.0
    i made tabels in the excel file nand made odbc connection and specified the workbbok name.
    now my problem is how to read the same file if i specife a pasword to that excel file ?

    Hi,
    Check out this thread about opening a password-protected Excel file using ActiveX. This should take care of it for you!
    Amanda Howard
    Americas Services and Support Recruiting Manager
    National Instruments

  • SQL Server 2008 R2: which version of Visual Studio do I need to keep database projects and SSIS projects in the same solution

    I need to build a solution containing a database project and an integration services project for SQL Server 2008R2.  Apparently, the subset of Visual Studio tools that comes with SQL Server 2008R2 does not include database projects and does not have
    Team Foundation Server support.  Because of those limitations, I am trying to determine which version of Visual Studio will allow me to:
    1. Build a single solution that includes both a database project and an Integration Services project
    2. For the database project, be able to import a database schema from an existing SQL Server 2008 R2 database, do schema compares and update the project from the database and vice versa
    3. For the Integration Services project, be able to deploy the packages to SQL Server Integration Services on SQL Server 2008 R2 (that is, to the msdb database).
    4. Use Team Foundation Server for source control of the whole solution, including both project types.

    Hi G Britton,
    To build a solution containing a database project and an integration services project for SQL Server 2008 R2 and use Team Foundation Server for source control.
     You can choose to install Visual Studio 2008.
    And as you want to utilize Schema compare and/or Data compare functionalities in Visual Studio, you will need to install the
    Visual Studio Team System 2008 Database Edition or Visual Studio Team System 2008 Team Suite.
    In addition, for Visual Studio issues, I would like to recommend you post the question in the
    Visual
    Studio forums to get better support.
    Reference:
    Team Foundation Version Control
    Compare and Synchronize Database Schemas
    Interoperability and Coexistence (Integration Services)
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • What version of Visual Studio should I use to build the samples in the CS5 plug-in SDK?

    I just downloaded the plug-in SDK for CS5.  I tried to build two of them in Visual Studio 2012.  VS2012 had to convert them for me.  The first one, 3DHeightField, failed abysmally, as it tried to redefine standard library keywords for no reason I'll ever understand.  It told me to enable warning CS4005 to find the illegal #define statement, but I don't know how to enable warnings, only how to disable them.
    The second I tried, Dissolve, failed because the compiler could not find afxres.h.
    What is the recommended way to build these projects?  And, if possible, could someone please point me to a sample filter plug-in project that will build in Visual Studio 2012 without having to be converted from some older version of Visual Studio?
    Thank you very much.
    RobR

    You can build these with Visual Studio 2012.  You just need to add the following preprocessor definition to your project.
    _ALLOW_KEYWORD_MACROS
    If adding it to your project doesn't work, you can also #define it in a source or header file that gets read early in the chain.

  • HT1925 I have a problem, whenever I try to install the iTunes This brings me to this problem  "microsoft visual studio c + + runtime library" Can I have a solution for this?  Thanks

    I have a problem, whenever I try to install the iTunes This brings me to this problem
    "microsoft visual studio c + + runtime library" Can I have a solution for this?
    Thanks

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • Cant see SQL Server tab on the New/Select Database Connection

    Hi All,
    I cant see the SQL Server tab in the new database connection window. I have added the SQL Server jdbc driver using the Tools->Preferences->Third Party JDBC Driver, but all I can see are the the Oracle and the Access tabs.
    I am using version 1.5.4.
    Any pointers is highly appreciated.
    Regards,
    Anish.

    Hi,
    I have SQL Developer Version 1.5.4 Build MAIN-5940.
    I downloaded JTDS from SQL Developer Migration page and unzipped.
    I added the driver in SQL Developer through tool/perference/database/third party vendor
    I still cannot see SQL Server tab.
    What else do I need to do to see the tab?
    Thanks.
    Tracy

  • When updating the iphone the err=-3259 appears,connection timed ,and the download will initialise again?

    I want to updaye my iphone 3gs 3.2.1 to 3.3.5.Then download starts,after sometime ,or anywhere the connection is lost saying that err-=-3259,connection timed out,and also the update couldn't be resumed,the download stats all over again?

    got to settings, general and under about you will see the new Software update option...click download...i work at a school with a firewall and it seems to always stop my computer from downloading it...i get the err=-3259, i usually just wait til i am away from work to download it....or just use the likewise software to get me into the domain and log in on my ipod touch 3g and use the Software updates option....

  • When the time of database connection got ORA-12505, TNS:listener does not currently know of SID

    Test failed: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

    The error means it is connecting to a server with Oracle on it but it does not know of a database with the SID you have supplied.
    You say "Test failed" - are you talking about the Create Database Connection dialog?
    If so then check the values in the Host Name and SID boxes. If you have a DBA then verify these are the correct values (also check the listener port with him/her, normally 1521).
    Is your SID just a single word or with dots e.g. of the form mydb.mycompany.world? If the latter then try using the Service Name rather than the SID.
    Kevin

  • Configuring the LiveCycle ES database connectivity

    Hi,
    I need to install LiveCycle ES to a Websphere application server. Do I need to manually configure the database connectivity? In the manual "Preparing to install livecycle ES" it is said:
    "All configurations required for database connectivity are discussed in Installing and Deploying LiveCycle ES
    for WebSphere at www.adobe.com/go/learn_lc_installWebSphere."
    So, it seems a prepare task and we are told to read manual procedures. Is this really need to be accomplish manually?
    Thank you

    Jayan,
    I believe that steps are to be made previous to the installation of LiveCycle, rigth? After that I will be able to install LC using the turnkey option?
    Can you point me to a documentation abording that step: "manually copy the JDBC driver JAR file to all the WebSphere nodes and update the respective WebSphere environment variable's value with the full path to the JAR file". Or can you detail it more?
    Thank you

  • Not Possible Create Database Connection to Essbase From Web Analysis Studio

    Hello
    It is not possible to create a database connection to Essbase cluster from Web Analysis (WA) Studio. The following error message is displayed:
    "Unable to retrieve the list of available databases"
    And the detail:
    [1033] Native: 1003 Error: Create connection failed [For input string:
    [ApsServer=, OlapServer=[HOST];]]
    Foundation Services, Agent, Financial Reporting and Web Analysis are enabled.
    As additional information from EAS can seamlessly connect to Essbase server.
    The EPM version is 11.1.2.2
    Please help. thanks
    regards
    Rodrigo

    Hi ,
    For creating a WebAnalysis database connection, please make sure you do the following :
    1. Verify if you have Essbase client installed on the WebAnalysis server.
    2. Check if the path of adm drivers are mentioned in the system environment variable -> PATH entries.
    3. Try giving the Essbase server name instead of the cluster name when attempting to create a connection.
    4. The error 1003 means it doesnt seem to create a connection with the server and while attempting it fails.
    Make sure you have all the parameters mentioned correctly in the server details.
    To get detailed information on what is causing the problem, make sure you stop the WebAnalysis service and start it from console .

  • Unable to connect Oracle 10g Express from Visual Studio Server Explorer

    Hello,
    Please help me out here. I am connecting from Visual Studio 2008 to Oracle 10g Express Edition and the I have installed the ODAC 11 and the ODP.NET as well for Visual Studio(Both include Oracle Developer tools). But whenever I tried to connect from my Visual Studio 2008 server explorer so that I can have the database and its object there, I do get this error : "ORA-12560 : TNS: protocol adapter error."
    The following is what I specified in my connection box:
    DataSource Name: (Local Database)
    Username : HR
    Password: the password for it.
    My OS is : Windows Vista Ultimate.
    Please anyone who has solved such error should just help out here.
    Thanks all

    Thank you for your reply. I will like to know if you can use Visual Studio. In visual studio there is what we called Server Explorer and from there you can create connection and access all the database server from there. I am able to connect to the Oracle XE through the browser and I was able to crete table and other stuffs like that but when I tried to connect from Visual Studio 2008, I get the 12560 Error. I checked my TNSNAMES and found this:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = OLAMMIE)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Look at what I have in my Sqlnet.Ora file,
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    Please kindly help me out of this as it is very urgent. I can connect from browser using http://127.0.0.1:8080/apex but cannot connect from my C# code and Server Explorer. What is likely to cause this error.
    Thank you for helping me in advance.

  • SSIS package Corrupted - Connection element is not found - Visual Studio 2008

    Some body help me...
    last week my senior give me a SSIS package, but when I open in visual studio 2008 there is pop up like this.
    TITLE: Microsoft Visual Studio
    There were errors while the package was being loaded.
    The package might be corrupted.
    See the Error List for details.
    BUTTONS:
    OK
    and this is the description of
    Error    1    Error loading KIBB_INVC_IS.02.dtsx: The connection "{A9C72380-F326-44BF-A7CB-B8C7E9103F01}" is not found. This error is thrown by Connections collection when the specific connection element is not found.
         C:\Users\CYH\Documents\Visual Studio 2008\Projects\IS\IS\KIBB_INVC_IS.02.dtsx    1    1    
    Error    10    Validation error. SheetValue Insertion Error Log Execute SQL Task: Connection manager "{A9C72380-F326-44BF-A7CB-B8C7E9103F01}" does not exist.      KIBB_INVC_IS.02.dtsx    0  
     0    
    Error    11    Validation error. SheetValue Insertion Error Log : There were errors during task validation.      KIBB_INVC_IS.02.dtsx    0    0    
    Error    12    Validation error. Data Flow Task: SCB_IB_IDS 05: The connection "{A9C72380-F326-44BF-A7CB-B8C7E9103F01}" is not found. This error is thrown by Connections collection when the specific connection element
    is not found.      KIBB_INVC_IS.02.dtsx    0    0    
    if some body know this problem, please help me to resolve my problem :(

    It is due to a connection manager being deleted.
    Oftentimes fixable by introducing it back. Sometimes the package even runs successfully even w/o it.
    But if you can create a new package anew.
    Arthur My Blog

  • Problems with connecting my Mysql db to visual studio 2013

    Hey all,
    I tried connecting my MYSQL db to my visual studio 2013
    after installing all db connectors from MYSQL and tried following multiple guides its still not working.
    I first had VS Express but it seems the express versions don't support that so then i went to get a VS Professional 2013 (trial i think) and this didn't work either. 
    Does anyone know any solution other than installing connectors (reinstalled them like 2 times already) or getting another VS ?
    Thanks in advance 

    Hi Weffke,
    The forum supports VS setup and installation. And I think your issue isn't related to the forum.
    >>after installing all db connectors from MYSQL and tried following multiple guides its still not working.
    I think your issue is more about MYSQL. So I suggest you post your issue to the related forum below.
    http://forums.mysql.com/list.php?174
    I will move the thread to off-topic forum. Thanks for your understanding.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Whats the difference between executing a package from SQL and Visual Studio?

    Hi,
    We have a package that is currently failing to run when deployed to SQL. This has been tried from a schedule and also executed manually both are failing.
    I have tried from Visual studio running on various machines (windows 8, server 2012) and in all cases run perfectly.
    I am trying to understand the differences between deploying to SQL and running from VS so maybe I can figure out why this is happening.
    I have the following errors when I run from SQL.
    DTS_E_PROCESSINPUTFAILED - all errors like this point to the 'Sort' tasks in the script
    dts_e_processinputerror not enough storage is available
    I have tested in four environments and all fail from SQL but not from VS!
    Last night I tried from my laptop and executed the package from SQL - it didn't fail but was still running in the morning so I terminated. Note this takes around 20 mins running from VS! why would it be so quick from VS but fail or take so long on SQL?
    The test running at the moment is on a server with dynamic memory currently at 14GB. I decreased SQLs RAM to 4GB and it hasn't failed yet but has been running for two hours. Before changing this the package failed after a short time.
    I thought it may have something to do with running from a virtual machine but doesn't explain why it couldn't run locally on my laptop.
    All ideas welcome :) Many thanks,
    Davina

    I will try to address issues one by one
    The error doesn't seems to be related to SSISDB configuration mode. It may be because of
    Change in package definition (please confirm that the package which you are running on your laptop is the same on your msdb? - reload your SQL package from MSDB in BIDS/SSDT and recreate your source and destination components)
    As your error message shows, "not enough memory available" (may be because of multicast)  - Usually you can override this error by restarting SQL Server [not an optimal solution but it work & if that work it shows that your package fills
    the memory - Keep an eye on task manager]
    Make sure that your statics on table are updated [run EXEC sp_updatestastics] 
    Make sure your indexes are not de-fragmented [run rebuild indexes]
    If you are dealing with many rows may be 40000 * 12 (because of multicast) = 4,800,000 rows the try to separate package. 
    Check your excel file format/column data type is correct
    Check user permission who is running the job has required permission on folder/file.
    Understand that sort is a blocking transformation and it requires all your data in memory before it sorts. so, if there are large number of rows then your complete memory will be occupied. 
    Difference between Visual Studio & BIDS/SSDT
    Nothing much, other than BIDS runs on 32 bit while jobs on 64 bit (but there run time environment are configurable, though) 
    There shouldn't be any performance difference until your
    package is on network location because transferring data to the network may slow the package. If package runs on SQL Server it uses SQL buffer pool to fetch data via SQL statement and then SSIS works on its own memory allotment. 
    Hope this will help you to understand and fix the issue.
    Glad to help! Please remember to accept the answer if you found it helpful. It will be useful for future readers having same issue.

  • Connection String for Oracle from Visual Studio 2012

    I have oracle Connection credentials which is to be connected to Oracle 9i.
    I have Visual Studio 2012... i m trying to connect to the oracle host.. it gives the following error. "ora-12514 tns listener was not given the service_name"
    1. I have installed 32 Bit Oracle Developer Tools for Visual Studio.
    2. I m using Windows 7 OS 32 Bit
    Please advice
    Hai

    Maybe this one helps.
    https://community.oracle.com/message/2310374
    or possibly ask them here.
    https://www.oracle.com/communities/index.html
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

Maybe you are looking for

  • Help with Buttons on MIDlet application

    Hi, I'm writing a game on MIDP using Netbeans' cellular simulator. How can I make buttons on the screen? those buttons should have the ability for the user click on them & then the screen would be change (using by ActionListener).I know that on GUI I

  • Fog around the lens in Camileo X-Sports

    I'm very carefull to load the camera at home and even add a dry "moisture pad" in the camera but after a few minutes (5) in the sun I get a fog circle just around the lens. I have to open the case each time. This part of the camera becomes warm and I

  • Row level Difference

    HI Pls help for the below scenario to get a row level difference in OBIEE My Pivot Report looks like. Global Amt Acc_level_1 Acc_level_2 Jan-08 Feb_08 Mar-08 1)Accounts payable Trade 500 200 300 Tax 30 40 50 Accounts Payable Total: 530 240 350 2)Cost

  • Setup.exe "This app can't run on your PC"

    Hello, I've been trying to install Windows 8 on my macbook pro (mid 2012) using boot camp. I was using a windows 8 .iso file with a flash drive. I got Windows 8 installed and running, but when I tried to install the boot camp drivers off of the flash

  • DW CS4 Won't open

    DW CS4 [part of a Master Suite Collection] ... Windows 7 ... won't open without renaming configuration folder as 'old' ... happens everytime, and have to wait while DW loads site cache files.  Is there a permanent fix?