473,545 Members | 2,444 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2042
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***@discussio ns.microsoft.co mwrote in message
news:52******** *************** ***********@mic rosoft.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***@discussio ns.microsoft.co mwrote in message
news:52******** *************** ***********@mic rosoft.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******@discu ssions.microsof t.comwrote in message
news:DC******** *************** ***********@mic rosoft.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***@discussio ns.microsoft.co mwrote in message
news:52******* *************** ************@mi crosoft.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******@discu ssions.microsof t.comwrote in message
news:DC******** *************** ***********@mic rosoft.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***@discussio ns.microsoft.co mwrote in message
news:52******** *************** ***********@mic rosoft.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
3279
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. <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function isPPC() { if (navigator.appVersion.indexOf("PPC") != -1) return true; else return false;
8
3370
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 it up as C:\domains\appA. Locally, my IIS root points to C:\domains. I don't point it to C:\domains\appA since if I have an appB under C:\domains I...
7
2905
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 database into classes, which are used throughout the application. I have made class collections which, upon reading from the DB, create an instance of...
3
3049
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 the event in a typical form with textboxes, drop down lists, etc. On this page there are also 4 file upload controls where the user can select 0 to...
5
2767
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 all. No error messages, just a blank IE window. If you look at the IE source this html is all there it just won't show it! Any ideas
8
2004
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 same query at the CLI. I am having trouble executing a large query through my PHP script. It takes about 7-11 seconds on average to execute, whereas...
16
2355
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 Httpcontext.current.items.add("__currentuser", myUserobject") and retrieve the user object like (user = (UserType)Httpcontext.current.items). the website...
14
9457
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 The web app works great on win2003 and xp and the end result is a pdf file is displayed in the browser. When I run the same code on Vista, the...
7
7658
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 designing page same as in website A. But wen user clicks on submit button on my website then the same process occurs as is happening when user clicks...
0
7490
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7449
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6009
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5351
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5069
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3465
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1911
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1037
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.