ASP.NET database access Error !

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear All,

I have created a webpage which will access a Access MDB file. However,
there are some problem when I access the MDB file.

I found that the problem is from SQL statement of OLEDBCommand. For example:
if I use "Select * from Location", then the ASP.NET applicant can run
normally; but when I use "Select LocationID from Location", then an exception
is caught. But the exception message is : "Unknow". So I don't know how to
fix this problem.

Could you tell me what is the problem and how to fix it ?

Thanks.

P.S. I use Visual Web Developer 2005 to develop this ASP.NET application.
The MDB file is created by using Access 2003
 
No idea if this will help but give Select Location.LocationID from Location a
bash.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top