Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

forms authentication

Status
Not open for further replies.

regulardude

Programmer
Oct 24, 2007
18
US
Having a little hiccup trying to get Forms Authentication working with SSRS.

Got the Forms Login and registered the user, but now I get an error when I try to login.

Tried debuging but didn't help much.

Here is the error:

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

Input string was not in a correct format.
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: System.FormatException: Input string was not in a correct format.

Source Error:


Line 125: catch(Exception ex)
Line 126: {
Line 127: lblMessage.Text = string.Format(CultureInfo.InvariantCulture, ex.Message); ;
Line 128: return;
Line 129: }


Source File: C:\Program Files\Microsoft SQL Server\90\Samples\Reporting Services\Extension Samples\FormsAuthentication Sample\cs\FormsAuthentication\UILogon.aspx.cs Line: 127

Stack Trace:


[FormatException: Input string was not in a correct format.]
System.Text.StringBuilder.FormatError() +54
System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args) +2835092
System.String.Format(IFormatProvider provider, String format, Object[] args) +93
ReportingServices.CustomSecurity.UILogon.BtnLogon_Click(Object sender, EventArgs e) in C:\Program Files\Microsoft SQL Server\90\Samples\Reporting Services\Extension Samples\FormsAuthentication Sample\cs\FormsAuthentication\UILogon.aspx.cs:127
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




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
 
this seems to be saying you have mismatched datetypes. IE trying to put a character in a date field or something
 
lisat76,

Thanks for the input.

I need some help from someone who has tried to implement the Forms Authententication for SSRS.

Have you tried to implement this?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top