Get Code Page Instead of .ASP page

E

Earl Partridge

Windows XP Pro, FrontPage 2000

When I run an .htm page in Preview In Browser and from that page click a
link
to an .asp page, I get the html code view instead of the real page. Where
should
I start looking for a fix?
Earl
 
J

Jens Peter Karlsen [FP-MVP]

The ASP page must be served from a Server or you will see it like
that.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
A

Andrew Murray

Did you publish the page to your x:\inepub\wwwroot folder (where 'x' is your
hard drive letter whatever it might be), or are you working frrom that
folder....? Are you viewing the page in your browser using http://localhost
as the address?
 
S

Stefan B Rusynko

x:\inepub\wwwroot is a Disc based web location and will not run ASP
Always publish to or open the local IIS server as http://localhost , etc
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Did you publish the page to your x:\inepub\wwwroot folder (where 'x' is your
| hard drive letter whatever it might be), or are you working frrom that
| folder....? Are you viewing the page in your browser using http://localhost
| as the address?
|
| | >I do have IIS installed and it does appear to be running.
| > Earl
| >
| > | >> The ASP page must be served from a Server or you will see it like
| >> that.
| >>
| >> Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
| >>
| >> On Thu, 11 May 2006 18:30:39 GMT, "Earl Partridge"
| >>
| >>>Windows XP Pro, FrontPage 2000
| >>>
| >>>When I run an .htm page in Preview In Browser and from that page click a
| >>>link
| >>>to an .asp page, I get the html code view instead of the real page.
| >>>Where
| >>>should
| >>>I start looking for a fix?
| >>>Earl
| >>>
| >
| >
|
|
 
E

Earl Partridge

If running on my local machine I didn't think I had to "publish". When I
get
the code page I "Refresh" and get the actual page. And I guess the problem
I now encounter is database or IIS related. That .asp page requests
data from an Access database but the data is not displayed. hmmmmmm.
Earl
 
T

Thomas A. Rowe

You don't have to publish if you are creating/working/testing your site via http://localhost/webname
etc.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

Earl Partridge said:
If running on my local machine I didn't think I had to "publish". When I get
the code page I "Refresh" and get the actual page. And I guess the problem
I now encounter is database or IIS related. That .asp page requests
data from an Access database but the data is not displayed. hmmmmmm.
Earl

Stefan B Rusynko said:
x:\inepub\wwwroot is a Disc based web location and will not run ASP
Always publish to or open the local IIS server as http://localhost , etc
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Did you publish the page to your x:\inepub\wwwroot folder (where 'x' is your
| hard drive letter whatever it might be), or are you working frrom that
| folder....? Are you viewing the page in your browser using http://localhost
| as the address?
|
| | >I do have IIS installed and it does appear to be running.
| > Earl
| >
| > | >> The ASP page must be served from a Server or you will see it like
| >> that.
| >>
| >> Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
| >>
| >> On Thu, 11 May 2006 18:30:39 GMT, "Earl Partridge"
| >>
| >>>Windows XP Pro, FrontPage 2000
| >>>
| >>>When I run an .htm page in Preview In Browser and from that page click a
| >>>link
| >>>to an .asp page, I get the html code view instead of the real page.
| >>>Where
| >>>should
| >>>I start looking for a fix?
| >>>Earl
| >>>
| >
| >
|
|
 
E

Earl Partridge

I thought "preview in browser" was pretty much the same as viewing with
localhost. Oh well, perhaps I have compounded and confused the matter
in that under "inetpub\wwwroot" I added a folder "myhostcopy", which is
where all my folders, files, subwebs reside. When I use IE and
input http://localhost my default page (under myhostcopy) is displayed.

There I also have a subweb "myrc", so I thought if I http://localhost/myrc
I would get the default.asp page for that subweb. Instead I get:
"Directory Listing Denied -The Virtual Directory does not allow contents
to be listed."

Earl
---------------------------------------------------------------------
Thomas A. Rowe said:
You don't have to publish if you are creating/working/testing your site
via http://localhost/webname etc.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

Earl Partridge said:
If running on my local machine I didn't think I had to "publish". When I
get
the code page I "Refresh" and get the actual page. And I guess the
problem
I now encounter is database or IIS related. That .asp page requests
data from an Access database but the data is not displayed. hmmmmmm.
Earl

Stefan B Rusynko said:
x:\inepub\wwwroot is a Disc based web location and will not run ASP
Always publish to or open the local IIS server as http://localhost , etc
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Did you publish the page to your x:\inepub\wwwroot folder (where 'x'
is your
| hard drive letter whatever it might be), or are you working frrom that
| folder....? Are you viewing the page in your browser using
http://localhost
| as the address?
|
| | >I do have IIS installed and it does appear to be running.
| > Earl
| >
| > | >> The ASP page must be served from a Server or you will see it like
| >> that.
| >>
| >> Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
| >>
| >> On Thu, 11 May 2006 18:30:39 GMT, "Earl Partridge"
| >>
| >>>Windows XP Pro, FrontPage 2000
| >>>
| >>>When I run an .htm page in Preview In Browser and from that page
click a
| >>>link
| >>>to an .asp page, I get the html code view instead of the real page.
| >>>Where
| >>>should
| >>>I start looking for a fix?
| >>>Earl
| >>>
| >
| >
|
|
 
T

Thomas A. Rowe

You must under IIS MMC for the web set the name of the default document, which would be default.asp
as you have indicated. This needs to be first in the list for the web site which is then applied to
folders and subwebs.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

Earl Partridge said:
I thought "preview in browser" was pretty much the same as viewing with
localhost. Oh well, perhaps I have compounded and confused the matter
in that under "inetpub\wwwroot" I added a folder "myhostcopy", which is
where all my folders, files, subwebs reside. When I use IE and
input http://localhost my default page (under myhostcopy) is displayed.

There I also have a subweb "myrc", so I thought if I http://localhost/myrc
I would get the default.asp page for that subweb. Instead I get:
"Directory Listing Denied -The Virtual Directory does not allow contents
to be listed."

Earl
---------------------------------------------------------------------
Thomas A. Rowe said:
You don't have to publish if you are creating/working/testing your site via
http://localhost/webname etc.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

Earl Partridge said:
If running on my local machine I didn't think I had to "publish". When I get
the code page I "Refresh" and get the actual page. And I guess the problem
I now encounter is database or IIS related. That .asp page requests
data from an Access database but the data is not displayed. hmmmmmm.
Earl

x:\inepub\wwwroot is a Disc based web location and will not run ASP
Always publish to or open the local IIS server as http://localhost , etc
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Did you publish the page to your x:\inepub\wwwroot folder (where 'x' is your
| hard drive letter whatever it might be), or are you working frrom that
| folder....? Are you viewing the page in your browser using http://localhost
| as the address?
|
| | >I do have IIS installed and it does appear to be running.
| > Earl
| >
| > | >> The ASP page must be served from a Server or you will see it like
| >> that.
| >>
| >> Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
| >>
| >> On Thu, 11 May 2006 18:30:39 GMT, "Earl Partridge"
| >>
| >>>Windows XP Pro, FrontPage 2000
| >>>
| >>>When I run an .htm page in Preview In Browser and from that page click a
| >>>link
| >>>to an .asp page, I get the html code view instead of the real page.
| >>>Where
| >>>should
| >>>I start looking for a fix?
| >>>Earl
| >>>
| >
| >
|
|
 

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

Top