Server Error in App Resource Can’t be found, URL is correct but href is not working in .net
Articles,  Blog

Server Error in App Resource Can’t be found, URL is correct but href is not working in .net


Namaskar, Friends I am Dilip Gangwar and you are most welcome todays part in which we are going to solve an error It is Very Problem Creating Error As we couldn’t find solution easily This is my Web Page now if I navigate to another web page then What happen – This Error comes, Like Server Error resource cannot be found how can be solved this error? Two ways i will Explain here one is very simple, about ‘/’ you can see in error. You might have it in your URL or there is another issue, let’s solve see there are two things to notice – First thing to do… you have given URL here – this one there must not be slash ‘/’ before it some times may be slash here, like that there must not be slash, if it is there remove it 2nd thing to do you on the .aspx page, look at the top of page Code Behind File, a .cs file this file has the Tag Named CodeBehind Replace it to – CodeFile from CodeBehind replace it into all your .aspx pages like this i replace it to codefile save it Build Solution here is your build succeeded message now we Run it now there is no problem to navigate any where you want click – on the links you want to access Thanks a lot to all my dear friends who have been subscribe our channel and the friends who have not subscribe it yet please do it now, to get updated my new videos there are so many Playlists like Excel, C#, HTML…

13 Comments

  • Print Shop Nochad

    Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

  • Muhammad Usman

    No "/" and CodeFile already exist , but still i am getting the error :

    The resource cannot be found.

    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

    And the most important thing is , when i debug the same page it opens but when i try to open it from index page it gives this error . Any solution ?

  • Mujtaba Sultani

    The resource cannot be found.

    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

    Requested URL:

Leave a Reply

Your email address will not be published. Required fields are marked *