The report has user profile dependencies when enabling caching.

Hi,
Using SQL Server Reporting Services 2008 R2.
I am getting the error in the subject trying to cache a report, I see that this is described here
http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/e2ce8dd0-17db-47de-b13e-3574cc9d536f
But, how does this solve my problem?  I still want to use the user as a parameter filter so surely returning a default user as part of the error handling will just give every user the data for that hardcoded user when the report is run?
Sorry for my confusion
Many thanks

Hi ReportCreator,
When we use the User!UserID to filter the data at runtime, the system tries to evaluate the User during Cache Load. At cache time report processing does not have access to the user profile information. Any expression like User!... will cause “has user profile
dependencies” error.
Just as Jerry said, we can write custom code to call the User!UserID in your report to get rid of the UserID during the Caching Operation. Please note that we should use a valid filter instead of "System" like shown in the code to the filter the user.
If there are any other questions, please feel free to ask.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • Report parameter startdate has a defaultvalue or a valid value that depends on the report parameter startdate forward dependencies are not valid

    Hi,
    Am trying to develop a report the parameter has an issue, it gives me an error.
    There are 2 parameter (1st is Date range like start and end date and 2nd is Loan number)
    When ever I select date range the Loan number parameter should go blank. If I input a loan number then date range should go blank. 
    What should I do. Please help
    ERROR --report parameter startdate has a defaultvalue or a valid value that depends on the report parameter startdate forward dependencies are not valid

    Hi Kay_MD,
    If there are only two parameters, we can use first parameter charge the second one, but the second one cannot charge the first one in turn. Because parameter forward dependencies are not valid. To achieve your requirement, we can create another parameter
    to control Date_range and Loan_number parameters. For more details, please see:
    Add a parameter named ReportParameter1 with two available values: Date_range and Loan_number.
    Use the following expression as the default value in Date_range parameter:
    =iif(Parameters!ReportParameter.Value="Date_range",1,"") (1 means a useless value)
    Use the following expression as the default value in Loan_number parameter:
    =iif(Parameters!ReportParameter.Value="Loan_number",1,"") (1 means a useless value)
    Please note that the Date_range and Loan_number parameters should enable Allow blank value (“”), and the blank values should also be contained in available values.
    If there are any other questions, please feel free to let me know.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • I just created a new profile/user on my MacBook Pro. My pointer/mouse. It works fine in my older user profile, but when I go to the new profile my mac will not respond to clicks. Mouse moves but will not click. Already tried restarting and the pram zap.

    I just created a new profile/user on my MacBook Pro. My pointer/mouse on my trackpad. It works fine in my older user profile, but when I go to the new profile my mac will not respond to clicks. The Mouse moves but will not click. Already tried restarting and the pram zap. The problem starts when I log out of my main profile. I get to the login screen and my laptop stops responding to clicks. When I manage to make my way back to my main profile the mouse works perfectly.  Should I just delete the new profile and try again?

    If the modem is also a router, either use the modem in bridge and run pppoe client on the TC.. that is assuming ADSL or similar eg vdsl. If it is cable service.. and the modem is a router, then bridge the TC.. go to internet page and select connect by ethernet and below that set connection sharing to bridge.
    Please tell us more about the modem if the above gives you issues.

  • I have this message when i try to log onto my home pc "The User Profile Service, service failed the logon. User profile cannot be loaded." can I recover my music and photos from iCloud from another user account?

    I get this message when i try to log onto my home pc account "The user Profile Service, service failed the lofon. User profile cannot be loaded" can I recover my data from another/new user account from my iCloud account??

    "Jesse.soto1" wrote in message news:1e164fdf-7370-45c0-9bc7-3b58278121c3...
    Good Afternoon Everyone,
    I am not technologically savvy as a result I'm having trouble understanding previous posts on "The user profile service service failed to logon user profile cannot be loaded." Lingo on domain reset etc, not sure that this pertains to solving my  issue
    ... I cant even get pass the sign in page let alone make changes. I am having this issue with my Dell Studio XPS 1340 with Windows 7 Home Premium. If anyone can provide their two cents I would greatly appreciate.
    Very Respectfully,
    Jesse
    Home Premium cannot logon to a Domain, nor can it be set to try it.
    when you get the logon window, try hitting the three-finger salute )Ctrl+Alt+Del) twice – it may bring up the old-style login window – enter your credentials there.
    Noel Paton | Nil Carborundum Illegitemi |
    CrashFixPC | The Three-toed Sloth

  • In the report level user wants two persons against each work center.

    Hi Experts,
    Please let me know the solution, I have provided scenario below.
    check the query which the user is referring to report:
    Example
    Work center     Person
    KNE33102     44003850
    According to the user, the names for the Work centers should be as follows:
    Work center          Person
    KNE33102         44003850,
    KNE33102        44003603
    I have check the data in T-code-CR03, each work center getting two persons, as can be shown below.
    Work center        Person
    KNE33102           44003850,
    KNE33102           44003603
    In RSA3 it can be seen that both the records are being extracted
    Work center     Start date     End date     Person
    KNE33102     09.02.2009     31.12.2009     44003850
    KNE33102     09.02.2009     31.12.2009     44003603
    In BI , when checking in PSA, it can be seen that the data is also being loaded to BI (Two persons loaded against Work center-KNE33102)
    Work center     Start date     End date     Person
    KNE33102     09.02.2009     31.12.2009     44003850
    KNE33102     09.02.2009     31.12.2009     44003603
    But when loading to the Info Object, one person has deleted. Because of this, in the report level displaying one person.
    Note:-Please let me know what is the procedure, in the report level user wants two persons against each work center.

    Hi,
    As you said in your post the data has mentioned up to 2009. can you try execute the query till to date .
    Regards
    sivaraju

  • User Profile Service failed the logon. User profile cannot be loaded

    Hey
    when I try to log on to the computer using a domain account, I get "User Profile Service failed the logon. User profile cannot be loaded" it allows me to login using the local account. I have restored the computer as far
    back as it can go, I have taken it off the domain and re-joined it, I installed a program called 'Glary utilities 5' and ran a registry repair and that did not work either. I am now out of ideas :(
    Was hoping someone has any more ideas I could try before doing a fresh install.
    Thanks in advance

    Hi,
    Have you checked the solutions mentioned in the the followng link?
    You receive a "The User Profile Service failed the logon” error message
    http://support.microsoft.com/kb/947215/en-us
    Check your event viewer for detailed information, the following link can also be helpful
    http://blogs.technet.com/b/asiasupp/archive/2010/11/24/user-profile-cannot-be-loaded-with-event-id-1509-detail-the-filename-or-extension-is-too-long.aspx
    Yolanda Zhu
    TechNet Community Support

  • I used the migration assistant to transfer files from my PC to my Mac but it recreated my user profile from the PC and I wanted to transfer the files to the new different user profile I've setup on the Mac. How can I transfer everything now?

    I have an older Windows laptop and I am switching to a new MacBook Air. The main user on the Windows laptop is going to be different than the main user on the MacBook. I used the migration assistant to transfer data to the MacBook but it recreated the whole older profile on the new Mac when I just wanted to pull everything over into the new user profile I had already created on the new MacBook. How can I go about putting the data over into the new user profile and erasing the older other user profile it recreated? Would I erase the old user profile on the new Mac and start over with the migration assistant using some setting I missed that lets me pull the data over to the new main user on the MacBook? Or is there a way to rename the old user profile on the Mac to match what I want the new username/password to be somehow?
    Or would it be best to back the data I really need from the old PC onto an external HD and then copy it over to the new Mac from the external HD?
    Looking for advice on how to best go about this. On the old PC I had multiple profiles and it was awkward. On the new Mac I just want a single profile for the primary user and both users will just share the same user profile. I wasn't sure if the Migration Assistant only let you recreate entire profiles or if there was a way to just import data from the old PC's primary profile into the new Mac's new primary profile with some setting adjustment.
    Data would be docs, pics, bookmarks, music. Fairly basic.
    Thanks for any and all advice,
    -Crosscourier.

    Look in the /Users/ folder.

  • [APEX 3] Requested source data of the report has been modified

    Hello APEX-Friends,
    I have a common problem but the situation is a bit different here. Many of you might know the "invalid set of rows requested the source data of the report has been modified" problem. Often it occurs on submit. That means, you have a report, you select rows, you do things, you submit the page and everything blews up.
    This is because you enter some values into fields the report depends on and so you modify your report parameters and the source data changes.
    But:
    In my case I have a dynamically created report that blews up before any submits occur or values change.
    My query is a union of two selects. Both query different views. Those views use a date field as parameter and some compare functions.
    I read the field with a V-Function i wrapped arround the apex V Function - declared as deterministic. My date compare function is also declared deterministic (I doubt this makes any differences as it might be only important for the optimizer, but as long as I don't know exactly what APEX evaluates, I go for sure).
    I ensured, that the date field is set by default with the current date (and that works, because my interactive report initially displays correct data from the current date).
    So everything is deterministic and the query must return same results on subsequent calls, but APEX still throws this "source data has changed" error and I am to 99.99% sure, that this cannot be true.
    And now the awesome thing about this:
    If I change the value of the date field, an javascript performs a submit. The page is reloaded (without resetting pagination!) and everything works fine. I can leave the page, reenter, do things - everything works well.
    But if I log into the application and directly move to the corrupted report and try to use the pagination without editing fields or submitting the page the error occurs.
    Do you have any Idea what's happing there? I could try to workaround this by submitting the page the first time it's entered to trigger this "mystery submit" that gets everything working. But I would like to understand this issue and have a clean solution.
    Thanks in advance,
    Mike aka UniversE

    Okay, I found a solution, but I do not understand it - it might be a design flaw in APEX.
    I mentioned the date field that is used in the query. I also mentioned that it is set with the current date by default. I did not mention how.
    There are some possibilities in APEX to do so.
    1. Default-Setting in the element properties
    2. Static assignment if no value is in session cache
    3. Computation before header
    I did the first and second.
    BUT:
    An interactive report seems to work as follows. A query is executed to get all rows of the report. Then a second query is executed to get the rows that shall be displayed. And the order is screwed up, I think.
    1. The first report query to get all rows
    2. The elements are loaded and set to default values
    3. The second report query to get the display rows
    And that's the reason why nothing worked. Scince I added a computation before header the date field is set before the report queries are executed and everything works all fine now.
    But I think it's a design flaw. Either both queries shall be executed before Regions or afterwards but not split as field values might change when elements are loaded.
    Greetings,
    UniversE

  • The User Profile Service service failed the logon. User profile cannot be loaded.

    I have one Admin profile (me)  and 1 guest profile (Guest)
    I have followed the instructions in Microsoft KB 947215 
    In step 4 it says to locate the S-1-5 folders, which I have done, find the two matching file numbers and change the .bak/ba extensions. Problem is I have 4 folders and I am not sure which to rename. If I try to add the .ba extension on the file named
    S-1-5-21-803116559-3522019405-271708535-1001 I receive an error :
    The Registry Editor cannot rename S-1-5-21-803116559-3522019405-271708535-1001. Error while renaming key.
    Have I picked the wrong file to rename? Please advise. Hopefully I have provided sufficient information. If not please advise.
    Here is a list of the folders, and their respective ProfileImagePath and State information:
    S-1-5-18
     = Value name: ProfileImagePath Value data: %systemroot%\system32\config\systemprofile
            = Value name: State Value data: 0
    S-1-5-19
     = Value name: ProfileImagePath Value data: C:\Windows\ServiceProfiles\LocalService
            = Value name: State Value data: 0
    S-1-5-20
     = Value name: ProfileImagePath Value data: C:\Windows\ServiceProfiles\NetworkService
            = Value name: State Value data: 0
    S-1-5-21-803116559-3522019405-271708535-1000
     = Value name: ProfileImagePath Value data:C:\Users\UpdatusUser
            = Value name: State Value data: 0
    S-1-5-21-803116559-3522019405-271708535-1001
     = Value name: ProfileImagePath Value data:C:\Users\TEMP
            HAS NO STATE INFO
    S-1-5-21-803116559-3522019405-271708535-1001.bak
     = Value name: ProfileImagePath Value data:C:\Users\me
            = Value name: State Value data: 8000
    S-1-5-21-803116559-3522019405-271708535-501
     = Value name: ProfileImagePath Value data:C:\Users\Guest
            = Value name: State Value data: 80

    Hi,
    If you want to modify the registry, you must have administrator privilege.
    Since no other administrator account in your computer, you may have to active the built-in administrator account.
    For detail steps, please refer to the similar thread.
    I receive error message: The user profile service failed the logon. User profile cannot be loaded
    http://answers.microsoft.com/en-us/windows/forum/windows_7-security/i-receive-error-message-the-user-profile-service/38844b82-a2c1-4fa2-9802-a5318d6f7831?auth=1
    Regards,
    Ada Liu
    TechNet Community Support

  • How to know the report has already been sent to printer?

    Dear All,
    I have one problem to check that the report has been printed on paper through a printer after user already previewed and pressed Printer button. Is there any parameter will be sent back from system to inform the program? Please suggest me if you have developed or solved this problem.
    Thank you in advance.
    Pawinee H.
    e-mail: [email protected]
    null

    Yes. I ran the code example and it ran successfully.
    So if we wanna generate report by java code, we should use the code as a http client to access report server to do it.
    I think we could use url http://server:port/reports/rwservlet/showjobid to know the status of generating report (i.e. successful or failed).
    And one more question is that could I get the jobid by any url as soon as I generate my report?
    Thanks a lot.
    Best Regards.

  • "The User profile Service service failed at the logon. User profile cannot be loaded".

    Hi
    I'm having the below problem while i'm starting to logon to my system.  when i entered  the password, i'm getting the below msg as 
    "The User profile Service service failed at the logon. User profile cannot be loaded."
    i m trying since morning . 
    please help me in this issue .
    This question was solved.
    View Solution.

    Hi,
    You could try the following.
    Shut down the notebook.  Tap away at f8 as you start the notebook to enter Windows Recovery Console.  Use the arrow keys to select Safe Mode and hit enter.  If windows will load in this mode, from the Start Menu, click All Programs, click Accessories, click System Tools and launch System Restore.  Pick a restore point at least 48 hours before the log-on issue and then proceed with the restore process.  When complete, Windows will reboot as normal so check if you can now log in correctly.
    Another option if the above does not help is as follows.
    Shut down the notebook.  Tap away at f8 as you start the notebook to enter Windows Recovery Console.  Use the arrow keys to select 'Start Using Last Known Good Configuration' and hit enter.
    If neither of the options above are successful, try running through the procedure detailed in the guide on the following link.
    http://www.sevenforums.com/tutorials/186131-user-profile-service-failed-logon-user-profile-cannot-lo...
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • The user profile service failed the logon. User profile cannot be loaded, WIN7 dual boot

    Hi all,
    I just got a new x201, which I installed ubuntu on a second partition. For a while the two systems were getting along fine, and I was able to switch between them without problems. on my last login it won't accept my credentials (pw or biometric) and says "The user profile service failed the logon. User profile cannot be loaded" and then returns to the login screen. Any ideas on how to fix this without nuking the system?

    Hi, I'm having the exact same problem as little_teapot , I cannot get past the login screen. I went onto the Toshiba support site which asked me to do a system recovery using the F8 key on start up. So I tried this but the problem I'm having is when I turn on the computer holding in the F8 key, nothing happens, it just goes through start up as normal and then it just ends up at the login screen telling me that the user profile cannot be loaded. I've tried it a couple of times and I don't know if I'm doing something wrong with the safe mode start up? Also the notebook is a P500/020 and is only 2 months old running Windows 7? if anyone can help I would greatly appreciate it.
    Thanks

  • My iPad acting so weird tonight. When it shut down automatically because the battery has been drained. When I opened it, it creates some weird sounds like *swoosh* blahblah. It does make me feel nervous. Can someone help me? Does it already broken? :(

    My iPad acting so weird tonight. When it shut down automatically because the battery has been drained. When I opened it, it creates some weird sounds like *swoosh* blahblah. It does make me feel nervous. Can someone help me? Does it already broken?

    adetoye50 wrote:
    Dear Contacts Journal Support Team,
    FYI, this is a user to user support forum.  You are NOT addressing Apple here.
    Honestly, I doubt anyone is really going to take the time to read the novel you have written.

  • Lync 2013 commands shell to get the report which user is connecting to which pool in coexistence with Legacy version

    HI,
    We have LYNC 2013 in coexistence with OCS 2007 R2 and setup is like that user can connect to any pool  either sip is exist on OCS 2007 or on LYNC 2013
    Do we have any command shell to get the details about which user is connecting to which pool?
    lync 2013 commands to get the report which user is connecting to legacy pool in coexistence with ocs 2007
    Thanks
    jitender

    HI Holger,
    Thanks for reply!!
    But the above link will not work as per scenrio.
    The SIP addresses has been migrated to LYNC server. ther is no user host on OCS server. However in communicator client the manual entry is done and OCS pool name is given. OCS pool just redirect the query to LYNC pool.
    And we need to idenfy the SIP user request on OCS which are redirecting by ocs pool to lync pool
    In other word we can say this question like:  How to collect the number of SIP users connections coming on OCS Direct  server?
    Thanks
    jitender
    As all users are migrated to Lync Server, all users will be redirected to their home pool.
    You want to collect the number of SIP connections coming from OCS server that means you want to count the number of Lync client with manual configuration pointing to OCS server.
    This information is stored in SIP session. There is no Lync command to get this kind of information natively.
    Lisa Zheng
    TechNet Community Support

  • The report of user activity

    The report of user activity
    Can anyone show how the sample report of user activity?
    Is there information that the website opened and how much time was running applications? Is used in an active way of running applications?
    I will be grateful for your help.
    Jerry

    Finding a program of monitoring user activity MAC OS X okazauje be very difficult.
    The program aims to monitor sites visited, but:
    - Can not save passwords
    - It can not sending data to an external server
    I can not find such software
    I found: http://www.net-monitoring-software.com/secure-order.html
    but it turns out that the manufacturer no longer supports MAC platform.
    Help! Is anyone familiar with this type of software?
    Pls. Help me.

Maybe you are looking for

  • XML Publisher --Data Template-Help

    Hi we are using XML Publisher attached to R12 , we are using data template ( .XML file) in data definition . we have a requirement for master details report. for that we have parent query and child query .the data coming to parent query should be the

  • RUNNING TOTAL

    Hi, Can any one tell me how to create a running total in Oracle reports. I have two fields pulled in the SQL called CR and DR. I want to do the running total at report level. Here what I want CR------DR-------RTOTAL 20-----10---------10 ( here the RT

  • Expected a dict object error message

    When attempting to open a PDF file in Reader sometimes get the "Expected a dict object" error message.

  • Sub-directories in the PDBooks

    Hi, I use the distribution list to edit some of my reports and place them in a designated folder. When I create a new distribution list, I save it in the PDBooks section by doing this : ePublish > Manage distribution list > Save under. Here we have t

  • ADF & BPEL Question

    Is it possible to do this? I wrote a web app with ADF BC in JDEV 10.1.3.2. In one project I have a .java application that uses the BCs to query data and then send an email based on results. I need to schedule this program to run once a day. I was dir