aspx pages doesn't work on the server

erickperez51

New Member
Messages
3
Reaction score
0
Points
0
i'm hosted on starka server, when i load a simple aspx pages, the server show me the next error:

The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /index.aspx


my web.config:
Code:
<?xml version="1.0"?>
<configuration>
    <appSettings/>
    <connectionStrings/>
    <system.web>
      <customErrors mode="Off" />
    </system.web>
</configuration>
index.aspx:
Code:
<%@ Page Language="C#" %>

<!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 runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:Label ID="Label1" runat="server" Text="Hello world"></asp:Label>
    
    </div>
    </form>
</body>
</html>
I can to load a simple index.html fine, but when i change the extension file to aspx, there occur the same error. it doesn't matter what file aspx i want to load, the message error is one:

The resource cannot be found.

What happen there? problem with mono in the base system?
 
Last edited:

telia_teh_poit12

New Member
Messages
3
Reaction score
0
Points
0
asp is evil Microsoft poop. Start over in php before you get too deep into your code. php will run on windows or linux servers, one less headache if you move to another host.
 

techairlines

x10 Flyer
Community Support
Messages
2,867
Reaction score
165
Points
63
Unfortunately, ASP.net isn't working right now on our servers and I don't have an ETA on when this will be fixed.

In addition, since we run Linux servers, ASP.net runs through mod_mono, which causes only certain functions to work.
 
Last edited:
Top