TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Danish Habib
NA
694
246k
Error executing child request for CDFQuarterlyReportPage.asp
Mar 4 2015 1:29 AM
I am getting error on server.transfer it gives error on some pages not on all pages below is the code
If Session("UserTypes") = "1" Then
'' ''Response.Redirect("AddUsers.aspx")
Server.Transfer("CreateIndicators.aspx", True)
'Server.Transfer("New.aspx")
End If
If Session("UserTypes") = "2" Or Session("UserTypes") = "3" Then
Server.Transfer("CDFQuarterlyReportPage.aspx", True)
'Response.Redirect("CDFQuarterlyReportPage.aspx")
ElseIf Session("UserTypes") = "4" Then
Server.Transfer("CDFQuarterlyReportPage.aspx", True)
ElseIf Session("UserTypes") = "6" Then
Server.Transfer("IndicatorsTargets.aspx", True)
ElseIf Session("UserTypes") = "5" Then
Server.Transfer("PartnerForm.aspx", True)
ElseIf Session("UserTypes") = "3" Then
Server.Transfer("EditPartnersData.aspx", True)
End If
' ''Return True
Else
lblMessage.Visible = True
lblMessage.Text = "The Email and password does not match ! "
lblMessage.ForeColor = Drawing.Color.CadetBlue
End If
' DisplayMessage(Me.ctlMessageBox, "The provided user name and password could not be authenticated. Please retry.", "Authentication Failed", MessageBoxTypes.Error)
Me.txtPassword.Focus()
Page.Form.DefaultButton = btnLogin.UniqueID
Return False
Catch ex As Exception
'DisplayMessage(Me.ctlMessageBox, "An unexpected error occurred during processing for Login. Please retry.", "Login Failed", MessageBoxTypes.Error)
Return False
Finally
DisposeDataObjects(, , cmdUser, cnnUser)
End Try
Reply
Answers (
0
)
who executes code in .net OPERATING SYSTEM or CLR?
can i do change the button text multi time in one click