Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Need help in my final year about connectivity with Ms-SQL server  RSS feed

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing connectivity problem with my project, i am going to attach here. Please help me out as fast as possible. I am getting error :
F:\1\Multisignature>java AdminMsg
Waiting for the Message
Database Connectivity Error java.sql.SQLException: [Microsoft][ODBC Driver Manag
er] Data source name not found and no default driver specified

PLEASE HELP ME!!!

LINK FOR THE PROJECT : http://www.filedropper.com/multisignature

 
Deepak Gavkar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jayesh A Lalwani wrote:Couple of things

A) don't shout
B) you posted in the wrong forum
C) you will need to post the code here if you want to make it easy for people to help you. Not many people are going to click on that link


Edit: I have modified the subject and moved the thread



Oh sorry!
 
Deepak Gavkar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Deepak Gavkar wrote:I am facing connectivity problem with my project, i am going to attach here. Please help me out as fast as possible. I am getting error :
F:\1\Multisignature>java AdminMsg
Waiting for the Message
Database Connectivity Error java.sql.SQLException: [Microsoft][ODBC Driver Manag
er] Data source name not found and no default driver specified

PLEASE HELP ME!!!

LINK FOR THE PROJECT : http://www.filedropper.com/multisignature

SOURCE CODE :

THERE IS FOLDER NAMED "TABLE" IN THE PROJECT FOLDER IN THAT THERE IS "SIGNATURE" FILE INCLUDED.

 
Rancher
Posts: 2762
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To make it easier to solve the problem, you should create a SSCCE that reproduces the problem. Since it looks like you are having problem connecting to the database, try to make another program that just connects to database and nothing else
 
Deepak Gavkar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jayesh A Lalwani wrote:To make it easier to solve the problem, you should create a SSCCE that reproduces the problem. Since it looks like you are having problem connecting to the database, try to make another program that just connects to database and nothing else




OK, I am going to try it out. Thank you!
 
Marshal
Posts: 59742
188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How many main methods have you got in that code?
 
Jayesh A Lalwani
Rancher
Posts: 2762
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am just curious. Did you write 4500 lines of code without testing even one line? or was this code working before and stopped working suddenly? or did you get this code from someone else?

Writing thousands and thousands of line of code and then testing it in all one go is bad bad practice. That's why we emphasise test driven development here. Write your test code first, then write some code.. then improve your test, then write more code, and do this iteratively. You should never run into a case where you have written 4500 lines of code and then you figure out that you cannot connect to database.
 
Deepak Gavkar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jayesh A Lalwani wrote:I am just curious. Did you write 4500 lines of code without testing even one line? or was this code working before and stopped working suddenly? or did you get this code from someone else?

Writing thousands and thousands of line of code and then testing it in all one go is bad bad practice. That's why we emphasise test driven development here. Write your test code first, then write some code.. then improve your test, then write more code, and do this iteratively. You should never run into a case where you have written 4500 lines of code and then you figure out that you cannot connect to database.



Cool buddy this project don't have only one file to run, And i have made the connection with database by using My-Sql while doing R&D in the college lab's.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!