ASP Pages not working on browser.

A

Abhi

Hi,

I created a virtual directory in my default website, then
I created a few ASP pages. When i run these files from
the browser, i go to the screen "page cannot be displayed"

I am using Windows XP. I am using IE-6

can someone tell me why?? I am able to run HTML pages,
the problem is only witht he ASP Pages.

Thanks for any help.
Abhi
 
R

Roji. P. Thomas

Tell us whats the exact Error you are reciving.
Turn off the "Friendly HTTP Errors" option in your browser.

so you can see the exact error message
 
J

Jeff Cochran

I created a virtual directory in my default website, then
I created a few ASP pages. When i run these files from
the browser

Does "run the files" mean you use File -> Open or you type a URL in
such as http://www.sample.com/myasp.asp ? The former won't work.
i go to the screen "page cannot be displayed"

That dreaded screen huh? Have you tried this:

http://www.aspfaq.com/show.asp?id=2109
I am using Windows XP. I am using IE-6

On a client workstation or the web server itself?
can someone tell me why?? I am able to run HTML pages,
the problem is only witht he ASP Pages.

Many possibilities. Most common is you're running Norton's or another
script blocking utility and haven't enabled scripts (or removed the
damned utility...).

Jeff
 
A

Abhi

Hi,

I think i was not able to celar myself.

By "run the Files" what i mean is I open IE6 and

then i type the url "http://localhost/testsite" then i

get the list of files in the directory testsite

("testsite" is the virtual directory i created on the

default website).I then click on "xyz.asp" it goes to the

page "The page cannot be displayed".

When i save this file "Xyz.asp" as "Xyz.html" it works

fine. That disgusting screen of "Page cannot be displayed"

comes only for asp pages.

WinXP is on client machine. I am trying to do this on my

local host. I tried to unchk the "friendly msgs" in the
IE, but no effect.

Thanks
Abhi.
 
R

Roland Hall

Abhi said:
How do...
I think i was not able to celar myself.
Hope it doesn't hurt.
By "run the Files" what i mean is I open IE6 and
then i type the url "http://localhost/testsite" then i
get the list of files in the directory testsite

....since localhost means the system you're on, which one is it? The server
running IIS or the WinXP machine or is IIS installed and running on the
WinXP machine and that is your localhost? *takes breath*

--
Roland

This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose.
 
R

Roland Hall

one more question...

If localhost is a system running a web server, is it running IIS? ASP is
only supported by IIS and limited support with Sun's Chili!Soft on Apache
Server for example...

--
Roland

This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose.
 
J

Jeff Cochran

By "run the Files" what i mean is I open IE6 and

then i type the url "http://localhost/testsite" then i

get the list of files in the directory testsite

("testsite" is the virtual directory i created on the

default website).I then click on "xyz.asp" it goes to the

page "The page cannot be displayed".

When i save this file "Xyz.asp" as "Xyz.html" it works

fine. That disgusting screen of "Page cannot be displayed"

comes only for asp pages.

WinXP is on client machine. I am trying to do this on my

local host. I tried to unchk the "friendly msgs" in the
IE, but no effect.

No effect, but you still didn't post the *exact* error message you
see.

Have you tried:

Control Panel -> Internet Options -> Connections -> LAN Settings ->
Uncheck everything.

Are you running Norton's or any other script-blocking software?

Jeff

 
A

Abhi

Hi,

This is the exact error msg i am receiving :


The page cannot be displayed
There is a problem with the page you are trying to reach
and it cannot be displayed.

----------------------------------------------------------
----------------------

Please try the following:

Click the Refresh button, or try again later.

Open the localhost home page, and then look for links to
the information you want.
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

----------------------------------------------------------
----------------------

Technical Information (for support personnel)

Error Type:
Active Server Pages, ASP 0138 (0x80004005)
A script block cannot be placed inside another script
block.
/ConnectionTest1/ProductSetup.asp, line 110


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET
CLR 1.0.3705; .NET CLR 1.1.4322)

Page:
GET /ConnectionTest1/ProductSetup.asp

Time:
Monday, December 22, 2003, 9:08:55 AM


More information:
Microsoft Support


Even if i turn off the "Friendly HTTP Errors" option
also, i get this same page.
IIS installed and running on the WinXP machine and that
is the localhost.

Rgds,
Abhi.
 
V

Vilmar Brazão de Oliveira

The problem is that Ms-IIS on Windows XP/2000/NT Professional don't support
more than 10 pages running simultaneously. PWS on Windows 95/98/ME and
Personal Web Manager on Windows Windows 2000/NT only supports 5 pages
running simultaneously.
That's only.
Bye,
Vilmar
 
M

Mark Schupp

Here is your error:
Error Type:
Active Server Pages, ASP 0138 (0x80004005)
A script block cannot be placed inside another script
block.
/ConnectionTest1/ProductSetup.asp, line 110

You probably are attempting to output client-side script within a
server-side script block. something like:

<script language="vbscript" runat="server">
..
..
..
response.write "<script language=""javascript"">
..
..
..
</script>

Simplest fix is to use <% %> to delimit server-side script.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,817
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top