I have been building a site and it works fine locally but i get a 404 and it redirects to the generic error page when i upload it to FastHosts.
I contacted them and they say they think its a scripting error on my part.I dont even know where to look because ive not got any indication as to what could be the problem.
If any of you could help i would be very grateful.
The web.config looks like this ...
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
<add name="ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\OakmanDesign.mdf;Integrated Security=True;User Instance=True"
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
<compilation debug="false" targetFramework="4.0">
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
<pages theme="MainTheme" styleSheetTheme="MainTheme" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
If you need any more information, let me know and i will happily provide it.
Thanks in advance