Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual Studio Express- ghost Default.aspx

Status
Not open for further replies.

R7Dave

Programmer
Oct 31, 2007
181
US
Hello

I am working on a site and have been having weird behavior with Visual Studio Express.

I created a login page that uses master pages. I uploaded the site to my GoDaddy hosting account - everything OK on my home pc and the next day on my work pc.

That night, at home, I get an error when I click submit running the page from GoDaddy. When I ran the page locally in Visual Studio Express - it wasn't the same Default page. I could tell because I had text on the page that marked the time "10:16". But in design mode, the "10:16" was not there - it was there only when I ran the page (F5)

If I clicked the submit button - the normal default page (without 10:16) would load

I tried all of the options under Build, closed VS, restarted - I looked through all of the files for a Default or aspx pages containing "10:16" - nothing- then I deleted the Default.aspx - when I pressed F5, the "10:16" page appeared - even though there was no Default.aspx at all.

Next day, on my work PC, the site ran live on GoDaddy like normal.

I'm figuring that I am going to have to just start a new web site and add my old pages one at a time - unless there you have suggestions

I'd like to at least gain some knowledge from this frusteration - does anyone have suggestions on what might be happening? The site works fine from GoDaddy on one PC but the site gets an error on another PC that has Visual Studio loaded - and in Visual Studio, the default.aspx is from the previous night (10:16 pm) that doesn't exist in design mode and posts back the default.aspx that IS in VS on PostBack

Thanks in advance
Dave
 
there are a number of variables between developing a website locally on your computer and running from a public ISP.

You said you got an error; what was the error? hopefully you are logging the errors so you can fix them at a later date. the details (type, message, stacktrace) will be the starting point for fixing these errors.

I would recommend introducing a testing/staging environment into your release plan. this will help mitigate networking errors that you will not find testing the website locally on your computer.

Jason Meckley
Programmer
Specialty Bakers, Inc.

faq855-7190
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top