ASP.net on x10hosting for free hosting

Status
Not open for further replies.

abdulbiqbal

New Member
Messages
1
Reaction score
0
Points
0
I want to use ASP.net in my webspace but its not working.

My asp page is http://abilive.x10hosting.com/abi.aspx
Its Giving a error

Server Error in '/' Application

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>

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

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>

</system.web>
</configuration>
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433
 

aerocrash1

New Member
Messages
80
Reaction score
3
Points
0
make it in .net framework 2

Mono (free apache linux ,net fwork) only supports .NET 2
 

danielb12

New Member
Messages
2
Reaction score
0
Points
0
You need to have a web.config file uploaded to the web server for the web page to load make sure there is a web.config file in every directory that has an .aspx file in it.

e.g
abilive.x10hosting.com/ < would have one in that folder.
abilive.x10hosting.com/store/ <you would have one in that folder

another error i have saw is that you need to change this: <customErrors mode="Off"/> to: <customErrors mode="On"/>

also you may also create a error page called "mycustompage.htm"
 
Last edited:
Status
Not open for further replies.
Top