+ Reply to Thread
Results 1 to 4 of 4

Thread: Asp.net problems?

  1. #1
    cripps is offline x10Hosting Member cripps is an unknown quantity at this point
    Join Date
    Jan 2010
    Posts
    2

    Unhappy Asp.net problems?

    I have read the asp.net tutorial and I basically copy and pasted everything into my Visual Studio 2008 files. It runs fine when I run within VS2008, but when I upload the helloworld.aspx and code file (both named just like in the tutorial with the same code) it won't load. Internet explorer says "page cannot load", while mozilla gives me this error:

    "XML Parsing Error: no element found
    Location: http://tbc.x10hosting.com/HelloWorld.aspx
    Line Number 1, Column 1:"

    I have other pages on my website that load fine.

    I do not get a asp.net error, its like the page is there but can't be loaded.

    Is there a problem with asp on the servers right now? Or is it something on my end?

    http://tbx.x10hosting.com/HelloWorld.aspx is the location of my asp files

    Also, does it matter if I use .net 3.5 framework or should I use 2.0 or another older version?

  2. #2
    Submariner is offline x10Hosting Member Submariner is an unknown quantity at this point
    Join Date
    Dec 2007
    Location
    TN, USA
    Posts
    44

    Re: Asp.net problems?

    Check the HelloWorld.aspx page and look to see if there is any whitespace before the first '<'. There shouldn't even be any empty lines. Visual Studio and Microsoft tools may handle this by ignoring the white space but Mono might not.

    Good luck.

    James

  3. #3
    cripps is offline x10Hosting Member cripps is an unknown quantity at this point
    Join Date
    Jan 2010
    Posts
    2

    Re: Asp.net problems?

    Quote Originally Posted by Submariner View Post
    Check the HelloWorld.aspx page and look to see if there is any whitespace before the first '<'. There shouldn't even be any empty lines. Visual Studio and Microsoft tools may handle this by ignoring the white space but Mono might not.

    Good luck.

    James
    There wasn't any white space before the first <... I even opened the files in notepad+.

    I think I am just going to switch to php in the meantime, it seems to have better support. I just wish visual studio allowed me to build php websites.

    Thanks for the suggestion though.

  4. #4
    Anna's Avatar
    Anna is offline I am just me Anna is a name known to allAnna is a name known to all
    Join Date
    Aug 2007
    Location
    Sweden
    Posts
    6,569

    Re: Asp.net problems?

    yes, php has better support.

    Since we are linux based there's no native asp.NET support, we only support asp.net through the mono project, and from what I've understood the support is best for asp.net up to version 2.0 currently, although some things from later versions might work.
    Last edited by Anna; 02-07-2010 at 12:48 PM.
    Do you have trouble reaching your site?
    Check here first: News and Announcements


    Don't forget that x10hosting has an irc server as well. Come and join the fun
    server: irc.x10hosting.com, main channel: #x10hosting
    There's a lot helpful users there if need help building your site

+ Reply to Thread

Similar Threads

  1. How to get ASP.Net to work at x10Hosting
    By Hue Kares in forum Tutorials
    Replies: 56
    Last Post: 11-11-2011, 01:09 PM
  2. MySql + ASP.net Connections problem..
    By monsterhit in forum Programming Help
    Replies: 3
    Last Post: 12-10-2009, 01:28 AM
  3. asp.net and mysql connection problems
    By diesel543 in forum Programming Help
    Replies: 6
    Last Post: 08-16-2009, 09:04 AM
  4. 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
  5. 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