Cube Deployment failed in BIDS - sql-server

So I've been doing a project at my university with BIDS and a database on their servers. I've managed to back up the database and put it on my local machine.
Problem right now is I've installed SQL Server 2008 + BIDS through SQL Server 2008 Express Edition. Now I've heard it doesn't include SQL Server Analysis Service, meaning I can't deploy the cube.
I've tried deploying the project on my home computer but it gives me the error.
Error 23 The project could not be deployed to the 'my computer
name\SQLEXPRESS' 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.
I've checked and SQL browser service is definitely running so I'm not sure what else to try. Is there any way for me to successfully deploy the cube?

I think its authentication issue for your current user connecting to SQLEXPRESS. Try using "Runas /user:[domain]\[user] "Path to BIDS" to run BIDS as privileged user and try windows authentication.

Related

Analysis Service connection issue

I'm new to SQL Server.
I downloaded
adventure-works-multidimensional-model-full-database-backup.zip
adventure-works-tabular-model-1200-full-database-backup.zip
from GitHub
I would like to restore this in SQL Management Studio Analysis Services, but to do this, I need to create an instance
According to Microsoft, I installed
1)MS SQL Server Management Studio 2)MS SQL Server Data Tools
How do I create Analysis Service Instance to log into so I can restore adventure-works-tabular-model-1200-full-database-backup > Adventure Works Internet Sales Tabular Sample Database > Adventure Works Internet Sales Database.abf
I searched and found this: Restore Instance of Analysis Service I downloaded the SQL Server Developer Edition, but I'm still not able to connect, the server name field is not auto-populating, I tried with localhost\SQLEXPRESS, but it's not working (and it works if I select "DB engine" from the drop-down list). The error says: "A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. (Microsoft.AnalysisServices.AdomdClient). Can't establish a connection to 127.0.0.1:2832(System)".
I checked, and the SQL Browser is running properly, set on "local system".
Might it be a firewall issue?
I can't upload any image, sorry.
Thanks in advance for your help.
How do I create Analysis Service Instance to log into so
You have to install it. You can download Developer Edition, and run the installer to add an Analysis Services instance in Tabular mode.

SSDT Connection error while connecting SQL Server

When I am trying to deploy cube project on SSDT I get the following errors:
[Severity Code Description Project File Line
Error: The project could not be deployed to the 'CAD_DB_RND2' server because of the following connectivity problems :
A connection cannot be made. Ensure that the server 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
I provide the correct server name, but I still get the same issue. How can I resolve this error?
First We should go in SQL Server Configuration Manager and check there
SQL Server Analysis Server and SQL Server Browser is running or not if it is
not running we cant start this services, in my case i did not installed SQL
Server Analysis Service I installed and again i started service now it is
working for me.

Publish an ASP.NET-MVC in MS server 2003

I made a WEB app using ASP.NET-MVC with a local SQL server database. I have a lot of issues while trying to publish it.
I want to publish the web app on a MS 2003 server. I have tried to do it with the Publish tool on Visual Studio 2012 but it doesn't work, I had this error : ERROR_DESTINATION_NOT_REACHABLE, I searched for some solutions on the internet and found this :
Diagnosis - Web Management Service or Remote Agent is not installed or
unreachable on the remote computer. Resolution - Verify that Remote
Agent Service or Web Management Service are started on the remote
computer, depending on which one you are connecting to. You can do a
"net start wmsvc & net start msdepsvc" on the remote computer to
ensure these services are started. Also, ensure that a firewall is not
interrupting communications with the destination.
I have tried to install the Remote agent service on the MS server but it doesn't show up in the services lists.
I have also tried to publish the app locally using IIS (instead of running the app with the play button on VS studio), I have followed some steps in a forum and publish the package, I had this error :
My files are structured like that :
Can anyone help, I am really stuck on this and I can't move on !
On the server I have :
Windows server 2003
IIS 6.0
SQL Express 2005
On the development machine :
Windows 7
Visual studio 2012
IIS 7.0
ASP.NET-MVC 4
Sql Server 2008
Any help is needed, thanks.
I have found the solution thanks to this post.
I had some problems with the assemblies so I did Just do Copy Local = true in the properties for the assembly(System.Web.Http.WebHost) and then did a redeploy, it works fine.

Visual Studio 2010 Shell cannot connect to SQL Server 2012

I installed VS2013, VS2010 Shell (for the BI-Tools) and SQL Server 2012 on Windows 8.1 Pro. I configured the SQL Server and attached the AdventureWork2012 database successfully.
I created datasource > dataview > cube from the db above.
However, I got an error saying
"The project could not be deployed to the 'XX\DBT2' 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..."
I've checked the SQL Server and SQL Server Browser and both are running. (checked from SQL Server Configuration Manger)
I also checked the db connection I set up on the VB project. It said Test connection succeeded.
I think I missing some user permission thing but not sure which one is it so here is a little more info about the user right. The user I am using is the account that setup with the windows installation. I also followed some other article online that they said added a few more admin right (user, group) will solve this issue which it didn't for this case.
I also go into the SQL Server Management Studio and check the database permission. And the user right as well but I can't seem to find any problem.

SQLBrowser not working

Let me explain my situation. So I installed a trial of SQL Server 2008. The trial ran out and I tried to go back the SQL Express install I had been use for 5 months with out an issue. I uninstall the features of Server 2008 and try to install SSMSE. I use SSMSE to change a password. I then get error 26 and trouble shoot. It turns out that SQLBrowser service for this database does not show up. I try creating a new db and I can't start the SQLBrowser for that database. I can access the database locally and run queries on it. I know that you need to start SQLBrowser for SQL Express, I can't do this if there is no service to for the setting to change or on the SQLBrowser that is there I can't start it. So what did I due to SQLBrowser and how do I fix?
Within express is not enabled by default:
Open the SQL Server Surface Area Configuration. On the SQL Server Surface Area Configuration page, click Surface Area Configuration for Services and Connections. then click SQL Server Browser, click Automatic for Startup type, and then click Apply.
Now the service starts automatically every time that you start Microsoft Windows.

Resources