SSAS outages

Hello,
Can anyone provide any feedback or recommendations issues related to SSAS outages resulting in a bug related to proactive caching?  Below is information on the issues we are having. 
BPC 7.5 sp3.5
SQL 2008 sp2 - analyis services is on a multi-node cluster with 64G of
RAM and 8 CPUs
On 3/19 sp2 was applied to SQL 2008. SP2 was in our test environment
for 4 months prior to being applied to production. We did experience
some system outages in our BPC test environment during this time.
On 3/21 the first outage occured in production.
On 3/22 we upgraded from BPC v7.0 to BPC v7.5 sp3. Between 3/22-3/24 we
added a 2nd hierarchy to the account dimension and added a new script
logic. Our entity dimension has 4 hierarchies that have
been utilized for over a year without any peformance issues.
On 3/30 we applied patch 5 to BPC 7.5 sp3 for Xcelsius integration.
The week of 3/21, production consistently went down 2-3 times a day for
an entire week. To bring the server back up, the DBA would resart
SSAS. For 2 weeks, we were not aware of any system outages but on 4/1
the outages began consistently occurring 2-3 times a day for another
week. Per Microsoft's recommendation, proactive caching was turned off
on SSAS. Since proactive caching was turned off, no system outages
have occurred but performance has drasticaly decreased.
Microsoft has advised that there is a bug that is causing the system
outages assocated with the proactive caching with large queries (see
response and attached query from Microsoft).
system outages occurred inconsistently, performance issues occur
inconsitently.
Workaround for system outages is to disable proactive caching.
No workaround for peformance issues. 
Thank you,
Ricki

You have a couple of options:
If you don't need dimension security and you are running IIS 6, you can setup your application pool to run under a domain account and give that account access to the relevant olap objects for you asp.net pages. If you are running IIS 5 or earlier
If you are not worried about setting up any security in SSAS, you can set SSAS to allow anonymous connections.
If you need to get dimensional/cell level type security you will need to set up Kerberos and you will need to set the Identity tag to Impersonate=true in your web.config. The following article might get you started on Kerberos and SSAS: http://sqljunkies.com/WebLog/mosha/archive/2005/01/25/6905.aspx
Cheers
Darren
http://geekswithblogs.net/darrengosbell

Similar Messages

  • SSAS SSRS Report Action on Cell Value w/ Embedded Single Quote Not Executing

    I have configured an SSAS 2008 R2 cube SSRS ReportAction. I'm having problems when the member value for a cell has an embedded single quote, e.g. abc's. The action displays on the context menu appropriately, but when I click on the action, nothing happens.
    For member values that do not have the single quote, the action works as designed. I've added a calculated ember to escape the embedded single quote by adding another single quote, e.g. abc''s, with no luck. Is there a resolution or workaround for this?

    Hi Mdccuber,
    According to your description, you create a reporting action in you cube, and it works fine except the members that have embedded single quote, right? In your scenario, it seems that you pass this value to the report as the parameter.
    In SQL Server Analysis Services (SSAS), when pass values to a report, multi-select parameters have to be placed into IN statement and SQL Server Reporting Services (SSRS) will do single-quote wrapping for string values automatically. In this case, the original
    value that have embedded single quote will be damaged. So this action not work. You can submit a feedback at
    http://connect.microsoft.com/SQLServer/Feedback and hope it is resolved in the next release of service pack or product.
    Regards,
    Charlie Liao
    TechNet Community Support

  • SSRS Date parameter - current month from SSAS cube

    I have a SSAS cube with a date dimension called Posting Period and now I would like to have my report parameter using this date dimension to show the current month.
    So far I have worked out the following expression which are working(Fiscal year calendar going from May to May) for the year component - but I can't figure out how to get it to work on Quarter date part (and the month) so as you can see
    the Quarter and month is hardcoded in the below expression:
    ="[PostingPeriod].[Posting Period].[Year].&[" + CStr(Year(Today())-1) + "].&[Q4].&[10]”
    Any help would be appriciated.
    Tx

    Hi HCMJ,
    In your scenario, you use the expression
    ="[PostingPeriod].[Posting Period].[Year].&[" + CStr(Year(Today())-1) + "].&[Q4].&[10]”
    to set the default value of the parameter and then use it in the MDX query, right?
    If in this case, you can use the expression below
    ="[PostingPeriod].[Posting Period].[Year].&[2013].&[Q" & DatePart(DateInterval.Quarter,today()) & "].&[10]”
    to set the value on Quarter date part.
    And it returns:
    If I have anything misunderstood, please point it out and elaborate the meaning of "but I can't figure out how to get it to work on Quarter date part (and the month) so as you can see the Quarter and month is hardcoded
    ", so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • SSRS Expression Current month in a Fiscal calendar dimension from a SSAS cube

    How to create an expression for a default SSRS parameter to a SSAS cube when using i Fiscal Year calendar - and where I want to show current Calendar month and year (for example February 2014) 
    This is an example of my Time dimension for February 2014:
    [Time].[FiscalYMD].[Fiscal_Year].&[2013].&[10]
    The fiscal calendar goes from May - May - which means that April 2014
    would look like this:
    [Time].[FiscalYMD].[Fiscal_Year].&[2013].&[12]
    and May 2014 would look like this:
    [Time].[FiscalYMD].[Fiscal_Year].&[2014].&[01]
    Please advise

    Hi HCMJ,
    To represent the fiscal calendar, you shift the current date by 4 months back. Then you can do:
    ="[Time].[FiscalYMD].[Fiscal_Year].&[" & Year( DateAdd( "m", -4, Today() ) ) & "].&[" & Month( DateAdd( "m", -4, Today() ) ) & "]"
    It just gets the year and month of '4 months ago'. I have not tested it, but I guess it should work.
    Regards
    Andrew Borg Cardona

  • Script task error during the creation of partition by reading a table and using AMO - SSAS 2012

    Hi,
    I need to create SSAS (tabular) and process partitions in an authomatic manner. Moreover, the partitioning is respect to a category, an year and a month.
    Category, year and month are resident on a table to read to create the SSAS partitions.
    So, in a SSIS pkg:
    a. I've created a data flow task to read the SQL Server table having category, year and month data,
    b. I've connected the output of the ole db source as the input for a recordset destination, associated to an object variable,
    c. I've used a for each loop container (ado enumerator) specifying the object variable and three variables, for category, year and month,
    d. inside the for each loop container I've created a script task using AMO (visual basic) to control for any existing partitions, if not presents to create the new ones and then to process them.
    For the first iteration, a new partition has been created and processed successfully, but then, for other category, year and month values the script task fails. I've controlled the code many times and I've tried to put returning messageboxes but I've found
    anything. The error is a generic one and no other info are returned.
    Well, any suggests to me in order to solve this issue, please?
    Many thanks

    Hi, thanks, I've solved adding to the code end the SSAS server connection termination.
    Bye

  • How to capture the SSAS server response to an XMLA command issued in VB Script

    Hi all,
    I have an SSIS package that contains a VB script task that sends XMLA commands to my SSAS server.  (I am using a script task and not the DDL task because there is lengthy logic required to build the XMLA command and send it to the appropriate
    server.)
    The problem I have is that while I have been able execute the XMLA command against the SSAS server, I am not able to capture the full response from the server.  Warnings are not being captured and other data is missing.  My code currently is as
    follows:
    Dim cn As New AdomdClient.AdomdConnection
    Dim cmd As New AdomdClient.AdomdCommand
    Dim returnValue As Object
    cn.ConnectionString = "Data Source=MyServer;Initial Catalog=MyDB;Provider=MSOLAP.5;Integrated Security=SSPI;"
    cn.Open()
    cmd.Connection = cn
    cmd.CommandText = fileReader
    On Error Resume Next
    returnValue = cmd.Execute()
    MsgBox(Err.Description)
    cn.Close()
    Note that "fileReader" is the string containing the XMLA command.
    If the xmla processes a dimension, and there are duplicate keys (for which it is set to error and stop), Management Studio give the response shown below, which includes the warning indicating there are duplicate keys:
    <return xmlns="urn:schemas-microsoft-com:xml-analysis">
    <results xmlns="http://schemas.microsoft.com/analysisservices/2003/xmla-multipleresults">
    <root xmlns="urn:schemas-microsoft-com:xml-analysis:empty">
    <Exception xmlns="urn:schemas-microsoft-com:xml-analysis:exception" />
    <Messages xmlns="urn:schemas-microsoft-com:xml-analysis:exception">
    <Warning WarningCode="1092550658" Description="Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'MyDim', Column: 'MyCol', Value: 'XYZ'. The attribute is 'MyAttr'." Source="Microsoft SQL Server 2012 Analysis Services" HelpFile="" />
    <Error ErrorCode="3238002695" Description="Internal error: The operation terminated unsuccessfully." Source="Microsoft SQL Server 2012 Analysis Services" HelpFile="" />
    However, in the VB script it captured in Err.description just some of the error: "Errors in the OLAP storage engine: An error occurred while the "MyAttr" attribute of the "MyDim" was being processed".
    Is there anyway to capture in the VB Script the full XML error as it appears in Management Studio?
    Help would be much appreciated!
    Thanks
    Guy

    Another method for executing XMLA is using Microsoft.AnalysisServices.Xmla;
    C# code will look like below:
    using Microsoft.AnalysisServices.Xmla;
      XmlaClient clnt = new XmlaClient();
                      string strOut = "", strMsg="";
                      string strXmla = File.ReadAllText(strXmlaFileName);
      clnt.Connect(strServer);
                      clnt.Execute(strXmla, "", out strOut, false, true);
                      clnt.Disconnect();
                      //check status
                      //Create the XmlDocument.
                      XmlDocument doc = new XmlDocument();
                      doc.LoadXml(strOut);
                      //display Error
                      XmlNodeList elemList = doc.GetElementsByTagName("Error");
                      for (int i = 0; i < elemList.Count; i++)
                          Console.WriteLine(elemList[i].Attributes["Description"].Value);
                          strMsg += elemList[i].Attributes["Description"].Value + "\r\n" ;
                          ++intExitCode;
                      //display warnings
                      elemList = doc.GetElementsByTagName("Warning");
                      for (int i = 0; i < elemList.Count; i++)
                          Console.WriteLine("Warning:" + elemList[i].Attributes["Description"].Value);
                          strMsg += elemList[i].Attributes["Description"].Value + "\r\n" ;
    Hope this helps.
    Arun

  • Voyager SSAS 2005 SSO connection

    Hi,
    We are using BO Xi 3.1 and we have sso is configured for Infoview, now we are trying to configure SSO till database for Voyager (SSAS 2005), and we receieved the error message, We made change in the krb5.ini file with an entry of "forwardable = true", as well as on SSAS server, made changes for service account like spn entry and delegation for the service account but still no luck.
    Here are couple of things we observed:
    1) When i gave windows username and password in CMC for cube and create voyager reprot it works fine.
    2) When i use SSO then it failed with error saying " An Error has occured while attempting to connect to the OLAP Server. Failed to Intialize (The component for microsoft OLE DB Provider for analysis service 2008. returned the server error (an error has encounter in transport layer; The peer prematuarly closed the connection)
    3) I login to sql profiler to see the credentails it passes but when i try to create voyager with SSO it doesn't passes the windows credentails instead it passes "anonymous" login.
    I opened the tech support ticket but i didn't getting much help from them.
    Thanks for the help in advance.

    Hello,
    Sorry for my English.
    Can you send the SETSPN commands you ran?
    The Voyager connections, the server name you have put in capital letters and the domain name in full format?
    Sorry.

  • Brief random network outages

    Hi
    We have a networking issue that I hope someone may be able to help me with.
    We run a Windows domain - single domain, single subnet. Three domain controllers: Windows 2012 R2 Standard, Windows 2008 Standard (32bit) and Windows Server 2003 Standard. The Win 2008 DC holds all the FSMO roles. DNS is setup on the 2008 and 2012 DC's
    with the 2008 DC having a secondary DNS server installation. DHCP is setup on the 2008 DC. The 2003 server only functions as a DC - no roles apart from that are installed and it will be demoted very soon.
    Two member servers: Windows Storage Server 2008 (64bit) and Windows 2012 Standard. The Storage server hosts 99% of our data with the other 1% being on the 2008 DC. Two email server software installations (not Exchange) - one on the storage server and one
    on the 2012 R2 member server. NPS Routing and Remote Access is configured on the 2012 member server to handle VPN connections.
    35 client PC's: 34 run Windows 7 and one runs Vista.
    We have two Draytek routers on the network - one acts as the gateway to the Internet and the other provides wireless coverage. There are two networked printers - a Ricoh MFD 'workgroup' printer and a small mono Brother.
    Network shares are accessed via DFS. The Servers, the Ricoh printer and routers have static IP's, most of the clients and the Brother printer use DHCP.
    All cables terminate at one of two patch panels which then feed to one or more switches. Small desktop switches are used to expand the network where needed. The network is divided into two segments, hence two patch panels, but both run under the same 192.168.0.xxx/255.255.255.0
    subnet.
    Before we upgraded all our computers to Windows 7 the network was fine. The present network was built using CAT5 cabling in 2004 (we'd used BNC before that). We rarely had any network issues and when we did it would affect all clients. When
    I first introduced Windows 7 it was on three PC's and one or more of them would randomly have problems accessing the network and Internet.
    When I upgraded all our machines to Windows 7 we are seeing one or more machines experiencing network problems most days.
    What happens is the (any) computer will suddenly stop - Applications accessing files across the network e.g. email and Access will hang and report as (not responding) and the 'busy' cursor appears. Try and save an office document and the busy cursor appears
    and the application hangs. The Start menu is not accessible - for example I always have my Taskbar hidden and when this happens on my machine moving the mouse to the bottom of the screen does nothing, the Taskbar stays hidden. Sometimes, the Taskbar may
    appear, but nothing happens when the Start button is clicked. When trying to access shared folders via Computer the green bar slowly moves through the Address Bar and after a while it reports the share is not accessible. The affected computers are also unable
    to open any web pages.
    The hang will last for anything from 20 secs to a minute or more after which the computer will continue operating normally. On very rare ocassions the the computer will not recover after 10mins or more and I have to force a shutdown but I assume this is
    not directly related to the issues I am seeing.
    The short outages are completely random and leave no trace of a problem in the System or Application Logs. When a machine does not recover (which is very rare) the System Log reports that a DNS server could not be reached.
    This will happen on a single PC and others will be fine. But, it may affect several PC's over the course of a day.
    When the outage happens I can Winkey+R, open cmd.exe and successfully ping the DNS servers by IP and name.
    All the systems are up to date. I ensure that Windows Updates are installed on the Servers when they are released and the clients are updated the next day via WSUS.
    I am pretty sure that this is also affecting Active Directory. I am seeing transient errors on the Domain Controllers where, for example, a Global Catalog can not be contacted. Both DC's are GC's and when I run nltest to test the connection to a GC within
    30 minutes of the error being reported the test passes. I assume the servers are also experiencing these random outages.
    The problem I have is that because they are random and because, on the clients at least, no errors are logged I cannot reproduce the problem and have no idea what may be causing the issue.
    The problem is not a general network issue as it randomly affects one client at a time - if was a general network problem I would expect all the clients to lose connectivity.
    Has anyone else seen a similar issue and know what the cause was, please?
    Thanks

    how old is the server?
    How old is your network switches?
    Any computer or server with NIC or network switches going south, may cause the intermittent issue.
    They may flood the network with packets thus hang the system.
    Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    IT Stuff Quick Bytes

  • Ssrs report from ssas cube , driving me nuts now...

    hi folks:
     This is driving me nuts and I know it's gonna be some small stupid settings.  The question is pretty simple, I want to users to be able to pick up a week from date hierarchy. If I specify a static week, mdx query will run and report shows with
    correct data and format. 
    Now, in the dataset I've created using query designer, I've dragged data hierarchy into the filter and check the parameter box and also put a default value as well.   Technically, when I run this report, I am supposed to see a dropdown list with all
    the available dates but I did not see any dropdownlist and report still runs with default value. 
     Why is this happening? 
    Thanks
     Hui
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    Hi Hui,
    Just as Gnanadurai said, a report auto runs when all parameters has their own default values. This scenario can also be occurred when there are no available values for the parameters. So if you want to see a drop-down list with all available dates when the
    report runs, we should specify some available values for the parameter. For example, we can specify the available values come from a dataset field. Then the values in the field would be displayed in the drop-down list, we can select some of them to filter
    the report.
    Reference:
    Adding Parameters to Select Multiple Values in a List (SSRS)
    Hope this helps.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Microsoft TechNet Wiki SSAS Guru - Winners for November!!

    The results for November's
    TechNet Guru competition have been posted!
    Sorry for the delay copying over to the forums, busy times indeed!
    http://blogs.technet.com/b/wikininjas/archive/2013/12/16/technet-guru-awards-november-2013.aspx
    Congratulations to all our new Gurus for November!
    We will be interviewing some of the winners and highlighting their achievements, as the month unfolds.
    Post your DECEMBER contributions here:
    http://social.technet.microsoft.com/wiki/contents/articles/21343.technet-guru-contributions-for-december.aspx
    Read all about December's competition in the stickied post, at the top of this forum.
    Below is a summary of the medal winners for  November. The last column being a few of the comments from the judges.
    Unfortunately, runners up and their judge feedback comments had to be trimmed from THIS post, to fit into the forum's 60,000 character limit, however
    the full version is available on TechNet Wiki.
    Some articles only just missed out, so we may be returning to discuss those too, in future blogs.
     BizTalk Technical Guru - November 2013  
    Steef-Jan Wiggers
    Windows Azure BizTalk Services EAI Bridges – Diagnostics
    Mandi Ohlinger: "Anyone and everyone who's using BizTalk Services needs this topic. Well done!"
    TGN: "WABS, I LOVE YOU! and I love this article! well described and a bunch of good images to help the explaination! Great work Steef-Jan!"
    Ed Price: "I love the large and thorough Introduction section!" 
    Suleiman Shakhtour
    BizTalk Server: How to Extract Email Attachments By Pipeline
    Mandi Ohlinger: "A great solution to a common problem. We need more of these. Thank you for the source code links!"
    Ed Price: "This is a fantastic topic! Thanks for this great contribution!" 
    Tomasso Groenendijk
    How to use Business Rules in the ESB Toolkit and test them with the BRE TestTool
    Ed Price: "Great use of images to clearly express each step. Congratulations Tomasso, in winning your first Guru medal!" 
     SharePoint 2010 / 2013 Technical Guru - November 2013  
    Brandon Atkinson
    Use the XML Viewer Web Part, HTML, and JavaScript to Build Custom Web Parts
    TVG: "No full-trust solutions, brilliant. But make sure that the injected JavaScript never impacts the functionalities on the page."
    GO: "Excellent article! The GOLD medal winner for me! This article is well written with small images and a very fluent english. You'll read and understand every word. Technical but for each level. An excellent resource for the SharePoint
    Community! Thanks Brandon! "
    Craig Lussier: "Fantastic article. Superb walk through with commentary, images and code. Well done!" 
    Matthew Yarlett
    A Complete Guide to Getting and Setting Fields using PowerShell
    Jinchun Chen: "It is really a good article for getting start on using field in PowerShell."
    Craig Lussier: "Excellent reference with high reuse value. Great work Matthew!"
    GO: "Powershell, Powershell and again Powershell. The message here is clear. Everything is possible with Powershell. This article deserves absolutly a medal."
    TVG: "Excellent! I would create a PowerShell command library so that I can simply download this script from this page and reuse it directly with the correct parameters.."
    Benoit Jester - MTFC
    SharePoint 2013: Search - User Segmentation
    Jinchun Chen: "Nice article."
    TVG: "Very interesting!"
    Ed Price: "Benoit does a great job telling the story through images. It was an incredibly competitive month for SharePoint. We also need to mention Steven Andrews' amazing Deep Zoom Image article."
    Craig Lussier: "Highly detailed and insightful walk through of this new SharePoint 2013 search feature. Great article!"
    GO: "Again a great article from Benoit. Well Done!"
     Small Basic Technical Guru - November 2013  
    litdev
    Dynamic Graphics
    Ed Price: "Incredibly detailed. A fantastic resource to keep coming back to! From the comments: "Wanted to say WOW - this is great!" and "Awesome. Thanks""
    Nonki Takahashi
    How to Make a Check Box
    Ed Price: "Well formatted and in-depth how-to article! Great job!"
    Joe Dwyer
    Why Small Basic is a great programming language for beginners
    Ed Price: "A well-articulated value statement for Small Basic! Thanks, Joe!"
     SQL BI and Power BI (SSAS, SSIS, SSRS, Power Pivot) Technical Guru - November 2013  
    johnsom
    How to add JPEG and PNG report export when SSRS 2012 is integrated with SP 2013
    Jinchun Chen: "Good sharing."
    Ed Price: "Although this article could benefit from improved formatting, formatting on the code, and an image... the clarity and quality of the topic are what earns this article a prominent placing. Johnsom earns his first medal!"
    Tim Pacl
    SSRS: Converting Between Tablix Controls (Matrix, Table List)
    Ed Price: "Tim proves consistency with another fantastic article that is very thorough! We have a strong showing from SSRS in the BI category for November!" 
    Michael Amadi
    Calculating the % difference between the same measure evaluated in two
    user selected contexts
    Ed Price: "Michael earns his first Guru medal and gives us a Power Pivot article for BI! Great use of images and code!" 
     Transact-SQL Technical Guru - November 2013  
    Naomi  N
    T-SQL: Create Report for Last 10 Years of Data
    Richard Mueller: "Excellent article solving a common problem."
    Ed Price: "Good details in the Solutions section!"
    Samuel Lester: "Handy code and very slick solution!"
    Ronen Ariely
    Random String
    Samuel Lester: "Great comparison and VERY useful information in the application testing space as you mentioned."
    Ed Price: "Great detail and depth!"
    Richard Mueller: "I disagree with several statements in the article. For example GUID values will be random." 
    Saeid Hasani
    Simplified CASE expression
    Ed Price: "Incredibly clear and detailed explanations. Great job taking Carsten's advice (in the comments) and giving it good code formatting. It helps a lot!"
    Samuel Lester: "Extremely thorough and a great read! Good addition!" 
     Visual Basic Technical Guru - November 2013  
    Reed Kimble
    Generate Color Sequences using a RGB Color Cube in VB.Net
    Richard Mueller: "I love the color cube. Very well explained."
    MR: "Great article and well written."
    SB: "Article has narrative and text and shows concept well"
    Ed Price: "Once again, Reed delivers an astonishingly thorough article that's easy to read and understand. Great topic!"
    .paul.
    Shapes - Areas + Volumes
    SB: "This had narrative, code and practical usage for beginners to VB. THis would get people going quickly using VB and I can see it being useful for beginners to VB."
    Ed Price: ".paul. earns his first Gold Guru medal! The code could be formatted better, but as SB mentions, this is very informative and the perfect article for a new coder! Could benefit from a TOC and headers."
    Richard Mueller: "Good explanation. I would like to have seen the missing classes without downloading the source code."
    MR: "Good example of OOP. Maybe include a GetArea returning a Double as well?"
     Visual C# Technical Guru - November 2013  
    Jaliya Udagedara
    Thread.Sleep vs. Task.Delay
    NN: "Short and swift and very informative article. I like all articles by Jaliya and this is no exception"
    Ed Price: "Great formatting with thorough explanations!" 
    Deeptendra
    Difference between Static Class, Sealed Class and Abstract Class in C#
    NN: "This article explains some basic C# concepts, but it will be much better if it would provide examples"
    Ed Price: "Good comparison for starters, but it could go deeper on each class." 
    Muralidharan Deenathayalan
    Learn about Class,Object and Constructors
    NN: "Good and simple article that is helpful for C# beginners"
    Ed Price: "As NN mentions above, this is a good article for new coders. As Carsten mentions in the comments, it would benefit from better code formatting."
     Windows Phone and Windows Store Apps Technical Guru - November 2013  
    mcosmin
    Various Media Objects for Windows Phone and Their Roles
    RC: "A few interesting additions to the Media for
    Windows Phone docs. For completeness it should also address how Media Foundation fits in. Also please update the MediaElement link to point at Windows Phone docs rather than Silverlight."
    Ed Price: "Great explanations of the classes! This article could benefit from a TOC."
    AN: A good article, and useful subject!
     Windows Presentation Foundation (WPF) Technical Guru - November 2013  
    dev hedgehog
    Custom Tree Virtualizing Panel
    Ed Price: "The introduction sets expectations very well, and then the sections are divided very clearly. Great code formatting. Per the comments, thanks for adding the TOC!"
    Peter Laker: "Love this tip. Great contribution hedgehog!"
    Magnus (MM8)
    WPF: Programmatically Selecting and Focusing a Row or Cell in a DataGrid
    Peter Laker: "Great subject, very informative, lots of explanation."
    Ed Price: "Very thorough and well formatted!" 
    Ayyappan
    WPF Treeview Using Self Reference Table and Entity Framework
    Peter Laker: "Great article, great walk through and nice presentation."
    Ed Price: "Great topic! It would benefit from a TOC and Headers. Some great TreeView articles this month!"
     SQL Server General and Database Engine Technical Guru - November 2013  
    Uwe Ricken
    When Foreign Keys will conflict with FILLFACTOR
    Jinchun Chen: "Nice! I love it."
    NN: "Great article, very comprehensive. Few drawbacks - it doesn't explain in details what the correct solution should be. Also, the code samples to the article include line numbers which make them harder to copy"
    Ed Price: "As Saeid in the comments wrote, "I love this article. This article defines the quality!" Between the explanations, code, comments, and diagram, the story is told well."
    Samuel Lester: "Outstanding explanation, format, and write-up! Superb again Uwe!"
    DB: "Very interesting both in content and technique. "
    DRC: "Very nice article, well documented with sample script and sample output. If we add the references to few of the topics discussed, would be helpful to understand the concept better so that the reader will get the complete picture
    of the blog talks about. Definitely a TechNet WIKI article. "
    Ronen Ariely
    SQL Server: Create Random String Using CLR
    NN: "This article can not be read by its own without reading the article it refers to. The code is not explained, the process of creating CLR function is also not explained. So, it is not clear how this
    C# code is used in SQL Server at all"
    Ed Price: "This could benefit from much more explanation. "
    Samuel Lester: "Very good article and a great in-depth break-out that compliments your broader random string tech-net Wiki article. Great read!"
    DRC: "It would have been better if the code would also provide the below details: 1. How to load the dll generated in SQL Server memory 2. Sample T SQL script to use the function and a sample output for the same. "
     Windows Server Technical Guru - November 2013  
    Mr X
    How to protect your Active Directory from RID Pool Depletion
    GL: "Good background and procedures."
    JH: "great diagram, great topic. well written"
    Richard Mueller: "Great information that could prevent a disaster."
    JM: "Very good article" 
    Mr X
    How to extend the Delegation of Control Wizard templates in Active
    Directory Users and Computers
    Richard Mueller: "Very valuable information. Needs a TOC. The tables and images help a lot."
    GL: "Good detail in this article. I'd like to see a use case added."
    JH: "very useful, nicely illustrated"
    JM: "Very good article, but it would be good to improve readability by fixing minor errors in grammar (missing articles, pluralization sometimes incorrect)"
    Mr X
    Delegate moving user, group and computer accounts between Organizational
    Units in Active Directory
    JM: "This is an excellent article and I'm sure a lot of Admins will find it very helpful."
    JH: "good topic, well organized table, easy to read"
    Ed Price: "Great table and good use of cross-linking to related Wiki articles!"
    Richard Mueller: "A great table and great references."
    GL: "Good article."
    As mentioned above, runners up and their judge feedback were removed from this forum post, to fit into the forum's 60,000 character limit.
    A great big thank you to EVERYONE who contributed an article to last month's competition.
    Hopefully we will see you ALL again in this month's listings?
    As mentioned above, runners up and comments were removed from this post, to fit into the forum's 60,000 character limit.
    You will find the complete post, comments and feedback on the
    main announcement post.
    Please join the discussion, add a comment, or suggest future categories.
    If you have not yet contributed an article for this month, and you think you can write a more useful, clever, or better produced wiki article than the winners above,
    here's your chance! :D
    Best regards,
    Pete Laker
    More about the TechNet Guru Awards:
    TechNet Guru Competitions
    #PEJL
    Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to the one and only
    TechNet Wiki, for future generations to benefit from! You'll never get archived again!
    If you are a member of any user groups, please make sure you list them in the
    Microsoft User Groups Portal. Microsoft are trying to help promote your groups, and collating them here is the first step.

    Congrats to Johnsom, Tim, and Michael!
     SQL BI and Power BI (SSAS, SSIS, SSRS, Power Pivot) Technical Guru - November 2013  
    johnsom
    How to add JPEG and PNG report export when SSRS 2012 is integrated with SP 2013
    Jinchun Chen: "Good sharing."
    Ed Price: "Although this article could benefit from improved formatting, formatting on the code, and an image... the clarity and quality of the topic are what earns this article a prominent placing. Johnsom earns his first medal!"
    Tim Pacl
    SSRS: Converting Between Tablix Controls (Matrix, Table List)
    Ed Price: "Tim proves consistency with another fantastic article that is very thorough! We have a strong showing from SSRS in the BI category for November!" 
    Michael Amadi
    Calculating the % difference between the same measure evaluated in two
    user selected contexts
    Ed Price: "Michael earns his first Guru medal and gives us a Power Pivot article for BI! Great use of images and code!" 
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Excel Pivot (molap) will not refresh from an SSAS box that is not part of the Farm

    I have spent hours trying to get this working going through many links.  One of the best ones is this.
    http://whitepages.unlimitedviz.com/2010/12/connecting-to-cubes-and-external-data-with-excel-in-sharepoint/
    However even after doing all of this it is still not working.  Here is my set up.  I have a sharepoint 2013.  I am trying to connect to my DW SSAS server that is on a different domain and not part of the farm.  Everything else seems to
    work but excel.  I have power view connecting and creating great reports with refesh working perfect.  I have performance point working.  I have Reporting Services working.  We installed adventureworks on the local SSAS farm version and
    excel is working with this and refreshed just fine.  I can ceate and excel report and save it to sharepoint but when I open it I get the famous error.
    An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh:
    I can open in excel and then refresh all from excel and all works fine.  I do not want my users to have to go through this.  They should be able to use excel in sharepoint.  Any ideas on what I am missing.  I have tried to follow exactly
    what the link above says but still not working.
    Ken Craig

    The first article is checking to make sure power pivot is installed and local ssas is running. This could not be an issue since like I mentioned I can create a Excel report to the local farm version of ssas and it opens and refreshed fine.  That
    would mean that power pivot is installed and the services are running right:)?
    The second article I have done over and over and I am pretty sure this works.  Again I can export to excel and it works just fine meaning my Data source is valid right?  yes I have chosen "none" as well.
    The third article talks about the different viewers.  Mine is using
    xlviewer.aspx so I would assume this is not the issue. 
    Here is what I am seeing in the logs but I am not sure what they are saying.  I used uls view somewhat like you would profiler. I started it tried to open excel and then stopped it.  Below are logs that look like they pertain to this action.
    ConnectionManager.GetConnection: Failed to create new connection, exception=Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId), sessionId=1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N,
    connectionString=Provider=MSOLAP.5;Integrated Security=SSPI;Persist Security Info=True;Data Source=BIL-BIRSTDB\ASADMIN;Initial Catalog=Ecomm OLAP pool count=0
    ConnectionManager.GetConnection: Caught an exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionKey
    connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList& connectionList)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)
    Refresh failed for 'BIL-BIRSTDB_ASADMIN Ecomm OLAP Report' in the workbook 'http://eagleviewportal/BusinessIntelligenceCenter/Templates/Ecomm Report Power Pivot Default.xlsx'. [Session: 1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N
    User: 0#.w|hqeagleview\ken.craig]
    ExternalSource.ValidateConnection: Unable to get a connection: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionKey
    connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList& connectionList)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.TryGetValidatedConnection(Request request, ConnectionRequest connectionRequest, ExternalDataScenario scenario, Credentials credentials, ExtendedConnectionInfo extendedConnectionInfo, Int64
    privateConnectionId, Boolean shouldReportFailure, Connection& connectionOut). sessionId=1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N, externalSource=BIL-BIRSTDB_ASADMIN Ecomm OLAP Report
    ExternalDataUtility.ExecuteOperation: We exhausted all available connection information. Exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException'
    was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionInfoManager.GetConnectionInfo(Request request, String connectionName, ExtendedConnectionInfo extendedConnInfo, Boolean& shouldReportFailure)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalDataUtility.GetExtendedConnectionInfo(IExternalDataObject extObject, ConnectionInfoManager connectionInfoManager, Request request, Int32 externalSourceIndex, Boolean ignoreErrors, ExternalDataScenario
    scenario, Exception& lastException, Boolean& shouldReportFailure)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.GetConnection(ExternalKey externalKey, Int32 externalSourceIndex, ExternalQueryKey externalQueryKey, ConnectionRequest connectionRequest, Int64 privateConnectionId, ExternalDataScenario scenario,
    Boolean prepare), Data Connection Name: BIL-BIRSTDB_ASADMIN Ecomm OLAP Report, SessionId: 1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N, UserId: 0#.w|hqeagleview\ken.craig
    Ken Craig

  • Excel SSAS Tabular error: An error occurred during an attempt to establish a connection to the external data source

    Hello there,
    I have an Excel report I created which works perfectly fine on my dev environment, but fails on my test environment when I try to do a data refresh.
    The key difference between both dev and test environments is that in dev, everything is installed in one server:
    SharePoint 2013
    SQL 2012: Database Instance, SSAS Instance, SSRS for SharePoint, SSAS POWERPIVOT instance (Powerpivot for SharePoint).
    In my test and production environments, the architecture is different:
    SQL DB Servers in High Availability (irrelevant for this report since it is connecting to the tabular model, just FYI)
    SQL SSAS Tabular server (contains a tabular model that processes data from the SQL DBs).
    2x SharePoint Application Servers (we installed both SSRS and PowerPivot for SharePoint on these servers)
    2x SharePoint FrontEnd Servers (contain the SSRS and PowerPivot add-ins).
    Now in dev, test and production, I can run PowerPivot reports that have been created in SharePoint without any issues. Those reports can access the SSAS Tabular model without any issues, and perform data refresh and OLAP functions (slicing, dicing, etc).
    The problem is with Excel reports (i.e. .xlsx files) uploaded to SharePoint. While I can open them, I am having a hard time performing a data refresh. The error I get is:
    "An error occurred during an attempt to establish a connection to the external data source [...]"
    I ran SQL Profiler on my SSAS Server where the Tabular instance is and I noticed that every time I try to perform a data refresh, I get the following entries:
    Every time I try to perform a data refresh, two entries under the user name ANONYMOUS LOGON.
    Since things work without any issues on my single-server dev environment, I tried running SQL Server Profiler there as well to see what I get.
    As you can see from the above, in the dev environment the query runs without any issues and the user name logged is in fact my username from the dev environment domain. I also have a separated user for the test domain, and another for the production domain.
    Now upon some preliminary investigation I believe this has something to do with the data connection settings in Excel and the usage (or no usage) of secure store. This is what I can vouch for so far:
    Library containing reports is configured as trusted in SharePoint Central Admin.
    Library containing data connections is configured as trusted in SharePoint Central Admin.
    The Data Provider referenced in the Excel report (MSOLAP.5) is configured as trusted in SharePoint Central Admin.
    In the Excel report, the Excel Services authentication settings is set as "use authenticated user's account". This wortks fine in the DEV environment.
    Concerning SecureStore, PowerPivot Configurator has configured it the PowerPivotUnnattendedAccount application ID in all the environments. There is
    NO configuration of an Application ID for Excel Services in any of the environments (Dev, test or production). Altough I reckon this is where the solution lies, I am not 100% sure as to why it fails in test and prod. But as I read what I am
    writing, I reckon this is because of the authentication "hops" through servers. Am I right in my assumption?
    Could someone please advise what am I doing wrong in this case? If it is the fact that I am missing an Secure Store entry for Excel Services, I am wondering if someone could advise me on how to set ip up? My confusion is around the "Target Application
    Type" setting.
    Thank you for your time.
    Regards,
    P.

    Hi Rameshwar,
    PowerPivot workbooks contain embedded data connections. To support workbook interaction through slicers and filters, Excel Services must be configured to allow external data access through embedded connection information. External data access is required
    for retrieving PowerPivot data that is loaded on PowerPivot servers in the farm. Please refer to the steps below to solve this issue:
    In Central Administration, in Application Management, click Manage service applications.
    Click Excel Services Application.
    Click Trusted File Location.
    Click http:// or the location you want to configure.
    In External Data, in Allow External Data, click Trusted data connection libraries and embedded.
    Click OK.
    For more information, please see:
    Create a trusted location for PowerPivot sites in Central Administration:
    http://msdn.microsoft.com/en-us/library/ee637428.aspx
    Another reason is Excel Services returns this error when you query PowerPivot data in an Excel workbook that is published to SharePoint, and the SharePoint environment does not have a PowerPivot for SharePoint server, or the SQL Server Analysis
    Services (PowerPivot) service is stopped. Please check this document:
    http://technet.microsoft.com/en-us/library/ff487858(v=sql.110).aspx
    Finally, here is a good article regarding how to troubleshoot PowerPivot data refresh for your reference. Please see:
    Troubleshooting PowerPivot Data Refresh:
    http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshooting-powerpivot-data-refresh.aspx
    Hope this helps.
    Elvis Long
    TechNet Community Support

  • Cannot login to my usual account after power outage

    Had two power outages last night; machine survived the first one, but after the second outage and restoration I cannot get in to my usual user account. What happens:
    Grey apple screen, normal
    Blue screen with progress bar indicating that OS X is loading... before the indicator fills all the way to the right, it exits to a blue screen [of death] with a mouse cursor (which works) and just stays there. It goes no further. Rebooting obviously does not fix it; I rebooted a dozen times trying to get beyond that.
    What I've tried that hasn't fixed it:
    Rebooting
    Unplugging and replugging, both computer side and wall
    Repairing both the disk and permissions--done, no effect
    Safe booting and attempting to log into the account under a safe boot--it loads the wallpaper and hangs right there, no dock, no menu loaded
    Removing the User/~ Preferences folder
    I believe that what is causing the problem is some login startup item. However, since I cannot even log in in Safe mode, I can't start the System Preferences Accounts panel to remove login items.
    Question: Is there another way to remove the login startup items? Removing the Preferences folder has not helped. I'm missing something. What is it?
    I can log in to any other user account. I am currently in Root.

    From the root account, open the Accounts pane of System Preferences and delete the login items for your normal account; an admin account should be able to do this for any account on the system, while non-admin accounts can only be used to change their own login items.
    If removing the login items does not fix the issue, remove other parts of the home folder until you are able to log in to that account. If you've removed/renamed the entire home folder and aren't able to log in successfully, check that the permissions on the hard disk allow all accounts to read it; if you still can't successfully log in to that account, restore a previous version of the NetInfo database.
    (14837)

  • FiOS Digital Voice and Internet Reoccurrin​g Problem with Outage at Same Time Every Night

    I was hoping someone could help me out or enlighten me as to what may be going on. 
    I've been having problems the past two nights (5/17 and 5/18) where at 12:45am CST, both the internet and Digital Voice service go out.  The problem with this is that the outage trips our home alarm due to the dropped connection (which scares our child) and disrupts any large downloads (e.g. Steam purchases) that I may have set up to run during the night. After 5-10 minutes, service is restored and works properly. 
    We haven't had problems of this nature since we switched to digital voice around two months ago, and we tested our alarm system with the provider to ensure it works properly with Digital Voice (it does). 
    Does anyone know if Verizon has been doing backend updates or something of that nature that would knock service out two nights in a row at the same time? 
    I haven't received any information indicating there are outages, planned or otherwise, in our area, and the Verizon support staff I contacted, while polite and courteous, did not have an answer for me.  I am hoping that we don't have to endure a third night of this. 
    Thanks

    To follow up on this, we again had another occurance at 12:45am CST Saturday morning.  Thankfully, though, we did not have another occurance Sunday morning.
    However, I still would like to know what the root cause of this problem is.  I've powercycled my ONT (removed power, removed battery backup) per Verizon support's instructions Friday afternoon, but it did not appear to have any impact on the problem at hand.  

  • My iPhone 5S has not connected to 4G LTE service in the last few days? Is there an outage/issue with 4G in my area (Pittsburgh) or is this a device specific issue?

    My iPhone 5S has not connected to 4G LTE service in the last few days? Is there an outage/issue with 4G in my area (Pittsburgh) or is this a device specific issue?

        JHblues Let's get your data working again. There are not any reported issues in the area. Try this step:  http://vz.to/1kUSSk2
    Sheritah_vzw
    Follow us on Twitter
    @VZWSupport

Maybe you are looking for