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

ASP.NET

 
GeneralRe: Login control doesn authenticate user after closing/changing database Pin
thes@int13-Nov-12 2:14
thes@int13-Nov-12 2:14 
GeneralRe: Login control doesn authenticate user after closing/changing database Pin
jkirkerx13-Nov-12 6:57
professionaljkirkerx13-Nov-12 6:57 
QuestionIt takes too long to execute a query in aspx page Pin
Abdul Rahman Hamidy9-Nov-12 20:10
Abdul Rahman Hamidy9-Nov-12 20:10 
AnswerRe: It takes too long to execute a query in aspx page Pin
jkirkerx10-Nov-12 19:58
professionaljkirkerx10-Nov-12 19:58 
GeneralRe: It takes too long to execute a query in aspx page Pin
David Mujica13-Nov-12 3:53
David Mujica13-Nov-12 3:53 
QuestionProblem with MapPageRoute Pin
Jassim Rahma9-Nov-12 8:50
Jassim Rahma9-Nov-12 8:50 
AnswerRe: Problem with MapPageRoute Pin
fjdiewornncalwe9-Nov-12 9:46
professionalfjdiewornncalwe9-Nov-12 9:46 
GeneralRe: Problem with MapPageRoute Pin
Jassim Rahma9-Nov-12 9:50
Jassim Rahma9-Nov-12 9:50 
Yes, problem solved. here is the problem and solution.

This is my code:

C#
public static void RegisterRoutes(RouteCollection routes)
{
    routes.MapPageRoute("jassim_default", "home", "~/Default.aspx");
    routes.MapPageRoute("jassim_default_arabic", "arabic", "~/Arabic.aspx");
    routes.MapPageRoute("jassim_cv", "cv", "~/cv.aspx");
    routes.MapPageRoute("jassim_skills", "skills", "~/skills.aspx");
    routes.MapPageRoute("jassim_projects", "projects", "~/projects.aspx");
    routes.MapPageRoute("jassim_experience", "experience", "~/experience.aspx");
    routes.MapPageRoute("jassim_news", "news", "~/news.aspx");
    routes.MapPageRoute("jassim_goto_news", "goto/{ID}", "~/goto.aspx");
    routes.MapPageRoute("jassim_goto_news_news", "news/{ID}", "~/goto.aspx");
    routes.MapPageRoute("jassim_goto_news_news_root", "{ID}", "~/goto.aspx");
    routes.MapPageRoute("jassim_tools", "tools", "~/tools.aspx");
    routes.MapPageRoute("jassim_speed", "speed", "~/netconn.aspx");
    routes.MapPageRoute("jassim_bmi", "bmi", "~/bmi.aspx");
    routes.MapPageRoute("jassim_browser", "browser", "~/browser.aspx");
    routes.MapPageRoute("jassim_myip", "myip", "~/myip.aspx");
    routes.MapPageRoute("jassim_age", "age", "~/age.aspx");
    routes.MapPageRoute("jassim_rahma_contact", "contact", "~/contact.aspx");
}


I just moved this line to the bottom and it worked:

C#
routes.MapPageRoute("jassim_goto_news_news_root", "{ID}", "~/goto.aspx");


because I noticed all MapPageRoute below this line are not working.

I still don't know the reason for the problem but happy that my problem was solved.


Thanks...
Question{36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80010001 Call was rejected by callee. Pin
Member 95859818-Nov-12 23:55
Member 95859818-Nov-12 23:55 
AnswerRe: {36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80010001 Call was rejected by callee. Pin
jkirkerx10-Nov-12 20:09
professionaljkirkerx10-Nov-12 20:09 
QuestionHi friends i want to create a web application Pin
VinothData8-Nov-12 23:52
VinothData8-Nov-12 23:52 
Questionlarger file uploading issue Pin
silentspeaker8-Nov-12 3:17
silentspeaker8-Nov-12 3:17 
QuestionUnable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
silentspeaker8-Nov-12 1:55
silentspeaker8-Nov-12 1:55 
AnswerRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
Richard Deeming8-Nov-12 2:26
mveRichard Deeming8-Nov-12 2:26 
GeneralRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
silentspeaker8-Nov-12 2:34
silentspeaker8-Nov-12 2:34 
GeneralRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
Richard Deeming8-Nov-12 2:44
mveRichard Deeming8-Nov-12 2:44 
QuestionWCF Pin
sandeep81467-Nov-12 22:42
sandeep81467-Nov-12 22:42 
AnswerRe: WCF Pin
J4amieC7-Nov-12 22:44
J4amieC7-Nov-12 22:44 
QuestionCould not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Pin
arch067-Nov-12 19:47
arch067-Nov-12 19:47 
AnswerRe: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Pin
Shanalal Kasim7-Nov-12 22:08
Shanalal Kasim7-Nov-12 22:08 
AnswerRe: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Pin
Sentenryu7-Nov-12 23:12
Sentenryu7-Nov-12 23:12 
QuestionWant to close window.showModalDialog() popUp pressing ESC key but i've 100s of popUp. How can i change in a single place and all popup will close pressing ESC Key. Pin
rintoit7-Nov-12 18:11
rintoit7-Nov-12 18:11 
AnswerRe: Want to close window.showModalDialog() popUp pressing ESC key but i've 100s of popUp. How can i change in a single place and all popup will close pressing ESC Key. Pin
Sentenryu7-Nov-12 23:18
Sentenryu7-Nov-12 23:18 
QuestionCompleteWizardStep not working Pin
thes@int7-Nov-12 5:47
thes@int7-Nov-12 5:47 
AnswerRe: CompleteWizardStep not working Pin
jkirkerx7-Nov-12 13:25
professionaljkirkerx7-Nov-12 13:25 

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.