By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,364 Members | 1,272 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,364 IT Pros & Developers. It's quick & easy.

Problem with ASP.NET website. Does not display anything but a blan

P: n/a
Hi

I am working on a website and suddenly this afternoon i cannot view anything
on my pages. No html is being rendered to the pages (no errors are shown
while compiling the website). I have tried clearing the temporary asp.net
folder and re-compiling the solution. But, if i try to run another project
(website) that i built for test purposes, it works fine. Can anyone let me
know what could be the problem?

Regards.
VSP Vajja.
Apr 4 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
How do you know that no HTML is being rendered? There is a difference
between getting a blank page and having no HTML sent to the client. For
example, simply omitting the closing <TITLEtag on a web page will make the
entire screen appear blank, while all of the page's HTML will still be sent
to the client.

Also, HTML errors NEVER produce error messages in a browser, so I would
guess that you simply have an HTML problem.

Try to access the web page again in your browser and when you see the blank
page, view the source code of that page in the browser. This will tell you
what is being rendered to the client and, most likely, you'll be able to
look at it and determine where the problem is.
"Sai Vajja" <Sai Va***@discussions.microsoft.comwrote in message
news:52**********************************@microsof t.com...
Hi

I am working on a website and suddenly this afternoon i cannot view
anything
on my pages. No html is being rendered to the pages (no errors are shown
while compiling the website). I have tried clearing the temporary asp.net
folder and re-compiling the solution. But, if i try to run another project
(website) that i built for test purposes, it works fine. Can anyone let me
know what could be the problem?

Regards.
VSP Vajja.

Apr 4 '07 #2

P: n/a
Hi Scott

Sorry if i did not make it clear in my post. I did check the source of the
page(right click on the page and select view source option).
There is nothing in the source. Just came up with a blank notepad. I tried
everything possible to get it working but failed. Any suggestions?

Regards
sVajja

"Scott M." wrote:
How do you know that no HTML is being rendered? There is a difference
between getting a blank page and having no HTML sent to the client. For
example, simply omitting the closing <TITLEtag on a web page will make the
entire screen appear blank, while all of the page's HTML will still be sent
to the client.

Also, HTML errors NEVER produce error messages in a browser, so I would
guess that you simply have an HTML problem.

Try to access the web page again in your browser and when you see the blank
page, view the source code of that page in the browser. This will tell you
what is being rendered to the client and, most likely, you'll be able to
look at it and determine where the problem is.
"Sai Vajja" <Sai Va***@discussions.microsoft.comwrote in message
news:52**********************************@microsof t.com...
Hi

I am working on a website and suddenly this afternoon i cannot view
anything
on my pages. No html is being rendered to the pages (no errors are shown
while compiling the website). I have tried clearing the temporary asp.net
folder and re-compiling the solution. But, if i try to run another project
(website) that i built for test purposes, it works fine. Can anyone let me
know what could be the problem?

Regards.
VSP Vajja.


Apr 4 '07 #3

P: n/a
There is a non-ASP.NET issue with not being able to view the source code of
a web page. It has to do with the browser's cache. Try clearing out your
browser's temporary internet files and look again.
"Sai Vajja" <Sa******@discussions.microsoft.comwrote in message
news:DC**********************************@microsof t.com...
Hi Scott

Sorry if i did not make it clear in my post. I did check the source of the
page(right click on the page and select view source option).
There is nothing in the source. Just came up with a blank notepad. I tried
everything possible to get it working but failed. Any suggestions?

Regards
sVajja

"Scott M." wrote:
>How do you know that no HTML is being rendered? There is a difference
between getting a blank page and having no HTML sent to the client. For
example, simply omitting the closing <TITLEtag on a web page will make
the
entire screen appear blank, while all of the page's HTML will still be
sent
to the client.

Also, HTML errors NEVER produce error messages in a browser, so I would
guess that you simply have an HTML problem.

Try to access the web page again in your browser and when you see the
blank
page, view the source code of that page in the browser. This will tell
you
what is being rendered to the client and, most likely, you'll be able to
look at it and determine where the problem is.
"Sai Vajja" <Sai Va***@discussions.microsoft.comwrote in message
news:52**********************************@microso ft.com...
Hi

I am working on a website and suddenly this afternoon i cannot view
anything
on my pages. No html is being rendered to the pages (no errors are
shown
while compiling the website). I have tried clearing the temporary
asp.net
folder and re-compiling the solution. But, if i try to run another
project
(website) that i built for test purposes, it works fine. Can anyone let
me
know what could be the problem?

Regards.
VSP Vajja.



Apr 4 '07 #4

P: n/a
I'd start out by running the app in debug mode and have a breakpoint inside
the Page_Load handler. You want to determine first of all if your Page class
is getting instantiated. Judicious wiring up of try / catch / finally
exception handling code blocks, with optional logging, can work wonders too.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Sai Vajja" wrote:
Hi

I am working on a website and suddenly this afternoon i cannot view anything
on my pages. No html is being rendered to the pages (no errors are shown
while compiling the website). I have tried clearing the temporary asp.net
folder and re-compiling the solution. But, if i try to run another project
(website) that i built for test purposes, it works fine. Can anyone let me
know what could be the problem?

Regards.
VSP Vajja.
Apr 4 '07 #5

P: n/a
Hi Scott

I think i have resolved the issue. I have noticed that when something goes
wrong in my website (compile problems or my pc's Virtual memory is too little
etc) a file by the name app_offline.htm appears in the project. Once this
file is present in the website, nothing works. I re-named this file and my
website started working again!!!

Thanks for the help

Regards
Sai Vajja.

"Scott M." wrote:
There is a non-ASP.NET issue with not being able to view the source code of
a web page. It has to do with the browser's cache. Try clearing out your
browser's temporary internet files and look again.
"Sai Vajja" <Sa******@discussions.microsoft.comwrote in message
news:DC**********************************@microsof t.com...
Hi Scott

Sorry if i did not make it clear in my post. I did check the source of the
page(right click on the page and select view source option).
There is nothing in the source. Just came up with a blank notepad. I tried
everything possible to get it working but failed. Any suggestions?

Regards
sVajja

"Scott M." wrote:
How do you know that no HTML is being rendered? There is a difference
between getting a blank page and having no HTML sent to the client. For
example, simply omitting the closing <TITLEtag on a web page will make
the
entire screen appear blank, while all of the page's HTML will still be
sent
to the client.

Also, HTML errors NEVER produce error messages in a browser, so I would
guess that you simply have an HTML problem.

Try to access the web page again in your browser and when you see the
blank
page, view the source code of that page in the browser. This will tell
you
what is being rendered to the client and, most likely, you'll be able to
look at it and determine where the problem is.
"Sai Vajja" <Sai Va***@discussions.microsoft.comwrote in message
news:52**********************************@microsof t.com...
Hi

I am working on a website and suddenly this afternoon i cannot view
anything
on my pages. No html is being rendered to the pages (no errors are
shown
while compiling the website). I have tried clearing the temporary
asp.net
folder and re-compiling the solution. But, if i try to run another
project
(website) that i built for test purposes, it works fine. Can anyone let
me
know what could be the problem?

Regards.
VSP Vajja.


Apr 13 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.