Results 1 to 14 of 14
Thread: "new host" trouble!
Hybrid View
-
04-25-2004, 12:09 AM #1Junior Guru Wannabe
- Join Date
- Apr 2004
- Location
- West Coast
- Posts
- 86
"new host" trouble!
Can someone guess what the problem could be here:
After testing my site thoroughly on my IIS localhost I uploaded to the server of the new host, and two days later he still doesn't display anything that is not html, and none of my database driven ASP pages either, although he supports asp and my database.
The asp pages show up like a txt page would - code only!
Luckily I was smart enough to keep my old account paid up to overlap with the new one, and I quickly set the DNS to point back to it.
I won't change it until all runs well on the new one, but I would really like to know how that can happen (displaying code only).
-
04-25-2004, 12:16 AM #2Web Hosting Guru
- Join Date
- Apr 2004
- Posts
- 338
This a shared account? or dedicated?
If its dedicated need to make sure you have the correct options turned on in IIS.
If its shared try contacting them and make sure they setup your virtual host to allow script executions.
By default when you setup a new virtual host. Its not going to display anything other than static content. Best way to get this resolved is to contact your provider(if its a shared account)
-
04-25-2004, 01:56 AM #3Junior Guru Wannabe
- Join Date
- Apr 2004
- Location
- West Coast
- Posts
- 86
Just a virtual server, not dedicated.
I still don't understand why it should display my ASP pages as source code like a txt page!
And no db-fed content, although I placed the DB in my root folder as instructed.
-
04-25-2004, 02:01 AM #4WHT Addict
- Join Date
- Jan 2004
- Location
- USA
- Posts
- 109
It looks like the settings on your new server will not allow for script execution hence the pages display as text. As Cope has pointed out.
Contact your host and get the settings checked.█ █ HOST CAPACITY || www.hostcapacity.com || SALES: cs @ hostcapacity.com || MSN: msn @ hostcapacity.com
█ █ Shared Hosting || Multi Domain Hosting || Private Label Reseller Hosting
█ █ Pay Pal Accepted || 99% Uptime || Hosting Since 2002
█ █ Support and Customer Service that really care about our clients || It's the Service that counts.
-
04-25-2004, 02:09 AM #5Junior Guru Wannabe
- Join Date
- Apr 2004
- Location
- West Coast
- Posts
- 86
I did get on the phone with the support tech, and he actually is a nice guy. They do support asp and my db, and he passed the problem on to the server people, who couldn't solve it all day today.
-
04-25-2004, 02:53 AM #6Web Hosting Master
- Join Date
- Feb 2004
- Posts
- 1,827
Displaying ASP pages as text simply means that you HTTP Server is not executing pages with .asp extension. Either the ASP is not enabled or it can't understand your extension.. that is what I can make out
Wholesale Domain Prices for Retail Customers - Rushtoweb.com
-
04-25-2004, 06:35 AM #7Web Hosting Master
- Join Date
- Aug 2003
- Posts
- 2,733
You need to contact the host and ask them
-
04-25-2004, 03:26 PM #8Junior Guru Wannabe
- Join Date
- Apr 2004
- Location
- West Coast
- Posts
- 86
I did one better - dropped him a link to this post!
-
04-25-2004, 03:58 PM #9WHT Addict
- Join Date
- Feb 2004
- Location
- Asia
- Posts
- 161
Alsenor,
The page is displaying .asp code simply because your web folder or your IIS server is not executing the .asp web pages. Therefore, it treats the page just like a normal .html web page.
There are 2 ways that may solve the dll execution problem.
1) Simply stop and restart the IIS server
2) Shut down your Norton anti virus program. Norton system program is treating IISWebUser as a web users. The antivirus program will block and prevent any web users from executing your program in your computer. Close the antivirus program and try again.
Hope this helps you.
Cristiano
-
04-26-2004, 12:29 AM #10Junior Guru Wannabe
- Join Date
- Apr 2004
- Location
- West Coast
- Posts
- 86
Cristiano, you misunderstood I think.
On my localhost it works fine, but on my web host it doesn't.
BTW, if it treats it like html, why would it display the code?
-
04-26-2004, 12:35 AM #11Web Hosting Guru
- Join Date
- Apr 2004
- Posts
- 338
because of the file type *.asp
If the server can not translate/run the script it will display as text.
Works the same of someone running asp on a *nix host without it
-
04-26-2004, 12:45 AM #12Junior Guru Wannabe
- Join Date
- Apr 2004
- Location
- West Coast
- Posts
- 86
That's one riddle solved!
-
04-26-2004, 12:56 AM #13Web Hosting Master
- Join Date
- Mar 2004
- Location
- New Jersey
- Posts
- 798
Originally posted by Alsenor
Cristiano, you misunderstood I think.
On my localhost it works fine, but on my web host it doesn't.
BTW, if it treats it like html, why would it display the code?
If a server is not set up to properly parse (or execute) ASP code, it will show that code as if it were simple text on the .html page. If your pages end in .asp (ie: index.asp), then your host does not have you set up correctly to execute ASP on your site. Contact them!
-
04-26-2004, 01:27 AM #14Junior Guru Wannabe
- Join Date
- Apr 2004
- Location
- West Coast
- Posts
- 86
Originally posted by Cope
because of the file type *.asp
If the server can not translate/run the script it will display as text.
Works the same of someone running asp on a *nix host without it