locked
Published website wont run RRS feed

  • Question

  • User357616875 posted

    I got this weird problem that has stopped me from launching my website for 2 days now.

    For files and folders that exist, I get a 

    The resource cannot be found.

    error. This all works OK on my dev machine

    I have tried compiling it again, rebooting, checking for physical reference's in the code, looking and removing training / in IIS. I have really tryed to sort this out for the last few days, but I have run out of ideas now.

    I even made a test page and removed my baseclass and masterpage settings, but still got the same result.

    The file file names are default.aspx and all I keep getting is an error like below, but the file does exist and the DLL is in the BIN folder. I have 100's of websites on the same server and I have never had this problem before and I dont know what to do about it.


    Requested URL: /faqs/default.aspx

    Has anybody seem this before, or have any idea what can be causing it

    Graham Mattingley



    Tuesday, September 7, 2010 6:09 AM

Answers

  • User1992938117 posted

    404 says -->Document or file requested by the client was not found.

    but i think its problem of asp.net for your website. it is not configure properly to render asp.net pages

    for that you can use a alternative checks

    1. upload a simple html page named as index.html and check its comming or not? if comming then check 2nd option

    2. be sure if you are using shared hosting then use dedicated iis pool option is checked and also asp.net hosting is true for this website.

    still problem persist? create a demo project and upload on your hosting server and also give to us so that i can host on my server and check that then we can cross check where is the problem...

    then give reply?


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 7, 2010 7:21 AM

All replies

  • User-1802908944 posted

    your you upload this file(/faqs/default.aspx) on hosted server.  Error seems that your file does not exists or missing on hosting server.

    could you set another page which replace default.aspx and call it

     

    Tuesday, September 7, 2010 6:50 AM
  • User1992938117 posted

    please give more idea what you are doing in development server is you Default.aspx page is in main directory??

    or what is the structure of hirerchy of your files and folders

    as for error it says page not there from where you want to access...................


    Tuesday, September 7, 2010 6:54 AM
  • User357616875 posted

    I publish the site, and upload all the files to my hosted server.

    The file does exist in the right place, but when I try and access it it says 404. The file is in the right place as if I put a text file in the same folder I can access it via http:

    The IIS as far as I can see is right, but it just does not work. I am not doing any URL rewrite stuff or anything, this is just the basic setup, and yet it returns a 404 error.

    I have done loads of testing and I can figure it out. The server is returning a 404 code for a file that does exist.



    Tuesday, September 7, 2010 7:11 AM
  • User1992938117 posted

    404 says -->Document or file requested by the client was not found.

    but i think its problem of asp.net for your website. it is not configure properly to render asp.net pages

    for that you can use a alternative checks

    1. upload a simple html page named as index.html and check its comming or not? if comming then check 2nd option

    2. be sure if you are using shared hosting then use dedicated iis pool option is checked and also asp.net hosting is true for this website.

    still problem persist? create a demo project and upload on your hosting server and also give to us so that i can host on my server and check that then we can cross check where is the problem...

    then give reply?


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 7, 2010 7:21 AM
  • User357616875 posted

    Hi Rajneesh, 


    I figured out the problem by accident just now, but I dont know why the error was so inaccurate.

    The Error was 404, the problem was I did not have mysql.dll in the bin folder. I reference them differently in the prod and dev enviorments and I forgot.


    Do you know why it says "404" and not something like "mysql.dll not found" or something like that ?

    Thanks for all you help anyway


    Graham


    Tuesday, September 7, 2010 8:05 AM
  • User1992938117 posted

    MySQL.dll is resource for project as for that error occure as resuorce not found? but as i think it should be different!!!!!!!!

    for error code and their meaning refer below link:

    http://www.404errorpages.com/


    finally you catch error.its good ..


    Tuesday, September 7, 2010 8:10 AM