C# code not functioning anymore after moving application to localhost (via internet information services)

Last post 07-16-2009 11:31 PM by chat2devesh. 4 replies.

Sort Posts:

  • C# code not functioning anymore after moving application to localhost (via internet information services)

    07-10-2009, 6:42 AM

     Hi all,

    So here's the problem:

    I had my application running smooth when i wrote it in Visual Studio, and now I want to upload an application (I have never done this before);
    I installed internet information services to test the application before uploading it to our company server. But now that it is running on localhost, it seems like my C# code isn't funtioning anymore.
    I can see my .aspx page and I can write thing in the textboxes etc, but when I execute the program to start it just does nothing.. It seems like my C# isn't doing anything..

    Anyone that can help?

  • Re: C# code not functioning anymore after moving application to localhost (via internet information services)

    07-10-2009, 8:35 AM
    Answer
    • Member
      118 point Member
    • chat2devesh
    • Member since 07-19-2007, 3:21 AM
    • Posts 25

    Have You Created Your Virtual Directory IN IIS.

    Check it by going through RUN->INETMGR->Internet Information Server -> Websites(Name Of your website)

    If Not then make virtual directory..

    Reply if it works..

  • Re: C# code not functioning anymore after moving application to localhost (via internet information services)

    07-10-2009, 8:47 AM
    Answer

     Yes, I have.

    Screenshot:

    http://img301.imageshack.us/img301/1686/iisq.jpg

     

    thanks in advance ;)

  • Re: C# code not functioning anymore after moving application to localhost (via internet information services)

    07-14-2009, 5:49 AM
    Answer

     Hi,

    Please make sure we configure ASP.NET website correctly, such as ASP.NET version. For test, you can create a simple ASP.NET website and deploy it on server to see whether it works. For more information about deploying ASP.NET application, see http://aspalliance.com/1464_Deploying_ASPNET_Applications.all
     
    If the IIS is installed after installation of .Net Framework, we can use Aspnet_regiis.exe (http://msdn.microsoft.com/en-us/library/k6h9cz8h(VS.80).aspx) with -i option to update the script maps of all existing ASP.NET application with current .Net Framework.

    I look forward to receiving your test results.

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
  • Re: C# code not functioning anymore after moving application to localhost (via internet information services)

    07-16-2009, 11:31 PM
    • Member
      118 point Member
    • chat2devesh
    • Member since 07-19-2007, 3:21 AM
    • Posts 25

    Try  This :

    Right Click On Your Virtual Directory:-

    Select  Properties ->Select Virtual Directory Tab n  Check The necessay options like read,write, directory browse....

Page 1 of 1 (5 items)