Two Web applications/Web Configs ?

Last post 06-08-2007 11:21 PM by Shea L. Fox. 8 replies.

Sort Posts:

  • Two Web applications/Web Configs ?

    06-08-2007, 1:29 AM

     

    I am trying to setup a asp.net application that has a link that points to another asp.net application.  Both apps are hosted on the same server (Godaddy.com) each with their own web config files. The secondary application is in a subfolder of the main application.  I can navigate to the first application, but when I click the link for the second app, I received some kind of error related to the second applications web config file.  Are there special parameters/settings I need for the second web config  to work?  Is there any way to have two asp.net applications  hosted on the same server?

    Fox
  • Re: Two Web applications/Web Configs ?

    06-08-2007, 1:56 AM
    • Loading...
    • TATWORTH
    • Joined on 02-04-2003, 8:34 AM
    • England
    • Posts 6,474

    What was the error message?

    Can you access the secondary directly by a direct URL? If so change the format of your  link to the second app to use the full URL.

    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
  • Re: Two Web applications/Web Configs ?

    06-08-2007, 3:40 AM

    hi,

    There are a difference between - 1 application with 2 web.config files by example, and 2 different applications...

    If you have 2 applications, you should create a second virtual directory for the second application in the IIS console (I mean to be application folder).

    Regards

  • Re: Two Web applications/Web Configs ?

    06-08-2007, 8:39 AM

     What was the error message?

     

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message
    : It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.


    Can you access the secondary directly by a direct URL?

     No.  Typing the full URL into the second browser gives the same error as above.
     

    This is 2 applications hosted on one server.  Each applications has its own web config.  Someone mentioned  creating a second virtual directory for the second application in the IIS console (application folder). However, I am unsure of how to do this on hosted environment owned by Godaddy.com.   Any suggestions ?

    Fox
  • Re: Two Web applications/Web Configs ?

    06-08-2007, 9:28 AM
    • Loading...
    • TATWORTH
    • Joined on 02-04-2003, 8:34 AM
    • England
    • Posts 6,474

     Given the negative comments about GoDaddy, either move to a more flexible hoster or combine the two sites.

    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
  • Re: Two Web applications/Web Configs ?

    06-08-2007, 10:18 AM
    • Loading...
    • TOMCIO
    • Joined on 07-12-2003, 10:19 AM
    • Chicago
    • Posts 485

    here is support site from godaddy http://help.godaddy.com/article_list.php?topic_id=173 - not all plans will allow you to do this

    BTW here are 2 hosting companies i can recommend

    WebHost4life - good prices & good support . for 9.95/m you can have great plan and you can host up to 8 web app. (you will pay only 15/year for 2nd, 3rd web site...)

    CrystalTech - best host ever ! super servers & pro support good plan with MS SQL & mySQL, .net, ajax , Smarter Stats & Smarter Mail from 16.95/m

  • Re: Two Web applications/Web Configs ?

    06-08-2007, 10:18 AM
    Answer
    • Loading...
    • jeremyh
    • Joined on 01-23-2003, 7:14 AM
    • York, England
    • Posts 1,206

    Follow the steps here to setup the second directory http://help.godaddy.com/article.php?article_id=300&topic_id=173

    Good Luck, let us know how you get on.

    Regards
    Jeremy
    If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
    That way future readers will know which post solved your issue.
  • Re: Two Web applications/Web Configs ?

    06-08-2007, 1:22 PM
    • Loading...
    • lizon
    • Joined on 02-09-2007, 6:30 PM
    • Posts 64

    Shea L. Fox:

     

    I am trying to setup a asp.net application that has a link that points to another asp.net application.  Both apps are hosted on the same server (Godaddy.com) each with their own web config files. The secondary application is in a subfolder of the main application.  I can navigate to the first application, but when I click the link for the second app, I received some kind of error related to the second applications web config file.  Are there special parameters/settings I need for the second web config  to work?  Is there any way to have two asp.net applications  hosted on the same server?

     Really? When I think .net application, especially two on the same site, the last thing I think of is godaddy.... Anyway you can run as many different .net applications as you want under one site as long as us seperate them in their own folders with application starting points created.

  • Re: Two Web applications/Web Configs ?

    06-08-2007, 11:21 PM

     Jeremyh,

     

    Thanks.  The link you provided helped. I was able to get the two applications to work.  Thanks again.

     

    Fox
Page 1 of 1 (9 items)
Microsoft Communities
Page view counter