How to publish Microsoft ASPX web pages on x10hosting website?

learningmsvs39

New Member
Messages
3
Reaction score
0
Points
0
Hallo there,

I am learning visual studio and need to practice publishing the ASPX web pages. I published them on my website http://firstwebsite.visualstudio.x10.mx/, but they are not being recognized as web pages. Am I doing any thing wrong or do I have to ask the administrator to activate ASP.net for my website?

Can any one please help!
Thanks to all and I wish you all a very beautiful day.

Michael Najar
mnajar@live.com
 

learningmsvs39

New Member
Messages
3
Reaction score
0
Points
0
Hallo there:
I tried the tutorial "How to get ASP.Net to work at x10Hosting" but is not working.
and this is what I done:
1. I created the two files as suggested, which are "HelloWorld.aspx" and "HelloWorld.aspx.vb"
2. I created a subdomain called "http://firstsite.visualstudio.x10.mx/"
3. As suggested I placed only the two above mentioned files in the above mentioned subdomain
4. The content of the file "HelloWorld.aspx":
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="HelloWorld.aspx.vb" 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 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>
<asp:Button ID="Button1" runat="server" OnClientClick="Button1_Click" Text="Press Me" />

</div>
</form>
</
body>
</
html>
5. The content of the file "HelloWorld.aspx.vb":
Partial Class HelloWorld
Inherits System.Web.UI.Page
'incorrect code
Protected Sub Button1_Click(ByVal sender As Object, _
ByVal e As EventArgs) Handles Button1.Click
End Sub
End
Class
=======================================

Can anyone help please!
Thank you in advance.
 

bhupendra2895

New Member
Messages
554
Reaction score
20
Points
0
Hi, first of all I am not a expert in asp.net even I am not a beginner.But one of my friend in my neighbourhood told a similar problem to me with x10hosting.So I went to his home and as you did, I uploaded both files .aspx and .vb files.But I got same error message about resource not found.So I looked at his asp project folder and find out that there is a xml file which I ignored, when I uploaded it at his site worked.Well I don't remember the name of .xml file.Even I am not sure it was xml or not.Also his asp
pages not working again, he asked me for help but I didn't get time to go to his home to fix it.


If you encounter errors regarding asp, only in x10hosting and not in your home then post this issue in free hosting section, if you feel this is a programming problem then submit this problem in programming section. ASP is running here in linux, so you can't expect it to behave as same as it behaves in your windows installation.
 
Top