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?
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...
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>