Link error: Failed to open external module

Newbie question #2... I'm in chapter 5 of the tutorial, just added the button to calculate min and max values of the sinewave. I get two link errors when I try to run the program.
2 Project link errors:
 Failed to open external module
 Failed to open external module
If I comment out the MaxMin1D function and fudge the min and max values the program runs.
Any ideas?
The function I added is as follows which appears  to be identical to the sample in the tutorial.
int CVICALLBACK FindMaxMin (int panel, int control, int event,
        void *callbackData, int eventData1, int eventData2)
    ssize_t min_index;
    double min;
    ssize_t max_index;
    double max;
//    max = 5;
//    min = 3;
    switch (event)
        case EVENT_COMMIT:
            MaxMin1D(sine, 100, &max, &max_index, &min, &min_index);
            SetCtrlVal(panelHandle, PANEL_MAX, max);
            SetCtrlVal(panelHandle, PANEL_MIN, min);            
            break;
        case EVENT_RIGHT_CLICK:
            break;
    return 0;

I searched for analysis.h, found it and copied it to the same folder as sample1.c and the program now links and runs.
I'm wondering if I'm missing something in the configuration (not smart enough to know where to search)???
Thanks

Similar Messages

  • Palm Desktop software - Fails to open with msg "Error: Failed to open Address Book database"

    In July 2009 I dropped my trusty Visor on a tile floor and it stopped working.  So, in the meantime I have been using only the Palm Desktop software. 
    Just yesterday, when I attempted to launch the Palm Desktop software, it failed with the message “Error: Failed to open Address Book database”.  I think this error was caused by a very ungraceful shut-down of my Win XP system yesterday. 
    I really do need to use the Palm Desktop software for my address list, calendar, and memo.  The problem is that the error with the Address Book database seems to be preventing the Palm Desktop software from initializing.
    I am using Palm Desktop 4.0.1 on Windows XP SP3.  I do NOT  have an export file of the Palm address book or other databases.  However, I do have five levels of backup history on my external Maxgor backup drive. 
    Specifically, on my current c drive I have files in the directory:
    C:\Program Files\Handspring\WR\address
                address.bak                  5/16/2009   (from last sync before I broke Visor)
                address.dat                   5/24/2011
                Personal.ABA                11/6/2008
                Unfiled.ABA                   3/28/2008
    On my most recent backup of my system, there are the following files:
                            address.bak                 5/16/2009   (from last sync before I broke Visor)    
                            address.dat                  5/12/2011
                            Personal.ABA              11/6/2008
                            Unfiled.ABA                  3/28/2008
    I have not listed the four older backup versions.
    I haven’t tried any corrective measures yet (I don’t want to make matters worse) and am hoping that someone can guide me along the right path.
    Is it possible for me to just rename the “current” address.dat file to something like address.SAV and then copy the Address.dat file file with date of 5/12/2011 into the current directory.  Will the software then just use the older version of the data, or must I do something else.
    I am grateful for any assistance.  Thank you very much.
    Post relates to: Visor Deluxe
    Post relates to: Visor Deluxe

    Thanks for the speedy response.  However, I read the article for which you provided the link, and I hve also read many other articles that I found via search, but I don't think these will help me.  All of these articles seem to assume that (1) you have a handheld to which you can sync and thereby rebuild the database on the PC, or (2) you have a backup that you created via the Palm Desktop export function.  Unfortunately, I have neither and so I don't think any of these solutions will work for me.
    I did read with great interest an article that stated that recent versions of Palm Desktop have a built-in function that will repair a corrupted Datebook database.  Will this also fix a corrupted Address Book database which is my problem?  
    So, I downloaded and attempted to install the latest version of Palm Desktop.  I was careful to read the instructions that stated NOT to uninstall my current version of Palm Desktop, but to just install the latest version on top of my current Palm Desktop.  However, when I attempted to do the installation, the installer software said it could not install on top of my current software and that I should first uninstall my current software.
    I have some questions now:
    (1) If I uninstall my current version of Palm Desktop, will this destroy my Address Book, Datebook, and Memo databases ( I don't care about the ToDo database)?  If so, what can I do to preserve those databases?
    (2) Is there really a function built in the recent versions of Palm Desktop that will fix a corrupted database?  Is this an "automatic" function that will detect and fix a broken database or is this something I will have to invoke?
    Thanks for your help.
    Gdad

  • Errors (libGL error: failed to open drm) in Gnome Startup & StartUp

    Hi,
    I started installing ArchLinux and want to use Gnome but got some error messages on start up.
    My System is a Thinkpad T400s with Intel GMA 4500MHD.
    I have installed:
    pacman -S gnome xorg-server dbus xorg-xinit xf86-video-intel
    from https://wiki.archlinux.org/index.php/Intel my graphic chip is supported.
    X Server works ("Xorg -retro" and "startx /usr/bin/xterm" is working).
    xinit gnome-session
    Starts Gnome around a Xterm (seems to be so).
    In this Xterm window there are a lot of messages with errors I don't track down:
    libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/i965_dri.so
    libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/i965_dri.so
    libGL error: failed to open drm device: Permission denied
    libGL error: failed to load driver: i965
    libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/swrast_dri.so
    libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/swrast_dri.so
    libGL: Can't open configuration file /home/UserHome/.drirc: No such file or directory.
    GNOME_KEYRING_CONTROL=/run/user/1000/keyring-TAzQAG
    GNOME_KEYRING_PID=766
    GNOME_KEYRING_CONTROL=/run/user/1000/keyring-TAzQAG
    GNOME_KEYRING_CONTROL=/run/user/1000/keyring-TAzQAG
    SSH_AUTH_SOCK=/run/user/1000/keyring-TAzQAG/ssh
    GNOME_KEYRING_CONTROL=/run/user/1000/keyring-TAzQAG
    SSH_AUTH_SOCK=/run/user/1000/keyring-TAzQAG/ssh
    GPG_AGENT_INFO=/run/user/1000/keyring-TAzQAG/gpg:0:1
    (gnome-settings-daemon:762): power-plugin-WARNING **: session inhibition not available, gnome-session is not available
    (gnome-settings-daemon:762): color-plugin-WARNING **: failed to create device: GDBus.Error:org.freedesktop.ColorManager.Failed: failed to obtain org.freedesktop.color-manager.create-device auth
    (gnome-settings-daemon:762): color-plugin-WARNING **: failed to create device: GDBus.Error:org.freedesktop.ColorManager.Failed: failed to obtain org.freedesktop.color-manager.create-device auth
    libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/i965_dri.so
    libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/i965_dri.so
    libGL error: failed to open drm device: Permission denied
    libGL error: failed to load driver: i965
    libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/swrast_dri.so
    libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/swrast_dri.so
    libGL: Can't open configuration file /home/UserHome/.drirc: No such file or directory.
    libGL: Can't open configuration file /home/UserHome/.drirc: No such file or directory.
    Failed to play sound: File or data not found
    ** (nm-applet:811): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.
    ** Message: applet now removed from the notification area
    ** (nm-applet:811): WARNING **: fetch_connections_done: error fetching connections: (32) Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details..
    ** (nm-applet:811): WARNING **: Failed to register as an agent: (32) Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.
    (gnome-shell:796): Bluetooth-WARNING **: Could not open RFKILL control device, please verify your installation
    Window manager warning: Log level 16: Could not initialize NMClient /org/freedesktop/NetworkManager: Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.
    JS LOG: GNOME Shell started at Sun Nov 11 2012 19:13:44 GMT+0100 (CET)
    ** Message: applet now embedded in the notification area
    Window manager warning: Log level 16: fetch_connections_done: error fetching connections: (32) Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details..
    Window manager warning: Log level 16: _nm_remote_settings_ensure_inited: (NMRemoteSettings) error initializing: Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.
    Here are the xorg.log: http://pastebin.com/EUrZ7tiz
    What are the problems here?
    What I have to change to fix the errors?
    Last edited by G.Blau (2012-11-13 01:31:22)

    Add yourself to the "video" group and re-login.

  • Help! Error: Failed to open Address Book Database on Palm Desktop

    In advance, thank you, thank you, thank you to the person who saves me from this error! I have no idea what I've done to deserve this!?! So, thank you for helping!!!
    Here's the problem:
    When I double click on the Palm Desktop icon on my desktop, I get: Error: Failed to open Address Book Database on Palm Desktop
    And then, I get: This program has performed an illegal operation and will be shut down. If the problem persists, contact the program vendor.
    When I click on the details button, it says: PALM caused an invalid page fault in
    module MFC42.DLL at 0177:5f404045.
    Registers:
    EAX=0082fad8 CS=0177 EIP=5f404045 EFLGS=00010202
    EBX=00000000 SS=017f ESP=0082fa94 EBP=00855d0c
    ECX=5f4d1c58 DS=017f ESI=0082fad8 FS=572f
    EDX=00017b84 ES=017f EDI=00000008 GS=0000
    Bytes at CS:EIP:
    8b 07 3b c8 74 34 83 79 f4 00 7d 0f 83 c1 f4 3b
    Stack dump:
    00000000 008558c0 004b5d3d 00000008 01befe17 0082fad8 008559cc 008558c0 00855d0c 00000000 00000010 5f4d1c58 00000000 00000000 00000000 00000000
    Again, thanks for your help in advance!
    Post relates to: Palm Vx

    I've seen a lot of people post a message that's basically like the problem I'm having. I'm sending this to everyone who had the same general type of question in hopes that my fix might cure your problem also.
    My Palm Desktop (4.1.4) would open correctly the first time after installing, but after doing a hotsync it would crash every other time it was opened (using a Tungsten E). I'm running Windows XP Professional, and it would give an error saying "Windows XP has encountered an error and needs to close", or something like that.
    I did the usual. Removed the program and reinstalled, which didn't work. I also went through the tedious process of uninstalling the software, then removing every registry entry by hand that referenced the Palm or Pocketmirror, which also didn't work.
    I searched through the support files on palmone.com and found something that gave me an idea. It talked about removing a corrupted file to fix problems with the datebook. I hadn't been getting any errors pointing to a specific problem, but on a hunch I deleted the entire address folder out of the Palm directory. That did the trick!
    A corrupted address book in the Palm Desktop software was keeping it from running. The problem was how to fix the corruption, which I eventually found on a menu option in the Palm Desktop software.
    Below is the fix that worked for me. Caution! Only do this if you have all of the current info in your Palm, because it will erase what's on your Palm Desktop.
    1. Go to your Palm folder on your pc (default install location is c:\palm) and open the folder for your user.
    2. Delete the address, datebook, expense, memopad, note pad and todo folders.
    3. Open the Palm Desktop program.
    4. Do a hotsync.
    5. Important! Don't click on anything else in the Palm Desktop after doing the hotsync. If you change to one of the areas that has corrupted data, it will immediately crash.
    6. Right after doing the hotsync, click Tools on the top menu in the Palm Desktop, then Options. Click on the Tools tab and then click Check Now to fix the corrupted data.
    7. Click OK.
    That should hopefully get you running again. Let me know if that worked for you.

  • Report works in CR10, on enterprise server error: Failed to open a rowset

    Hi,
    I created a report, which works fine in Crystal Reports (designer).
    After uploading the report to the enterprise-server it don't work anymore.
    I use the same database and the same parameters, but get the following error:
    Failed to open a rowset. File D:\Program Files\Crystal Decisions\Enterprise 10\Data\procSched\FDMPLS082M.reportjobserver\~tmp14f4559568a82d0.rpt.
    For other reports it works fine.
    Edited by: Joris Stoop on Aug 25, 2008 11:25 AM

    Does the server have the same database DSN named the same? Also, you may want to try installing CR on the server and see if the report works there.

  • *ERROR: failed to open file " export directory path /ABAP/DATA/SAPSTR.LST

    Hello experts,
    I am doing system export.
    as per the system copy guide I follows all steps.
    when I tried for export preparation.
    I got following error in  "/tmp/sapinst_instdir/ERPEhP4/LM/COPY/DB6/EXP/CENTRAL/AS-ABAP/PREEXP/R3ldctlExport.log"
    ERROR: failed to open file "/db2/PRD/sapdata4/export_prd/ABAP/DATA/SAPSTR.LST"
    /db2/PRD/sapdata4/export_prd is my export directory.
    but I found that the "SAPSTR.LST" is not exist in the location.
    also I don't find any log regarding this error.
    how to resolve this? please guide.

    Hi Rupesh,
    In continuation of previous mail, there is keyboard problem hence spelling mistakes.
    Various possible solutions:
    Report SMIGR_CREATE_DDL has to be executed before starting export preparation.
    OR
    Download llatest kernel patch and apply them in /spmnt/<SID>/exe
    make sure download latest patch R3ldctl file and R3load from SAP Marketplace and apply them in to /sapmnt/<SID>/exe.
    Make sure export dump folder should be in local drives (in windows) or local filesystems i.e.do not  use network drives  (windows) or NFS (in case of unix).
    FInally check permission by using chmod 777 in exportdump folder in case of unix.
    Regards
    APR

  • NZ Library Error: Failed to open the wallet

    I installed Oracle Http Server (Apache 2 distributed with Oracle 11g database software) in the same server (but in a different Oracle home) where I had installed Oracle 11g. The installation was fine. However, I haven't been able to start the Http Server at all. When I checked all the logs, I finally found the following error. What do I need to do?
    NZ Library Error: Failed to open the wallet
    Thanks.
    Andy

    I know it has been a long time since anyone has posted on this thread but I am hoping that Jay_Kard might get notified.
    I have had almost exactly the same problem.  I have about 50 reports that are available to users through InfoView, they have been around for a year or more.  Suddenly a few weeks ago two of them stopped working, the users get the "Failed to make the connection" error.
    I am using Crystal Reports 11.5 and Crystal Reports Server 11.5 with an ODBC connection to a SQL Server 2005 database.  The 2 reports that are not working both use a series of dynamic prompts for the users to enter report parameters, but so do the others that continue to work well.  Before reading this thread I had already tried a lot of the suggestions from this thread, I can't get anything to work.  The ODBC DSN on the server is set up and named exactly like the DSN that I use for development, I have rebuilt the dynamic prompts used on these reports, I can't get these 2 reports to work.
    One other odd thing is that I, with admin rights to all reports in InfoView, can view these failing reports both from Crystal and from InfoView following the same path as my users to access the reports.  I don't know if that will help anyone figure out the problem.
    Jay, if you happen to read this I would love to know if you were able to get your problem resolved, I may need the same solution.
    Thanks.

  • Palm Desktop software - Fails to open with msg "Error: Failed to open To Do List database"

    In July 2009 I dropped my trusty Visor on a tile floor and it stopped working.  So, in the meantime I have been using only the Palm Desktop software. 
     Just a couple days ago, when I attempted to launch the Palm Desktop software, it failed with the message “Error: Failed to open To Do List database”.  I think this error may have been caused by a very ungraceful shut-down of my Win XP system the day before. 
     I really don’t care about the To Do List data since I really don’t use it --- in fact, I haven’t used it in many months.  However, I really do need to use the Palm Desktop software for my contacts, calendar, and memo.  The problem is that the error with the To Do List database seems to be preventing the Palm Desktop software from initializing.
     Just guessing, I saved the todo.dat and todo.bak files by renaming them, and then renamed the todo.bak file to todo.dat.  Then I attempted to launch the Palm Desktop application, but it failed with the same error “Error: Failed to open To Do List database”.
     I also tried renaming all of the todo files so that none had a name of todo.dat or todo.bak.  The result is that the Palm Desktop software still will not start up. 
     I think I am using Palm Desktop 4.0.1, at least that is what the help text file seems to tell me.
     I am grateful for any assistance.  Thank you.
    Post relates to: Visor Deluxe
    Post relates to: Visor Deluxe

    Your on the correct path by saving the data by renaming the files. But to resolve this error we need to remove the data all together. Since you no longer need this data if you just delete it then it should not matter. If Palm Desktop is giving this error but will not open I doubt that the data can be recovered in any event.

  • ERROR : failed to open file : ifrun60_dump_????

    dear every body,
    while working on oracle 6i form. when i click on any menu option
    some times i m facing this error and my application shut downs
    ERROR : failed to open file : ifrun60_dump_????
    some time it is ok but some it is creating trouble on same form
    what is the reason or how to come out of it
    Plz reply

    funny thing about OTN forums is : you can write AND read (it's not a WOM) !!!
    ERROR : failed to open file : ifrun60_dump_????
    ERROR : failed to open file : ifrun60_dump_????
    ERROR : failed to open file : ifrun60_dump_????

  • Error: Failed to open the connection when opening Crystal Report in CMC or

    Hello all,
    I am getting theError: Failed to open the connection when opening Crystal Report in CMC or Infoview
    with access database as the datasource which is in the network drive.

    Hi Sonali,
    This is because Crystal Reports does not recognize database connection from share drive
    1. Save the database locally on server machine
    2. Create a new database on server and link the new database with the database on Network.
    Steps to link the database.
    1.Create a new test database on server.
    2. Go to File --> Get External Data --> Link tables | Select the database on Network Drive.
    3. Select all the tables from the database.
    4. Save the Database  e.g. Test.mdb.
    5. Create an ODBC Connection on server machine, with the same name as on client machine using test.mdb database.
    Note: Click on Advanced button, enter the default user id and password for the odbc connection, it is not mandatory to give Login Name and Password, only if the user id and password are given then we need to provide the same user id and password in the CMC database configuration.
    6. Create a report using this ODBC connection, and save the report to Enterprise.
    Regards,
    Navin

  • Fatal Error: Failed to open handle for AFLVCG61.msi

    Fatal error occured while installing Device Drivers CD. I have no clue Help.
    Message says Failed to open the handle for D:\components\max\AFLVCG61.msi.
    And, the details says:
    K:\NIInstallers\dev\1.1.2\src\UberInstaller\IniFileInfo.cpp(968): IInstallerError 11002
    Fatal Error. Failed to open handle for D:\components\max\AFLVCG61.msi.
    Failed to open database handle for D:\components\max\AFLVCG61.msi.
    Msi Error: 110
    Error Record:
    Exception code: E06D7363 ()
    Fault address: 7C59BBF3 0001:0002ABF3 C:\WINNT\system32\KERNEL32.DLL
    Registers:
    EAX:00FEF1D8
    EBX:0041E507
    ECX:00000000
    EDX:0000000C
    ESI:00FEF268
    EDI:00FEF1F8
    CS:EIP:001B7C59BBF3
    SS:ESP:002300FEF1D0 EBP:00FEF228
    DS:0023 ES:0023 FS:003B GS:0000
    Flags:00000206
    Stack Trace
    Address Frame LogicalAddr Module SymbolName + Offset
    7C59BBF3 00FEF228 0001:0002ABF3 C:\WINNT\system32\KERNEL32.DLL RaiseException + 86
    004C3160 00FEF268 0001:000C2160 D:\setup.exe
    0041E5CC 00FEFA5C 0001:0001D5CC D:\setup.exe
    0044DA59 00FEFB40 0001:0004CA59 D:\setup.exe
    0043EAE0 00FEFB84 0001:0003DAE0 D:\setup.exe
    004402BF 00FEFCDC 0001:0003F2BF D:\setup.exe
    00463C4B 00FEFD84 0001:00062C4B D:\setup.exe
    00463D46 00FEFDA8 0001:00062D46 D:\setup.exe
    0046B4A1 00FEFDF0 0001:0006A4A1 D:\setup.exe
    0046B55E 00FEFF18 0001:0006A55E D:\setup.exe
    004EB185 00FEFF80 0001:000EA185 D:\setup.exe
    004C8EED 00FEFFB4 0001:000C7EED D:\setup.exe
    7C57B388 00FEFFEC 0001:0000A388 C:\WINNT\system32\KERNEL32.DLL lstrcmpiW + 183

    Hi LegalEngineer-
    Which operating system are you using? It seems like either you got a bad Driver CD disk or that your Windows Installer might need to be updated.
    You can find updated driver downloads for all NI hardware at Drivers and Updates at ni.com. I generally prefer this method because it avoids installing unnecessary software and also ensures that all drivers are up to date.
    Regards,
    Tom W
    National Instruments

  • Infoviewer Error - Failed to open the connection.

    Hi,
    I get the below error when tring to view a report from infoviewer?
    Failed to open the connection. Products.rpt Details: [Database Vendor Code: 12154 ]
    Also where can i find the log files for CMC and infoviewer?
    Thanks in advance

    Hi! I'm getting a similar error.
    Re: 08004:oracleodbcoraora-12154: TNS: could not resolve the connect ....
    Posted: Aug 22, 2011 5:56 PM in response to: John Fleming
    Edit Reply
    I am receiving a similar error.
    Failed to open the connection.
    Details: 08004:OracleODBCOraORA-12154: TNS:could not resolve the connect identifier specified Database Vendor Code: 12154
    I've seen all sorts of discussion on the intertubes about possible fixes however, none stated are practical or they do not address my error specifically. I've exhausted resources on the net as well as those available to me.
    I'm currently running SAP Crystal Reports 2011 on WIN7 64bit and using Oracle in OraClient 10g_home1.
    Please let me know what insight you have. I cannot roll back to previous versions of Windows nor less encryption.
    Thank you for your time.
    Thank you, again, for your time.
    Jeff Embree.

  • Error: Failed to open the connection

    Hi all,
    I have use Crystal Report 2008 to construct a report which access mySQL via ODBC. HOwever, I am fail to publish it to InfoView.
    It always display the following error:
    ERROR [PublishingService:HandlerPool-14] BusinessObjects_PublicationAdminErrorLog_Instance_2467 - [Publication ID # 2467] - Document job "Report2a.rpt" (id 2,475) scheduling failed: Failed to open the connection. ~tmp1356563301f0e10.rpt. (FBE60502)
    My BOE(XI 3.0) is installed in SUSE Linux Enterprise 9 x86 and have tested the ODBC connection via isql and it can be connected.
    Can anyone help to identify the problem? Or any procedure can be provided to publish the crystal report to InfoView.
    Thank you so much.

    Hi all,
    I have use Crystal Report 2008 to construct a report which access mySQL via ODBC. HOwever, I am fail to publish it to InfoView.
    It always display the following error:
    ERROR [PublishingService:HandlerPool-14] BusinessObjects_PublicationAdminErrorLog_Instance_2467 - [Publication ID # 2467] - Document job "Report2a.rpt" (id 2,475) scheduling failed: Failed to open the connection. ~tmp1356563301f0e10.rpt. (FBE60502)
    My BOE(XI 3.0) is installed in SUSE Linux Enterprise 9 x86 and have tested the ODBC connection via isql and it can be connected.
    Can anyone help to identify the problem? Or any procedure can be provided to publish the crystal report to InfoView.
    Thank you so much.

  • Error"Failed to open the connection"  - Named Instance of SQL Server 2005

    "Failed to open the connection" error, when connecting to the Named Instance of SQL Server 2005
    The report is throwing error, when changing the logon information dynamically through C#.
    Code
         string reportPath = @"D:\NET\TestReport\TestReport.rpt";
         ReportDocument reportDocument = new ReportDocument();
         reportDocument.Load(reportPath);
         foreach(CrystalDecisions.CrystalReports.Engine.Table table in tables)
              TableLogOnInfo tableLogonInfo = table.LogOnInfo;                         
              tableLogonInfo.ConnectionInfo.ServerName = @"TestServer\Instance1";  //Connnecting to Named instance of SQL Server 2005
              tableLogonInfo.ConnectionInfo.UserID = "sa";
              tableLogonInfo.ConnectionInfo.Password = "password";
              tableLogonInfo.ConnectionInfo.DatabaseName = "TEST_DB";
              table.ApplyLogOnInfo(tableLogonInfo);     
         crystalReportViewer1.ReportSource = reportDocument;
    Error Message
         Failed to open the connection.
         Failed to open the connection.
         C:\DOCUME1\PUGALE1\LOCALS~1\Temp\{DF9593A5-5C80-4CBC-ABC3-EC4EF204A7EB}.rpt
    The error is occuring only whenever i am connecting to the Named Instance of SQL Server 2005.
    Thanks in Advance
    Edited by: pugalendran p on Feb 2, 2009 10:32 AM
    Edited by: pugalendran p on Feb 2, 2009 10:43 AM

    Hi,
    Following solution might help you to resolve the issue.
    Solution1:
    Issue happens because universe connection to the Database is not responding and the Data Source Name is not configured to write SQL Server 2005 database.
    Resolution
    Created new DSN connection under SYSTEM DSN to SQL Server 2005 Database.
    Import the universe from the designer.
    Go to File->Parameters.
    Edit Connection.
    On the Database Middleware Page expand SQl Server 2005->Select SQL Server 2005 driver.
    Change the DSN to new DSN connection
    Test the connection.
    Save the Universe and Export it to the repository.
    Solution2:
    I am taking Oracle as an example over here.
    This can be caused when the SQLNET.ora is located in a remote location using mapped drives.
    Resolution
    To resolve,
    check the registry [HKLM\SOFTWARE\ORACLE] you should see a folder called HOME0
    look for any paths that contain a mapped drive partition
    Change the mapped drive letter to a UNC path (
    server\folder)
    Open a command prompt and do a tnsping using the tnsname and verify the location of the SQLNET.ora or TNSNAMES.ora
    If the path is not updated to the new path
    Reboot the server
    Regards,
    Sarbhjeet Kaur

  • Getting Error:Failed to open the connection while calling crystal report

    I am getting the below error while calling the crystal report from dot net app. I am using OLEDB to connect to database. It is working perfectly in our DEV environment but as soon as I move it to production information after changing the logon information in the report it start giving the below error.
    Failed to open the connection.C:\WINDOWS\TEMP{C2FD97D9-2ADE-41BB-88FF-23A4DF20BC6F}.rpt
    Details: [Database Vendor Code: 17 ]

    Are you able to connect to the database from the production machine using a UDL file?
    If you haven't tried this, here's how to do it. Take these steps on the machine that is hosting the application. Create a new text file on the desktop. Change the file extension to ".udl" (without the quotes). Double-click on this to bring up the OLEDB connection test: start on the Provider tab and select the appropriate provider. Click "Next" and on the following tab enter your connection information. Click the "Test Connection" button to test the connection. Does it connect  to the database successfully?
    If you click on "OK" to close the dialog and then open the UDL file with Notepad, you should see an OLEDB connection string. In this string should be the same property values for server, database, user id and password which you are providing through your application. If they are not the same, modify your application to use these values.
    If testing your connection information with the UDL file works but your application is still failing when using the same credentials, try profiling or tracing the database. Do you see connection attempts from the application? Are there any errors?
    If you're impersonating, have you set up windows authentication correctly for both the application and the database?

Maybe you are looking for

  • Deleted itouch files using ifile from cydia. i restarted it but now it shows the apple logo and that is it... it doesnt respond. any ideas of how to make it work?

    I restarted my itouch using the home button and top button...it restarted but it only shows the apple logo and that is it.  I deleted all files from ifile and then it froze... any ideas of how to make it work again?

  • Hooking up mini to home theater

    Good afternoon. I have a 1st gen Mac Mini. I want to hook it up to my home theater setup to be able to stream my videos, music, photos to my HDTV. What's the best way to connect this to my setup (i.e., what cables, connectors, etc.)? Thanks.

  • Open online PDF form

    When I want to open an online PDF document, all I get is a tiny black square box in the upper left corner. Please can someone help me make this work?  I have installed and reinstalled Adobe Reader XI.  I have "accepted" the license agreement in Eula.

  • Macbook Pro Retina graphic problem

    I have the new macbook pro Retina , 4-5 times a week  the graphic is  very laggy , in the games like World of Warcraft or Diablo i have 5-9 fps   at the apple hotline  we make many tries to find die problem and the last thing  which helped was the SM

  • Avoid the persistance of the data ?

    Hi Guys, I am sending the raw credit card data through xi, is there any way to avoid the data storage in xi. I cannot control with user authentications or controlling the access to sxmb_moni. I should avoid the persistance of the data completly or i