subdomain problems

Discussion in 'ASP.NET / ASP.NET Core' started by jud101, Sep 19, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I keep getting this error:
    section registered as allowDefinition='MachineToApplication' beyond application level

    I've done the IIS directory thing but that isn't the problem. On my hosting account the structure looks like this:

    domain1
    Web.Config
    domain2
    Web.Config

    my problem is getting domain2.com to work. I've placed all the files that work in domain1 inside the folder domain2. If it was an IIS problem then why would one project work in the main directory but when I put those same files inside the domain2 folder it won't work and gives me the same error?

    I've played with this problem for a week and it's driving me crazy. ANY SUGGESTION? HELP! I'm going crazy

    Judy
     
  2. I'm not totally sure what yuo're doing but the error makes me wonder if you have configured domain2 as an ASP.NET aplpication in the Tools & Utilities | Web Application Tool?
     
  3. This error usually means that you are configuring settings that is reserved for the web application root web.config. Try setting the domain2 folder as an application root.
     
  4. Thanks for the response.

    I'm confused, if I did configure my site as an ASP.NET application and upload it to the root of my online server and it works, would that same site work if I upload it to a subfolder?

    I'm also confused in how to configure if I haven't done it right. I don't see VS having tools & utilities, no in IIS. Can you give me some more info in how to do that if thats my problem.

    thanks again
    Judy
     
  5. Bruce

    Bruce DiscountASP.NET Staff

    See http://kb.discountasp.net/article.aspx?id=10181


    quote:Originally posted by jud101

    Thanks for the response.

    I'm confused, if I did configure my site as an ASP.NET application and upload it to the root of my online server and it works, would that same site work if I upload it to a subfolder?

    I'm also confused in how to configure if I haven't done it right. I don't see VS having tools & utilities, no in IIS. Can you give me some more info in how to do that if thats my problem.

    thanks again
    Judy
    </blockquote id="quote"></font id="quote">

    B.

    DiscountASP.NET
    http://www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page