Solved

ASP page showing up blank, no errors

Posted on 2014-12-31
22
678 Views
Last Modified: 2015-01-02
I just setup a website in a new computer, it has the same ASP files and DB backend as the one I have online.

When I bring up the login.asp page the browser (Any browser) shows a blank page, it loads with no errors being displayed, it simply does not display anything.

On IIS I have it set to return errors to the browser, but nothing ... the same ASP files and DB work fine in my laptop.

What should I check ?
0
Comment
Question by:amucinobluedot
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 11
  • 7
  • 4
22 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 40526038
make sure you have the right page.  

right-click and "view source" to see what's behind the page.
0
 
LVL 33

Assisted Solution

by:Big Monty
Big Monty earned 450 total points
ID: 40526042
0
 

Author Comment

by:amucinobluedot
ID: 40526044
It is the correct page and ASP is enabled
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:amucinobluedot
ID: 40526048
As a matter of fact, It IS the correct page but the source code shows:


<!--#BeginBlock-->



<!--#BeginBlock-->

<!--#BeginBlock-->



<!--#BeginBlock-->


It doesn't display any of the code between those tags. before or after.
0
 
LVL 34

Assisted Solution

by:Paul MacDonald
Paul MacDonald earned 50 total points
ID: 40526055
What should be around those blocks?  Is there any hard-coded HTML or is it all generated?  I notice there aren't any tags at all  - even basic ones like <html>...
0
 

Author Comment

by:amucinobluedot
ID: 40526058
That's right, NONE of the code is not being displayed on the browser. If I open the same page in Dreamweaver it shows the code just fine.
0
 
LVL 34

Assisted Solution

by:Paul MacDonald
Paul MacDonald earned 50 total points
ID: 40526062
What if you - as [amucinobluedot] alluded to - made it an ASPX page instead of an ASP page.
0
 

Author Comment

by:amucinobluedot
ID: 40526074
If I change the termination to .aspx I get this error

Server Error in '/' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Cannot use 'vbscript' because another language has been specified earlier in this page (or was implied from a CodeFile attribute).

Source Error:


Line 13: <!--#BeginBlock-->
Line 14:
Line 15: <script language=vbscript runat=server>
Line 16: If Request("checkbox") <> "" Then
Line 17:       Response.Cookies("username") = Request.Form("txtusername")

Source File: /bluedot/index.aspx    Line: 15
0
 
LVL 33

Assisted Solution

by:Big Monty
Big Monty earned 450 total points
ID: 40526130
If you just create a page that says

<%=hello world %>

Does that work?
0
 

Author Comment

by:amucinobluedot
ID: 40526156
This works:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

<!--#BeginBlock-->

<html>
<head>
<title>Redirect</title>
</head>

<!--#BeginBlock-->

<body>
Hello


</body>
</html>

<!--#BeginBlock-->

---

Shows the asp it reads "Hello"

There must be some setting on IIS that I am missing preventing the browserto display the ASP
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 40526856
So the whole page is generated programmatically?  There's no HTML on the page you should be able to see absent the ASP code behind running?  What version of IIS is this?
0
 

Author Comment

by:amucinobluedot
ID: 40526937
I am running win 8.  Seems like any ASP page is not being displayed properly.  PHP shows just fine, HTML shows fine too.
0
 
LVL 33

Assisted Solution

by:Big Monty
Big Monty earned 450 total points
ID: 40526943
Can you show where you have asp enabled? Not installed but enabled
0
 

Author Comment

by:amucinobluedot
ID: 40526945
I checked with another ASP (classic) page and also displays none of the code when I view the source. Its like IIS is not working at all for ASP pages.  I will try to reinstall it see if that helps.
0
 
LVL 33

Assisted Solution

by:Big Monty
Big Monty earned 450 total points
ID: 40526952
Here's a video showing how to make sure it's enabled

http://m.youtube.com/watch?v=OCJanjJ4PGA
0
 

Author Comment

by:amucinobluedot
ID: 40527019
Already did all that, still only a blank page shows  :(
0
 
LVL 33

Assisted Solution

by:Big Monty
Big Monty earned 450 total points
ID: 40527875
do you have web matrix installed?
0
 
LVL 33

Assisted Solution

by:Big Monty
Big Monty earned 450 total points
ID: 40527880
also, make sure the file handlers exist:

Open Administrative Tools -> Internet Information Services (IIS) Manager and select the website

In Features View under the IIS section select Handler Mappings check the existing mappings list that appears for a handler that points to *.asp if one doesn't exist select Add Script Map from the right hand navigation bar.
0
 

Author Comment

by:amucinobluedot
ID: 40528058
Handler is there and I did install Web Matrix, uninstalled it and installed it again ... nothing :#
0
 
LVL 33

Accepted Solution

by:
Big Monty earned 450 total points
ID: 40528067
try un-installing web matrix and see if the asp pages show then. i've read online that sometimes web matrix can cause a conflict with classic asp pages
0
 

Author Comment

by:amucinobluedot
ID: 40528069
Thanks Ill try and let you know.
0
 

Author Comment

by:amucinobluedot
ID: 40528224
It ended up being WebMatrix .. go figure ! ... Ill try to share points as best as I can.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Technology Resume 7 84
Google Analytics - viewing a page 10 80
Passing client data from form to server 5 52
How to remove a section of the main menu from Magento 1.9.3 3 62
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question