Database doesn't show when creating a data source for Performance Point Dashboard Designer - performancepoint

I have a sharepoint server set up, the dashboard runs great, my data sources are great. I'm trying to add a new data source from a different SSAS machine, and it won't even list it in the database dropdown when I type in my server.
Went thru this with the initial ssas machine and got it to work, and from everything I can see, the new machine is set up the same way. Is there something I need to set in the cube for it to be visible? This is an instance of creating a copy of the original cube and hosting it on a new machine. I type in the name of the server, and where it should list the cubes in the database dropdown, it's empty. If I change the authentication to Per-user Identity, it tells me it was unable to connect to the machine, verify that the servername is correct and yuo have permission to connect to the server. I believe Kerberos delegation is set up, I think I'm just missing something simple with the cube.
Any help would be much appreciated.

http://blogs.msdn.com/b/performancepoint/archive/2012/09/11/specifying-your-adomd-net-data-provider-version.aspx
navigate to \Program Files\Microsoft Office Servers\15.0\WebServices\PpsMonitoringServer. Open the web.config file. It should be located in the same directory as PerformancePointService.svc. At the very bottom of the file, you should see an block contained within a block, like this:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.AnalysisServices.AdomdClient" publicKeyToken="89845dcd8080cc91" culture="neutral" />
<bindingRedirect oldVersion="9.0.0.0" newVersion="10.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
Change the values in the element from oldVersion="9.0.0.0" to oldVersion=10.0.0.0" and from newVersion="10.0.0.0" to newVersion="11.0.0.0".

It sounds to me like a permissions problem. To verify, you can open your database up to everyone and see if PerformancePoint can connect. If it sees it now, it should be a simple matter of granting permissions to the correct account.
If this is SharePoint 2010, you need to make sure that the unattended service account used for the PerformancePoint service has permission to the cube.

Related

Web.config file error: Unable to access SQL database with Azure mobile services

I'm working with a Xamarin.iOS app.I imported a database from one subscription to another in the Azure portal. I then opened up the Web Deploy.pubxml file and updated the Destination Path to point to the new server and new database.
I haven't updated anything in the web.config file. When I try to log into my app, I get the following error in the logs:
IIS Detailed Error - 500.0 - Internal Server Error
IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly
The authenticated user does not have permission to use this DLL
The connectionString is still pointing to the old data in the web.config file. Does this need to change? If yes, where do I retrieve the new connectionString from?
After a little more debugging, I realized that there were some missing assemblies being referenced in the web.config file. The package was missing from the project, yet it was still being referenced in the web.config file.
This library was missing:
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
So I added the System.Web.Mvc library to the project and that updated the web.config file.

Best practice regarding Azure DocumentDB auth key?

With most Azure services I can run an emulator on my local machine, for example the storage emulator. This allows me to store the credentials to my real azure storage account as an app setting on my azure web site. And locally I have the credentials to the emulator in my web.config.
But how to achieve the same kind of security with Azure DocumentDB? I would prefer not to store the credentials in my local web.config, but at the same time I need to be able to run the application locally when developing. As I understand there is no emulator for the DocumentDB? And the endpoint and auth key is the same for all DocumentDB's I create?
So, to sum up my question, what is the best practice to handle the auth key / end point when developing and using Azure DocumentDB?
You are doing the right thing by storing your connection strings in your Azure Website environment so they are not in your web.config and therefore not in your source control system. And your local development process works well for you only because you are using the emulator which doesn't require any credentials. That is not always going to be the case though as you pointed out with Document DB and potentially with other resources you may be using to store data.
The guidance for storing and deploying app settings and connection strings is to keep those in separate config files locally that are never checked into your source control system. Then, in your web.config file, reference these files. This keeps the confidential information out of your web.config.
For example, for connection strings it would be something like this:
<connectionStrings configSource="ConnectionStrings.config">
</connectionStrings>
For app settings it would be something like this:
<appSettings file="..\..\AppSettingsSecrets.config">
<add key="webpages:Version" value="3.0.0.0" />
<add key="webpages:Enabled" value="false" />
...
</appSettings>
More information on this technique is available here.
Another alternative is to store the key as an environment variable and get your code to read it.
On another note, your development environment should have a separate docdb, one that is not your production environment. Since docdb does not offer an emulator and no free-tier, this leads to higher costs for development.

Why Dashboard Designer In SharePoint 2013 Can Not Load SSAS Database For Create New SSAS Datasource?

I use SharePoint 2013 and SQL Server 2012 SP1 Update 8
I Config Performance Point Service and Excel Service and .... in my Share Point.
When I want create a new SSAS DataSource in Performance Point, List of SSAS Database is empty!
I install SharePoint and SQL Server 2012 SP1 in the same server.
I Can connect to my SSAS in Multidimensional Mode.
:
this is properties of my Multidimensional Database
This Configuration of SSS In SharePoint
This is configuration of Performance Point Service :
And finally when I want create a new Data Source in Dashboard Designer , list of database of ssas is empty?!?
I see this link Cannot create SSAS Data Source in PPS Dashboard Designer and then i verify and install ADOMD in my server and restart my server but until it not work.?!?
Note : I run Power Pivot Service and Excel Services in my Sharepoint and those services work.
I fond my problem and fix it .
This is source of answer : Database doesn't show when creating a data source for Performance Point Dashboard Designer
As Krishna N say :
I fix it with edit Web.config in this path
\Program Files\Microsoft Office Servers\15.0\WebServices\PpsMonitoringServer
and in below block :
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.AnalysisServices.AdomdClient"
publicKeyToken="89845dcd8080cc91" culture="neutral" />
<bindingRedirect oldVersion="9.0.0.0" newVersion="10.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
I change oldVersion="9.0.0.0" newVersion="10.0.0.0" to oldVersion="10.0.0.0" newVersion="11.0.0.0" .
In my case this was the source of the problem:
The PerformancePoint Services Unattended Service Account is not set. The setting is located in "Manage service applications" in SharePoint Central Administration under the PerformancePoint Services management page.

Credentials rejected by remote desktop to Windows Azure Web Role

I have created a Cloud project on VS 2012 with .net 4.5. This consists of two web roles, an API and an front end website.
I have followed the instructions here: http://msdn.microsoft.com/en-gb/library/windowsazure/gg443832.aspx in order to set up remote desktop, and deployed the service.
When I try to connect (I have double and triple checked the credentials), I get told that 'The credentials that were used to connect to did not work. Please enter new credentials.
My web roles are both operational, and I can visit them both in the browser.
I have tried waiting a while after deploying for changes to propagate, but this makes no difference. The only thing I can think of is that I have not done anything with certificates as of yet other than download the appropriate bits in order to deploy from visual studio. I can't find any documentation that says I need to though.
I have also tried out adding various domains to the username but nothing works.
Am I missing something, or is there a chance that there is a bug with azure at the moment?
EDIT: Have now tried deleting the cloud project from visual studio, deleting the cloud service in azure and redeploying with only a single web role. Still seeing the problem.
Just checking for completeness,
Did you use the button on the website for your first access?
http://blogs.msdn.com/b/avkashchauhan/archive/2011/04/03/how-to-login-into-windows-azure-virtual-machine-using-remote-desktop.aspx
On the other hand, this is the link that worked for us, it includes how to set up the cert needed too.
http://geekswithblogs.net/MagnusKarlsson/archive/2012/12/03/connect-to-running-web-role-from-remote-desktop-connection-and.aspx
I fixed this by removing the <Import moduleName="RemoteAccess" /> and <Import moduleName="RemoteForwarder" /> lines from the .csdef then removing all references to Microsoft.WindowsAzure.Plugins.RemoteAccess and Microsoft.WindowsAzure.Plugins.RemoteForwarder within the .cscfg files. I then was able to deploy and enable remote desktop access from the newer Azure portal.
After adding users to the Azure Active Directory Domain, (e.g. smith#mydomain.onmicorosft.com), I tried logging in as one of those users, but got "Your credentials did not work." After some trial and error, I found that I had to add the users (e.g. smith) as local users on the VMs. Once I did that, and assigned, passwords, the users could RDP in.

Multiple instances of site in one webrole with different web.config

I would like to deploy my MVC3 app to Azure using multiple physical sites of the same app.
It's great that I can use the sites element in ServiceDefinition.csdef to do this.
But I want each of the sites to connect to a different database. The connection string is in the web.config. Is there an easy way to do this, besides logging into the vm and changing it by hand?
You could register a startup task to go and modify/move the web.config files when the VM starts up. It's a bit messy, but cleaner than doing it by hand!
http://msdn.microsoft.com/en-us/library/windowsazure/gg456327.aspx
[Answer to your comment] - With Windows Azure (actually with any PaaS solution) The first rule of thumb is that when the role starts all the configuration should be ready and the second rule of thumbs is that nothing should be done in VM through RDP access, because changes will not persist. Due to this required configuration either deployed in Azure Package or modified directly from start up task.
[Answer to your question]
In Windows Azure you can run multiple sites within one Web Role however they all should share the same main web.config because multiple sites are running within one Web Role. Here is how you can do it:
http://msdn.microsoft.com/en-us/library/windowsazure/gg433110.aspx
Now as your requirement is to have multiple databases, so in your web.config you can add multiple database connection string as below:
$
<ConnectionString>
<Add name="DB1" connectionString="Data Source=DS1.........."/>
<Add name="DB2" connectionString="Data Source=DS2.........."/>
</ConnectionString>
once you have above, in your ASP.NET code you can enumerate these connection strings and use with specific sites as described in the given example:
http://www.dotnetspark.com/kb/780-how-to-use-multiple-database-connection.aspx
Finally, you can add multiple sites with your web role during development and can also have specific DB connection specified in web.config so I dont think there is any need to use startup task at all or do something in VM, unless i am missing something here.

Resources