conneting to ms sql server using windows authentication

How connect to a ms SQL server using windows authentication in jasperstudio without having jasper server? All the tutorials that I have found are declaring the connection between a ms SQL server and jasper server. But need to set my data adapter so that I can connect to the SQL server from jasperstudio using windows authentication

iman.gharib's picture
Joined: Nov 18 2015 - 3:46am
Last seen: 2 years 6 months ago

4 Answers:

iman.gharib's picture
Joined: Nov 18 2015 - 3:46am
Last seen: 2 years 6 months ago

The steps required are the same as with setting up for a server. You just need to specify the jdbc driver and url string to the database.

In the Data Adapter Wizard,there is a "Driver Classpath" tab at the bottom (default tab is "Database Location". Just  press "Add" and select sql server jdbc driver. The settings required on sql server is the same as for setting up for JasperReports Server connection.

hozawa's picture
176655
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 11 months ago

My bad.

To think of it, I may have done some different. Have you tried the solution offered below?

http://stackoverflow.com/questions/12304495/solve-error-in-connection-be...

 

I usually set Jaspersoft Studio to use my local version of Java that I've installed and I may have added the files to Java's lib folder.

(Edit Jaspersoft Studio.ini file and change "-vm" to local Java directory.)

hozawa's picture
176655
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 11 months ago

It did not work in my case using the default java settings of jasperstudio. But the link is informative. thanks

iman.gharib's picture
Joined: Nov 18 2015 - 3:46am
Last seen: 2 years 6 months ago
Feedback