Bug 221643 - Problems with MS SQLServer 2005 - Stored Procedures
Summary: Problems with MS SQLServer 2005 - Stored Procedures
Status: NEW
Alias: None
Product: Data Tools
Classification: Tools
Component: Enablement (show other bugs)
Version: 1.5.1   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: future   Edit
Assignee: Brian Fitzpatrick CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2008-03-06 06:36 EST by Giuliano Bortolassi CLA
Modified: 2008-11-03 11:49 EST (History)
3 users (show)

See Also:


Attachments
Screenshot from my Eclipse Data Source Explorer (29.44 KB, image/tiff)
2008-03-25 14:09 EDT, Giuliano Bortolassi CLA
no flags Details
Configuration Screen 1 (104.33 KB, image/tiff)
2008-03-25 15:04 EDT, Giuliano Bortolassi CLA
no flags Details
Configuration Screen 2 (121.96 KB, image/tiff)
2008-03-25 15:04 EDT, Giuliano Bortolassi CLA
no flags Details
My 1.5.2 SQL Server 2005 Config (That works) (46.51 KB, image/pjpeg)
2008-03-25 15:16 EDT, Brian Fitzpatrick CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giuliano Bortolassi CLA 2008-03-06 06:36:08 EST
Software Details.

Data Tools Plataform Enablement for Microssoft
Identifier: org.eclipse.datatools.enablement.msft.feature
Version: 1.5.1.200709261



I´m having problems using the version 1.5.1 of the DTP. When I connect to Microsoft SQL Server 2005, using the newer JDB Driver from microssoft, I cant see my Stored Procedures in "Data Explorer".

In the previous Version, 1.5.0, when I use the same Driver from MSSQLServer 2005 I can see some stored procedures, not all, but some... Now, with this recent version of DTP I can see nothing.

This is a poblem in Microsoft Driver? the plataform changed and not suport the MS Stored Procedures?
Comment 1 Brian Fitzpatrick CLA 2008-03-20 10:45:19 EDT
Interesting. Are you trying to connect to SQL Server 2000 or 2005? Which versions of JDBC drivers are you using, etc... 

Just trying to get more info so I can take a look at this after I get back from EclipseCon next week.

Have you tried 1.5.2, which was just released not too long ago?

--Fitz
Comment 2 Giuliano Bortolassi CLA 2008-03-25 07:55:19 EDT
Hi Fitz...

I have updated my DTP to version 1.5.2 and now I'm using it.


Data Tools Plataform 1.5.2
Data Tools Plataform Enablement for Microssoft 1.5.2

I am using the SQL Server 2005 and the lastest JDBC Driver from Microssoft.

Thanks for the attention... And I am awaiting for a solution.. thanks a lot!
Comment 3 Brian Fitzpatrick CLA 2008-03-25 13:45:22 EDT
What does your URL look like when you connect?
Comment 4 Giuliano Bortolassi CLA 2008-03-25 14:09:06 EDT
Created attachment 93458 [details]
Screenshot from my Eclipse Data Source Explorer
Comment 5 Giuliano Bortolassi CLA 2008-03-25 14:10:32 EDT
(In reply to comment #3)
> What does your URL look like when you connect?
> 

Well... its something like that

jdbc:sqlserver://10.10.1.90:1433


I have tried to use:
jdbc:sqlserver://10.10.1.90:1433;databaseName=MY_DATABASE_NAME


My driver class is the following:
com.microsoft.sqlserver.jdbc.SQLServerDriver


and the jar file's name is: sqljdbc.jar

When I am connected with the DB the following String appears in the Data Source Explorer

( Microsft SQL Server v. 9.0.1406 )
 * take a look in the attachment to see what about I'm talking

Comment 6 Brian Fitzpatrick CLA 2008-03-25 14:55:52 EDT
Dumb question. (I just downloaded the latest SQL Server 2005 driver to play with it here.) When you specify the URL with "MY_DATABASE_NAME" did you set the Database field to be "MY_DATABASE_NAME" also? I've seen some issues where if those two don't match up, that you can't see certain things.
Comment 7 Giuliano Bortolassi CLA 2008-03-25 15:04:07 EDT
Created attachment 93472 [details]
Configuration Screen 1
Comment 8 Giuliano Bortolassi CLA 2008-03-25 15:04:44 EDT
Created attachment 93473 [details]
Configuration Screen 2
Comment 9 Giuliano Bortolassi CLA 2008-03-25 15:09:39 EDT
(In reply to comment #6)
> Dumb question. (I just downloaded the latest SQL Server 2005 driver to play
> with it here.) When you specify the URL with "MY_DATABASE_NAME" did you set the
> Database field to be "MY_DATABASE_NAME" also? I've seen some issues where if
> those two don't match up, that you can't see certain things.
> 

Well, I posted 2 new screens from my eclipse. In this screens you can see my configurations, like "connection string" and more.

When I write my connection string, the another field is not filled automatic (it could be a nice improvement hehehe), but I have typed it manually to test, and still not working.
Comment 10 Brian Fitzpatrick CLA 2008-03-25 15:16:36 EDT
Created attachment 93476 [details]
My 1.5.2 SQL Server 2005 Config (That works)

Very odd. I'm attaching a picture of my own 1.5.2 configuration for MS SQL 2005 using the latest MS driver and it works fine. 

The only things I can think of is that the user name doesn't have permissions for that database, or that there's a bug somewhere on Mac that we haven't found yet. I don't have a Mac available for testing to verify the issue. 

Do you get anything in the log or console?

--Fitz
Comment 11 Giuliano Bortolassi CLA 2008-03-25 15:21:37 EDT
(In reply to comment #10)
> Created an attachment (id=93476) [details]
> My 1.5.2 SQL Server 2005 Config (That works)
> 
> Very odd. I'm attaching a picture of my own 1.5.2 configuration for MS SQL 2005
> using the latest MS driver and it works fine. 
> 
> The only things I can think of is that the user name doesn't have permissions
> for that database, or that there's a bug somewhere on Mac that we haven't found
> yet. I don't have a Mac available for testing to verify the issue. 
> 
> Do you get anything in the log or console?
> 
> --Fitz
> 

Well... I have found something strage here...

Take a look:

25/Mar/2008 16:18:30 com.microsoft.sqlserver.jdbc.AuthenticationJNI <clinit>
WARNING: Failed to load the sqljdbc_auth.dll

Maybe its the problem?

Do you know what is this message??
(well.. I know that it means the JDBC Driver does not found the .dll file, but... where is this dll? it come with the driver? I havent seen that .dll file)
Comment 12 Brian Fitzpatrick CLA 2008-03-25 15:56:10 EDT
Ugh. Well, that would do it. I have seen that before. If you run the windows installer for the driver, it gets installed. It looks like you may have issues with using a Windows JDBC driver. 

I've heard rumors of other SQL Server drivers, but can't say that I've played with any beyond DataDirect, and that was a long time ago. And DTP may have issues with other drivers. 
Comment 13 Giuliano Bortolassi CLA 2008-03-25 16:01:35 EDT
(In reply to comment #12)
> Ugh. Well, that would do it. I have seen that before. If you run the windows
> installer for the driver, it gets installed. It looks like you may have issues
> with using a Windows JDBC driver. 
> 
> I've heard rumors of other SQL Server drivers, but can't say that I've played
> with any beyond DataDirect, and that was a long time ago. And DTP may have
> issues with other drivers. 
> 

Well... I will try to test in a window plataform... and report to you what happened.

Other thing: Im using Adobe Flex Builder, but it running in the lastest eclipse build... so.. I does not think it could make some difference...

Now I will try to download the installer to the windows plataform.
Comment 14 Brian Fitzpatrick CLA 2008-03-25 16:03:09 EDT
It's hard to tell. I can't say I have much Mac experience, sorry. But please keep me posted and we'll see what we can do for you.
Comment 15 Giuliano Bortolassi CLA 2008-03-25 16:46:03 EDT
(In reply to comment #14)
> It's hard to tell. I can't say I have much Mac experience, sorry. But please
> keep me posted and we'll see what we can do for you.
> 

Well... I found a open source driver... http://jtds.sourceforge.net/ that could get connected with SQLServer.

They show-me the procedures... but.. I cant see the parameters neither the content... it become useless for me... anyway.. i will try to find some commercial drivers that could help-me....

Thanks for the help!
Comment 16 Jesper Moller CLA 2008-03-26 08:43:53 EDT
Looks like a duplicate of bug 217321.
Comment 17 Brian Fitzpatrick CLA 2008-03-26 15:50:53 EDT
The parameter/content may be a limitation of support in DTP for MS SQL Server. We have limited resources for the enablement plug-ins to get things working with all the various issues. I will try and take a look at the jtds driver to see if I can determine a way to get it to populate the parameters & content, but can't make any promises. 

Help with this code is always greatly appreciated.
Comment 18 jmmrb CLA 2008-11-02 12:02:37 EST
work's fine in DTP 1.6.1
Comment 19 Brian Fitzpatrick CLA 2008-11-03 11:49:14 EST
Thanks for testing. We will have some additional SQL Server support in Galileo, but not before.