How to disable Reporting Services data cache in Development

120
15441

Friends,

Microsoft provided data caching option which is a real great boon to the developers and few times the real curse too. Let me explain both the cases here.

Let’s say we have written a query which returns 1 million records from database and using the same output a SSRS report is designed. As you all know it takes minutes to get 1 million records from database and more time to display the same in SSRS report. The data is tested and it is perfectly working and not the work is on Look and Feel of the report like setting colors, fonts and more. When ever you make any change to the Format of the report then you have to see the preview of the report. Here comes the advantage of having data cache in SSRS designer. When ever I click on preview after making changes then the SSRS will uses the data cache option and displays the caches data with new format instead of hitting the database to fetch the data fresh. This helps us in saving our time while development. If this data cache option is not available then for every change the query will be hit and the data will be fetched from database. This will not have much impact if the query is fetching less data but when the data is huge then it is gonna kill the time during development. So, in simple when the report dataset is fetching huge data then better to have data cache enabled to save time during development.

Now, let’s see the disadvantages of having data cache  enabled. If the data is changed in your  database and you want to see it then this data cache should be disabled else it will pull and show the same old cached data again and again. Let me explain a scenario which killed my time. I was new to SSRS and when i was working on PROTOTYPE, I designed a report on DUMMY data and everything was working fine. When I have given demo to my manager he asked me to add more records before we give demo to user. I added more data and everything was set. When the demo to users started, we were surprised by seeing the same old junk data in report(including my name and my gf’s name .. :p). As I was not aware of this option it ruined my day. After long search in google I cam eotknow about this option.

So, it is very important to be aware of this option. This can be Enabled/Disabled in the file present in the below given folder.

C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\RSReportDesigner.config

In that file you can see an option “CacheDataForPreview” and you have to turn this off/on to disable/enable this feature. PFB the screenshot showing the same.

This is a simple  feature but very useful one to developer. So, it is very useful to keep an eye on this while developing SSRS reports.

That’s it .. Hope you understood.

Regards,

Roopesh Babu V

 

120 COMMENTS

  1. natural help for ed [url=http://cheapdr.top/#]cure for ed[/url] prescription drugs without prior prescription

  2. ed drugs list [url=https://cheapdr.top/#]pet antibiotics without vet prescription[/url] ed supplements

  3. prescription drugs canada buy online [url=http://cheapdr.top/#]ed remedies[/url] medications list

  4. viagra originale in 24 ore contrassegno [url=https://viasenzaricetta.com/#]viagra online spedizione gratuita[/url] viagra generico prezzo piГ№ basso

  5. od | Lis 10, 2022 | Nezařazené fajna jest ta gra, graliśmy na 8 osób, myslę że da rade i na więcej 🙂 Darmowa dostawa Ruletka to jedna z najpopularniejszych gier kasynowych, której ewolucja doprowadziła do pojawienia się wielu różnych odmian tej gry. Grając online zauważysz, że poza wersją oryginalną ruletki, istnieje kilka innych, ciekawych jej odmian. Zapoznaj się z poniższym przewodnikiem, aby dowiedzieć się więcej o grze i jej wariantach. Istnieje tak wiele loterii, że rundy bonusowe free slots w wybranej grze są interesujące i lukratywne. Ruletka wirtualna bonusowa bez depozytu zastrzegamy sobie prawo do wycofania dostępności dowolnej oferty lub wszystkich ofert dla dowolnego klienta zgodnie z opisem w punkcie 6,4, dzięki czemu będziesz w stanie pokonać szanse i wygrać dużą gotówkę.
    https://beckettzxbj321109.onesmablog.com/kasyno-online-bez-pieniedzy-56489089
    W 1900 r. ruletka rozprzestrzeniła się w Europie i USA, stając się jedną z najpopularniejszych gier. Miasta kasyn w Europie zaczęły nazywać się Monte Carlo, gdzie dominowała francuska wersja z jednym zerem; w USA Las Vegas stało takim miastem, w którym grali w ruletkę z dwoma zerami. Do dzisiaj stworzono ogromną liczbę różnych strategii do ruletki. Eksperci portalu Roulette77 zebrali wszystkie najpopularniejsze systemy i wybrali te, które mają największy wpływ na zabawę i skutecznie zwiększają statystyczne prawdopodobieństwo wygranej. Oto lista z koncepcjami, które zyskały największe uznanie wśród naszych ekspertów i użytkowników kasyn internetowych. Dwa elementy są ściśle związane z ruletką: koło do gry i plansza z numerami. Na kole ruletki umieszczono 37 (ruletka francuska i ruletka europejska) lub 38 kieszeni (ruletka amerykańska), do których wpada kulka. Kieszenie są na przemian czerwone lub czarne, a zero jest zielone (ruletka amerykańska ma dwa zera).

  6. canadian pharmacy india [url=http://indiapharm.pro/#]overseas pharmacies shipping to usa[/url] indian pharmacy online

  7. buying from canadian pharmacies [url=https://canadapharm.pro/#]pharmacy com canada[/url] canadian 24 hour pharmacy

  8. mexican rx online [url=https://mexicopharm.pro/#]medication from mexico pharmacy[/url] medication from mexico pharmacy

  9. Стрелки — это, пожалуй, самый сложный мейкап-прием. Далеко не каждой девушке удается освоить этот трюк, несмотря на десятки часов тренировок перед зеркалом. Половина успеха в этом деле — правильно подобранная подводка для глаз. Разбираемся в истории этого косметического средства и выбираем идеальный вариант для тебя. Мы рады приветствовать вас в бесплатном и современном редакторе фотографий от Pixlr. Чтобы начать редактирование, нажмите на “Открыть…”, перетащите файл, вставьте его из буфера обмена (CTRL+V) или выберите один из наших шаблонов ниже. Легко смывается, стрелки рисовать очень удобно, на веках не размазывается Флакон серии EСHO 125 мл. На складе в Москве Другое открытие для меня было, что программисты очень мало печатают. Вроде бы мы целый день проводим в IDE за написанием и редактированием текста. Но в реальности мы везде используем автодополнение и редко где печатаем больше 2 символов с начала слова. Поиск в гугле – тоже автодополнение.
    https://bartosha.com/forum/community/profile/shellihockman89/
    При нанесении макияжа учитывается форма и разрез глаз, их расположение. Идеальными считаются миндалевидные глаза – слегка продолговатые с изящными изгибами. Правильно подобранные стрелки способны скорректировать пропорции, акцентировать внимание на красивых чертах лица. Миндалевидная форма глаз — идеальная, она будет подчеркнута любыми стрелками. Прекрасный вариант для тех, кто не уверен, что сможет нарисовать идеально ровную стрелку — в любом случае ты покроешь ее тенями с эффектом растушевки, так что за четкость контура можно не переживать. Рассказываем, как нарисовать стрелки на глазах, поэтапно. Существует несколько средств, при помощи которых можно рисовать стрелки. При использовании каждого из продуктов получаются разные линии и эффекты, при этом они имеют достоинства и недостатки. Дарим скидку 31% на наращивание ресниц до 20 марта

  10. online pharmacy without prescription [url=http://pillswithoutprescription.pro/#]canadian online pharmacies ratings[/url] online pharmacy no prescription

  11. Three cards of the same rank, and two cards of a different, matching rank. In the event of a tie, the highest three matching cards wins. This is a cartoon themed Texas Hold’em Poker game where players play against five computer players chosen at random from a collection of 7 potential opponents. Poker cards can be purchased online in India at very reasonable rates. You can choose from different types of playing cards such as Bicycle cards or Bee playing cards. These are extremely popular among poker players because they offer good quality at an affordable price. bicycle peacock playing cards Four cards of the same rank, and one side card or ‘kicker’. In the event of a tie, the player with the highest side card (‘kicker’) wins.
    http://www.icqt.co.kr/bbs/board.php?bo_table=free&wr_id=16640
    10 minutes tops, that’s all it takes to join real-money casinos and even claim an online casino bonus along the way. Generally speaking, the top 10 casinos clear player payments within 24 to 72 hours. Although bank transfers can take up to 5 business days. To shorten the withdrawal times of the 10 top casinos online email them the right KYC documents. All reputable online casinos we recommend make sure that you can safely gamble and deposit your funds safely. Sometimes extra measures are taken to assure your creditcard is not misused by cybercriminals as a Casino may ask for a security code( Verified by visa ). In this way they can check whether you really are the legitimate owner of the credit card. It even happens that you have to register your creditcard seperately, this ia sll in your favour and provides you with even more security. The execution of the transactions takes place very quicky which on its turn ensures that your funds are immidiately credited on to your casino balance!

  12. india pharmacy mail order [url=http://indianpharmacy.pro/#]indianpharmacy com[/url] best india pharmacy

  13. over the counter drug store [url=https://fastdeliverypill.com/#]international pharmacies that ship to the usa[/url] best pharmacy

  14. canadian drug store cialis [url=https://fastdeliverypill.com/#]legitimate canadian mail order pharmacies[/url] legal online pharmacies

  15. best online pharmacies without prescription [url=http://fastdeliverypill.com/#]order prescription medicine online without prescription[/url] canadian online pharmacy for viagra

  16. online pharmacy india [url=http://pharmacyindia.pro/#]Online medicine home delivery[/url] Online medicine order

  17. canadianpharmacy com [url=https://canadiandrugs.pro/#]canadian pharmacy world reviews[/url] ed drugs online from canada

  18. canada drugs [url=http://canadiandrugs.pro/#]best mail order pharmacy canada[/url] canadian pharmacies compare

LEAVE A REPLY

Please enter your comment!
Please enter your name here

+ 20 = 26