简体   繁体   English

HTTP 错误 404 - 未找到

[英]HTTP Error 404 - Not Found

I'm getting 404 error while clicking on the menu of page after login.登录后单击页面菜单时出现 404 错误。 I'm using VS2010 and testing it on local.我正在使用 VS2010 并在本地进行测试。 When I'm clicking on my menu option (menu name: changepwd) directly it's redirecting to some other page http://localhost:6205/user/changepassword.aspx (error 404) but when I'm clicking on other menu option(menu name: queue) then if I go to menu (changepwd), it's redirecting to correct page http://localhost:62058/HelpDesk/user/changepassword.aspx (no error), it's showing no error and application working fine.当我直接单击菜单选项(菜单名称:changepwd)时,它会重定向到其他页面http://localhost:6205/user/changepassword.aspx (错误 404)但是当我单击其他菜单选项时(菜单名称:队列)然后如果我转到菜单(changepwd),它会重定向到正确的页面http://localhost:62058/HelpDesk/user/changepassword.aspx (没有错误),它没有显示错误并且应用程序工作正常。 This only happens if I go to changepwd directly.只有当我直接去 changepwd 时才会发生这种情况。

I have navigation menu bar (home, ticket, queue, changepwd, contact).我有导航菜单栏(主页、票证、队列、changepwd、联系人)。 So when after login this navigation bar appears and when I'm clicking on changepwd it's showing 404 error and when I'm clicking on queue first and then if I navigate to changepwd it's working fine.因此,当登录后出现此导航栏时,当我单击 changepwd 时,它显示 404 错误,当我首先单击队列时,如果我导航到 changepwd,则它工作正常。

http://localhost:62058/HelpDesk/user/changepassword.aspx http://localhost:62058/user/changepassword.aspx http://localhost:62058/HelpDesk/user/changepassword.aspx http://localhost:62058/user/changepassword.aspx

HelpDesk folder is missing in your second url so its throwing 404 error Place HelpDesk in your navigation path then its work fine.您的第二个 url 中缺少 HelpDesk 文件夹,因此它会抛出 404 错误将 HelpDesk 放在您的导航路径中,然后它就可以正常工作了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM