+ Reply to Thread
Page 2 of 3
FirstFirst 1 2 3 LastLast
Results 11 to 20 of 26

Thread: How to get ASP.Net to work at x10Hosting

  1. #11
    x10Hosting Member untit1ed is an unknown quantity at this point
    Join Date
    Oct 2009
    Posts
    10

    Re: How to get ASP.Net to work at x10Hosting

    That exapmle works fine:
    Your ASP.NET version is: 2.0.50727.1433
    I am on lotus server.

    UPD: Actually never mind, I just tried to re-upload my old project and it seems to work fine. Sorry for bothering you. Thanks.

  2. #12
    x10Hosting Member ranjinap is an unknown quantity at this point
    Join Date
    Sep 2009
    Posts
    7

    Post Re: How to get ASP.Net to work at x10Hosting

    Thank u very much for this thread, Very useful..

  3. #13
    x10Hosting Member Hue Kares is an unknown quantity at this point Hue Kares's Avatar
    Join Date
    Feb 2009
    Location
    UK
    Posts
    37

    Re: How to get ASP.Net to work at x10Hosting

    Thanks for your response Untit1ed; you're most definitely not bothering me man, I give my time freely when I can, in return for all the help I receive from others.

    Anyway, I'm glad things are working for you now; cool. I'm gonna go back to assuming the setup is the same on all x10Hostings servers...

    Good Luck.

    Thanks ranjinap for your kind words.

  4. #14
    x10Hosting Member boone1 is an unknown quantity at this point
    Join Date
    Mar 2009
    Posts
    6

    Re: How to get ASP.Net to work at x10Hosting

    Hi guys,
    I have a working webpage in Visual Studio 2005, but when I upload it x10hosting, I get the following error:

    "Server Error in '/' Application

    Operation aborted due to an exception (see Trace for details).

    Description: HTTP 500. Error processing request.

    Stack Trace:

    System.Configuration.Provider.ProviderException: Operation aborted due to an exception (see Trace for details).
    at System.Web.Security.SqliteRoleProvider.RoleExists (System.String roleName) [0x00000]
    at System.Web.Security.Roles.RoleExists (System.String rolename) [0x00000]
    at ASP.global_asax.Application_Start (System.Object sender, System.EventArgs e) [0x00000]
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
    "

    Any ideas? I have the same web.config file that is on first post, but I added <roleManager enabled="true"/>.

    Thanks.

  5. #15
    x10Hosting Member raphman is an unknown quantity at this point
    Join Date
    Oct 2009
    Posts
    4

    Re: How to get ASP.Net to work at x10Hosting

    nice post

  6. #16
    Community Advocate xav0989 has a spectacular aura about xav0989's Avatar
    Join Date
    Jul 2008
    Location
    location, location, location
    Posts
    2,509

    Re: How to get ASP.Net to work at x10Hosting

    To make sure your asp.net code compiles well under mono, use MoMA. MoMA is an utility that will check the code you submit to it and see if it's supported by Mono. http://www.mono-project.com/MoMA
    AfroSoft - UniDB - UserMan - Scripts

    Reputation is now the key to x10's community support. Get to know the credit/rating system on x10. Click on in the left corner of the post to add to mine if I helped you.

  7. #17
    x10 Sophmore espfutbol98 is an unknown quantity at this point espfutbol98's Avatar
    Join Date
    Apr 2009
    Location
    Zagreb... želim
    Posts
    151

    Re: How to get ASP.Net to work at x10Hosting

    I moved my app in C# from Visual Studio 2010 Ultimate to my x10 site and on any page besides the default.aspx page I get the error:
    Code:
    Server Error in '/' Application
    gdiplus.dll
    
    Description: HTTP 500. Error processing request.
    
    Stack Trace:
    
    System.DllNotFoundException: gdiplus.dll
      at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
      at System.Drawing.GDIPlus..cctor () [0x00000] 
    
    Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433
    I got this script right from the asp.net site and I'm not sure exactly what this means as I am new to ASP.Net. Any suggestions?




  8. #18
    x10Hosting Member thearchedone is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    18

    Re: How to get ASP.Net to work at x10Hosting

    Hi,

    I've been having problems with my aspx pages... they were working fine, but stopped working one day without me making any changes. Someone pointed me to your post so I decided to copy your example. I deleted all my existing files and followed your instructions but the HelloWorld page does not work either. Here's my code...

    Hello world .aspx
    <!-- this line is for C# projects -->
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="HelloWorld.aspx.cs" Inherits="HelloWorld" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head id="Head1" runat="server">
    <title>Hello World!</title>
    </head>

    <body>

    <form id="form1" runat="server">
    <div>
    <asp:Label ID="Label1" runat="server" Text="Erm, Hello World!"></asp:Label>
    <br /> <br />
    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Press Me" />
    </div>

    </form>
    </body>
    </html>
    HelloWorld.aspx.cs:
    using System;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;

    public partial class HelloWorld : System.Web.UI.Page
    {
    protected void Button1_Click(object sender, EventArgs e)
    {
    Label1.Text = "Asp.Net post test worked.";
    }
    }

    Web.config:
    <?xml version="1.0" ?>
    <configuration>
    <appSettings />

    <connectionStrings />

    <system.web>
    <customErrors mode="Off" />
    </system.web>
    </configuration>

    All files are located in '/public_html'

    The page is hosted here: http://mttracker.x10hosting.com/HelloWorld.aspx

    As you can see, it just gives me a blank page... this is exactly what happened with all my other pages.

    Please can you help me out... this is driving me mad!!!

    Thanks in advance

    TAO

  9. #19
    Community Advocate vishal2 will become famous soon enough vishal2's Avatar
    Join Date
    Nov 2009
    Location
    US
    Posts
    1,069

    Re: How to get ASP.Net to work at x10Hosting

    Good post ,i thought ASP.net is not supported by x10
    Regards ~ Vishal
    Giving
    Reputation
    (bottom left corner) is the best way to encourage the person who helped you on forums.;)

  10. #20
    x10Hosting Member jingstro is an unknown quantity at this point
    Join Date
    Feb 2010
    Posts
    1

    Re: How to get ASP.Net to work at x10Hosting

    Hi,

    I have copied the hello world example to my public_html folder.

    But when I try to browse the page

    http://jingstromer.x10hosting.com/HelloWorld.aspx

    I get the following error:

    "XML Parsing Error: no element found"

    What am I doing wrong?

    Best Regards
    Johan Ingströmer

+ Reply to Thread
Page 2 of 3
FirstFirst 1 2 3 LastLast

Similar Threads

  1. Replies: 10
    Last Post: 09-19-2009, 01:05 PM
  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. Website not work - goes to x10hosting homepage
    By MIKE-STAMP in forum Scripts & 3rd Party Apps
    Replies: 6
    Last Post: 12-08-2007, 10:15 PM
  4. Replies: 6
    Last Post: 09-28-2006, 03:52 PM
  5. Account Suspended
    By tehpwner in forum Free Hosting
    Replies: 7
    Last Post: 10-17-2005, 07:08 PM

Tags for this Thread

Posting Permissions

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