troubleshooting Question

Deploying first asp.net 2,0 site

Avatar of cass27
cass27 asked on
Visual Basic ClassicVisual Basic.NETWeb Applications
16 Comments1 Solution804 ViewsLast Modified:
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("HTTP_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.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 16 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 16 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros