Monday, March 26, 2012

Newbie: pages working only above the root

It does rather sound like the server isn't setup correctly.
If ASPX pages are not working in the root of the site, then it could be that
IIS doesn't have the correct script mappings setup.

Asking the ISP to run aspnet_regiis -r and aspnet_regiis -c may fix the
problem by reconfiguring the IIS script mappings, and redeploying the client
script files to each application folder.

--
Regards

Tim Stephenson MCSD.NET
Charted MCAD & MCSD.NET Early Achiever

"James Campbell" <james@dotnet.itags.org.stuttersystems.com> wrote in message
news:O5NW9idkDHA.2616@dotnet.itags.org.TK2MSFTNGP11.phx.gbl...
> I have a site hosted with a company in the US who it seems have given me a
> dedicated server for one of my sites:
> http://216.133.81.184/
> 1. Firstly, I can upload files to the wwwroot (directly into the root) as
> this seems to be set as the home directory
> a. Is this the right way to do it, as I have never seen this before
?
> 2. Classic ASP works in the root: http://216.133.81.184/test.asp
> 3. asp.net (using vb) does not work in the root:
> http://216.133.81.184/hello3.aspx
> 4. But does asp.net works in a sub folder:
> http://216.133.81.184/carresa_site/hello3.aspx
> Has the .net framework been installed properly ?
> Have the host setup the server correctly ??
> Any ideas would be appreciated.
> Thanks
> James CampbellHi Tim,

Thanks for the reply. I have spoke to a few people now about this and your
comments echo everybody else's.

"host misconfiguration"

Thanks
James

"Tim Stephenson" <tim.stephenson@.archant.co.uk> wrote in message
news:e5UePWwkDHA.2364@.TK2MSFTNGP11.phx.gbl...
> It does rather sound like the server isn't setup correctly.
> If ASPX pages are not working in the root of the site, then it could be
that
> IIS doesn't have the correct script mappings setup.
> Asking the ISP to run aspnet_regiis -r and aspnet_regiis -c may fix the
> problem by reconfiguring the IIS script mappings, and redeploying the
client
> script files to each application folder.
> --
> Regards
> Tim Stephenson MCSD.NET
> Charted MCAD & MCSD.NET Early Achiever
>
> "James Campbell" <james@.stuttersystems.com> wrote in message
> news:O5NW9idkDHA.2616@.TK2MSFTNGP11.phx.gbl...
> > I have a site hosted with a company in the US who it seems have given me
a
> > dedicated server for one of my sites:
> > http://216.133.81.184/
> > 1. Firstly, I can upload files to the wwwroot (directly into the root)
as
> > this seems to be set as the home directory
> > a. Is this the right way to do it, as I have never seen this before
> ?
> > 2. Classic ASP works in the root: http://216.133.81.184/test.asp
> > 3. asp.net (using vb) does not work in the root:
> > http://216.133.81.184/hello3.aspx
> > 4. But does asp.net works in a sub folder:
> > http://216.133.81.184/carresa_site/hello3.aspx
> > Has the .net framework been installed properly ?
> > Have the host setup the server correctly ??
> > Any ideas would be appreciated.
> > Thanks
> > James Campbell

0 comments:

Post a Comment