Accessing SSAS via HTTP - iis

I have followed all the steps correctly present in
http://msdn.microsoft.com/en-us/library/gg492140.aspx
I am trying to connect to SSAS 2008 via IIS (HTTP). My SSAS is on Machine 1. My excel 2010 client is on Machine 2. I have enabled basic authentication for this. I am able to connect SSAS when I am using the credentials of 'System Administrator' of Machine 1 (on which SSAS is present). But if I am using any another user then I am able to connect to SSAS. Is this a limitation with IIS or SSAS? Please share your views, it's really urgent.

do you have roles defined in the SSAS database granting access to other users? if "system administrator" is a SSAS server admin, it won't need to be explicity granted access to the SSAS database via a role. But other users (who are not SSAS server admins) will need explicit access via a role defined in the particular SSAS database.

My problem is resolved. I don't know weather it's a correct solution or not. I have created few users on machine where SSAS is configured with IIS_IUSERS and now SSAS security is working as expected. Please confirm weather it's a right solution or not? Any comments ahd help is appreciated.
With regards,
Avinash Nigam

First of all you dont need to configure SSAS to be accessed through HTTP to connect to it from excel. Why are you doing that?
Second, the correct way to access a HTTP cube is http://YOUR_SERVER/olap/msmdpump.dll if you go to SSMS on machine 2 and inform that on the connection, does it work?
Third and more important, where is IIS? Same box than SSAS? If yes, fine! If no, you need to configure kerberos because you would be dealing with a double hop situation

Related

Either the user, 'IIS APPPOOL\App Name', does not have access to the 'SSAS Cube Name' database, or the database does not exist

1st - I deployed the cube to localhost using SSAS (SQL Server Analysis Services)
2nd - I verified the cube database exists using SSMS (SQL Server Management Studio) even tough the SSAS DB is not showing in SSMS
3rd - I tried to grant permission to my IIS APPPOOL following this answer
4th - I added a new connection in SSMS to Analysis Services in localhost server (instead of a connection to the database engine in the localhost server)
5th - I realized that the process for granting permissions is different for relational databases and multidimensional databases and the previous answer would not work, so I followed microsoft docs to grant cube or model permissions
6th - I tried finding some identifier of the IIS process to add in the role I created in step 5. I did not find any and have no idea what to do to grant access to the ISS process, so I went ahead and tried connecting to the cube database again without success.
7th - I tried changing the connection string to include password for the sa user of the database. Still no luck.
I am taking too long with this issue so decided to post question to stackoverflow while I continue my efforts to solve it. Thanks for any help/pointers to a solution.
Here is how I solved it:
1 - Connect to Analysis Services server where the multidimensional model is deployed.
2 - Databases->SSAS(*) Solution Name->Roles
3 - Grant cube or model permissions by creating a new role
4 - In membership, Add->Advanced. Click Find Now, select IUSR and IIS_IUSRS, click ok all the way. Note: Maybe only IIS_IUSRS is required.
*SQL Server Analysis Services

SSRS integration with SharePoint

I am working on a task where I need to run SSRS and SharePoint on different servers, but right now, SSRS is working in integrated mode. Is it possible to configure a remote SSRS instance in integrated mode with a sharepoint instance ?
I stand under correction, however, I believe you could use the SharePoint SSRS web-part component and as long as the user executing the request (Your service account on SharePoint) has access to the database it should work.
Ensure that the AD user that is running the SharePoint front-end has access to the database (read / execute) - can be added to a group that has access to the database, or
give the user exclusive access to the database <- not the recommended solution

infopath form in sharepoint can't lookup from SQL

I've made a simple form in infopath, that looks up information in SQL server.
Using the design tool, I can fill in the form and submit it. All info from SQL server is being retrieved.
The SQL server is used in many different scenario's and accessible through different means. In the first phase I'm using a read/write account to connect to the database.
When I publish it to sharepoint (2010), I get an error the first time the SQL data is being requested.
I get an error that refers to the windows error logs; but I do not have access to the sharepoint environment.
The sharepoint is installed in the same forest, it should be able to get a connection to our sql server.
are the BCS (business connectivity services) necessary for this kind of action?
are there any other reasons why this could fail?
If it's working on your machine in debug mode but not on the server I would check two settings:
Authentication settings as you might be getting a double hop problem.
Security on database, make sure the user has access to the database

How to create tables in windows azure?

I am new to windows azure.Can anyone please tell me the process of creating database and tables in windows azure and how to connect to that connection to application .we have windows azure account .please clarify my doubts.any of pdf books for deploying the rest wcf services in cloud let me know the links.
Thanks,
It is May 2014 and that Silverlight online tool just is not really much better.
Best approach is to use SSMS (SQL Server Management Studio) you can even use the free tools tool.
Connect to your Azure with the portal supplied server url / port ... and then your username /password.
Say you scripted out an existing database tables and want to execute that script, you have much more freedom and control with SSMS than online.
For table creation note that a few caveats, One that is common is that not all of T-SQL is supported and a typical script from another database table(s) you end up needed to strip off the two "ON [PRIMARY]" parts of the create statement
Click on the database server in the management portal. 1st thing you would do is manage the allowed IP Addresses which can access this server/database. Allow your local IP address there. After that you have 2 choices:
Use Sql Server Management Studio - It does not have the table editor and you would need to write T-SQL scripts manually.
Use Silverlight based database management utility - to access this, click on the Manage Url link as shown in the screenshot below.
Since you cannot have wizards for Adding/Editing tables, constraints or keys for Azure DB, even if you have connected it through MS SQL Server Management Studio, you can use RazorSQL for this purpose. It gives you a feeling like you are playing with your azure DB in management studio, same as you do with your normal DBs

Tips on setting up internet facing WSS 3.0 site without Active Directory

We're trying to setup an internet facing WSS 3.0 site without Active Directory. We have a single WFE and a single SQL Server (2005). The WFE will be outside our DMZ.
We've successfully created the Central Admin site with a local admin account on the WFE and a separate account on the SQL server for the database, but we're stuck on setting up the WSS search capability.
I couldn't seem to get things to work when using Central Admin to start the WSS Search service. I'm thinking I'll need to use stsadm -spsearch to set up the WSS search manually, rather than using the menus in Central Admin.
Does anyone have any tips and/or resources they recommend?
You want to setup your WSS3 site using Forms Based AUthentication, with an ASP.Net SQL Membership Provider and backend database.
Microsoft have a very nice guide on MSDN.
I followed this guide when attempting something similar. This explains how to allow forms based and AD authentication on the same site but you could just follow the parts that explain how to setup forms based.
This also includes changing the web.config file for central administration so that it can access the SQL database used to store users for forms based authentication.
It is very easy to follow.
We're looking for the same... rather we have a separate AD for our DMZ, however, for the extranet, would like to use it without AD accounts. May I ask what you've come up with so far?
Have seen posts talking about local machine accounts, but we do have 2 app servers and realize the maintenance involved to keep them in sync if we use local machine acounts. Swore I saw a 3rd party tool that would allow user's to be added into their own db and managed through their web-part/portal but can't seem to find it now.

Resources