Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataGridView can't access data
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
DataGridView can't access data
Environment versions
Environment:
C# 3.0
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01459378
Message ID:
01459378
Views:
106
I have a local file for the NorthWnd database that was copied to the bin\debug folder of my project. When I run my ProductsForm, I immediately see an error that states:
Unable to copy file "C:\Users\Cecil\Documents\Visual Studio 2008\Projects\C-Sharp Class\
Chapter5\Project6\NORTHWND.MDF" to "bin\Debug\NORTHWND.MDF". The process cannot access the
file 'bin\Debug\NORTHWND.mdf' because it is being used by another process.
It shows the same error for its accompanying LOG file.

I've seen this error before on the Internet and looked it up again on Google only to see lots of reasons for why this could happen, none of which seem to apply.

I am not using SQL Server to access the file at all right now, so why this error?
Reply
Map
View

Click here to load this message in the networking platform