Saturday, March 31, 2012

Where did my webpage go?

I've got some typical friday afternoon issue.

When I visit/debug a webpage (which worked before), I get a blanc page.

When I view the source in the browser, al the code has rendered and it looks ok.

I tested, with some static text just after the <form> tag, but the text is not show either.

What is wrong?

weird error -- asp.net might have lost its mappings

if you just type in "test" on default.aspx with nothing else does it show up?

might need to register asp again


I commented out a lot of code and found that the external javascript file is causing the problem.

So I commented out all javascript code in the file. But the problem still exists.

<

headrunat="server"><title>My Title</title><linkhref="css/main.css"rel="stylesheet"type="text/css"/><scriptsrc="parameter_overview.js"/>

</

head>

I tried all kind of things, changing the src (url), adding the "type" attribuut, adding the "language" attribute.
Problem keeps existing.

What goes wrong or what could I test?


I found the problem!!!

You have to use a closing tag, and can not use the < /> shortcut.

<scriptsrc="parameter_overview.js"type="text/javascript"></script> = OK<scriptsrc="parameter_overview.js"type="text/javascript" /> = NOT OK

0 comments:

Post a Comment