Friday, February 17, 2012

ERROR at LogonUser in UILogon.aspx.cs

HI,
I am actually a java developer .I have suddenly changed to RS.
so i am very new to .net programming and ReportingServices.
I am getting error like "HTTP 401 Error: Access Denied."
I know i have to set credentials.But i don't know where i have to set i.e in
which file i have to set.
According to the MSDN white pages While i debugging the file
"UILogOni.aspx.cs" it is stopping at
"server.LogonUser(TxtUser.Text,TxtPwd.Text, null)" it is taking the value of
username and password which i enterd into logon page.
the logfiles has an error type ReportServerWebApp__02_23_2005_17_27_48
this says
CantCommunicateWithReportServerException: Unable to communicate with report
server. Please verify that the report server is operational. at
Microsoft.ReportingServices.UI.RSWebServiceWrapper.GetSecureMethods() at
Microsoft.SqlServer.ReportingServices.RSConnection.IsSecureMethod(String
methodname) at Microsoft.ReportingServices.UI.Global.SecureAllAPI() at
Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel(HttpsLevel
level) at
Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object
sender, EventArgs args) at System.EventHandler.Invoke(Object sender,
EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at
System.Web.UI.Control.InitRecursive(Control namingContainer) at
System.Web.UI.Page.ProcessRequestMain()
aspnet_wp!ui!5b8!2/24/2005-10:02:09:: e ERROR: Exception in ShowErrorPage:
System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String
errMsg) at at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String
errMsg)
aspnet_wp!ui!5b8!2/24/2005-10:02:45:: e ERROR: Unable to communicate with
report server. Please verify that the report server is operational.
aspnet_wp!ui!5b8!2/24/2005-10:02:45:: e ERROR: HTTP status code --> 500
plz could anybody help meAre you using Forms Authentication? If so, have you very carefully followed
the instructions outlined here:
http://msdn.microsoft.com/library/?url=/library/en-us/dnsql2k/html/ufairs.asp?frame=true#ufairs
--
Cheers,
'(' Jeff A. Stucker
\
Business Intelligence
www.criadvantage.com
---
"gundui" <gundui@.discussions.microsoft.com> wrote in message
news:2D8E30FA-D971-4D1D-9A48-61126D835AB1@.microsoft.com...
> HI,
> I am actually a java developer .I have suddenly changed to RS.
> so i am very new to .net programming and ReportingServices.
> I am getting error like "HTTP 401 Error: Access Denied."
> I know i have to set credentials.But i don't know where i have to set i.e
> in
> which file i have to set.
> According to the MSDN white pages While i debugging the file
> "UILogOni.aspx.cs" it is stopping at
> "server.LogonUser(TxtUser.Text,TxtPwd.Text, null)" it is taking the value
> of
> username and password which i enterd into logon page.
> the logfiles has an error type ReportServerWebApp__02_23_2005_17_27_48
> this says
>
> CantCommunicateWithReportServerException: Unable to communicate with
> report
> server. Please verify that the report server is operational. at
> Microsoft.ReportingServices.UI.RSWebServiceWrapper.GetSecureMethods() at
> Microsoft.SqlServer.ReportingServices.RSConnection.IsSecureMethod(String
> methodname) at Microsoft.ReportingServices.UI.Global.SecureAllAPI() at
> Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel(HttpsLevel
> level) at
> Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object
> sender, EventArgs args) at System.EventHandler.Invoke(Object sender,
> EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at
> System.Web.UI.Control.InitRecursive(Control namingContainer) at
> System.Web.UI.Page.ProcessRequestMain()
> aspnet_wp!ui!5b8!2/24/2005-10:02:09:: e ERROR: Exception in ShowErrorPage:
> System.Threading.ThreadAbortException: Thread was being aborted.
> at System.Threading.Thread.AbortInternal()
> at System.Threading.Thread.Abort(Object stateInfo)
> at System.Web.HttpResponse.End()
> at System.Web.HttpServerUtility.Transfer(String path, Boolean
> preserveForm)
> at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String
> errMsg) at at System.Threading.Thread.AbortInternal()
> at System.Threading.Thread.Abort(Object stateInfo)
> at System.Web.HttpResponse.End()
> at System.Web.HttpServerUtility.Transfer(String path, Boolean
> preserveForm)
> at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String
> errMsg)
> aspnet_wp!ui!5b8!2/24/2005-10:02:45:: e ERROR: Unable to communicate with
> report server. Please verify that the report server is operational.
> aspnet_wp!ui!5b8!2/24/2005-10:02:45:: e ERROR: HTTP status code --> 500
> plz could anybody help me|||Hi jeff
I had fallowed all steps according to that MSDN white pages .
while openning the ReportManager I am getting error like "Http 401 :Access
Denied"
so in which file i have to set Networkcredentials? i could't get it .
i am working with this problem from allmost a month
so can u help me.
"Jeff A. Stucker" wrote:
> Are you using Forms Authentication? If so, have you very carefully followed
> the instructions outlined here:
> http://msdn.microsoft.com/library/?url=/library/en-us/dnsql2k/html/ufairs.asp?frame=true#ufairs
> --
> Cheers,
> '(' Jeff A. Stucker
> \
> Business Intelligence
> www.criadvantage.com
> ---
> "gundui" <gundui@.discussions.microsoft.com> wrote in message
> news:2D8E30FA-D971-4D1D-9A48-61126D835AB1@.microsoft.com...
> > HI,
> > I am actually a java developer .I have suddenly changed to RS.
> > so i am very new to .net programming and ReportingServices.
> >
> > I am getting error like "HTTP 401 Error: Access Denied."
> >
> > I know i have to set credentials.But i don't know where i have to set i.e
> > in
> > which file i have to set.
> >
> > According to the MSDN white pages While i debugging the file
> > "UILogOni.aspx.cs" it is stopping at
> > "server.LogonUser(TxtUser.Text,TxtPwd.Text, null)" it is taking the value
> > of
> > username and password which i enterd into logon page.
> >
> > the logfiles has an error type ReportServerWebApp__02_23_2005_17_27_48
> > this says
> >
> >
> > CantCommunicateWithReportServerException: Unable to communicate with
> > report
> > server. Please verify that the report server is operational. at
> > Microsoft.ReportingServices.UI.RSWebServiceWrapper.GetSecureMethods() at
> > Microsoft.SqlServer.ReportingServices.RSConnection.IsSecureMethod(String
> > methodname) at Microsoft.ReportingServices.UI.Global.SecureAllAPI() at
> > Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel(HttpsLevel
> > level) at
> > Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object
> > sender, EventArgs args) at System.EventHandler.Invoke(Object sender,
> > EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at
> > System.Web.UI.Control.InitRecursive(Control namingContainer) at
> > System.Web.UI.Page.ProcessRequestMain()
> > aspnet_wp!ui!5b8!2/24/2005-10:02:09:: e ERROR: Exception in ShowErrorPage:
> > System.Threading.ThreadAbortException: Thread was being aborted.
> > at System.Threading.Thread.AbortInternal()
> > at System.Threading.Thread.Abort(Object stateInfo)
> > at System.Web.HttpResponse.End()
> > at System.Web.HttpServerUtility.Transfer(String path, Boolean
> > preserveForm)
> > at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String
> > errMsg) at at System.Threading.Thread.AbortInternal()
> > at System.Threading.Thread.Abort(Object stateInfo)
> > at System.Web.HttpResponse.End()
> > at System.Web.HttpServerUtility.Transfer(String path, Boolean
> > preserveForm)
> > at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String
> > errMsg)
> > aspnet_wp!ui!5b8!2/24/2005-10:02:45:: e ERROR: Unable to communicate with
> > report server. Please verify that the report server is operational.
> > aspnet_wp!ui!5b8!2/24/2005-10:02:45:: e ERROR: HTTP status code --> 500
> >
> > plz could anybody help me
>
>|||Is this error before or after you enter credentials?
If you've been working on it a month, your best bet is probably a clean
install and re-configuring according the the Forms Authentication sample
from Microsoft. (That's about 4 hours of work.) It's so very easy to screw
it up, and unless you've got a working baseline, you could have tweaked any
number of settings trying to "fix" it, and simply made things worse. Once
you get a working baseline, then you can start modifying the sample to work
with your existing environment, security systems, etc. Or, if you had it
working at some customization after running the sample, go back to that
point again.
Bottom line: get to a known state. You need to have a reference point of a
working system, so you can point to what you were doing when it starts going
wrong.
--
Cheers,
'(' Jeff A. Stucker
\
Business Intelligence
www.criadvantage.com
---
"gundui" <gundui@.discussions.microsoft.com> wrote in message
news:25979987-9508-4CDD-9A2D-E46B71B32B99@.microsoft.com...
> Hi jeff
> I had fallowed all steps according to that MSDN white pages .
> while openning the ReportManager I am getting error like "Http 401 :Access
> Denied"
> so in which file i have to set Networkcredentials? i could't get it .
> i am working with this problem from allmost a month
> so can u help me.
> "Jeff A. Stucker" wrote:
>> Are you using Forms Authentication? If so, have you very carefully
>> followed
>> the instructions outlined here:
>> http://msdn.microsoft.com/library/?url=/library/en-us/dnsql2k/html/ufairs.asp?frame=true#ufairs
>> --
>> Cheers,
>> '(' Jeff A. Stucker
>> \
>> Business Intelligence
>> www.criadvantage.com
>> ---
>> "gundui" <gundui@.discussions.microsoft.com> wrote in message
>> news:2D8E30FA-D971-4D1D-9A48-61126D835AB1@.microsoft.com...
>> > HI,
>> > I am actually a java developer .I have suddenly changed to RS.
>> > so i am very new to .net programming and ReportingServices.
>> >
>> > I am getting error like "HTTP 401 Error: Access Denied."
>> >
>> > I know i have to set credentials.But i don't know where i have to set
>> > i.e
>> > in
>> > which file i have to set.
>> >
>> > According to the MSDN white pages While i debugging the file
>> > "UILogOni.aspx.cs" it is stopping at
>> > "server.LogonUser(TxtUser.Text,TxtPwd.Text, null)" it is taking the
>> > value
>> > of
>> > username and password which i enterd into logon page.
>> >
>> > the logfiles has an error type
>> > ReportServerWebApp__02_23_2005_17_27_48
>> > this says
>> >
>> >
>> > CantCommunicateWithReportServerException: Unable to communicate with
>> > report
>> > server. Please verify that the report server is operational. at
>> > Microsoft.ReportingServices.UI.RSWebServiceWrapper.GetSecureMethods()
>> > at
>> > Microsoft.SqlServer.ReportingServices.RSConnection.IsSecureMethod(String
>> > methodname) at Microsoft.ReportingServices.UI.Global.SecureAllAPI()
>> > at
>> > Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel(HttpsLevel
>> > level) at
>> > Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object
>> > sender, EventArgs args) at System.EventHandler.Invoke(Object sender,
>> > EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at
>> > System.Web.UI.Control.InitRecursive(Control namingContainer) at
>> > System.Web.UI.Page.ProcessRequestMain()
>> > aspnet_wp!ui!5b8!2/24/2005-10:02:09:: e ERROR: Exception in
>> > ShowErrorPage:
>> > System.Threading.ThreadAbortException: Thread was being aborted.
>> > at System.Threading.Thread.AbortInternal()
>> > at System.Threading.Thread.Abort(Object stateInfo)
>> > at System.Web.HttpResponse.End()
>> > at System.Web.HttpServerUtility.Transfer(String path, Boolean
>> > preserveForm)
>> > at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String
>> > errMsg) at at System.Threading.Thread.AbortInternal()
>> > at System.Threading.Thread.Abort(Object stateInfo)
>> > at System.Web.HttpResponse.End()
>> > at System.Web.HttpServerUtility.Transfer(String path, Boolean
>> > preserveForm)
>> > at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String
>> > errMsg)
>> > aspnet_wp!ui!5b8!2/24/2005-10:02:45:: e ERROR: Unable to communicate
>> > with
>> > report server. Please verify that the report server is operational.
>> > aspnet_wp!ui!5b8!2/24/2005-10:02:45:: e ERROR: HTTP status code --> 500
>> >
>> > plz could anybody help me
>>|||Hi jeff ,
i did't get errors at the time of registration.
i am getting errors when i am trying to logon to ReportManager .
like "HTTP Error 401 : Access Denied"
everything is fine with reportserver.
"Jeff A. Stucker" wrote:
> Is this error before or after you enter credentials?
> If you've been working on it a month, your best bet is probably a clean
> install and re-configuring according the the Forms Authentication sample
> from Microsoft. (That's about 4 hours of work.) It's so very easy to screw
> it up, and unless you've got a working baseline, you could have tweaked any
> number of settings trying to "fix" it, and simply made things worse. Once
> you get a working baseline, then you can start modifying the sample to work
> with your existing environment, security systems, etc. Or, if you had it
> working at some customization after running the sample, go back to that
> point again.
> Bottom line: get to a known state. You need to have a reference point of a
> working system, so you can point to what you were doing when it starts going
> wrong.
> --
> Cheers,
> '(' Jeff A. Stucker
> \
> Business Intelligence
> www.criadvantage.com
> ---
> "gundui" <gundui@.discussions.microsoft.com> wrote in message
> news:25979987-9508-4CDD-9A2D-E46B71B32B99@.microsoft.com...
> > Hi jeff
> >
> > I had fallowed all steps according to that MSDN white pages .
> > while openning the ReportManager I am getting error like "Http 401 :Access
> > Denied"
> >
> > so in which file i have to set Networkcredentials? i could't get it .
> >
> > i am working with this problem from allmost a month
> > so can u help me.
> >
> > "Jeff A. Stucker" wrote:
> >
> >> Are you using Forms Authentication? If so, have you very carefully
> >> followed
> >> the instructions outlined here:
> >>
> >> http://msdn.microsoft.com/library/?url=/library/en-us/dnsql2k/html/ufairs.asp?frame=true#ufairs
> >>
> >> --
> >> Cheers,
> >>
> >> '(' Jeff A. Stucker
> >> \
> >>
> >> Business Intelligence
> >> www.criadvantage.com
> >> ---
> >> "gundui" <gundui@.discussions.microsoft.com> wrote in message
> >> news:2D8E30FA-D971-4D1D-9A48-61126D835AB1@.microsoft.com...
> >> > HI,
> >> > I am actually a java developer .I have suddenly changed to RS.
> >> > so i am very new to .net programming and ReportingServices.
> >> >
> >> > I am getting error like "HTTP 401 Error: Access Denied."
> >> >
> >> > I know i have to set credentials.But i don't know where i have to set
> >> > i.e
> >> > in
> >> > which file i have to set.
> >> >
> >> > According to the MSDN white pages While i debugging the file
> >> > "UILogOni.aspx.cs" it is stopping at
> >> > "server.LogonUser(TxtUser.Text,TxtPwd.Text, null)" it is taking the
> >> > value
> >> > of
> >> > username and password which i enterd into logon page.
> >> >
> >> > the logfiles has an error type
> >> > ReportServerWebApp__02_23_2005_17_27_48
> >> > this says
> >> >
> >> >
> >> > CantCommunicateWithReportServerException: Unable to communicate with
> >> > report
> >> > server. Please verify that the report server is operational. at
> >> > Microsoft.ReportingServices.UI.RSWebServiceWrapper.GetSecureMethods()
> >> > at
> >> > Microsoft.SqlServer.ReportingServices.RSConnection.IsSecureMethod(String
> >> > methodname) at Microsoft.ReportingServices.UI.Global.SecureAllAPI()
> >> > at
> >> > Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel(HttpsLevel
> >> > level) at
> >> > Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object
> >> > sender, EventArgs args) at System.EventHandler.Invoke(Object sender,
> >> > EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at
> >> > System.Web.UI.Control.InitRecursive(Control namingContainer) at
> >> > System.Web.UI.Page.ProcessRequestMain()
> >> > aspnet_wp!ui!5b8!2/24/2005-10:02:09:: e ERROR: Exception in
> >> > ShowErrorPage:
> >> > System.Threading.ThreadAbortException: Thread was being aborted.
> >> > at System.Threading.Thread.AbortInternal()
> >> > at System.Threading.Thread.Abort(Object stateInfo)
> >> > at System.Web.HttpResponse.End()
> >> > at System.Web.HttpServerUtility.Transfer(String path, Boolean
> >> > preserveForm)
> >> > at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String
> >> > errMsg) at at System.Threading.Thread.AbortInternal()
> >> > at System.Threading.Thread.Abort(Object stateInfo)
> >> > at System.Web.HttpResponse.End()
> >> > at System.Web.HttpServerUtility.Transfer(String path, Boolean
> >> > preserveForm)
> >> > at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String
> >> > errMsg)
> >> > aspnet_wp!ui!5b8!2/24/2005-10:02:45:: e ERROR: Unable to communicate
> >> > with
> >> > report server. Please verify that the report server is operational.
> >> > aspnet_wp!ui!5b8!2/24/2005-10:02:45:: e ERROR: HTTP status code --> 500
> >> >
> >> > plz could anybody help me
> >>
> >>
> >>
>
>

No comments:

Post a Comment