+ Reply to Thread
Results 1 to 8 of 8

Thread: aspx web page

  1. #1
    BabyJam's Avatar
    BabyJam is offline x10Hosting Member BabyJam is an unknown quantity at this point
    Join Date
    Dec 2007
    Location
    Caerphilly, South Wales
    Posts
    9

    Question aspx web page

    I have a Default.aspx file on my server, Basically hello world but when I open my browser and point to the url it asks me to download instead of opening. Can someone please help.

    I have edited my htaccess file and added the following.
    AddType application/mono .aspx .ascx .asax .ashx .config .cs .asmx .axd

  2. #2
    kbjradmin's Avatar
    kbjradmin is offline x10 Elder kbjradmin is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    Washington State, USA
    Posts
    512

    Re: aspx web page

    i'm not exactly an expert on asp, but do you need any sort of language binaries to use an asp page?

  3. #3
    BabyJam's Avatar
    BabyJam is offline x10Hosting Member BabyJam is an unknown quantity at this point
    Join Date
    Dec 2007
    Location
    Caerphilly, South Wales
    Posts
    9

    Re: aspx web page

    I have a test directory, in here is a test.aspx file and a web.config file. there is a sub directory that also contains a test.dll and a test.pdp. I created the webpage using visual studio 2005 and then used MoMa to ensure that the dll file was ok for mono.

    Don't know if this helps???:eek4:

  4. #4
    nightscream is offline x10 Lieutenant nightscream is an unknown quantity at this point
    Join Date
    Feb 2006
    Location
    Hallaar, Belgium
    Posts
    474

    Re: aspx web page

    for aspx you need IIS server installed on the webpage. Not every webhost provides this.
    I don't think x10hosting provide IIS, only apache(php)
    ------------------------------------------------------------------------------------------
    If you have any troubles with a website or a script, just send me a pm.

    I also code websites in xHTML/css, can code javascript and php too if needed

  5. #5
    BabyJam's Avatar
    BabyJam is offline x10Hosting Member BabyJam is an unknown quantity at this point
    Join Date
    Dec 2007
    Location
    Caerphilly, South Wales
    Posts
    9

    Re: aspx web page

    I thought that's what mono was for and thats why you declare that you want mono to open these pages in the htaccess file. Im no good at this stuff maybe I should just give up :eek4:

  6. #6
    kbjradmin's Avatar
    kbjradmin is offline x10 Elder kbjradmin is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    Washington State, USA
    Posts
    512

    Re: aspx web page

    so, you are telling the system that you want to open .aspx pages with this program 'mono'. i'm not sure about this, but i think ther is a way to, not change what the file is run with, but simply tell it that it needs to pre-read through the file on the server before sending it to the computer. you shouldn't need to to run it with a different program, right?

    again, i'm not sure; so no promises.

  7. #7
    Jeremia0 is offline x10Hosting Member Jeremia0 is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    30

    Re: aspx web page

    The current method for mono to work is not working (at least for me). File a support ticket and wait for a response.

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

    Re: aspx web page

    Here is a quote from the MONO page (Mono Guidelines:Application Portability):

    Developing on Windows, running on Unix
    You can continue to use Visual Studio to develop your applications on Windows, the binaries produced by Visual Studio are binary compatible with Mono, so you only need to get these files to your Linux/Unix server.

    You can do this by either manually copying the files (a directory, using XCopy deployment is probably the easiest), but ideally you would want to have a network share between Unix and Windows:
    • You could mount from Linux, a Windows share.
    • You could mount from Windows, a Linux share.

    Important Visual Studio can produce "incremental" executables, these are executables that do not have some of their tables compressed, and they are used by Visual Studio during development.

    These assemblies do not work with Mono, as Mono does not support them, you must turn off "incremental" builds.

    The incremental option can be set from the Project's Configuration/Advanced properties.
    Based on this I would also ensure you have the setting for incremental building disabled.

    James

+ Reply to Thread

Similar Threads

  1. [REQ][$$$]1 page image flash redesign for choclate sales
    By tgkprog in forum The Marketplace
    Replies: 5
    Last Post: 11-17-2008, 09:53 AM
  2. Use PHP to add Content to page through Admin
    By goldy30 in forum Programming Help
    Replies: 1
    Last Post: 11-12-2008, 11:13 PM
  3. Unique php page
    By bunglebrown in forum Programming Help
    Replies: 48
    Last Post: 11-08-2008, 08:59 AM
  4. Replies: 0
    Last Post: 10-19-2008, 09:40 PM
  5. Passing variables from page to page
    By os242 in forum Scripts & 3rd Party Apps
    Replies: 3
    Last Post: 09-15-2007, 02:05 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