473,385 Members | 1,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

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
5 2040
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Steve Horrillo | last post by:
I can't figure out why this script won't insert the subject in the email and why can't I control the font and size being used? I'm not sure where to post this. Let me know where if this is OT. ...
8
by: nick | last post by:
I have a problem and I've been using a cheezy work around and was wondering if anyone else out there has a better solution. The problem: Let's say I have a web application appA. Locally, I set...
7
by: jsale | last post by:
I'm currently using ASP.NET with VS2003 and SQL Server 2003. The ASP.NET app i have made is running on IIS v6 and consists of a number of pages that allow the user to read information from the...
3
by: Pitcairnia | last post by:
The basic purpose of the site is for authenticated users to post event listings, which often include photographs. The user is faced with a page where they can insert all of the information about...
5
by: will.hc.barker | last post by:
Am trying to set up a very simple AJAX script for my website. The javascript i have in an external file which reads as below. This works perfectly in firefox but IE doesn't display anything at...
8
by: Daz | last post by:
Hi everyone. I was faced with the choice of whether my problem is indeed a PHP problem or a MySQL. I have decided it's a PHP problem as I don't experience the same problem when I execute the...
16
by: Victor | last post by:
I have a strange problem in my website. I configured my website to run under 2 worker processes. (web garden enabled). and I stored my user information in the current httpcontext(like...
14
by: Brad | last post by:
I have a .net 2.0 web application project that creates a pdf file, saves the pdf to disk (crystal reports does this part), and then my code reads the pdf file and writes it to the httpresponse ...
7
by: Atul | last post by:
Hi Theres a website that books hotels . user enters the information and according to that results are displayed to the user.Let it be website A. Now I want to create a new project with...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.