troubleshooting Question

Deploying first asp.net 2,0 site

Avatar of cass27
cass27 asked on
Visual Basic ClassicWeb ApplicationsVisual Basic.NET
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.

ASKER CERTIFIED SOLUTION
Tanglin05

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Log in to continue reading
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform for $9.99/mo
View membership options
Unlock 1 Answer and 16 Comments.
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
The Value of Experts Exchange in My Daily IT Life

Experts Exchange (EE) has become my company's go-to resource to get answers. I've used EE to make decisions, solve problems and even save customers. OutagesIO has been a challenging project and... Keep reading >>

Mike

Owner of Outages.IO
Phoenix, Arizona, United States
Member Since 2016
Join a full scale community that combines the best parts of other tools into one platform.
Unlock 1 Answer and 16 Comments.
View membership options
“All of life is about relationships, and EE has made a virtual community a real community. It lifts everyone's boat.”
William Peck

Member since 2004