• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error in Connection

Rakesh Keerthi
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i'm using an excel sheet as back end and making a jdbc connection. and it is throwing some error.

The code is as below

and the error i'm getting is

my file is placed in D drive with name as Book2.xls and my configurations are 32bit java, 32 bit netbeans. but my os is Win7 64bit.

but when i do the same with a dsn created, it is working fine. but when i run with no dsn created(created at runtime), it is giving me that error.

Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!