denying read rights to a dimension
Hi,
When you give read rights to a cube then the dimension gets read rights by default. Is there a way by which you can grant read rights to certain dimensions of that cube and deny the read rights to certain dimensions of that cube?
thanx.
- Changed type Ed Price - MSFTMicrosoft employee Saturday, April 4, 2015 2:06 AM
Reply:
In AS 2005, just create a new Role, and select what the users belonging to that role can see in the Dimension Data tab. If you select the "Deselect All Members" option, then the users of the role won't be able to see any data of that dimension.
In AS 2000, you have to add the dimension to the restricted dimension list when editing the proper role.
Hope this help,
Santi
------------------------------------
Reply:
Thanx. But then in that case I can still see the dimension. However if I dont want to show any of the attributes of a dimension, is it possible to hide the dimension completely..
------------------------------------
XQuery Functions Tutorial
Dear SQL Server XML Fans
There's a new tutorial on how to write XQuery functions written by Dr. Michael Kay. (You can use XQuery functions in both SQL Server 2000 and SQL Server 2005 using 3rd party components like DataDirect XQuery). It's the 4th in a series of XQuery tutorials and covers these topics:
Sincerely,
The Stylus Studio Team
Overlap overload, even though I think I love this thing.
I'm a big MS Access Reporter, now importing reports to SQL Server. When reports are imported from Access, textboxes and labels are not imported at size but rather at size + .1 in. width and height. This is a drag as it causes object overlap errors when built, and total chaos when rendered. (Good luck if you use mozilla!)
Hello Product team! I love this thing. I will keep using it. But whether reports are imported from Access or not, the rendering engine should do something intelligent with overlapping output. As it is, overlapping output throws every object on the page off grid. This is perhaps the limitation of XML and tables?
Keep on coding.
Column Total
Hi,
How can I get the sum of a calculated member in office pivot table. Here is the example
I created a calculated member using
CREATE
MEMBER CURRENTCUBE.[MEASURES].PerDay AS ( [Measures].[Total Amount]/[Measures].[Days count]) ;I display this measure in office pivot table. But the problem is the grand total row is coming row. the values displayed is a divison of total amout / days count. How can I prevent this from happing.
Any suggestions.
Many thanks,
Yash
- Changed type Ed Price - MSFTMicrosoft employee Saturday, April 4, 2015 2:06 AM
After Transaction Log Grows, it won't shrink.
The other day I had someone truncate an extremely large transaction log (100GB) but it wouldn't return the space to the OS, not even after a backup and restore operation. There's an interesting bit of trivia around shrinking this file. When the log file is truncated, you may not see all of the space returned to the OS. The reason is the way the data might be spread. Here's the way we think data looks in the log file:
<BeginFile>xxxxxxxx-----------------------------------------------<EndFile>
So when you truncate it and it gets another couple of transactions, it should do this:
<BeginFile>xx<EndFile>
But in fact it might look more like this:
<BeginFile>xx----xx----------------xxxx------------------------xxx<EndFile>
So if you truncate the entries and a couple are left it really looks like this:
<BeginFile>x-----------------------------------------------------x<EndFile>
So when you shrink it, you don't gain any space back because of this file marking. So what do you do?
There are two ways to shrink a large log file, both of which are a bit painful, and not always practical in production. The first is to write enough transactions into the log to "bump" the data all the way to the end. Since that makes it contiguous, when you truncate it you'll get the shrink you're looking for – probably. You can do this by creating a table, adding thousands or millions of rows to it, and then deleting them and the table. Of course this slows down a production system while you do it, and it's difficult to figure the math.
The other way is more problematic in a production system, but works every time. Take a full backup of the database. Follow the process to "detach" the database as described in Books Online. Find the transaction log file for that database (and only that database) and delete it. Then, "attach" the database. The system will automatically build a new, clean log file. Obviously, there are a lot of places you can be careless here, so I recommend this process only for extreme cases.
Reply:
Hi,
have a look here:
http://www.aspfaq.com/show.asp?id=2471
HTH, Jens Suessmeyer.
---
http://www.sqlserver2005.de
---
------------------------------------
Reply:
------------------------------------
Welcome!
Welcome to the Windows Server "Longhorn" Server Core Discussion Forum! This is the new home for all Server Core discussions related to Windows Server "Longhorn" and do not fit in any of the other specialized forums. Our aim is to make this a collaborative forum, and that it will be driven by the community more than the team. We want to hear from you and value your experience!
One of the goals of this forum is to provide quality information and reduce the amount of noise. To achieve this, some off-topic posts may be removed, or moved to more appropriate forums. If one of your posts is moved – don't be alarmed – we're trying to get the most appropriate answer in the shortest timeframe. Another key goal is answer questions whenever we can, and attempt to point you to the appropriate resources when we can't. While we cannot commit to answering everything because of development cycles, we will do our best to get you the information as soon as we can.
In the spirit of fair exchange, for the information we'll be providing to you, this is what we would like to see in return:
- Read it: Read regularly. You can read the forums using any RSS reader (although you can't reply). Look for the small orange XML button near the bottom of the page.
- Search it: Search before you post – you may find that what you are looking for has already be raised by somebody else.
- Mark it: If a post helps you out, mark it as helpful so that it can rise to the top of searches. Chances are other people are looking for the same thing. If someone answers your question, mark the response as an answer. If there are multiple helpful responses, mark all of them as answers.
- Answer it: If someone asks a question that you know the answer to, post the answer! It doesn't have to be definitive; pointing someone in the right direction can be good enough.
Thanks, and we look forward to hearing from you!
Julius Sinkevicius, Windows Server
Welcome!
Welcome to the Windows Server "Longhorn" File Security Discussion Forum! This is the new home for all security discussions related to Windows Server "Longhorn" and do not fit in any of the other specialized forums. Our aim is to make this a collaborative forum, and that it will be driven by the community more than the team. We want to hear from you and value your experience!
One of the goals of this forum is to provide quality information and reduce the amount of noise. To achieve this, some off-topic posts may be removed, or moved to more appropriate forums. If one of your posts is moved – don't be alarmed – we're trying to get the most appropriate answer in the shortest timeframe. Another key goal is answer questions whenever we can, and attempt to point you to the appropriate resources when we can't. While we cannot commit to answering everything because of development cycles, we will do our best to get you the information as soon as we can.
In the spirit of fair exchange, for the information we'll be providing to you, this is what we would like to see in return:
- Read it: Read regularly. You can read the forums using any RSS reader (although you can't reply). Look for the small orange XML button near the bottom of the page.
- Search it: Search before you post – you may find that what you are looking for has already be raised by somebody else.
- Mark it: If a post helps you out, mark it as helpful so that it can rise to the top of searches. Chances are other people are looking for the same thing. If someone answers your question, mark the response as an answer. If there are multiple helpful responses, mark all of them as answers.
- Answer it: If someone asks a question that you know the answer to, post the answer! It doesn't have to be definitive; pointing someone in the right direction can be good enough.
Thanks, and we look forward to hearing from you!
Julius Sinkevicius, Windows Server
Welcome!
Welcome to the Windows Server "Longhorn" Terminal Services Discussion Forum! This is the new home for all Terminal Services discussions related to Windows Server "Longhorn" and do not fit in any of the other specialized forums. Our aim is to make this a collaborative forum, and that it will be driven by the community more than the team. We want to hear from you and value your experience!
One of the goals of this forum is to provide quality information and reduce the amount of noise. To achieve this, some off-topic posts may be removed, or moved to more appropriate forums. If one of your posts is moved – don't be alarmed – we're trying to get the most appropriate answer in the shortest timeframe. Another key goal is answer questions whenever we can, and attempt to point you to the appropriate resources when we can't. While we cannot commit to answering everything because of development cycles, we will do our best to get you the information as soon as we can.
In the spirit of fair exchange, for the information we'll be providing to you, this is what we would like to see in return:
- Read it: Read regularly. You can read the forums using any RSS reader (although you can't reply). Look for the small orange XML button near the bottom of the page.
- Search it: Search before you post – you may find that what you are looking for has already be raised by somebody else.
- Mark it: If a post helps you out, mark it as helpful so that it can rise to the top of searches. Chances are other people are looking for the same thing. If someone answers your question, mark the response as an answer. If there are multiple helpful responses, mark all of them as answers.
- Answer it: If someone asks a question that you know the answer to, post the answer! It doesn't have to be definitive; pointing someone in the right direction can be good enough.
Thanks, and we look forward to hearing from you!
Julius Sinkevicius, Windows Server
Welcome!
Welcome to the Windows Server "Longhorn" Setup & Deployment Discussion Forum! This is the new home for all setup and deployment discussions related to Windows Server "Longhorn" and do not fit in any of the other specialized forums. Our aim is to make this a collaborative forum, and that it will be driven by the community more than the team. We want to hear from you and value your experience!
One of the goals of this forum is to provide quality information and reduce the amount of noise. To achieve this, some off-topic posts may be removed, or moved to more appropriate forums. If one of your posts is moved – don't be alarmed – we're trying to get the most appropriate answer in the shortest timeframe. Another key goal is answer questions whenever we can, and attempt to point you to the appropriate resources when we can't. While we cannot commit to answering everything because of development cycles, we will do our best to get you the information as soon as we can.
In the spirit of fair exchange, for the information we'll be providing to you, this is what we would like to see in return:
- Read it: Read regularly. You can read the forums using any RSS reader (although you can't reply). Look for the small orange XML button near the bottom of the page.
- Search it: Search before you post – you may find that what you are looking for has already be raised by somebody else.
- Mark it: If a post helps you out, mark it as helpful so that it can rise to the top of searches. Chances are other people are looking for the same thing. If someone answers your question, mark the response as an answer. If there are multiple helpful responses, mark all of them as answers.
- Answer it: If someone asks a question that you know the answer to, post the answer! It doesn't have to be definitive; pointing someone in the right direction can be good enough.
Thanks, and we look forward to hearing from you!
Julius Sinkevicius, Windows Server
Welcome!
Welcome to the Windows Server "Longhorn" Platform Networking Discussion Forum! This is the new home for all networking discussions related to Windows Server "Longhorn" and do not fit in any of the other specialized forums. Our aim is to make this a collaborative forum, and that it will be driven by the community more than the team. We want to hear from you and value your experience!
One of the goals of this forum is to provide quality information and reduce the amount of noise. To achieve this, some off-topic posts may be removed, or moved to more appropriate forums. If one of your posts is moved – don't be alarmed – we're trying to get the most appropriate answer in the shortest timeframe. Another key goal is answer questions whenever we can, and attempt to point you to the appropriate resources when we can't. While we cannot commit to answering everything because of development cycles, we will do our best to get you the information as soon as we can.
In the spirit of fair exchange, for the information we'll be providing to you, this is what we would like to see in return:
- Read it: Read regularly. You can read the forums using any RSS reader (although you can't reply). Look for the small orange XML button near the bottom of the page.
- Search it: Search before you post – you may find that what you are looking for has already be raised by somebody else.
- Mark it: If a post helps you out, mark it as helpful so that it can rise to the top of searches. Chances are other people are looking for the same thing. If someone answers your question, mark the response as an answer. If there are multiple helpful responses, mark all of them as answers.
- Answer it: If someone asks a question that you know the answer to, post the answer! It doesn't have to be definitive; pointing someone in the right direction can be good enough.
Thanks, and we look forward to hearing from you!
Julius Sinkevicius, Windows Server
Welcome!
Welcome to the Windows Server "Longhorn" Network Access Protection Discussion Forum! This is the new home for all Network Access Protection discussions related to Windows Server "Longhorn" and do not fit in any of the other specialized forums. Our aim is to make this a collaborative forum, and that it will be driven by the community more than the team. We want to hear from you and value your experience!
One of the goals of this forum is to provide quality information and reduce the amount of noise. To achieve this, some off-topic posts may be removed, or moved to more appropriate forums. If one of your posts is moved – don't be alarmed – we're trying to get the most appropriate answer in the shortest timeframe. Another key goal is answer questions whenever we can, and attempt to point you to the appropriate resources when we can't. While we cannot commit to answering everything because of development cycles, we will do our best to get you the information as soon as we can.
In the spirit of fair exchange, for the information we'll be providing to you, this is what we would like to see in return:
- Read it: Read regularly. You can read the forums using any RSS reader (although you can't reply). Look for the small orange XML button near the bottom of the page.
- Search it: Search before you post – you may find that what you are looking for has already be raised by somebody else.
- Mark it: If a post helps you out, mark it as helpful so that it can rise to the top of searches. Chances are other people are looking for the same thing. If someone answers your question, mark the response as an answer. If there are multiple helpful responses, mark all of them as answers.
- Answer it: If someone asks a question that you know the answer to, post the answer! It doesn't have to be definitive; pointing someone in the right direction can be good enough.
Thanks, and we look forward to hearing from you!
Julius Sinkevicius, Windows Server
Welcome!
Welcome to the Windows Server "Longhorn" Management Discussion Forum! This is the new home for all system management discussions related to Windows Server "Longhorn" and do not fit in any of the other specialized forums. Our aim is to make this a collaborative forum, and that it will be driven by the community more than the team. We want to hear from you and value your experience!
One of the goals of this forum is to provide quality information and reduce the amount of noise. To achieve this, some off-topic posts may be removed, or moved to more appropriate forums. If one of your posts is moved – don't be alarmed – we're trying to get the most appropriate answer in the shortest timeframe. Another key goal is answer questions whenever we can, and attempt to point you to the appropriate resources when we can't. While we cannot commit to answering everything because of development cycles, we will do our best to get you the information as soon as we can.
In the spirit of fair exchange, for the information we'll be providing to you, this is what we would like to see in return:
- Read it: Read regularly. You can read the forums using any RSS reader (although you can't reply). Look for the small orange XML button near the bottom of the page.
- Search it: Search before you post – you may find that what you are looking for has already be raised by somebody else.
- Mark it: If a post helps you out, mark it as helpful so that it can rise to the top of searches. Chances are other people are looking for the same thing. If someone answers your question, mark the response as an answer. If there are multiple helpful responses, mark all of them as answers.
- Answer it: If someone asks a question that you know the answer to, post the answer! It doesn't have to be definitive; pointing someone in the right direction can be good enough.
Thanks, and we look forward to hearing from you!
Julius Sinkevicius, Windows Server
Welcome!
Welcome to the Windows Server "Longhorn" Migration Discussion Forum! This is the new home for all discussions relating to migrating to Windows Server "Longhorn" and do not fit in any of the other specialized forums. Our aim is to make this a collaborative forum, and that it will be driven by the community more than the team. We want to hear from you and value your experience!
One of the goals of this forum is to provide quality information and reduce the amount of noise. To achieve this, some off-topic posts may be removed, or moved to more appropriate forums. If one of your posts is moved – don't be alarmed – we're trying to get the most appropriate answer in the shortest timeframe. Another key goal is answer questions whenever we can, and attempt to point you to the appropriate resources when we can't. While we cannot commit to answering everything because of development cycles, we will do our best to get you the information as soon as we can.
In the spirit of fair exchange, for the information we'll be providing to you, this is what we would like to see in return:
- Read it: Read regularly. You can read the forums using any RSS reader (although you can't reply). Look for the small orange XML button near the bottom of the page.
- Search it: Search before you post – you may find that what you are looking for has already be raised by somebody else.
- Mark it: If a post helps you out, mark it as helpful so that it can rise to the top of searches. Chances are other people are looking for the same thing. If someone answers your question, mark the response as an answer. If there are multiple helpful responses, mark all of them as answers.
- Answer it: If someone asks a question that you know the answer to, post the answer! It doesn't have to be definitive; pointing someone in the right direction can be good enough.
Thanks, and we look forward to hearing from you!
Julius Sinkevicius, Windows Server
Welcome!
Welcome to the Windows Server "Longhorn" File Services and Storage Discussion Forum! This is the new home for all file system services and storage functionality discussions related to Windows Server "Longhorn" and do not fit in any of the other specialized forums. Our aim is to make this a collaborative forum, and that it will be driven by the community more than the team. We want to hear from you and value your experience!
One of the goals of this forum is to provide quality information and reduce the amount of noise. To achieve this, some off-topic posts may be removed, or moved to more appropriate forums. If one of your posts is moved – don't be alarmed – we're trying to get the most appropriate answer in the shortest timeframe. Another key goal is answer questions whenever we can, and attempt to point you to the appropriate resources when we can't. While we cannot commit to answering everything because of development cycles, we will do our best to get you the information as soon as we can.
In the spirit of fair exchange, for the information we'll be providing to you, this is what we would like to see in return:
- Read it: Read regularly. You can read the forums using any RSS reader (although you can't reply). Look for the small orange XML button near the bottom of the page.
- Search it: Search before you post – you may find that what you are looking for has already be raised by somebody else.
- Mark it: If a post helps you out, mark it as helpful so that it can rise to the top of searches. Chances are other people are looking for the same thing. If someone answers your question, mark the response as an answer. If there are multiple helpful responses, mark all of them as answers.
- Answer it: If someone asks a question that you know the answer to, post the answer! It doesn't have to be definitive; pointing someone in the right direction can be good enough.
Thanks, and we look forward to hearing from you!
Julius Sinkevicius, Windows Server
Welcome!
Welcome to the Windows Server "Longhorn" General Discussion Forum! This is the new home for all general discussions related to Windows Server "Longhorn" and do not fit in any of the specialized forums. Our aim is to make this a collaborative forum, and that it will be driven by the community more than the team. We want to hear from you and value your experience!
One of the goals of this forum is to provide quality information and reduce the amount of noise. To achieve this, some off-topic posts may be removed, or moved to more appropriate forums. If one of your posts is moved – don't be alarmed – we're trying to get the most appropriate answer in the shortest timeframe. Another key goal is answer questions whenever we can, and attempt to point you to the appropriate resources when we can't. While we cannot commit to answering everything because of development cycles, we will do our best to get you the information as soon as we can.
In the spirit of fair exchange, for the information we'll be providing to you, this is what we would like to see in return:
- Read it: Read regularly. You can read the forums using any RSS reader (although you can't reply). Look for the small orange XML button near the bottom of the page.
- Search it: Search before you post – you may find that what you are looking for has already be raised by somebody else.
- Mark it: If a post helps you out, mark it as helpful so that it can rise to the top of searches. Chances are other people are looking for the same thing. If someone answers your question, mark the response as an answer. If there are multiple helpful responses, mark all of them as answers.
- Answer it: If someone asks a question that you know the answer to, post the answer! It doesn't have to be definitive; pointing someone in the right direction can be good enough.
Thanks, and we look forward to hearing from you!
Julius Sinkevicius, Windows Server
Error 1 Exception of type 'System.OutOfMemoryException' was thrown.
The Error 1 Exception of type 'System.OutOfMemoryException' was thrown.
STRIKES BACK!
I have had two other postings in the past few weeks on the error in various forms that state:
'System.OutOfMemoryException' was thrown.
This error had apeared on trying to use the migrationwizard.exe, loading /3GB, as well as after breaking the script up into smaller chunks. You name it, we have tried it (that we know of). We are now back to the error 'System.OutOfMemoryException' was thrown once again. Additionally, I was able to build the dimensions without error and now THAT is failing with the following error:
Errors and Warnings from Response
Memory error: Allocation failure : Not enough storage is available to process this command. .
Errors in the metadata manager. An error occurred when loading the AggregationDesign aggregation design, from the file, '\\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\XXXXXXXX.1.db\TA.0.cub\TA.0.det\AggregationDesign.0.agg.xml'.
XXXXX- replaced the real file names.
The Memory usage was @ 3.59 GB when it "rolled-back" on a rather large cube. One should be able to process cubes and dimensions as part of daily maintenenace as that is how it is done every day on the production SQL 2000 OLAP with no issues.
We are down to just a few more FACT cubes. In order to get these created we imported the database into BI Studio. That is as far as it can go at this time. Trying the build and deploy the BI solution results in further negative results. 3.59 GB usage seems to be the kill-point for BI Studio 2005. It loads 3.58 GB while importing and then throws the following error trying to deploy the solution directly back into the database we had just imported to:
Error 1 Exception of type 'System.OutOfMemoryException' was thrown.
Please see previous postings for a history of this behavior:
http://forums.microsoft.com/forums/ShowPost.aspx?PostID=385617&SiteID=1
http://forums.microsoft.com/forums/ShowPost.aspx?PostID=385633&SiteID=1
We are so very close to getting this POC completed. We have only these three FACT tables remaining and we are on the very edge, it seems, to even getting the SSAS 2005 DB to even load. There is nothing else lodaed on the server at all at this time. We have done NO load-testing or comparitive testing as of yet because of the lack of syncronicity.
Any help is welcome.
- Changed type Ed Price - MSFTMicrosoft employee Saturday, April 4, 2015 2:07 AM
Report Services
The following list are a few issues I ran into and what I did to get around them. Hope this helps.
Tip: If possible, don't every mess with the report server virtual directories (like recreating them), you'll end up with a permissions nightmare.
Issue: Report Builder wasn't launching (clicked on the link but nothing happen)
solution: In turn out to be some Internet explorer setting. I ended up resetting IE to all of it's defaults, which fixed the problem. But I still haven't figure out which setting breaks it.
Issue: Reports not running in report builder. Get the error "Cannot create a connection to data source 'dataSource1'".
solution: If you're not using windows integrated security
try creating the data source (to your report model) using the SQL reporting services web app (http://<localhost>/Reports/Pages/Folder.aspx), instead of creating the datasource in the report designer (which is quirky). Just click the "New Data Source" link and make sure you select the "Credentials stored securely in the report server" option, entering the user name and password of the role you specified of the remote database you using for the reports.
If you are using windows integrated security
Windows Integrated Security only works if your domain has Kerberos-delegation enabled - otherwise you will need to store credentials on the report server (more details: http://msdn2.microsoft.com/en-us/library/ms160330(SQL.90).aspx)
Excel Pivot Table and Time Dimension
I'm using the OLEDB Provider for Analysis Services 9.0 in Excel 2003 to get to my OLAP cubes in SQL Server 2005 Standard SP1. When I use Time as a Page filter in an Excel Pivot table, the dropdown looks like this (May_2006 is the default period):
-2006
-Qtr2_2006
+May_2006
+Apr_2006
+Jun_2006
+Qtr1_2006
+Qtr3_2006
+Qtr4_2006
+2004
+2005
I checked the field settings in Excel and it is using the data source order option. When I browse the dimension, the Time members are shown in chronological order. I've concluded that this behavior is a result of setting the default month in the Time dimension. Anyone know if this is simply the way it is when working with a defaulted Time dimension in Excel?
- Changed type Ed Price - MSFTMicrosoft employee Friday, April 3, 2015 1:40 AM
Reply:
------------------------------------
how to see print preview of owc11 in vb.net
I have developed a vb .net applciaiton for using OLAP (Analysis Services 200) .
I have used OWC 11 component for the purpose. Pl suggest me how to see the print preview of the current view of pivot table (or what steps to use).
Regrds,
Deepti
- Changed type Ed Price - MSFTMicrosoft employee Friday, April 3, 2015 1:40 AM
Some info on setting row delimiter values in package configurations
I just spent the past 3 or 4 hours trying to figure out how i could represent carriage returns and line feeds properly in package configuration variables that an SSIS package can properly handle, so i figured I'd post my results in case anyone else has struggled with this.
Initially, I thought I would be able to just represent the delimiter as the same value that you can pick from in the flat file connection manager dialog, i.e. {CR}{LF}, {CR}, {LF}, etc. nope.
Then I decided to try actually storing the characters as hex, i.e. _x000D__x000A_ for {CR}{LF}. nope.
After scanning the .dtsx packages for a while, I finally found something that works: you have to represent the curly brackets in hex, and you can simply use the CR or LF string literals. so if you wanted to have a row delimiter that was {CR}{LF}, you would need to set your variable to: _x007B_CR_x007D__x007B_LF_x007D_
Hope this saves some people the pain I had to endure.
Reply:
Thank you, I will work to at least get this documented so others can benefit from your time.
------------------------------------
No comments:
Post a Comment