I am working with Visual web developer and also a host called 1and1. i am having a great difficulty uploading my site to the web. i was told by 1and1 i need to direct it to the root folder of the server and then redirect it using an EnableSessionStateScript. See below:
<%EnableSessionState = False
host = Request.ServerVariables("H
TTP_HOST")
if host = "test.com" or host = "
www.test.com" then
response.redirect("
http://alphatest.co.uk/Testing/index.htm")
else
response.redirect("
http://domain1.com/error.htm")
end if
Which i have filled in the best I can. but it does not seem to rectify any problems. At the moment i am getting very confused as 1and1 are giving me varying ideas about how an asp.net 2.0 app should be uploaded. i have been told (a) you have to use a html index page. then i was told you dont have to use a html index page but the default page cannot have a capital letter D. Is any of this true?? The helpline seems to be clutching at straws as i am.
My website is
www.alphatest.co.uk. please help me with this as it is sending me mad. the error message i am getting is:
Server Error in '/' Application.
--------------------------
----------
----------
----------
----------
----------
----
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /Default.aspx
I can forward web congig set up etc if nec.
Our community of experts have been thoroughly vetted for their expertise and industry experience.