Results 1 to 14 of 14

Hybrid View

  1. #1
    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).

  2. #2
    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)

  3. #3
    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.

  4. #4
    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.

  5. #5
    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.

  6. #6
    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

  7. #7
    Join Date
    Aug 2003
    Posts
    2,733
    You need to contact the host and ask them

  8. #8
    Join Date
    Apr 2004
    Location
    West Coast
    Posts
    86
    I did one better - dropped him a link to this post!

  9. #9
    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
    HostPulse.com - Hosting Directory & Tips
    Cheap Web Hosting
    ASP Hosting
    Domain Hosting

  10. #10
    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?

  11. #11
    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

  12. #12
    Join Date
    Apr 2004
    Location
    West Coast
    Posts
    86
    That's one riddle solved!

  13. #13
    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?
    Because it doesn't understand your ASP script within the HTML page. This might be an obvious question, but do your pages end in .asp? (I'm wondering if your localhost is set up to parse .html files as .asp?) If not, that may be the problem.

    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!

  14. #14
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •