From: Eric van der Voort Eric van der on
If the user connect to the report directy via http://localhost/reports, there
is no problem but if the user connects via an aspx called parameter.aspx
the user gets the following error message. If I make this user a local admin
there is no problem. the aspx page works fine, no problem, the report will
show on the aspx page.

Another strange thing, i've got another user for which it is working allright.
But even when i assign User02 the sae permissions it won't show the report
but it wil show the error message below



Server Error in '/MyAppDir' Application.
--------------------------------------------------------------------------------

The permissions granted to user 'MyDomain\User02' are insufficient for
performing this operation. (rsAccessDenied)
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: Microsoft.Reporting.WebForms.ReportServerException: The
permissions granted to user 'MyDomain\User02' are insufficient for performing
this operation. (rsAccessDenied)

Source Error:

Line 120: Dim parameters() As ReportParameter = {reportPar3,
reportPar2}
Line 121:
Line 122: ReportViewer1.ServerReport.SetParameters(parameters)
Line 123: ReportViewer1.ServerReport.Refresh()
Line 124:


Source File: E:\website\MyAppDir\SubDir\Parameter.aspx.vb Line: 122

Stack Trace:

[ReportServerException: The permissions granted to user 'MyDomain\User02'
are insufficient for performing this operation. (rsAccessDenied)]
Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo() +366
Microsoft.Reporting.WebForms.ServerReport.SetParameters(IEnumerable`1
parameters) +83
Parameter.Button1_Click(Object sender, EventArgs e) in
E:\website\MyAppDir\SubDir\Parameter.aspx.vb:122
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
+107

System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102



From: Eric van der Voort on
And the question is, how to resolve this problem of not displaying the report
?
 | 
Pages: 1
Prev: OmitDocumentMap
Next: Dynamic Connection