+ Reply to Thread
Results 1 to 3 of 3

Thread: asp.net won't run

  1. #1
    dudleyukip is offline x10Hosting Member dudleyukip is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    4

    asp.net won't run

    I've searched through the forums for answers on this one, and found several threads, but still can't get asp.net to run.

    The url is: http://www.ukipdudley.x10hosting.com/hello.aspx

    It runs fine on IIS on my local machine, but on x10 servers displays a runtime error "Server Error in '/' Application" (as you can see)

    As advised in other threads, I tried adding a line to htaccess in public_html:
    AddType application/mono .aspx .ascx .asax .ashx .config .cs .asmx .axd

    But this results in my browser asking me if I want to download "hello.aspx"..!

    Any help would be much appreciated

  2. #2
    newvbforum is offline x10Hosting Member newvbforum is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    1

    Re: asp.net won't run

    Hey,
    Help me locating this .htaccess file. I logged into my file manager but cannot see this file.

    Also the first step you will need to add this line in your web.config file. <customErrors mode="Off"/>.

  3. #3
    leafypiggy's Avatar
    leafypiggy is offline Community Advocate leafypiggy is on a distinguished road
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    2,228

    Re: asp.net won't run

    I'm not sure I'll be much help... but:

    x10 doesn't run IIS. They run Linux, so you will have to add a MIME type for you to be able to run ASP.NET. Unfortunately, I don't know what code is needed, as I'm not experienced with ASP.

    You might be able to do a search for the information you need - like I said, I have no experience with ASP.NET. (Maybe this? http://www.google.com/search?hl=en&s...r+ASP+on+linux )

    Sorry I couldn't be more help!
    Neil Hanlon
    Neil Hanlon | x10Hosting Support Representative
    Neil[at]x10hosting.com
    █ I'm always happy to help. Just ask a question in Free Hosting
    Terms of Service IRC

+ Reply to Thread

Similar Threads

  1. MySql + ASP.net Connections problem..
    By monsterhit in forum Programming Help
    Replies: 3
    Last Post: 12-10-2009, 01:28 AM
  2. Ok, so I'm trying to decided wether to use asp.net or php
    By mrfish in forum Programming Help
    Replies: 8
    Last Post: 06-16-2009, 05:59 AM
  3. ASP.Net and FTP on Free Account?
    By the7ven in forum Free Hosting
    Replies: 1
    Last Post: 03-06-2009, 11:05 AM
  4. ASP.NET not linking to code behind??
    By angrywasp in forum Programming Help
    Replies: 9
    Last Post: 06-30-2008, 02:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers