This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | No any info message about necessary fields for MS SQL Server | ||
---|---|---|---|
Product: | db | Reporter: | Roman Mostyka <romanmostyka> |
Component: | Code | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | UI |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 152580 | ||
Attachments: | Screenshot of error message for MS SQL Server. |
Description
Roman Mostyka
2008-10-08 12:03:13 UTC
Maybe it's because there are no fields that are required, have you thought about that, huh? :) Here's the URL template jdbc:sqlserver://[<HOST>[\\<INSTANCE>][:<PORT>]][;databaseName=<DB>][;<ADDITIONAL>]" Note that everything is optional, and has well-known defaults. If you want to test this, that would be great, but that's what the documentation said when I read it. But without any values I've got error message that says that IDE unable to connect to jdbc:sqlserver:// and no default values. At least in message. If in reality driver tries to connect to MS SQL Server with default values, it should be reflected in error message. Correct me if I'm wrong. Created attachment 71671 [details]
Screenshot of error message for MS SQL Server.
Reassigned to new owner. *** Issue 149486 has been marked as a duplicate of this issue. *** This is the current message: cannot establish a connection to jdbc:sqlserver:// using com.microsoft.sqlserver.jdbc.SQLServerDriver (Fehler beim Herstellen der TCP/IP-Verbindung mit dem Host 'localhost', Port 1433. Fehler: 'Connection refused. Überprüfen Sie die Verbindungseigenschaften, und stellen Sie sicher, dass eine SQL Server-Instanz auf dem Host ausgeführt wird, die TCP/IP-Verbindungen am Port annimmt. Überprüfen Sie außerdem, dass die TCP-Verbindungen mit dem Port nicht von einer Firewall blockiert werden.'.) The assumed host, port and a error-solution is presented (using sqlserver driver version 3.0). I consider this good enough. Current problem: The error message is only partitally visible, but that is a seperate bug. |