Results 1 to 12 of 12

Thread: [RESOLVED] Web app deployment doubts

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2011
    Posts
    41

    Resolved [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.

  2. #2

    Thread Starter
    Member
    Join Date
    Apr 2011
    Posts
    41

    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.

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2011
    Posts
    41

    Re: Web app deployment doubts

    Could this thread be moved to the ASP forum? Maybe I am in the wrong one.

    thx.
    A.

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Web app deployment doubts

    Moved To ASP.NET

  5. #5
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    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

  6. #6
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    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?
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  7. #7

    Thread Starter
    Member
    Join Date
    Apr 2011
    Posts
    41

    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.

  8. #8
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    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

  9. #9

    Thread Starter
    Member
    Join Date
    Apr 2011
    Posts
    41

    Resolved 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.

  10. #10

    Thread Starter
    Member
    Join Date
    Apr 2011
    Posts
    41

    Re: Web app deployment doubts

    I tried to add the "resolved" to the thread, but I am not sure how to do it.

    A.

  11. #11
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Web app deployment doubts

    Quote Originally Posted by Alexandra_vb View Post
    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

  12. #12
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Web app deployment doubts

    Quote Originally Posted by Alexandra_vb View Post
    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
  •  



Click Here to Expand Forum to Full Width