Forums Register Login

iam getting an error while running a servlet program

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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
If you are using a wood chipper, you are doing it wrong. Even on this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1178 times.
Similar Threads
How to configure P6Spy Driver with websphere 5.1 version
Servlets and SQL Express 2005
Servlets with JDBC connection
FOR HELP: Failed to connect to oracle in servlet
FOR HELP, can not connect to Oracle using JDBC in servlet.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 00:17:27.