Blank ASPX page OR Page not being rendered

I have an application that was built on IBS V1, its worked well over the years.  It was previously done with NotePad, I'm now using VS 2005.

The problem I'm experiencing is that some ASPX pages are being rendered as blank.  When I view sourcecode in Notepad, all the HTML is there, but nothing is displayed and there is nothing to select.  If this was happening to all pages, I could solve it. It appears to be totally random. I have two pages which are identical except for the parameters, one is displayed okay, the other is just blank.

 This is happening when I view in Localhost in IE (tried 6 & 7 same results).

 When I was first working in VS2005 when I switched to design mode it was also blank, but this seemed to correct itself. None of the pages that are NOT being displayed is giving any problem or reporting any error in VS2005 and the same with Web Developer 2008.


 I would sujest you check your stylesheet or styles on the page incase you have display: none; or anything else like that set, best way to test is remove all style sheet reference.

 Possibly even copy the html from source view then remove styles and css file reference and test again as this eliminates serverside code.

What happens when debugging in VS? same thing?



Its not style sheets,  as I said I have two pages which are identical apart from a parameter, one page works and the other doesn't.

 It has something to do with the Page Compiler.

 But if the page is showing source code then it should be displayed...

Could you show the offending page code to try and replicate?



The problem has been identified. Its Internet Explorer.  All other browsers display the page.  IE previously had displayed the page, no it displays blank (but does serve up the code) so its IE.

This has happened to a number of pages, and the pages worked up until something makes IE not render the page.

 IE was the last thing I suspected, I've spent over 70 hours on this problem.

I've done some more testing, and Firefox and Safari both work flawlessly with the pages, that IE draws blank.  Opera doesn't work either, but Opera doesn't render the menus either, which all other three browsers do.  Opera has worked fine on my DNN sites, but it hates this site which was built on IBS SDK ASP.NET Framework V1.1.

 I like both Firfox and Safari, but for the last 6 years we have been telling everyone that our site only supports IE. We are looking very foolish.

there is no doubt i can fix your issue if you give me some code....  Without code and without knowing exactly what you are dealing with we are all just tossing random guesses at what the heck might be going on.....  I was one of the rebels when it came to upgrading to VS2005, I was upgrading everything my company ever wrote to VS2005 when the first beta came out...  So let me tell you i have seen my share of issues with code that should have worked out of the box....  If you post some code or im me I'm sure we can fix ur issue i a lot less hours than u've already spent.....

Its not VS. This site was built using IBS SDK, which means it has full source code .aspx pages which are compiled as accessed. There are DLL Classes which handle data, they all work fine. They are linked via Framework V1.1 with the vbc compiler. And since the pages are rendered correctly in FireFox and Safari without ANY problems. It cannot be an Error.

You are right, there has to be something that is happening as I edit the pages but what, I'm only making changes to pages or controls. None of the Controls have been rendered blank. So it has to be something in the ASPX page that IE doesn't like.  Two of the pages which are giving me the same problem are totally different. Both worked until there was a change, the change has not caused any errors (I use VS 2005 as my editor, it has no problems on either of these pages. If I deliberetly create errors, it finds them. So the page gets compiled properly.  It has to be something in the way IIS serves up the page, that only IE doesn't like.

See IE Newsgroup for more info.  I tried loading the code from right click view source, AFTER I saved it to a file.  When I load the file into Firefox, it displays. When I load thge file into IE it displays nothing. So this is a PURE Internet Explorer issue.

The problem is the following;

 in the following;

    <title title="Edit Capital Income" />
    <link rel="stylesheet" href="../Portal.css" type="text/css" />

If I remove the following line, it all works.

    <title title="Edit Capital Income" />

 NOW the pages that work ALSO have the title, which was insisted by VS and IE did not object.



 Its more interesting as;

    <title title="Pupil Teacher Ratios - Primary"></title>

The above will work, but the following doesn't

 <title title="Edit Capital Income" />



 Wow that's an interesting one! I knew it wasn't serverside but i would never have removed the title!



The reason I started this thread was I couldn't find any other Posts on this problem.  I just tried again, no luck finding this Thread using Search.  I tried the exact search for "rendered as blank"  having copied it from my original post. It found two pages of Posts, but not this thread.

It was suggested in the IE newsgroup, that IE behaved properly (in that it had a problem with the way the tag was written, the person suggested that there is only one way to write a title trag and that is <title></title>.  If that is the case then VS-2005 needs to reflect this.  It appears a bit strange that VS and IE use a different set of rules to interpret HTML.

i had a similar issue, where the designer wasn't rendering the UI, although there was plenty of html etc. I removed the style tag in the <head> tag and voila, the UI shows up. 

I stumbled on this thread with the exact same problem with <TITLE/>. Appreciate finding this. FYI, I've found opening and closing an IFRAME in a single tag also causes major problems, iirc, elements open and closed with a single tag have also caused the web postback method to be "not found". As a rule, all elements I create an open tag and close tag for, even if empty.

thoughts on "Blank ASPX page OR Page not being rendered"

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>