How to redirect to my Home page in asp.net2.0?
-
Hi, I am new to asp.net, since i've created a simple project in asp.net2.0 and sqlserver2000,and hired space in webserver.But my problem is , i uploaded the precompiled version to the server space along with the database .When i typed my domain name it showed the error "Application Error '/'" .I tried to change the web.config property like Custom Error="On" but of no use, i also want to redirect to my home page by default. Plz help
-
Hi, I am new to asp.net, since i've created a simple project in asp.net2.0 and sqlserver2000,and hired space in webserver.But my problem is , i uploaded the precompiled version to the server space along with the database .When i typed my domain name it showed the error "Application Error '/'" .I tried to change the web.config property like Custom Error="On" but of no use, i also want to redirect to my home page by default. Plz help
"On" specifies that custom errors are enabled. If no defaultRedirect is specified, users see a generic error."Off" specifies that custom errors are disabled. This allows display of detailed errors."RemoteOnly" specifies that custom errors are shown only to remote clients, and ASP.NET errors are shown to the local host. This is the default. Use default redirect in custom error tag to redirect page to home page. :)