Website not functional

Discussion in 'General troubleshooting' started by 0013598, Jun 29, 2011.

  1. Hello,
    I am hosting my website on Winhost and submitted it via webmatrix tool.
    I am using domain name as www.itcube.co.in and it is registered with godaddy.com. But I have nameservers on godaddy to Winhost nameservers already now.

    But I am not able to access my website using the ip address also.
    My website's default page is default.cshtml
    can you help?
     
    Last edited by a moderator: Oct 14, 2015
  2. Ok Finally my domain name is working now but only with index.html not with default.cshtml

    I am getting following error if I make default.cshtml as my default webpage:

    HTTP Error 404.17 - Not Found
    The requested content appears to be script and will not be served by the static file handler.

    Can some one help. Looks like .cshtml is not getting associated with right handler...
     
  3. Here is the content of my web.config file:

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>



    <system.webServer>
    <defaultDocument>
    <files>
    <add value="Default.cshtml" />
    </files>
    </defaultDocument>
    </system.webServer>
    <system.data>
    <DbProviderFactories>
    <remove invariant="System.Data.SqlServerCe.4.0" />
    <add invariant="System.Data.SqlServerCe.4.0" name="Microsoft® SQL Server® Compact 4.0" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
    </DbProviderFactories>
    </system.data>





    </configuration>
     

Share This Page