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.
first you need to be sure that iis on the server is set to run asp 2.0
next you should be able to dump your working directory structure in as it stands
you don't need index.htm.
it can run in a sub folder as long as the permissions are set right.
i used to be at godaddy util i ran into major problems.
i am now at hostmysite. tech support is great
they answer the phone and have a clue.
better yet they can help you monitor your site to insure it is running at its best.
if your problems and frustation continue give em a try.
good luck
greg