Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

iam getting an error while running a servlet program

 
Avinash Nethi
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the error message I get:

javax.servlet.ServletException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

The servlet program is compiled but at the run time only it is showing the above message can you please help me by giving the right solution
 
vijay dadhwal
Ranch Hand
Posts: 47
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

As per error, There could be 2 reasons:-

(1)Data source name specified in ODBC is not matching with the one in your servlet code.

(2) User DSN is specified instead of System DSN in ODBC.

Regards
vijay
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic