Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8973413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:26:26+00:00 2026-06-15T18:26:26+00:00

I have been working on this for last two days and I just can’t

  • 0

I have been working on this for last two days and I just can’t finish it! I’m trying to add Microsoft Sql Server 2008 r2 to netbeans 7 by using Jtds or sqljdbc and none of them seem to work.
Both of them are giving me this error: “cannot establish a connection to jdbc:jtds:sqlserver://localhost:1433/C:\Program Files\Microsoft SQL Server\MSSQL10.R0CRID3R using net.sourceforge.jtds.jdbc.Driver (Cannot open database “C” requested by the login. The login failed.)  Login failed for user ‘sa’.”

I already enabled TCP/IP and opened the port 1433 and set the ports and set the login for mixed windows authentication and sql server authentication.
It gives me this error for either Jtds and sqljdbc.
The log from sql server management studio tells this:
“Source: Logon, Message: Error: 18456, Severity: 14, State: 38
Source: Login, Message: Login failed for user ‘sa’. Reason: Failed to open the explicitly specified databes.[CLIENT: 127.0.0.1]”
I became really desprate by now. Any help would be much more than appriciated.
I also tried opening netbeans as administrator, and also tried restarting the database engine.
If there is any details I failed to write please ask and I’ll tell it.
Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T18:26:27+00:00Added an answer on June 15, 2026 at 6:26 pm

    It was a bug in Netbeans’s installation. It wasn’t fixed even after update. I uninstalled and downloaded the latest netbeans ide, which is 7.2.1, and when I tried it worked without any problems at all.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have been working on this sub-menu for 8 hours now, the last little
I have been working on this app for at least 3-4 months and just
I have been working on this problem for 2 days now and it's an
I have been working on this for days but I don't get it so
I have been working on this problem for a while now. I am trying
I have been working on this for 24 hours now, trying to optimize it.
I've been working with WCF the last two days and it was going very
Have been working on this question for a couple hours and have come close
I have been working on this sort of ATM (With a maximum of 50
I have been working on this for few hours and got stuck, so how

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.