Receiving error 'permissions granted to user XYZ are insuffici

Receiving error 'permissions granted to user XYZ are insuffici

Post by SVNHQURNSU » Wed, 27 Apr 2005 03:43:03


Hi Jens, here it is. Not that no issue as long as 'ReportUser' is
admin-equivalent. thx

public ReportsListPage()
{
string webSrvcPath =
(string)ConfigurationSettings.AppSettings["ReportsWebServicePath"];

// Set the server URL
base.Url = webSrvcPath;

bool isRSRemote =
Convert.ToBoolean(ConfigurationSettings.AppSettings["RSRemote"]);

// Set the credential
if(isRSRemote)
{
CredentialCache cache = new CredentialCache();
cache.Add(new Uri(base.Url), "Negotiate", GetCredentials());
base.Credentials = cache;
}
else
{
base.Credentials = System.Net.CredentialCache.DefaultCredentials;
}

CheckAuthorized();
}

private NetworkCredential GetCredentials()
{
string userName = (string)ConfigurationSettings.AppSettings["ReportUser"];
string password =
(string)ConfigurationSettings.AppSettings["ReportPassword"];
string domain = (string)ConfigurationSettings.AppSettings["ReportDomain"];

return new NetworkCredential(userName, password, domain);
}
 
 
 

Receiving error 'permissions granted to user XYZ are insuffici

Post by SVNHQURNSU » Wed, 27 Apr 2005 03:44:02

d

 
 
 

Receiving error 'permissions granted to user XYZ are insuffici

Post by SVNHQURNSU » Wed, 27 Apr 2005 03:44:04

Hi Jens,

Here it is. Not that there is no issue as long when 'ReportUser' is admin
equivalent.

public ReportsListPage()
{
string webSrvcPath =
(string)ConfigurationSettings.AppSettings["ReportsWebServicePath"];

// Set the server URL
base.Url = webSrvcPath;

bool isRSRemote =
Convert.ToBoolean(ConfigurationSettings.AppSettings["RSRemote"]);

// Set the credential
if(isRSRemote)
{
CredentialCache cache = new CredentialCache();
cache.Add(new Uri(base.Url), "Negotiate", GetCredentials());
base.Credentials = cache;
}
else
{
base.Credentials = System.Net.CredentialCache.DefaultCredentials;
}

CheckAuthorized();
}

private NetworkCredential GetCredentials()
{
string userName = (string)ConfigurationSettings.AppSettings["ReportUser"];
string password =
(string)ConfigurationSettings.AppSettings["ReportPassword"];
string domain = (string)ConfigurationSettings.AppSettings["ReportDomain"];

return new NetworkCredential(userName, password, domain);
}
 
 
 

Receiving error 'permissions granted to user XYZ are insuffici

Post by Jens Smeye » Wed, 27 Apr 2005 03:50:27

Did you evaluate the credentials to see wheter they are allowed to render
the report ?

JS

"ISGADMIN" < XXXX@XXXXX.COM > schrieb im Newsbeitrag
 
 
 

Receiving error 'permissions granted to user XYZ are insuffici

Post by SVNHQURNSU » Wed, 27 Apr 2005 04:10:02

hat's what I was saying in my initial post. As a test, I granted this
account the following RS roles and rights:

System Administrator
Browser
Content Manager
My Reports
Publisher

Thx,
Matt

"Jens Smeyer" wrote:

 
 
 

Receiving error 'permissions granted to user XYZ are insuffici

Post by Jens Smeye » Wed, 27 Apr 2005 04:34:58

es hats right, my questions was if the credential cache is loaded with the
right credentials within, just to be aware that you didn messed up with
the application configuration entries and got a null or something like that
back.

Jens Suessmeyer.


"ISGADMIN" < XXXX@XXXXX.COM > schrieb im Newsbeitrag
news: XXXX@XXXXX.COM ...


 
 
 

Receiving error 'permissions granted to user XYZ are insuffici

Post by SVNHQURNSU » Wed, 27 Apr 2005 11:35:09

i Jens - so do you know what OS/file permissions a user needs in order to
render reports?

thx

"Jens Smeyer" wrote:

 
 
 

Receiving error 'permissions granted to user XYZ are insuffici

Post by Jens Smeye » Wed, 27 Apr 2005 14:23:18

FAIK, he only need to get access to the render method (the webservice) to
do it.


"ISGADMIN" < XXXX@XXXXX.COM > schrieb im Newsbeitrag
news: XXXX@XXXXX.COM ...


 
 
 

Receiving error 'permissions granted to user XYZ are insuffici

Post by Praveen Na » Thu, 28 Apr 2005 22:55:17

ay be this question sounds silly. But how to give a user access to only
Render() method.
Some steps would help alot.

Regards,
Praveen

"Jens Smeyer" < XXXX@XXXXX.COM > wrote in
message news:% XXXX@XXXXX.COM ...
to
with
this
is
(string)ConfigurationSettings.AppSettings["ReportsWebServicePath"];
but