Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation ADO.NET dependencies?

    Hello all:

    I'm currently testing an application which uses ADO.net to connect to a SQL Server DB. I'm running into a problem, however. I have two identical laptops, other than operating system. The application connects to the DB fine on the XP SP2 laptop. On the 2000 SP4 laptop, however, I get the message "Error In Main Procedure, Unable to connect to the DB". My question is this, are there any dependencies for ADO.net other than the .net Framework? Specifically, is there potentially something else missing on the 2000 machine that is standard in XP?

    Thanx much,

    -Eric

  • #2
    New to the CF scene
    Join Date
    Nov 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Answered my own question . The .net SQL provider requires MDAC 2.6 or above. Win 2000 does not have this and does not install it through Windows Update. It must be downloaded and installed seperately.



    Quote Originally Posted by cooldrum3
    Hello all:

    I'm currently testing an application which uses ADO.net to connect to a SQL Server DB. I'm running into a problem, however. I have two identical laptops, other than operating system. The application connects to the DB fine on the XP SP2 laptop. On the 2000 SP4 laptop, however, I get the message "Error In Main Procedure, Unable to connect to the DB". My question is this, are there any dependencies for ADO.net other than the .net Framework? Specifically, is there potentially something else missing on the 2000 machine that is standard in XP?

    Thanx much,

    -Eric


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •