Friday, March 30, 2012
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
a.. An error has occurred during report processing. (rsProcessingAborted)
Get Online Help
a.. Cannot create a connection to data source 'Flyers'.
(rsErrorOpeningConnection) Get Online Help
a.. Cannot open database requested in login 'CRMElements_RealEstate'.
Login fails. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
----
My report is set to use NT Authentication and Works OK in VS.Net report
designer.
Reporting services is installed on a web server separate from SQL Server.
The SQL Server house both the reporting services databases and the database
I am trying to report against. Both server or Windows 2003. The SQL server
is also my AD controller.
I can get the report to work if I change the report to use SQL Server login
/ password, but then I have to supply it each time.
If I go into the report properties, data sources and try to change the way
the report authenticates I get an error:
Object reference not set to an instance of an object.
when I click apply.
The only way I can change the settings is to change them in report designer
and re-upload my report file. I am uploading the file through report
manager. I do not have any data sources configures on the report server. I
am embedding this information in the report (I think that is how it works).
IIS Security is set as Integrated Windows Authentication.
Any help as to where to look or how to troubleshoot is appreciated.I think it doesn't work because you need to activate delegation, which i am
not knowledgeable about.
As far as i know, windows credential are never retransmitted from one server
to another. Here is a little attempt at explaining what i mean
client(ie) -> reporting services(iis) -> SQL DB (sql server)
suppose these 3 elements are on distinct servers. ie will transmit your
windows authentication to IIS, but IIS will not push it to the sql server.
For this to work, i've read you need to activate delegation in active
directory, but i am not knowledgeable enough to help you on this topic. So
right now, we're just specifying sql server accounts in our report data
sources.
You can use shared data sources to make life easier.
Hope this helps
"Joe" wrote:
> When I try to open my report in reporting services I get an error:
> a.. An error has occurred during report processing. (rsProcessingAborted)
> Get Online Help
> a.. Cannot create a connection to data source 'Flyers'.
> (rsErrorOpeningConnection) Get Online Help
> a.. Cannot open database requested in login 'CRMElements_RealEstate'.
> Login fails. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
> ----
> My report is set to use NT Authentication and Works OK in VS.Net report
> designer.
> Reporting services is installed on a web server separate from SQL Server.
> The SQL Server house both the reporting services databases and the database
> I am trying to report against. Both server or Windows 2003. The SQL server
> is also my AD controller.
> I can get the report to work if I change the report to use SQL Server login
> / password, but then I have to supply it each time.
> If I go into the report properties, data sources and try to change the way
> the report authenticates I get an error:
> Object reference not set to an instance of an object.
> when I click apply.
> The only way I can change the settings is to change them in report designer
> and re-upload my report file. I am uploading the file through report
> manager. I do not have any data sources configures on the report server. I
> am embedding this information in the report (I think that is how it works).
> IIS Security is set as Integrated Windows Authentication.
> Any help as to where to look or how to troubleshoot is appreciated.
>
>
>|||Do a google search for the "double hop problem."
You need to enable Server Principal Names (SPNs) which can be a daunting
task to setup properly.
-Joel
"Joe" <noemail@.noemail.com> wrote in message
news:OpPELIUaFHA.2664@.TK2MSFTNGP15.phx.gbl...
> When I try to open my report in reporting services I get an error:
> a.. An error has occurred during report processing. (rsProcessingAborted)
> Get Online Help
> a.. Cannot create a connection to data source 'Flyers'.
> (rsErrorOpeningConnection) Get Online Help
> a.. Cannot open database requested in login 'CRMElements_RealEstate'.
> Login fails. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
> ----
> My report is set to use NT Authentication and Works OK in VS.Net report
> designer.
> Reporting services is installed on a web server separate from SQL Server.
> The SQL Server house both the reporting services databases and the
> database I am trying to report against. Both server or Windows 2003. The
> SQL server is also my AD controller.
> I can get the report to work if I change the report to use SQL Server
> login / password, but then I have to supply it each time.
> If I go into the report properties, data sources and try to change the way
> the report authenticates I get an error:
> Object reference not set to an instance of an object.
> when I click apply.
> The only way I can change the settings is to change them in report
> designer and re-upload my report file. I am uploading the file through
> report manager. I do not have any data sources configures on the report
> server. I am embedding this information in the report (I think that is
> how it works).
> IIS Security is set as Integrated Windows Authentication.
> Any help as to where to look or how to troubleshoot is appreciated.
>
>
>|||Please excuse my ignorance, but could you specify exactly how you do the
"specifying sql server accounts in our report data sources"
Is it on the "Credentials stored securely in the report server" on the report?
How and where would you setup the user? In Report Server?
or in SQL server. It's been a while since I setup users on a database
in SQL 6.5 or 7.0... can you just use sa '
I've got what you described in your post of 2 connections
between 3 computers and connot get it to work.
Big Thanks for the Help!
--
Robert Hansen
"/dev/null" wrote:
> I think it doesn't work because you need to activate delegation, which i am
> not knowledgeable about.
> As far as i know, windows credential are never retransmitted from one server
> to another. Here is a little attempt at explaining what i mean
> client(ie) -> reporting services(iis) -> SQL DB (sql server)
> suppose these 3 elements are on distinct servers. ie will transmit your
> windows authentication to IIS, but IIS will not push it to the sql server.
> For this to work, i've read you need to activate delegation in active
> directory, but i am not knowledgeable enough to help you on this topic. So
> right now, we're just specifying sql server accounts in our report data
> sources.
> You can use shared data sources to make life easier.
> Hope this helps
> "Joe" wrote:
> > When I try to open my report in reporting services I get an error:
> > a.. An error has occurred during report processing. (rsProcessingAborted)
> > Get Online Help
> > a.. Cannot create a connection to data source 'Flyers'.
> > (rsErrorOpeningConnection) Get Online Help
> > a.. Cannot open database requested in login 'CRMElements_RealEstate'.
> > Login fails. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
> >
> > ----
> >
> > My report is set to use NT Authentication and Works OK in VS.Net report
> > designer.
> >
> > Reporting services is installed on a web server separate from SQL Server.
> > The SQL Server house both the reporting services databases and the database
> > I am trying to report against. Both server or Windows 2003. The SQL server
> > is also my AD controller.
> >
> > I can get the report to work if I change the report to use SQL Server login
> > / password, but then I have to supply it each time.
> >
> > If I go into the report properties, data sources and try to change the way
> > the report authenticates I get an error:
> > Object reference not set to an instance of an object.
> > when I click apply.
> >
> > The only way I can change the settings is to change them in report designer
> > and re-upload my report file. I am uploading the file through report
> > manager. I do not have any data sources configures on the report server. I
> > am embedding this information in the report (I think that is how it works).
> >
> > IIS Security is set as Integrated Windows Authentication.
> >
> > Any help as to where to look or how to troubleshoot is appreciated.
> >
> >
> >
> >
> >
> >|||Well with some resource digging... I've gotten my self up
out of the ignoreance hole I was in. I figured out how to
setup a SQL User Account, under Security/Logins "New Login"
and then in Reporting Services for each report under Properties-
Data Sources I checked "Credentials stored securely in the report server"
and entered <new> UserName and Password.
and it worked.!!!!! Yeah ME!!!!
I also changed it in Report Designer on on the Data Source Credentials Tab,
Saved and redeployed, but that didn't seem to do it. Looks like it has to
be done
in Report Server.
Thanks!!! Bob
To
--
Robert Hansen
"Bob Hansen" wrote:
> Please excuse my ignorance, but could you specify exactly how you do the
> "specifying sql server accounts in our report data sources"
> Is it on the "Credentials stored securely in the report server" on the report?
> How and where would you setup the user? In Report Server?
> or in SQL server. It's been a while since I setup users on a database
> in SQL 6.5 or 7.0... can you just use sa '
> I've got what you described in your post of 2 connections
> between 3 computers and connot get it to work.
> Big Thanks for the Help!
> --
> Robert Hansen
>
> "/dev/null" wrote:
> > I think it doesn't work because you need to activate delegation, which i am
> > not knowledgeable about.
> >
> > As far as i know, windows credential are never retransmitted from one server
> > to another. Here is a little attempt at explaining what i mean
> >
> > client(ie) -> reporting services(iis) -> SQL DB (sql server)
> >
> > suppose these 3 elements are on distinct servers. ie will transmit your
> > windows authentication to IIS, but IIS will not push it to the sql server.
> > For this to work, i've read you need to activate delegation in active
> > directory, but i am not knowledgeable enough to help you on this topic. So
> > right now, we're just specifying sql server accounts in our report data
> > sources.
> >
> > You can use shared data sources to make life easier.
> >
> > Hope this helps
> >
> > "Joe" wrote:
> >
> > > When I try to open my report in reporting services I get an error:
> > > a.. An error has occurred during report processing. (rsProcessingAborted)
> > > Get Online Help
> > > a.. Cannot create a connection to data source 'Flyers'.
> > > (rsErrorOpeningConnection) Get Online Help
> > > a.. Cannot open database requested in login 'CRMElements_RealEstate'.
> > > Login fails. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
> > >
> > > ----
> > >
> > > My report is set to use NT Authentication and Works OK in VS.Net report
> > > designer.
> > >
> > > Reporting services is installed on a web server separate from SQL Server.
> > > The SQL Server house both the reporting services databases and the database
> > > I am trying to report against. Both server or Windows 2003. The SQL server
> > > is also my AD controller.
> > >
> > > I can get the report to work if I change the report to use SQL Server login
> > > / password, but then I have to supply it each time.
> > >
> > > If I go into the report properties, data sources and try to change the way
> > > the report authenticates I get an error:
> > > Object reference not set to an instance of an object.
> > > when I click apply.
> > >
> > > The only way I can change the settings is to change them in report designer
> > > and re-upload my report file. I am uploading the file through report
> > > manager. I do not have any data sources configures on the report server. I
> > > am embedding this information in the report (I think that is how it works).
> > >
> > > IIS Security is set as Integrated Windows Authentication.
> > >
> > > Any help as to where to look or how to troubleshoot is appreciated.
> > >
> > >
> > >
> > >
> > >
> > >
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
First let me describe the situation.
I have win2003 server (name: SRV) where I have SQL 2000 Reporting Services
installed, win2003 server with SQL2000 server (name: DBSRV) where I have a
database and a workstation where I create reports in Visual Studio.
When I am creating reports, everything is OK - I can connect to database,
get the data etc.
When I publish the report to http://SRV/ReportServer and try to access it
from with web browser from my workstation, it throws this message:
An error has occurred during report processing. (rsProcessingAborted)
Cannot create a connection to data source 'Database'.
(rsErrorOpeningConnection)
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
Of course that user doesn't have access to database.
But how to tell Repoting Services to get MY user name I am using to log on
to windows?
Thanks,
Armands BrantsThe funiest thing is that I can open the report from my workstation if I do
that way:
* open the report from server http://localhost...
* write the same address (http://localhost...) in my workstation's internet
explorer - page can not be displayed, of course
* replace localhost with srv and everything works fine!
Can't understand why...
Armands
"Armands Brants" <armands.brants@.navigator.lv> wrote in message
news:uRNDlSmxEHA.1204@.TK2MSFTNGP10.phx.gbl...
> Hello,
> First let me describe the situation.
> I have win2003 server (name: SRV) where I have SQL 2000 Reporting Services
> installed, win2003 server with SQL2000 server (name: DBSRV) where I have a
> database and a workstation where I create reports in Visual Studio.
> When I am creating reports, everything is OK - I can connect to database,
> get the data etc.
> When I publish the report to http://SRV/ReportServer and try to access it
> from with web browser from my workstation, it throws this message:
> An error has occurred during report processing. (rsProcessingAborted)
> Cannot create a connection to data source 'Database'.
> (rsErrorOpeningConnection)
> Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
> Of course that user doesn't have access to database.
> But how to tell Repoting Services to get MY user name I am using to log on
> to windows?
> Thanks,
> Armands Brants
>|||If you are trying to authenticate in a scenerio which involves more than two
endpoints eg: client connects to remote RS web service which connects to a
remote database (3 endpoints) NTLM authentication will not work, you will
have to use delegation using kerberos authentication which supports more than
one network hop. Look here for help about setting up a asp.net app for
delegation.
http://support.microsoft.com/default.aspx?scid=kb;en-us;810572
To test that this is your problem first access the report from the reporting
services console, this seems to cache your credential locally, now try from
your remote client try the same report, it should work until you log off the
rs server.
HTH,
Dan
"Armands Brants" wrote:
> The funiest thing is that I can open the report from my workstation if I do
> that way:
> * open the report from server http://localhost...
> * write the same address (http://localhost...) in my workstation's internet
> explorer - page can not be displayed, of course
> * replace localhost with srv and everything works fine!
> Can't understand why...
> Armands
> "Armands Brants" <armands.brants@.navigator.lv> wrote in message
> news:uRNDlSmxEHA.1204@.TK2MSFTNGP10.phx.gbl...
> > Hello,
> >
> > First let me describe the situation.
> >
> > I have win2003 server (name: SRV) where I have SQL 2000 Reporting Services
> > installed, win2003 server with SQL2000 server (name: DBSRV) where I have a
> > database and a workstation where I create reports in Visual Studio.
> >
> > When I am creating reports, everything is OK - I can connect to database,
> > get the data etc.
> >
> > When I publish the report to http://SRV/ReportServer and try to access it
> > from with web browser from my workstation, it throws this message:
> >
> > An error has occurred during report processing. (rsProcessingAborted)
> > Cannot create a connection to data source 'Database'.
> > (rsErrorOpeningConnection)
> > Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
> >
> > Of course that user doesn't have access to database.
> > But how to tell Repoting Services to get MY user name I am using to log on
> > to windows?
> >
> > Thanks,
> >
> > Armands Brants
> >
>
>
Wednesday, March 28, 2012
Login failed for user domain\domcontroller$ - 18456
I am running several instances of SQL Server 2005 sp2 on a W2k3 sp2 box (member server).
This morning, I installed reporting services to one of my instances and shortly after noticed I was getting the following two messages in my SQL Server log file:-
08/08/2007 11:05:03,Logon,Unknown,Login failed for user 'DOMAIN\DOMCONTROLLER$'. [CLIENT: xxx.xxx.xxx.xxx]
08/08/2007 11:05:03,Logon,Unknown,Error: 18456, Severity: 14, State: 16.
The above entries were each repeated 6 times every 15 minutes but with State 11. I created a logon for the above, and now get the above messages (state 16) repeated 3 times every 15 minutes!
Any ideas why?
Regards
Ian
It seems like a service in DOMCONTROLLER machine is trying to connect to SQL Server, it must be running under network service or local system account.
I recommend reading the following post, hopefully it will help you find the solution:
http://forums.microsoft.com/msdn/showpost.aspx?postid=66265&siteid=1
-Raul Garcia
SDE/T
SQL Server Engine
Monday, March 26, 2012
Login failed for user '(null)'. Reason: Not associated with a trus
simple report. When I run the report directly on the report server it works
fine. If I try and run the report from my laptop I get the error
Login failed for user '(null)'. Reason: Not associated with a trusted SQL
Server connection.
I have set up the data source to use a trusted connection and my id has full
rights on the the database where the data resides. The Report server is
hosted on a SQL Server 2005 database and the data in the report is on a SQL
2000 named instance.
I am probably missing something in the setup, but don't know what. Any help
from anyone would be appreciated.does your SQL Server is on another server than the RS server himself?
(have you 2 servers: 1 with RS + IIS and the second with SQL Server himself)
If yes, then you suffer a Kerberos issue.
you have to setup Kerberos to allow your IIS Server to delegate the user.
Read this article:
http://support.microsoft.com/kb/215383/en-us
"gert" <gert@.discussions.microsoft.com> wrote in message
news:E981B1AB-6D2A-4751-8C0D-140B033CA1FA@.microsoft.com...
>I am new to SQL Server Reporting Services 2005 and have created a new very
> simple report. When I run the report directly on the report server it
> works
> fine. If I try and run the report from my laptop I get the error
> Login failed for user '(null)'. Reason: Not associated with a trusted SQL
> Server connection.
> I have set up the data source to use a trusted connection and my id has
> full
> rights on the the database where the data resides. The Report server is
> hosted on a SQL Server 2005 database and the data in the report is on a
> SQL
> 2000 named instance.
> I am probably missing something in the setup, but don't know what. Any
> help
> from anyone would be appreciated.
Login failed for user (null).
I have an issue dealing with connectivity between the client and Sql Server Services or Sql Authentication. I keep receiving this type of error message:
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
I am sure my connection string is correct within my web config file, I have something like this:
Data Source=myServerAddress;Initial Catalog=myDataBase;Integrated Security=SSPI;
The reason why I think the connection string is correct is because I have a server where my asp.net application is stored and used, this server is called server1. Server1 is connected to MS-SQL server that is installed and used onserver2.When I run my application fromserver1 everything is perfect, nothing goes wrong, but when I run the application from my client or local machine I get the error message saying not associated with a trusted site.
Now I have the web config set to <identity impersonate="true"> that will allow windows Authentication, and I set the permissions within the database to use NT AUTHORITY \ NETWORK SERVICE as a user, plus my own network credentials are set within user on the database, just so I could troubleshoot the problem. But I still get the error message not associated with a trusted site.
Just to recap my problem, I can see the data when I run the application inServer1,but I can't see the data when I run the application from my local machine.
http://server1/MyApplication.aspx <-- this is an example of the url that I enter on my local machine to acces the application. Plus I have full acces toserver1,and other application are running just fine from this server.
I am using visual studio 2005, but using sql 2000, with the latest service pack for windows XP pro.
thanks,
xyz789
Your connection string is missing your username and password for SqlAuthentication. The reason why it works on server is because its using windows authentication.
It sounds like this is what you intended though. If so, you need to specifiy which user to impersonate by setting the network credentials in your code behind.
I am still a little lost, I thought the <identity impersonate=true> would pick up any user credentials if they were accessing the application on the network. I am not understanding how you check network credentials in the code behind? Do you have an example that you could share with me?
thanks,
xyz789
|||Hi xyz789,
Generally speaking, you will receive this "Not associated with a trusted SQL Server connection"message when the SQL Serversecurity authentication is set toWindows onlyunder these 3 cases:
1.You are trying to connect to a SQL Server database with a SQL Server login.
2.You are trying to connect to a SQL Server 2000 Desktop Engine (also known as MSDE 2000) database that is installed on a Microsoft Windows 98-based computer by using a trusted SQL Server connection.
3.You are trying to connect to a SQL Server database from a Windows account that does not have sufficient permissions to connect to the server.
|||Thank you, that solved the problem.
xyz789
Monday, March 12, 2012
Login failed
Reporting Services Error
----
An error has occurred during report processing. (rsProcessingAborted) Get
Online Help
Cannot create a connection to data source 'NKRIM105_DB'.
(rsErrorOpeningConnection) Get Online Help
Login failed for user '(null)'. Reason: Not associated with a trusted SQL
Server connection.
----
--
If you wait for an opportunity the opportunity will pass u by!Hi,
1) Please give your user approperiate access to database by add user to
database you are attempting to connect.
2) Your user must have appropriate access to reports deployed at report
server. Goto Report manager and add above user
Regards,
Ayaz Ahmad|||Hi,
1) Please give your user approperiate access to database by add user to
database you are attempting to connect.
2) Your user must have appropriate access to reports deployed at report
server. Goto Report manager and add above user
Regards,
Ayaz Ahmad
Login failed
server. I can run it fine from my machine, but when I deploy it, I get a
Login failed for user '(null)'. Reason: Not associated with a trusted SQL
Server connection.
I've set the datasource to use a shared datasource, with a specific username
and password(which is the username and password for the reporting services
server, going after an external sql server with permissions to the reporting
services user.
Any ideas?
Thanx,
MikeAs long as I know, if you have your reporting services into one server
and your database into another, you CANNOT use trusted connection, you
must use a SQL Server login.
I'm telling this because I have the same problem and I didnt find
anything to solve so far.|||Go to report manager and the properties for your shared datasource. You
might have to set the credentials.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Mike Voissem" <voissemm@.stjosephs-marhshfield.org> wrote in message
news:u8cQEhqyFHA.2312@.TK2MSFTNGP14.phx.gbl...
> I'm having trouble getting my report to run on the reporting services
> server. I can run it fine from my machine, but when I deploy it, I get a
> Login failed for user '(null)'. Reason: Not associated with a trusted SQL
> Server connection.
> I've set the datasource to use a shared datasource, with a specific
> username
> and password(which is the username and password for the reporting services
> server, going after an external sql server with permissions to the
> reporting
> services user.
> Any ideas?
> Thanx,
> Mike
>|||Thanx Bruce,
That did the trick.
Mike
"Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
news:#gJkBBryFHA.2960@.tk2msftngp13.phx.gbl...
> Go to report manager and the properties for your shared datasource. You
> might have to set the credentials.
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "Mike Voissem" <voissemm@.stjosephs-marhshfield.org> wrote in message
> news:u8cQEhqyFHA.2312@.TK2MSFTNGP14.phx.gbl...
> > I'm having trouble getting my report to run on the reporting services
> > server. I can run it fine from my machine, but when I deploy it, I get
a
> > Login failed for user '(null)'. Reason: Not associated with a trusted
SQL
> > Server connection.
> > I've set the datasource to use a shared datasource, with a specific
> > username
> > and password(which is the username and password for the reporting
services
> > server, going after an external sql server with permissions to the
> > reporting
> > services user.
> > Any ideas?
> > Thanx,
> > Mike
> >
> >
>