Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 4th, 2006, 03:16 AM
Registered User
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error in Asp,net and MS Access DB

Hello ,

I have a site using C# and MS Access runing locally fine but when i upload it in webser ver then i got following error massage.

Error of servant in the application '/'. ERROR [ HY000 ] [ Microsoft][Controlador ODBC Microsoft Access ] could not be used ' (not known) '; the file already is in use. ERROR [ IM006 ] [ Microsoft][Administrador of controller ODBC ] Error of SQLSetConnectAttr of the controller ERROR [ HY000 ] [ Microsoft][Controlador ODBC Microsoft Access ] could not be used ' (not known) '; the file already is in use. Description: Exception noncontrolled when executing the request present Web. Review the pursuit of the battery to obtain more data about the error and where it was originated in the code. Details of the exception: System.Data.Odbc.OdbcException: ERROR [ HY000 ] [ Microsoft][Controlador ODBC Microsoft Access ] could not be used ' (not known) '; the file already is in use. ERROR [ IM006 ] [ Microsoft][Administrador of controller ODBC ] Error of SQLSetConnectAttr of the controller ERROR [ HY000 ] [ Microsoft][Controlador ODBC Microsoft Access ] could not be used ' (not known) '; the file already is in use. Error of source code: An exception noncontrolled during the execution of the request has been generated present Web. The information on the origin and the location of the exception can be identified using the exception of the pursuit of the following battery. Pursuit of the battery:

Can you tell what the problem is and how it can be solve.

Thanks
Shankha

 
Old January 4th, 2006, 12:00 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I would have to say that the problem is that "the file already is in use" as the error message reports 4 times. Something obviously has the file open or is not properly releasing it after it is done.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET with MS Access help ayazhoda ASP.NET 2.0 Professional 1 April 5th, 2007 08:13 AM
MS ACCESS 2003 FRONTEND AND MS SQL SERVER 2005 DB mohankumar0709 SQL Server 2005 3 March 23rd, 2007 12:48 AM
ASP Insert , MS Access Db tigere Classic ASP Databases 0 November 11th, 2006 08:43 AM
OLEDB with ASP.NET and MS Access DB krishanu Classic ASP Databases 0 June 8th, 2005 12:52 PM
Need HELP, MS access DB, Jet OLEDB, asp Caley L. Baumgart Classic ASP Databases 7 March 23rd, 2004 11:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.