Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2018-06-15 13:13:27

edconsi
Member
Registered: 2018-06-15

I want to connect with SQL but i can not!!

Good Morning.
I'm new to reportserver. I already install the windows version and when I want to add a new datasource (sql in my pc) I can not do it.
Always return the same error "Could not open connection to: null with user: myUser.java.lang.NullPointerException"
I was already looking at some blog on the internet, I downloaded the file "sqljdbc42.jar" and I copied it in the folder "C: \ Bitnami \ reportserverenterprise-3.0.3-2 \ apache-tomcat \ webapps \ reportserver \ WEB-INF \ lib "
I tried the following url:
jdbc: sqlserver: //; servername = MyServer \ MyInstance; database = MyDB
jdbc: sqlserver: // localhost; user = MyUser; password = myPass;
jdbc: sqlserver: // MiIP; databaseName = MyDB
jdbc: sqlserver: // MiIP: MyPort; databaseName = permissionsba2

I do not know what to do to connect. I would appreciate some comments to solve this problem and start using the tool.
greetings and thanks

Offline

#2 2018-06-15 13:24:21

jalbrecht
Administrator
Registered: 2016-10-21

Re: I want to connect with SQL but i can not!!

Hi edconsi,

did you by chance forget to copy the jdbc drivers to the lib directory ?  We cannot integrate them in our distribution due to the license under which you can user them. Pls. Check :

https://reportserver.net/en/guides/admi … a-Sources/ (->4.1)
https://forum.reportserver.net/viewtopic.php?id=968 or
https://forum.reportserver.net/viewtopic.php?id=630

and let me know if this is a fix ...

wbr jan

Offline

#3 2018-06-15 14:05:07

edconsi
Member
Registered: 2018-06-15

Re: I want to connect with SQL but i can not!!

thanks for your answer. I tell you that I copied the "sqljdbc42.jar" files to the lib directory. What's more, I have it in 2 directories:
C: \ Bitnami \ reportserverenterprise-3.0.3-2 \ apache-tomcat \ webapps \ reportserver \ WEB-INF \ lib
C: \ Bitnami \ reportserverenterprise-3.0.3-2 \ apps \ reportserver \ reportserver-conf \ lib
it's OK?

Any more files I have to add?

Offline

#4 2018-06-15 14:11:34

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: I want to connect with SQL but i can not!!

Hello edconsi,

please post a screenshot of your datasource configuration. The url should be:  jdbc:sqlserver://IP;databaseName=DBNAME
Also post the complete error stack you are getting from the tomcat logs.

Regards,
Eduardo

Offline

#5 2018-06-15 14:12:54

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: I want to connect with SQL but i can not!!

Hi edconsi,

also make sure you save your datasource before pressing the "test connection" button.

Regards,
Eduardo

Offline

#6 2018-06-15 14:21:55

edconsi
Member
Registered: 2018-06-15

Re: I want to connect with SQL but i can not!!

Eduardo!!!

Thank you very much for your answer, it seems a lie, but it was that, it had to be applied before testing the connection. thank you very much
Surely I will continue consulting them as I start with my project, which is to create a dashboard.

Offline

Board footer

Powered by FluxBB