Showing posts with label solution. Show all posts
Showing posts with label solution. Show all posts

Thursday, March 8, 2012

Cannot create a connection to data source !!!

Hello everyone,

I posted the same issue before, but I couldn't find the solution yet. I am posting this agian cos I tried almost everything and I am not able to solve the issue.

Let me explain what is happening here:

Server A - is my development local machine

Server B - is the remote reporting server, where all reports are deployed

Server C - is where the databases are located

- After successfully deploying the project (the reports and datasources) on the remote server and try to run the report , I am getting the following error message

  • An error has occurred during report processing. (rsProcessingAborted)
  • Cannot create a connection to data source 'dsCallB'. (rsErrorOpeningConnection)
  • For more information about this error navigate to the report server on the local server machine, or enable remote errors

    - I tried to deploy and run the same report on my local machine report server(Server A), which is still accessing the same database from Server C. This works fine.

    So from this we can understand that A ==> B ==> C is not working, however A ==>C works fine(using Server A as a report server).

    I almost tried all the possible solutions that are posted on the forum, such as storing the credential information on the report server (server B), created a data source, which is not a shared data source, on the report server level e.t.c. and I ended up with nuthin.

    The weired thing is that there are existing reports that are already created and deployed(by somebody else) in the report server (server B) , which access the database on Server C. These existing reports run with no problem, even I can create a report which uses the existing data source and runs perfectly. However, when I create a new report which uses a different data source (from Server C), and deploy it to Server B and tried to run it, the above error message comes.

    Please let me know if you have any idea.

    Thx.

    What type of data source is it, and how are you connecting? OLEDB, ODBC? Are you using Windows Authentication for the data source?|||If you are using windows integrated security this could be the "double hop issue". Try to connect to Server B via remote desktop and start the report. If it works you have to mark the server b as "trusted for delegation" in your active directory. I am actually not sure if this is enough, but you can also google this problem. there are also some KB entries (at least for ASP .NET) concerning this problem.|||

    Actually, the data source is Microsoft SQL Server type. And for the authentication I stored the login and password securely on the report server.

    |||Are you using SQL Server or Windows authentication?|||

    I have the same problem, when trying to change the datasource on reports deployed from Visual Studio. It seems that if you change the data source before deploying, then that is okay and the connection works. Changing the data source within Reporting Services is where I get the trouble.

    I develop the reports on a development server against a test database on the same server. Then I change the datasource in visual studio to a staging data source, and deploy the reports. I go to the reporting services server and run the reports, and they are fine. At this point the reports have my blessing to become the "live" reports, so all I need to do is change the data source on them to the live production database server. But doing that only makes the reports fail. If I go back to the development server and change the data source there and redeploy, the reports work.

    This is only a problem for me when I am trying to change to a firewall protected data source which is not accessable from the development machine. I'm really interested if anyone has a solution for this, as its not correct for me to go and change the firewall settings simply to get reporting services to operate the way I know it is meant to work. It almost feels as if somehow the reports KNOW that they were deployed with a different data source, and are balking at letting me change that. Why? <frust>

    |||

    Duh, in my post above I couldnt see why changing the data source on the report after deployment didnt work... not too surprising as the mapping between the server name and the IP address (the hosts file) was not set up on the reporting services server the same way it was set up on the server from which I was doing the deployment. Need I say it... duh

    Never mind!

    Pjos

  • Tuesday, February 14, 2012

    cannot connect to redirector

    Hi,

    although I read thru several threads I still did not really find a solution for my problem. I have installed a SQL server 2005.

    i built a cube in SQL server BI studio but unable to deploy the project. giving a msg

    Error 1 The project could not be deployed to the 'localhost' server because of the following connectivity problems : A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. To verify or update the name of the target server, right-click on the project in Solution Explorer, select Project Properties, click on the Deployment tab, and then enter the name of the server.

    please help me in getting the project deployed.

    thanx in advance.

    First make sure Analysis Server service up and running.

    Second here is troubleshooting guide for connectivity problems: http://www.sqljunkies.com/WebLog/edwardm/

    Edward.
    --
    This posting is provided "AS IS" with no warranties, and confers no rights.

    |||

    Thanx Edward,

    SQL server and sql server browser both are running. I have tried all the trouble shooting things which u said to do it from the site mentioned, but still the same error msg is comming.

    Let me explain the problem more in detail,

    I am working on a pc no network connections, I built a cube in BI, and when i try to deploy it, its giving me error msg Error 1 The project could not be deployed to the 'xxxxxx' server because of the following connectivity problems : A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. To verify or update the name of the target server, right-click on the project in Solution Explorer, select Project Properties, click on the Deployment tab, and then enter the name of the server. 0 0

    I have created a new database in management studio... when i am tryng to do server registration with database engine, the server name is shown in dropdown list., and when i select it and connect, it gets connected, but when i choose analysis services and try to do server registration, server name is not shown in dropdown list, but there is an option to browse for more, but there is no server available when i browse, as it has only analysis services listed nothing under it to choose. When i enter the same server name which was there for database engine, it gives me a error msg:Testing the registered server failed. Verify the server name, login credentials, and database, and then click Test again.


    ADDITIONAL INFORMATION:

    A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. (Microsoft.AnalysisServices.AdomdClient)

    No connection could be made because the target machine actively refused it (System)

    -

    So, when i save the new server registration without testing, it gets save without a connection (i believe) and when i try to connect to object explorer it gives an error msg: A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. (Microsoft.AnalysisServices.AdomdClient)


    ADDITIONAL INFORMATION:

    No connection could be made because the target machine actively refused it (System)

    i have enabled all the protocols for sql express, client protocols, firewall is not enabled.

    In the trouble shooting website u have mentioned earlier it said.....

    Make sure Analysis Server will allow connections from other machine. Although it is not common, and by default this situation will not happen to you. But this is possible: SQL Server Surface Area Configuration (SAC) tool allows you to force Analysis Server to listen to local connections only. Please make sure to open SAC, click on “Surface Area Configuration for Services and Connections”, expand node for Analysis Services and make sure Remote connections has “Local and Remote Connections” radio button selected.

    when i i went into SAC for services and connections, i couldn't find analysis services node there, but i could find remote connections under database engine node along with service.

    I am struggling with this problem since few days, trying to fix it but couldn't find the solution. If you can help me it would be really appreciated.

    Thank you verymuch in advance.

    |||

    For one, try to use SQL Management studio and connect to your local Analysis Server using names "localhost" or "127.0.0.1"

    Edward.
    --
    This posting is provided "AS IS" with no warranties, and confers no rights.

    |||

    I tried connecting to Analysis server using names "localhost" and also with "127.0.0.1", but no use it gives same error message: Cannot connect to 127.0.0.1. A connection cannot be made. Ensure that the server is running. (Microsoft.AnalysisServices.AdomdClient)

    DIME protocol error: The required bytes cannot be read from the stream. (Microsoft.AnalysisServices.AdomdClient)

    and when i tried connecting to Database engine using name 127.0.01 it gives an error msg saying:Cannot connect to 127.0.0.1.An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)

    Only database engine is getting connected to server when it is connected using name of the sql server, in any other cases it is giving error msgs, analysis services, reporting services, integration services... none are getting connected.

    |||

    Please see this page,

    http://support.microsoft.com/kb/912017

    Regards.

    |||

    hi! i have tried it, but still not working.

    i always get a msg when i try to connect analysis services to the server.

    TITLE: Connect to Server

    Cannot connect to *******-PC\SQLSERVER.


    ADDITIONAL INFORMATION:

    A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. (Microsoft.AnalysisServices.AdomdClient)

    No connection could be made because the target machine actively refused it (System)

    cannot connect to redirector

    Hi,

    although I read thru several threads I still did not really find a solution for my problem. I have installed a SQL server 2005.

    i built a cube in SQL server BI studio but unable to deploy the project. giving a msg

    Error 1 The project could not be deployed to the 'localhost' server because of the following connectivity problems : A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. To verify or update the name of the target server, right-click on the project in Solution Explorer, select Project Properties, click on the Deployment tab, and then enter the name of the server.

    please help me in getting the project deployed.

    thanx in advance.

    First make sure Analysis Server service up and running.

    Second here is troubleshooting guide for connectivity problems: http://www.sqljunkies.com/WebLog/edwardm/

    Edward.
    --
    This posting is provided "AS IS" with no warranties, and confers no rights.

    |||

    Thanx Edward,

    SQL server and sql server browser both are running. I have tried all the trouble shooting things which u said to do it from the site mentioned, but still the same error msg is comming.

    Let me explain the problem more in detail,

    I am working on a pc no network connections, I built a cube in BI, and when i try to deploy it, its giving me error msg Error 1 The project could not be deployed to the 'xxxxxx' server because of the following connectivity problems : A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. To verify or update the name of the target server, right-click on the project in Solution Explorer, select Project Properties, click on the Deployment tab, and then enter the name of the server. 0 0

    I have created a new database in management studio... when i am tryng to do server registration with database engine, the server name is shown in dropdown list., and when i select it and connect, it gets connected, but when i choose analysis services and try to do server registration, server name is not shown in dropdown list, but there is an option to browse for more, but there is no server available when i browse, as it has only analysis services listed nothing under it to choose. When i enter the same server name which was there for database engine, it gives me a error msg:Testing the registered server failed. Verify the server name, login credentials, and database, and then click Test again.


    ADDITIONAL INFORMATION:

    A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. (Microsoft.AnalysisServices.AdomdClient)

    No connection could be made because the target machine actively refused it (System)

    -

    So, when i save the new server registration without testing, it gets save without a connection (i believe) and when i try to connect to object explorer it gives an error msg: A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. (Microsoft.AnalysisServices.AdomdClient)


    ADDITIONAL INFORMATION:

    No connection could be made because the target machine actively refused it (System)

    i have enabled all the protocols for sql express, client protocols, firewall is not enabled.

    In the trouble shooting website u have mentioned earlier it said.....

    Make sure Analysis Server will allow connections from other machine. Although it is not common, and by default this situation will not happen to you. But this is possible: SQL Server Surface Area Configuration (SAC) tool allows you to force Analysis Server to listen to local connections only. Please make sure to open SAC, click on “Surface Area Configuration for Services and Connections”, expand node for Analysis Services and make sure Remote connections has “Local and Remote Connections” radio button selected.

    when i i went into SAC for services and connections, i couldn't find analysis services node there, but i could find remote connections under database engine node along with service.

    I am struggling with this problem since few days, trying to fix it but couldn't find the solution. If you can help me it would be really appreciated.

    Thank you verymuch in advance.

    |||

    For one, try to use SQL Management studio and connect to your local Analysis Server using names "localhost" or "127.0.0.1"

    Edward.
    --
    This posting is provided "AS IS" with no warranties, and confers no rights.

    |||

    I tried connecting to Analysis server using names "localhost" and also with "127.0.0.1", but no use it gives same error message: Cannot connect to 127.0.0.1. A connection cannot be made. Ensure that the server is running. (Microsoft.AnalysisServices.AdomdClient)

    DIME protocol error: The required bytes cannot be read from the stream. (Microsoft.AnalysisServices.AdomdClient)

    and when i tried connecting to Database engine using name 127.0.01 it gives an error msg saying:Cannot connect to 127.0.0.1.An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)

    Only database engine is getting connected to server when it is connected using name of the sql server, in any other cases it is giving error msgs, analysis services, reporting services, integration services... none are getting connected.

    |||

    Please see this page,

    http://support.microsoft.com/kb/912017

    Regards.

    |||

    hi! i have tried it, but still not working.

    i always get a msg when i try to connect analysis services to the server.

    TITLE: Connect to Server

    Cannot connect to *******-PC\SQLSERVER.


    ADDITIONAL INFORMATION:

    A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. (Microsoft.AnalysisServices.AdomdClient)

    No connection could be made because the target machine actively refused it (System)