Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Reporting Services Development
 Default value expression error

Author  Topic 

maurkb
Starting Member

5 Posts

Posted - 2009-07-01 : 12:09:41
I am new to Reporting Services and am attempting to resolve an issue for a customer. When the customer attempts to run one of our reports they get the following error message: "Error! The default value expression for the report parameter ‘Username’ has a user profile dependency.” The Username parameter has a default value but as I understand it the default value gets replaced by the users name that is running the report. I'm not sure what the error message is telling me. Does anyone have an idea of what the error means and where I should begin to troubleshoot.

Thanks,
Mark

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-07-01 : 12:51:11
how have you set the default value for user name currently? whats the value set?
Go to Top of Page

maurkb
Starting Member

5 Posts

Posted - 2009-07-01 : 16:01:42
It is set to a default user that has a minimal amount of permissions. But I wonder what the issue is if I have a default value and that default value should be replaced with the user name from login.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-07-02 : 14:19:18
where do you write code for that replace? or you just replace it manually ?
Go to Top of Page
   

- Advertisement -