Click here to Skip to main content
15,888,984 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionasp.net membership Pin
msc92013-Sep-14 3:48
msc92013-Sep-14 3:48 
AnswerRe: asp.net membership Pin
hypermellow18-Sep-14 5:32
professionalhypermellow18-Sep-14 5:32 
GeneralRe: asp.net membership Pin
msc92022-Sep-14 0:55
msc92022-Sep-14 0:55 
QuestionJquery-ui ASP Update Panels and User Controls Pin
Wierdbeard6512-Sep-14 7:08
Wierdbeard6512-Sep-14 7:08 
AnswerJquery DatePicker Pin
jkirkerx15-Sep-14 9:37
professionaljkirkerx15-Sep-14 9:37 
GeneralRe: Jquery DatePicker Pin
Wierdbeard6520-Sep-14 12:18
Wierdbeard6520-Sep-14 12:18 
GeneralRe: Jquery DatePicker Pin
jkirkerx20-Sep-14 12:40
professionaljkirkerx20-Sep-14 12:40 
QuestionError: The resource cannot be found. Pin
Member 876166711-Sep-14 8:42
Member 876166711-Sep-14 8:42 
Hello

I am getting the following error message:

Server Error in '/' Application.
The resource cannot be found.
Requested URL: /Account/success.aspx

This is a Web form which inserts field data into a MS Access database and redirects the user to a 'You have successfully registered page'.

Everything was working fine locally until I decided to personalise it to show 'JohnSmith, you have successfully registered'.

I did that by adding the following to my register.aspx.vb file:

Response.Redirect("success.aspx?Data=" & Server.UrlEncode(username.Text))


and this to my success.aspx.vb file:

'Partial Class success
'Inherits System.Web.UI.Page

'End Class

Public Class success
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

End Class


What could be the problem here, please?

Thanks!
AnswerRe: Error: The resource cannot be found. Pin
ZurdoDev11-Sep-14 8:45
professionalZurdoDev11-Sep-14 8:45 
GeneralRe: Error: The resource cannot be found. Pin
Member 876166711-Sep-14 9:03
Member 876166711-Sep-14 9:03 
AnswerRe: Error: The resource cannot be found. Pin
ZurdoDev11-Sep-14 9:06
professionalZurdoDev11-Sep-14 9:06 
GeneralRe: Error: The resource cannot be found. Pin
Member 876166711-Sep-14 9:15
Member 876166711-Sep-14 9:15 
AnswerRe: Error: The resource cannot be found. Pin
ZurdoDev11-Sep-14 9:31
professionalZurdoDev11-Sep-14 9:31 
GeneralRe: Error: The resource cannot be found. Pin
Member 876166711-Sep-14 9:33
Member 876166711-Sep-14 9:33 
SuggestionRe: Error: The resource cannot be found. Pin
Richard Deeming11-Sep-14 9:49
mveRichard Deeming11-Sep-14 9:49 
GeneralRe: Error: The resource cannot be found. Pin
Member 876166711-Sep-14 10:16
Member 876166711-Sep-14 10:16 
GeneralRe: Error: The resource cannot be found. Pin
Richard Deeming12-Sep-14 1:37
mveRichard Deeming12-Sep-14 1:37 
GeneralRe: Error: The resource cannot be found. Pin
Member 876166713-Sep-14 8:34
Member 876166713-Sep-14 8:34 
GeneralRe: Error: The resource cannot be found. Pin
Richard Deeming15-Sep-14 1:56
mveRichard Deeming15-Sep-14 1:56 
GeneralRe: Error: The resource cannot be found. Pin
Member 876166715-Sep-14 2:30
Member 876166715-Sep-14 2:30 
GeneralRe: Error: The resource cannot be found. Pin
ZurdoDev11-Sep-14 10:53
professionalZurdoDev11-Sep-14 10:53 
QuestionMVC jQuery dropdown context menu Pin
Stephen Holdorf11-Sep-14 3:35
Stephen Holdorf11-Sep-14 3:35 
QuestionViewstate spider web Pin
Ali Al Omairi(Abu AlHassan)10-Sep-14 22:20
professionalAli Al Omairi(Abu AlHassan)10-Sep-14 22:20 
AnswerRe: Viewstate spider web Pin
thatraja11-Sep-14 2:09
professionalthatraja11-Sep-14 2:09 
AnswerRe: Viewstate spider web Pin
Sibeesh KV29-Sep-14 1:21
professionalSibeesh KV29-Sep-14 1:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.