Adventure Works Deployment Issue in SQL Server Analysis Services

Errors while deploying the AdventureWorksDW2008R2 database:

Not sure, why microsoft made this deployement too complex. Anyway, i've started deploying my database into my server.
Got the database from the path,


Error 2 OLE DB error: OLE DB or ODBC error: Login timeout expired; HYT00; A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.; 08001; Named Pipes Provider: Could not open a connection to SQL Server [2]. ; 08001. 0 0

Error 3 Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Adventure Works DW', Name of 'Adventure Works DW'. 0 0

Solutions

The solution file for deploying your database is located in the below path,

C:\Program Files\Microsoft SQL Server\100\Tools\Samples\AdventureWorks 2008R2 Analysis Services Project
 
Do the below checks,
  1.    Right click on the project -> Properties -> Deployment -> Give the ServerName and Instance Name properly.
  2.    Open the application under administrator. So that, you won't face any deployment issue.
  3.    Double click on the Adventure Works.ds (DataSource)- > In connection string, click "Edit" -> Give the Servername and instance name properly and "Test" the connection properly.
  4.   Try checking your Analysis services by logging through SSMS.
That's it, your deployment is successful.

      1 (2).jpg