locked
make a website offline RRS feed

  • Question

  • User560206892 posted

    Hi,

    i have some errors with my web.config that  show some errors,

    because i dont have time to check the problem i have created index.html  that i want to show as a default page on my site .

    i have renamed default.aspx to something else but i still get the error

    www.mysite.com/index.html work fine , but not www.mysite.com/

    i have even renamed web.config but still get the errors !

    any help is welcome , thanks .

    Tuesday, September 1, 2015 1:29 PM

Answers

  • User560206892 posted

    hi,

    thanks for your suggestions ,

    i have finally solved my problem by solving missing assemblies in web.config

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 8, 2015 8:29 AM

All replies

  • User-1315512054 posted

    Hello,

    You should set default page in IIS. You could read a tutorial at - How to set default page in IIS.

    Regards

    Tuesday, September 1, 2015 1:47 PM
  • User2103319870 posted

    Have you considered the option to use app_offline.htm to take a website offline, if not you can try that

    Add a app_offline.htm to the root directory of your application by following below steps

    To add an App_offline file to a web application project

    1. Open your solution in Visual Studio 2010.
    2. In the Solution Explorer window, right-click your web application project, point to Add, and then click New Item.
    3. In the Add New Item dialog box, select HTML Page.
    4. In the Name box, type app_offline.htm , and then click Add.

    To make the site run again either delete the file from root directory or rename the file

    Check this link for more details

    Tuesday, September 1, 2015 1:53 PM
  • User560206892 posted

    hmmm this is crazy !

    i stil get the same errors, after trying different things :

    - add app_offline.htm

    - add blank Default.aspx

    - rename Default.aspx and/or web.config

    and for some reason i dont have access to IIS at this time, only ftp .

    the erroes message is

    Could not load file or assembly 'Microsoft.Data.Edm' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

    i admit that i am out of ideas...

    Tuesday, September 1, 2015 2:13 PM
  • User-166373564 posted

    Hi,

    Could not load file or assembly 'Microsoft.Data.Edm' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

    According to the error message above, it's recommended to delete the Temporary ASP.NET Files, and clean and rebuild your project again, then check whether it can fix it.

    With regards,

    Angie

    Thursday, September 3, 2015 1:38 AM
  • User560206892 posted

    hi,

    thanks for your suggestions ,

    i have finally solved my problem by solving missing assemblies in web.config

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 8, 2015 8:29 AM