ASP.NET database access Error !

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
 

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top