Aleks
asked on
ASP page showing up blank, no errors
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 ?
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 ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It is the correct page and ASP is enabled
ASKER
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.
<!--#BeginBlock-->
<!--#BeginBlock-->
<!--#BeginBlock-->
<!--#BeginBlock-->
It doesn't display any of the code between those tags. before or after.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
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
Source File: /bluedot/index.aspx Line: 15
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
<%@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
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?
ASKER
I am running win 8. Seems like any ASP page is not being displayed properly. PHP shows just fine, HTML shows fine too.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Already did all that, still only a blank page shows :(
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Handler is there and I did install Web Matrix, uninstalled it and installed it again ... nothing :#
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Ill try and let you know.
ASKER
It ended up being WebMatrix .. go figure ! ... Ill try to share points as best as I can.
right-click and "view source" to see what's behind the page.