Click here to Skip to main content
       

ASP.NET

 
GeneralRe: It takes too long to execute a query in aspx page PinmemberDavid Mujica13-Nov-12 3:53 
QuestionProblem with MapPageRoute Pinmemberjrahma9-Nov-12 8:50 
AnswerRe: Problem with MapPageRoute PinmemberMarcus Kramer9-Nov-12 9:46 
GeneralRe: Problem with MapPageRoute Pinmemberjrahma9-Nov-12 9:50 
Yes, problem solved. here is the problem and solution.
 
This is my code:
 
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:
 
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. PinmemberMember 95859818-Nov-12 23:55 
AnswerRe: {36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80010001 Call was rejected by callee. Pinmemberjkirkerx10-Nov-12 20:09 
QuestionHi friends i want to create a web application PinmemberVinothData8-Nov-12 23:52 
Questionlarger file uploading issue Pinmembersilentspeaker8-Nov-12 3:17 
QuestionUnable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pinmembersilentspeaker8-Nov-12 1:55 
AnswerRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' PinmemberRichard Deeming8-Nov-12 2:26 

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

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


Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 18 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid