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

Re: ASP Pages not working on browser. by Roji

Roji
Thu Dec 18 03:37:56 CST 2003

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" <anonymous@discussions.microsoft.com> wrote in message
news:04c701c3c547$8a300aa0$a401280a@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



Re: ASP Pages not working on browser. by jcochran

jcochran
Thu Dec 18 09:40:46 CST 2003

On Thu, 18 Dec 2003 01:15:54 -0800, "Abhi"
<anonymous@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

Re: ASP Pages not working on browser. by Abhi

Abhi
Thu Dec 18 19:40:01 CST 2003

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"
><anonymous@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
>.
>

Re: ASP Pages not working on browser. by Roland

Roland
Thu Dec 18 22:12:43 CST 2003

"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.





Re: ASP Pages not working on browser. by Roland

Roland
Thu Dec 18 22:14:17 CST 2003

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.



Re: ASP Pages not working on browser. by jcochran

jcochran
Fri Dec 19 08:22:37 CST 2003

On Thu, 18 Dec 2003 17:40:01 -0800, "Abhi"
<anonymous@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"
>><anonymous@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
>>.
>>


Re: ASP Pages not working on browser. by Abhi

Abhi
Sun Dec 21 19:16:51 CST 2003

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" <anonymous@discussions.microsoft.com> wrote in
message
>news:04c701c3c547$8a300aa0$a401280a@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
>
>
>.
>


Re: ASP Pages not working on browser. by Vilmar

Vilmar
Mon Dec 22 06:16:57 CST 2003

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" <anonymous@discussions.microsoft.com> escreveu na mensagem
news:04c701c3c547$8a300aa0$a401280a@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



Re: ASP Pages not working on browser. by Mark

Mark
Mon Dec 22 10:14:35 CST 2003

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" <anonymous@discussions.microsoft.com> wrote in message
news:024901c3c829$475a2410$a301280a@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" <anonymous@discussions.microsoft.com> wrote in
> message
> >news:04c701c3c547$8a300aa0$a401280a@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
> >
> >
> >.
> >
>