Results 1 to 12 of 12

Thread: [RESOLVED] Web app deployment doubts

  1. #1
    Member
    Join Date
    Apr 11
    Posts
    38

    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
    Member
    Join Date
    Apr 11
    Posts
    38

    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
    Member
    Join Date
    Apr 11
    Posts
    38

    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
    Super Moderator Hack's Avatar
    Join Date
    Aug 01
    Location
    Searching for mendhak
    Posts
    58,283

    Re: Web app deployment doubts

    Moved To ASP.NET
    Please use [Code]your code goes in here[/Code] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section.

    Creating A Wizard In VB.NET
    Paging A Recordset
    What is wrong with using On Error Resume Next
    Good Article: Language Enhancements In Visual Basic 2010
    Upgrading VB6 Code To VB.NET
    Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked

  5. #5
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 04
    Location
    The Granite City
    Posts
    21,729

    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 06
    Location
    Greece
    Posts
    3,508

    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?
    Slow as hell.

  7. #7
    Member
    Join Date
    Apr 11
    Posts
    38

    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
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 04
    Location
    The Granite City
    Posts
    21,729

    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
    Member
    Join Date
    Apr 11
    Posts
    38

    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
    Member
    Join Date
    Apr 11
    Posts
    38

    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
    Web developer Nightwalker83's Avatar
    Join Date
    Dec 01
    Location
    Adelaide, Australia
    Posts
    9,718

    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.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    Please consider giving me some rep points if I help you a lot.
    DON'T BUMP YOUR POSTS!!! Links to my code examples can now be found on my website: My websites
    Please rate my post if you find it helpful!
    Technology is a dangerous thing in the hands of an idiot! I am that idiot.

  12. #12
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 04
    Location
    The Granite City
    Posts
    21,729

    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
  •