Tuesday, March 29, 2022

SSRS Excel Rendering Cell Formatting Errors

SSRS Excel Rendering Cell Formatting Errors

Hi All,

I have a data driven subscription report that outputs several reports into Excel, the reports have been running for 3 months without any problems.  One of the fields in a report is a boolean field that is converted to "Yes", "No" in SSRS but now when it is rendering the file in Excel it is changing the True/Yes valued records to Y1900s.

When open the report online as well as rendering it into all the other types I get no error, just when I render it in Excel.  Can anyone tell me why this is happening and what can I do to stop this.  I am using SQL Server 2005 and 2003 excel.

Any help would be greatly appreciated.

Kind regards

Paul

Reply:
Hi Paul,

My first guess would be that column in Excel was formatted as date. For boolean, Yes or True is 1 and No or False is 0. My recommendation is to alter your expression in RS that showing this Yes or No value to be like:

=iif(Fields!YourBooleanField.Value, "Yes", "No")

If that doesn't do it, sorry. Hope someone else could gives some insight. Good luck.
Glad to help ...

------------------------------------
Reply:
It is that exact expression that is resulting in this, and you are correct it is formatting it as a date.  but why would excel suddenly change this after months of it working as designed and why doesnt it affect "No"/0?

------------------------------------
Reply:
Sorry Paul. I can't help you on why Excel suddenly behaving like that after running fine for awhile. But does your problem solve now or is it still doing that?
Glad to help ...

------------------------------------

Microsoft System Center Mobile Device Manager 2008 Service Pack 1 (SP1)

If you didn't notice the soft release today, check out the details here:
http://myitforum.com/cs2/blogs/mnielsen/archive/2008/12/15/microsoft-system-center-mobile-device-manager-2008-service-pack-1-sp1.aspx

The one thing to absolutely read is the "What's New" overview!!
http://technet.microsoft.com/en-us/library/dd261938.aspx

|\\arco..

Reply:

Hooray !

Nice Work Marco

Cheers Wayne
Airloom


------------------------------------
Reply:
Sweet!

I can't do much more than the ADConfig at the moment though - I get an error regarding mismatching SKU. (I downloaded the original iso from MSDN, and MSDN is not updated with a new download.) So it seems I'll have to wait just a little longer...

------------------------------------
Reply:
Excellent.

Any word on the reporting for sp1 ? Is this available?

Edit: found it!  someone had told me it wasn't available.

------------------------------------
Reply:
Also make sure you download the latest SP1 documention, dated Dec 15, 2008:
http://technet.microsoft.com/en-us/scmdm/cc304592.aspx

I missed to highlight that in my first post.. :-)

------------------------------------
Reply:
Hi,

Just one question concerning SP 1. Is it possible to make upgrade from SCMDM 2008 to SCMDM SP 1 or we have to make uninstallment of 2008 and then make the new installation of SP1.

Has anyone yed made an upgrade. Please provide detaila and experience ;-)

regards,

Alicic

------------------------------------
Reply:
Yes, it's possible to upgrade from RTM to SP1.

I'm in the process of documenting the upgrade process, but I'm still waiting for SP1 to hit MSDN to be able to do the upgrade...

The short story though, you first need to run ADConfig, and then run each of the installers to upgrade (must do Device Management Server before Gateway Server).

------------------------------------
Reply:
Thanx Andreas for the reply,

Please provide experince after the upgrade ;-). Hopefuly we will get SP 1 from MSDN site soon.

regards,
 

------------------------------------
Reply:

I assume that this is the right procedure to upgrade from SCMDM08 to SCMDM08 SP1 ?


http://technet.microsoft.com/en-us/library/dd261846.aspx



------------------------------------
Reply:
Tim NL said:


I assume that this is the right procedure to upgrade from SCMDM08 to SCMDM08 SP1 ?


http://technet.microsoft.com/en-us/library/dd261846.aspx




Yes, this should be the worklist to upgrade. It's nothing "magic", but there are a number of steps that should be performed, and preferrably in the right order.

------------------------------------
Reply:
Thanx for the link Tim NL,

Have you already made an update? Did you experience any problems?


------------------------------------
Reply:
alicic said:

Thanx for the link Tim NL,

Have you already made an update? Did you experience any problems?

Your welcome,

We did not upgrade so far. We are almost live with the SCMDM08. It takes allot of time and work to upgrade at this moment.
I think we wait for a while, till all documents ect are ready. But off cource i will set up and test environment to test the upgrade in our business.
to see how all works



------------------------------------
Reply:

------------------------------------

This forum has migrated successfully on December 10, 2008

As part of the migration, posting of new threads and messages is no longer allowed on the Forums 2.x platform. 

 

For reporting bugs on the Forums 3.x Platform, visit:  http://social.msdn.microsoft.com/Forums/en-US/reportabug/threads/

 

For making suggestions on the Forums 3.x Platform, visit:  http://social.msdn.microsoft.com/Forums/en-US/suggest/threads/

 

Thank you for your patience during the migration.

 

 

Alicia


Reply:
 And if you had not noticed already, all the forums are back up and running fine now :-) Well done Forums team!
Wally Mead

------------------------------------
Reply:
I dont know if its just me but i keep getting redirected to the Technet My Social profile page when i click on forum links or submit posts.
If i enter a url like http://social.technet.microsoft.com/Forums/en-US/configmgrosd/thread/a2650235-de1f-4190-b1b6-84300e132e9a it starts to load and then redirects me to

http://social.technet.microsoft.com/en-US/Profile/?user=Ricky_White&referrer=http%3a%2f%2fsocial.technet.microsoft.com%2fForums%2fen-US%2fconfigmgrosd%2fthread%2fa2650235-de1f-4190-b1b6-84300e132e9a%2f&rh=UaTVPlTGfmRapbkWlYPxdWY7YeLMzITiqhg6lwUhb3c%3d#sort=recent&page=0&filter=allcontent

This occurs 3 out of every 4 times i click a forum link or enter a url.


------------------------------------

chkdsk utility cannot run

I have the same problem

I  do the instruction for chkdsk when Vista restart , nothing hapend 

I still have the same error files or folder corrupt

Reply:
Hi,
Can the tool run or is it showing that some files or folders are corrupted?
What files/ folders are shown as corrupted? Has this happened after a certain event? (power outage, system crash etc.)

Happy new year ;)

------------------------------------

Threads that I moderate shouldn't appear in the "My Threads" section

And now they do appear. There should only be the threads I contribute to, and no the threads I moderate.

Regards,
Lucian Baciu, MCTS, http://studentclub.ro/lucians_weblog

Reply:
I agree if you mean threads where you have perhaps edited the Subject to make it more understandable.

But in cases where you have moved a thread to another forum, then normally you would write a reply explaining why and the system would have no way of knowing that is a Moderator reply and not an Answer reply.

And if you don't reply and just move a thread then by not having your Moved Threads included in My Threads, you would miss any replies that complain about the post being moved!

So why I understand the idea, it's perhaps not as clear cut as you think.

------------------------------------

Vista Games

Hi,

I can turn the sound off for games in the application so I feel I should therefore be able to do the same for the browser, ie., IE.

Why can't I do it now, and will I ever be able to or is this something that no-one has considered necessary?

Thank you

Display Name

I think it should be that when changing forums that names used in older forums should never be reserved anew.

Reply:

 I don't understand what you are asking for.

It seems that you are asking for the login name used by a person to be different for every forum. This would be total chaos so I presume you mean something else, but what ?

------------------------------------
Reply:
I'm simply saying that if a person doesn't register in the new forum for a certain period of time in line with Live ID, then someone else should be able to use that name, it makes sense to me and is more dynamic like the nature of these things anyway.

------------------------------------

Opera Support

I'm hoping the forums in future will be better supported in the Opera Internet Browser, for things like Live ID especially among other small quirks, which are always and ever-present when using web pages coded by Microsoft Employees.

Reply:
Moving to the forum for Suggestions for the Forums.

It's more applicable to the forums than to the TechNet web site in general.

------------------------------------
Reply:

Anything that requires Live ID causes problems in Opera.

I can't even access the text entry box without needing to tab but at least the formatting seems ok


------------------------------------

how to uninstall rising antivirus 2008

for anyone having difficulties uninstalling rising antivirus 2008 , this is how I done it. hope this is of some help to others.

 

I downloaded the rising antivirus on my computer using windows xp and I couldn't uninstall it. everytime I tried to it caused my pc to crash and it dumped files, i kept getting the blue screen of death, I  tried everything and  ran out of options. I wanted to completely remove the software.

 

I finally found out how to uninstall the programme, after hours of frustration. If you enter safe mode in you computer for xp users go to start and in run type msconfig, this will open a window. click on boot tab and put a tick in the box next to safe boot. click apply and ok it. reboot your pc and it should boot up in the safe mode. go to conrtol panel and click on add and remove programmes, select the software in the list and click uninstall. you can also press the f8 button on your keyboard when your pc is booting up to get into safemode. This doesnt always work that why i used the other option. On vista getting into safe mode is much easier. simply by pressing f8, or shutdown your computer abnormally and it automatically takes you to the options for safe mode. any questions please ask ill be more than happy to help.
I found removing the software rising antivirus 2008 by safe mode the only way I could do it as doing it the normal way cause my computer to shut down and dump files, all I kept getting was blue screen of death.

 

good luck.


Reply:
your idea  is excellent, your idea is mindbloing, i like tuor idea. thank you.

------------------------------------

Microsoft Zune

After using the Microsoft Zune software, I now know why they only control 2% of the music market. the

software sucks and keeps freezing up. The cost for points is way too much. I will be selling the Zune device on E-Bay

and buying a Apple I-Pod. You would think that a company that controled the market on os systems would have a

better music product line.


Reply:
What is your problem?

------------------------------------
Reply:
I turned my 30gb zune on this morning and it froze up . I am unable to reset it.

------------------------------------

Soap: More control over 'cursor' size

Is there  a reason that the number of entities returned by a query is set at a cursor size of 500? Wouldn't it be possible to have the Scope determine this ? Some of my queries are taking seconds to return 500, if I could set the cursor size at 10 I would be able to pump the results to my UI in a more pleasing way.

--
Dan

Reply:

Because this is a true multi-tenant service, we have to make sure that a single request cannot monopolize the resources of a given node.  There are a number of ways of doing this - timeouts, throttles, and limiting the entities returned.  500 results was chosen as a good first compromise to ensure that you could not degradate the service for others by requesting 2 million entities in a go.

So, to answer the other part of this:  yes, there is likely to be a way to tweak this in the future for a given range.  However, we haven't heard strong feedback that this is an important consideration.  I would be interested in knowing a.) what is the upper limit you think we should return, and b.) what is the scenario, so we can understand the impact.


------------------------------------
Reply:
In Rest interface also!

I would like to have the Skip/Take actions to limit the search area.

If an "customer" searches in a bad way, the search are limited too 10 instead of 500 entities
and then with the skip method is there a way to ensure that the application will only read 10 enities if the customer looks at page 2 instead of improving the search (In an paging senario)


So now you can add one more feedback to this topic =)

  • Edited by Christian Johansson Wednesday, August 13, 2008 8:38 PM The feture would be nice in SOAP and REST

------------------------------------
Reply:
I was actually looking at reducing the cursor size ;-)

As things stand it's taking me 20s to get 100 records back (they have largish byte arrays in them).  If I could get 10 then at a time I at least have a chance of updating the UI for a user in an incremental way. I could even dynamically throttle the cursor size depending on analysis of actual retrieve time.

So for example, I would have the data gathering in one thread, getting 10 records at a time, and dispatching them over to the App to display to the user.


AS it stands the 500 is an issue in that it blows the quoted maximum of 2Mb returned out of the water depending upon your data. I've simply maxed things to 2^31-1. I do wish there was a binding in WCF that ignore many of these limits (max objects, max depth, max bytes, etc.), I spend more time tracking down these problems than I do writing the app code sometimes :-(

--
Dan

------------------------------------
Reply:
Ryan:

I'll restate that I'd like to see the option of including a MaxRows element in the request query.  I ran into this use case recently when I wanted to create an RSS feed containing the first ten entities in a container. I actually get *all* of the items and throw away all but the first ten.

This could be (in my order of preference) as:
- part of the URL: /?q='.....'&maxrows=100
- part of the LINQ statement: from e in entities where .... select e, maxrows(100)
- a custom request header: x-msft-request-maxrows=100

Another item that's been discussed in this same area is a MoreRows indicator in the query response to make it easier to continue past the first "page" of data.  In other words, clients would 'know' that there is at least one more row of data to retrieve instead of getting the first X (500) and then making a request even when there are no more rows on the server.

This could be (in my order of preference) as:
- a custom  response (not:request) header: x-msft-request-morerows=true
- part of the payload returned <s:EntitySet more-rows="true"... />

In both cases, I think this has the potential to reduce traffic (requests and bandwidth) against the SSDS servers and reduce response/processing wait states on clients.

Thanks for listenin'



Mike Amundsen [http://amundsen.com/blog/]
  • Edited by Mike Amundsen Thursday, August 14, 2008 10:34 PM changes request to reponse in the section on MoreRows options.

------------------------------------
Reply:

Gentlemen,

Some of these points are being addressed, some are on the list.

Keep this feedback coming. It is awesome stuff.

I'll share more details soon,
Dave


------------------------------------
Reply:
Dan/Christian/Mike,

These are very common requests and there were a few interesting discussions on this topic a month or two ago.  We have looked at various options and some of the suggestions will be in the next sprint.

Keep the feedback coming!
Stan
Program Manager, Cloud DB

------------------------------------
Reply:
Stan:

good to hear.

and the new sprint will drop when?


Mike Amundsen [http://amundsen.com/blog/]

------------------------------------
Reply:
There are a few parts to this and I would like to hear a little bit more.  First there is the ability to limit the results being sent back to you via a type of "TOP" method.  This would equate to a type of Take operation.  We are definitely looking into that.  This is just one mechanism of controlling the flow of results back to the user.

However, the original question was around the default size to send back when no modifying operations were applied to the query.  It sounded to me that 500 was too few.  However, after hearing the feedback, am I correct in summarizing that 500 is too many?  It sounds to me like you folks are requesting a smaller number (100?) or so should be sent back.  What would you prefer the default behavior to be (i.e. no modifying operations like setting a pagesize, asking for top, etc.)?

Thanks for the feedback, btw.  It is great to hear specifics like this.


------------------------------------
Reply:
for me, defaulting to 500 is fine. so far, i don't have a lot of data that goes beyond that for a query. and when it does, the "more..." pattern will work.

my most requested feature right now is the ability to pass the "TOP/MAXROWS" argument with my query. that will make a big difference to how my client apps work.

for now, i am implementing a similar functionality in my SSDS-Proxy ("x-ssds-maxrows", "x-ssds-morerows") and letting the proxy deal with the details.


Mike Amundsen [http://amundsen.com/blog/]

------------------------------------
Reply:
Mike,

TOP is one of the features we are working on for the next deployment. And sorry, we don't yet have a firm date for it.

Stan

Program Manager, Cloud DB

------------------------------------
Reply:
Stan:

Thanks for the update.

Can you tell me how you plan to implement "TOP" for REST?
- via an HTTP Header?
- part of the query string?

Any hints would help me w/ my current coding work.



Mike Amundsen [http://amundsen.com/blog/]

------------------------------------
Reply:
Hi Dunnry,

    I guess the issue is that it entirely depends upon the data. I was originally playing with storing images (as byte arrays) so the data dominated over the latency of the call. A quick experiment with small entities gives me 2.53s to retrive 1000 entities in 2 calls to query, and 225s to get them 1 at a time. I have a roundtrip time of ~200ms from here so clearly fewer calls is better.

   So my guess is that your default of 500 is probably going to be fine for a lot of uses.

--
Dan

------------------------------------
Reply:
Mike,

We are adding Top (Take) and orderby as part of the query and the syntax will be pretty much what you have in C#:
from e in entities orderby e.Kind, e["name"] select e
(from e in entites orderby e.Kind, e["name"] select e).Take(10)

Stan

Program Manager, Cloud DB

------------------------------------
Reply:
Stan:

thanks for the preview.  this makes sense and i'm looking forward to the next sprint.



Mike Amundsen [http://amundsen.com/blog/]

------------------------------------
Reply:
Thanks for the feedback.

------------------------------------
Reply:
My use case:

My app could have a large number of records to page through. I would like the user to be able to page forward and backward, with a page size of 10-20 items. 

I would really like to see Skip/Take on an ordered query.

------------------------------------

MOFF 4.0 Exam: Free prep spreadsheet

Hi Guys,
I did a simple spreadsheet with core topics for the EX0-102 exam, and I hope this helps.

http://msmvps.com/blogs/clebermarques/archive/2008/12/31/guia-preparat-243-rio-mof-4-0-foundation.aspx

Best Regards.

Cleber Marques

MOF Brazil Project

Microsoft MVP - Most Valuable Professional

www.mof.com.br | www.clebermarques.com | www.clebermarques.com.br

Windows Vista Feature Request: Anti-Censorship web browsing

I have a feature request for Windows Vista. It should have an anti-censorship web browsing feature(either in IE or in the Start menu) that lets people browse the internet without having perfectly legal websites blocked by their isp. For example, in china their isps block legal sites like wikipedia and newspaper sites. So maybe Windows Vista could have a feature where you open IE and there is a "anti-censorship" button and when it's enabled a person can visit any website they want even if it's been blocked by their isp. I know this would be difficult to implement because you probably have to edit the tcp/ip protocol and onion routing etc, but I'm sure it could be done. And some people may say you can use a proxy server, but in China the isps block the proxy servers.

Reply:
 

You can try to use tor. 

http://www.torproject.org/index.html.en


------------------------------------

Access to Volume Control in Steady State

Our users want access to the volume controls in the public profiles and I'd like to give them this.

I've reallowed access to the taskbar.  I've unchecked preventing access to Microsoft Management Console utilities.  But it still won't allow them to turn up and down the volume for their headphones via the speaker icon in the notification area in Windows XP-Pro.  Any ideas?


Reply:

 Hi BSue,

 

What message was received when adjusting the sound volume? In my test, within a new user profile with "High Restrictions" configured, the sound volume is still changeable from the notification area. You can create a new user profile to test this.

 

Best Regards,


------------------------------------
Reply:

The message I get is

"Error Loading mmsys.cpl

Access is denied."

 


------------------------------------
Reply:

Hi,

 

Thanks for your update. Did this issue persist in a new user profile without any SteadyState restrictions? If so, the problem should be caused by other factors.

 

FYI, you can refer to the following article to reset the security settings.

 

How to reset security settings back to the defaults

http://support.microsoft.com/kb/313222

 

Regards,


------------------------------------
Reply:

After testing many options, I was able to get the Volume Control icon to appear in the System Tray area by unchecking the Windows Restriction (SteadyState) for "Prevent acess to Windows Explorer features:  Folder Options, Customize Toolbar, and the notification area".

 

 


------------------------------------
Reply:

I am also encountering this problem. Currently I have a few PC installed with different version of steadystate. For the latest version 2.5, I notice that the volume control is missing and those older version is not. Is there any other solution to let the icon appear beside alowing "Prevent acess to Windows Explorer features:  Folder Options, Customize Toolbar, and the notification area"?


------------------------------------

Potential Solutions to Installation Issues

I too, tried unsuccessfully to install Service Manager and failed miserably about 5 times.  I checked this forum and was told in one of the threads that I needed to read the installation documentation and make sure I had all prerequisites set up on my machine.  The only problem was that I could not find this document / step-by-step install.

Anyways -- after a couple of changes I just got the application to install successfully.  Couple things that I changed that might have been the issue. 

I configured the server to be a Windows 2008 domain controller.  I did not have a 2008 Domain controller previously so this was one step.

My VM, for some reason had the data disk/share that I was using was formatted using FAT.  I had to reformat using NTFS.

After doing these 2 things the application installed successfully.

Hope this helps someone!
 

Reply:
Thanks for sharing!
SM_Initial_Config_SxS.doc contains instructions how to install SM2010. I have it running on a non domain controllera machine. But I think that NTFS is a requirement for all modern MSFT products.
Anders Bengtsson | Microsoft MVP - Operations Manager | http://www.contoso.se

------------------------------------
Reply:
Service Manager must be installed in an environment that has an Active Directory Domain Controller.  For those of you using virtual machines, to evaluate the product please make sure that you either make the server you are installing Service Manager on a Domain Controller if you are using a internal only network.  If you are using a virtual machine connected to an external network please make sure that the virtual machine server you are installing on is a member of the domain on the external network.

Hope that helps!

------------------------------------

A way to add comments to fields in table

Is there way to add a comment to a fields in a table like in Excel?  I have a data table that has report links in some of the fields...Meaning if they click on the field Heart it will show Data for that specific Donor on just the Heart.  

I am looking for a way to let them know the they can "drill" down with that report and find "specific" information based on what they clicked.

Is there a way to do that?  like an MouseOver() event or something.

Larry 
  • Edited by Lcook007 Tuesday, December 30, 2008 7:07 PM misspelled something

Reply:
Hi Larry,

How about using tooltip in the navigation. You won't be able to see the result in report Preview (in VS). You can see the result when deploy them in report server. Good luck.
Glad to help ...

------------------------------------
Reply:
Perfect!  You rock! 

Thank you! 

Larry

------------------------------------

Application Virtualization Product Team needs your help!

Hi Everyone,

The App-V team needs your help.

We'd like your insight to help us improve SERVER application serviceability, reliability, and availability to create a consistent deployment experience.  This experience can be accomplished through application virtualization by making server applications accessible and manageable without requiring application code changes, maintain application state separation and thus unifying the deployment and servicing processes.

To learn more and fill out a quick survey to help with our planning process, please check out our Team Blog.  http://blogs.technet.com/softgrid/archive/2008/12/18/application-virtualization-product-team-needs-your-help.aspx


Thanks

Gene Ferioli

Senior Program Manager, Microsoft Application Virtualization, Microsoft

Reply:
I'm not sure everyone "get this" from the post, but I believe that when Gene refers to "Server" applications, he is talking in the greater Microsoft perspective.  To me this means things that Microsoft calls server under the MSDN or Technet downloads like Exchange or IIS or Great Plains.

It would be great if Gene posted some additional information to clarify!

------------------------------------

finding the first and last days of the month

I'm trying to find a way to automatically get the first and last dates of the month based on the current date (returned as dates).
So for example 12/29/08 will return 12/1/08 and 12/31/08.  So far the only way I can think of is making an ugly expression.  Is there an easier way? Thanks

Reply:
nevermind, found something doing a google search

DateSerial(Year(Now), Month(Now) + 1, 0) - Last day of month
DateSerial(Year(Now), Month(Now), 1) - First day of month

------------------------------------
Reply:
Hi,
Try this Also,


For First Day,

=DateAdd("D", -1.0 * DatePart("D", Parameters!Date.Value) + 1, DateAdd("m", 0, Parameters!Date.Value))

For Last Day,

=DateAdd("D", -1.0 * DatePart("D", Parameters!Date.Value) - 1, DateAdd("m",+1, Parameters!Date.Value))



------------------------------------
Reply:

Set @MonthDayOne=DATEADD(mm, DATEDIFF(mm,0,@BeginMonth), 0)
Set @MonthDayLast=DATEADD(mm, DATEDIFF(m,0,@BeginMonth )+1, 0)
@beginMonth can be any date 

------------------------------------

SCE2007 Console

I want my Helpdesk person to use SCE 2007 for day to day troubleshoot issues. What do I have to install on his PC from SCE 2007 cd's?

Thanks
Deep Kumar

Reply:
first be sure to install the agent on his computer, this will ensure the internal certs are installed

next, put the DVD for SCE 2007 SP1 in his drive, and select console only installation

when he runs the console for the first time, it will ask him the DNS name of the SCE server

thats about as easy as it gets

------------------------------------
Reply:
Thanks, I will try it and will let you know.
Deep Kumar

------------------------------------
Reply:
I followed your steps and put the cd in but i only have Full Install option and even then it did not allow me to install it and I got this message "System Center Operations Manager 2007" is installed on this pc, uninstall it first and then install the console.

Any Idea?


Deep Kumar

------------------------------------

Proclarity Web Profissional Logging Problem

 
Dears,
 i have a problem related to Security of Proclarity Web Professional 6.3 ... My story is that, sometimes user A can access the views published on PAS for Cube A , and the view loads normally and sometimes the same user cant access the same view on the same cube without touching the user roles. also sometimes it cant even view the libraries that are published on PAS that User A Should access , is there any hotfix for this issue ? please help !

Best Regards,
Ruben

No comments:

Post a Comment

Setup is Split Across Multiple CDs

Setup is Split Across Multiple CDs Lately I've seen a bunch of people hitting installation errors that have to do with the fact th...