Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I've inherited a project from a colleague who left the business 2 years ago. I only need to deploy it and what I was given was a zip file containing the project files.

The project was written in ASP.Net 2003 but I can't install that on my machine because Frontpage extensions aren't installed on my machine and aren't available for Vista.

I upgraded the project to 2008 which seemed to go OK and tried to run it.

All I get is a pristine blank white screen. I can't view source, it's just blank. I've set exception handling to show up thrown as well as unhandled errors and I've put a breakpoint on the page_load in the startup page.

Does anyone know what might cause this or at least how I can get the code to stop at my breakpoints?

Cheers

Russ
Posted
Comments
DaveAuld 14-Jul-10 6:33am    
Have you set a start page for the project? also have you tried to navigate to a known page in the project?
R. Giskard Reventlov 14-Jul-10 6:49am    
Have you opened the page in design/source view in VS? Is there anything there or perhaps the page is, in fact, empty!
Russell Jones 14-Jul-10 6:57am    
The Start page is set and the page is visible in the editor.

I've even tried to make a hello world page within the project and set that as startup but that comes up blank too. The page name in the browser address bar is the same as whichever page I set as startup.
E.F. Nijboer 15-Jul-10 4:45am    
Did you start the website/webserver? Installed it correctly? Gave it a valid host-header-name? (under tab "Website" -> Group "Website configuration" -> "Advanced" -> "advanced multiple website configuration" of IIS) Good luck!
Russell Jones 15-Jul-10 4:51am    
I haven't got as far as running it on a Webserver, this is still running in VS2008 under the built in webserver thing

You may write some code in Page_Load event like Response.Write("I am here.'); If you see the display, you know the problem exists after page_load. Otherwise, Page_init event. Just some suggestion to try.
 
Share this answer
 
I've tracked this problem down to not having the State session server enabled on my machine.

Installed VS2003 in an xp VM and the code broke straight away with a proper error message. Made the fix on 2003 and made sure it worked then made the same fix in 2008 and the problem has gone away. That's progress eh.

Thanks to everyone who tried to help, your assistance is greatly appreciated.

Russ
 
Share this answer
 
i thing, controls are invisible in design time but run time visible but codes are available in codepage(.aspx.cs/vb).
some time if any break point in your code. control are not visible in design time . so remove the break point(press Ctrl+shift+delete).then press F6 ,then save and close the project then open.u can see all controls are in the page
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900