|
-
Sep 16th, 2011, 09:48 AM
#1
Thread Starter
Member
[RESOLVED] Web app deployment doubts
Hello friends. I am trying to develop an web app based on .net and asp. Therefore I did this tutorial:http://msdn.microsoft.com/es-es/library/ms243156.aspx (Walkthrough: Creating a Simple Web Application). Everything is working fine on localhost.
Then I tried to deply it to my webserver. I used the ftp method. Visual Studio says it is correct. But when I browse to the Dafault.aspx page i can see only this code on my screen:
Code:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="ColorWebApp._Default" %>
<!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></title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
<asp:RadioButtonList ID="RadioButtonList1" runat="server">
<asp:ListItem Selected="True">red</asp:ListItem>
<asp:ListItem>blue</asp:ListItem>
</asp:RadioButtonList>
<asp:Button ID="Button1" runat="server" Text="Submit" />
</form>
</body>
</html>
What am i doing wrong? I am a little lost and would appreciate any help. Thanks in advance.
A.
-
Sep 17th, 2011, 03:25 AM
#2
Thread Starter
Member
Re: Web app deployment doubts
Could it be perhaps some ASP publish settings i have missed? Or maybe there is something wrong in the first or second line of code that brings the browsers not to respond properly?
Pls help.
A.
-
Sep 21st, 2011, 01:35 AM
#3
Thread Starter
Member
Re: Web app deployment doubts
Could this thread be moved to the ASP forum? Maybe I am in the wrong one.
thx.
A.
-
Sep 21st, 2011, 05:51 AM
#4
Re: Web app deployment doubts
-
Sep 21st, 2011, 02:54 PM
#5
Re: Web app deployment doubts
Hello,
It sounds very much like ASP.Net as not been enabled on the Web Server that you are deploying to. Can you confirm that it has?
Gary
-
Sep 21st, 2011, 04:53 PM
#6
Re: Web app deployment doubts
Have you created a website in IIS so you can view your application or you just copied the code and expect it to work?
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Sep 22nd, 2011, 02:50 AM
#7
Thread Starter
Member
Re: Web app deployment doubts
Thanks for the replys.
I will try to make sure that ASP.net is enabled in the webserver. (Will try to figure out how this can be done, because they are not very helpfull. Maybe there is a script or something i can use, to know if it is enabled), otherwise I will deploy the app to another webserver I have (Hostgator).
Sapator: I am a total beginner in this, so I am not sure. What i did was follow the tutorial (The app works fine on localhost) and then deploy it via the ftp-method inside visual studio. (It said that that the deployment was successfull).
A.
-
Sep 22nd, 2011, 06:37 AM
#8
Re: Web app deployment doubts
Hello,
Enabling ASP.Net, or rather a specific version of ASP.Net on a Virtual Directory is something that your web host should provide in their Control Panel. If you can't find it, you might have to raise a support ticket to cover the work.
Gary
-
Oct 23rd, 2011, 09:36 AM
#9
Thread Starter
Member
Re: Web app deployment doubts
Hi friends. I am sorry for the big delay. It was a matter of ASP not being enabled in the web server, just as Gary suggested. As soon as i found a server with ASP enabled, the app worked perfectly. So, many many thanks.
A.
-
Oct 23rd, 2011, 09:38 AM
#10
Thread Starter
Member
Re: Web app deployment doubts
I tried to add the "resolved" to the thread, but I am not sure how to do it.
A.
-
Oct 23rd, 2011, 07:39 PM
#11
Re: Web app deployment doubts
 Originally Posted by Alexandra_vb
I tried to add the "resolved" to the thread, but I am not sure how to do it.
A.
You can mark the thread resolved by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. 
Basically the quote in my sig.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Oct 26th, 2011, 02:20 PM
#12
Re: Web app deployment doubts
 Originally Posted by Alexandra_vb
Hi friends. I am sorry for the big delay. It was a matter of ASP not being enabled in the web server, just as Gary suggested. As soon as i found a server with ASP enabled, the app worked perfectly. So, many many thanks.
A.
Hello there,
Glad to hear that you got the problem resolved!
Gary
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|