>I have an app. that opens a database (wich contains views).
>Every minute it checks if there is a file named "compleet.wms"
>When there's such a file I open the database and do mu stuff.
>I configured my odbc32 so I can connect with SQL-server.
>Everyrhing works fine , but after a couple hours .
>There's I timeout (I think this message comes from ODBC but I'm not sure). If I click a button (I don't know the name), I can reconnect.
>The prop. connecttimeout and Idletimeout have both the value 0.
>
>My app. must run 24/24. so I can afford a lost connection,or connection timeout.
Check to make sure the server doesn't have a connection timeout established. See the NT/WSH FAQ in my sig block for details.