469,579 Members | 1,161 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,579 developers. It's quick & easy.

ASP Pages not working on browser.

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
Jul 19 '05 #1
9 5554
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

--
Roji. P. Thomas
SQL Server Programmer
--------------------------------------
"Abhi" <an*******@discussions.microsoft.com> wrote in message
news:04****************************@phx.gbl...
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

Jul 19 '05 #2
On Thu, 18 Dec 2003 01:15:54 -0800, "Abhi"
<an*******@discussions.microsoft.com> wrote:
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
Jul 19 '05 #3
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.

-----Original Message-----
On Thu, 18 Dec 2003 01:15:54 -0800, "Abhi"
<an*******@discussions.microsoft.com> wrote:
I created a virtual directory in my default website, thenI 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 insuch 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 anotherscript blocking utility and haven't enabled scripts (or removed thedamned utility...).

Jeff
.

Jul 19 '05 #4
"Abhi" wrote:
Hi, 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.


Jul 19 '05 #5
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.
Jul 19 '05 #6
On Thu, 18 Dec 2003 17:40:01 -0800, "Abhi"
<an*******@discussions.microsoft.com> wrote:
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

-----Original Message-----
On Thu, 18 Dec 2003 01:15:54 -0800, "Abhi"
<an*******@discussions.microsoft.com> wrote:
I created a virtual directory in my default website,thenI 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
.


Jul 19 '05 #7
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.

-----Original Message-----
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

--
Roji. P. Thomas
SQL Server Programmer
--------------------------------------
"Abhi" <an*******@discussions.microsoft.com> wrote in messagenews:04****************************@phx.gbl...
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

.


Jul 19 '05 #8
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

"Abhi" <an*******@discussions.microsoft.com> escreveu na mensagem
news:04****************************@phx.gbl...
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

Jul 19 '05 #9
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.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Abhi" <an*******@discussions.microsoft.com> wrote in message
news:02****************************@phx.gbl... 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.

-----Original Message-----
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

--
Roji. P. Thomas
SQL Server Programmer
--------------------------------------
"Abhi" <an*******@discussions.microsoft.com> wrote in

message
news:04****************************@phx.gbl...
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

.

Jul 19 '05 #10

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Giobibo | last post: by
8 posts views Thread by James | last post: by
9 posts views Thread by boclair | last post: by
5 posts views Thread by Jon Sequeira | last post: by
31 posts views Thread by TC | last post: by
11 posts views Thread by livin | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.