Click here to Skip to main content
15,913,722 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Every One,

I am working in asp.net web application. In which i apply exception handling and for my error handling i add following code to web.config file.
<customErrors mode="On" defaultRedirect="error.aspx">
			<error statusCode="404" redirect="error.aspx"/>
		</customErrors>

And Now I made a rdlc report in application. for this I add two buttons on page.
So My problem is that if i set Custom error mode = "on" in web.config file and run application. so when I go to my report page after selection of date criteria i select My first button then records show in ReportViewer control. and then if i select second button same page then it redirect me to login page.

please give me any solution.
Posted
Updated 17-Jul-12 22:29pm
v2
Comments
thams 18-Jul-12 4:31am    
Can you elaborate your question?
coolnavjot31 18-Jul-12 5:09am    
I am making application in asp.net. In this i am using form authentication.
I am showing reports in report viewer control in my application.
My Form authentication is working in every page but when in my report page report viewer shows report. then after it if i select any menu or click any button in my application then it redirect me to login.aspx page.
So I am not understand that why report viewer generate these types of bugs.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900