System.Data.Odbc.OdbcException'

Last post 05-16-2008 5:19 AM by kamii47. 6 replies.

Sort Posts:

  • System.Data.Odbc.OdbcException'

    05-16-2008, 2:46 AM

    hi,
    i am getting following error in c#
    An unhandled exception of type 'System.Data.Odbc.OdbcException' occurred in system.data.dll

    Additional information: System error.

    Filed under: , ,
  • Re: System.Data.Odbc.OdbcException'

    05-16-2008, 3:04 AM
    • Loading...
    • kamii47
    • Joined on 05-26-2005, 4:04 PM
    • Karachi, Pakistan
    • Posts 1,520

     What's the connection string

    Check http://www.pcreview.co.uk/forums/thread-1246562.php 

    Kamran Shahid(MCSD.NET,MCPD.net[web])
    Sr. Software Engineer
    Netprosys Inc.
    www.netprosys.com

    Remember to click "Mark as Answer" on the post that helps U
  • Re: System.Data.Odbc.OdbcException'

    05-16-2008, 3:10 AM

     Hi,

    Can u elaborate ur problem .

    If u are having problem related to connection then visit this link- http://www.connectionstrings.com/ 

    Alok
  • Re: System.Data.Odbc.OdbcException'

    05-16-2008, 3:16 AM

    thanks for your resonse..

     

    actually i want to select the 50 records from the database table one by one.Upto 40 records no problem in selecting the data from databse..the problem comes for 41st record....if i try to trace the errror uisng breakpoint...then it is not giving any error..

     

     

  • Re: System.Data.Odbc.OdbcException'

    05-16-2008, 3:18 AM
    • Loading...
    • kamii47
    • Joined on 05-26-2005, 4:04 PM
    • Karachi, Pakistan
    • Posts 1,520
    You have to increase connection timeout
    Kamran Shahid(MCSD.NET,MCPD.net[web])
    Sr. Software Engineer
    Netprosys Inc.
    www.netprosys.com

    Remember to click "Mark as Answer" on the post that helps U
  • Re: System.Data.Odbc.OdbcException'

    05-16-2008, 4:14 AM

    hi how to write the connection time out in my c# application

     

    i have written the connection string in app.confi(i have created my self)

    this is my app.config file

     

    <?xml version="1.0" encoding="utf-8" ?>

    <configuration>

    <appSettings>

    <add key="DSN" value="DSN=test" ></add>

    </appSettings>

    </configuration>

  • Re: System.Data.Odbc.OdbcException'

    05-16-2008, 5:19 AM
    • Loading...
    • kamii47
    • Joined on 05-26-2005, 4:04 PM
    • Karachi, Pakistan
    • Posts 1,520

    What's Your code.

    You can set it in your code

    Kamran Shahid(MCSD.NET,MCPD.net[web])
    Sr. Software Engineer
    Netprosys Inc.
    www.netprosys.com

    Remember to click "Mark as Answer" on the post that helps U
Page 1 of 1 (7 items)