Max Web application count possible

Discussion in 'Hosting Services / Control Panel' started by eric.beaudry, Jan 18, 2006.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I'm interessed in knowing how many web application I can create.

    I also want to know if you can publish a way to create them programmatically instead of using the control panel. I found some ways of doing it but they all fail on your servers. Might be security related but here's what I get:




    Code:
    [COMException (0x80029c4a): Error loading type library/DLL.
    ]
       System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +610
       System.DirectoryServices.DirectoryEntry.Bind() +36
       System.DirectoryServices.DirectoryEntry.get_IsContainer() +31
       System.DirectoryServices.ChildEnumerator..ctor(DirectoryEntry container) +23
       System.DirectoryServices.DirectoryEntries.GetEnumerator() +25
       Folder1_Default.Page_Load(Object sender, EventArgs e) +100
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +47
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
    
    Thanks
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    you can have as many web application as you wish (as long as you hve enough disk space)

    you can create web application root in the control panel.

    The error you are seeing is probably related to the COM object your .net app is trying to access.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. 1 done, 1 to go!

    The error is raised by the DirectoryServices assembly when it tries to lookup the child site. I believe the error is raised because my user doesn't has enough previleges to do that, but I'm not sure.

    Since the control panel is able to do it, I would like to know what API you are using (I'm surely not using the same) If you can share the info, it would make my life much easier than trying every possible way of doing that.

    My requirment is quite simple: I want to have an application hosted in Web App "ABC" to be able to create sub web apps under it (under ABC) I'm able to do it in my test lab but since I don't know your setup (obviously it's more complexe) I just can find a way to make it.

    Thanks
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    You cannot do this programatically because the website user must have admin right.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  5. How does the Control Panel do it then?

    Is it running under admin credential?

    Thanks
     
  6. Bruce

    Bruce DiscountASP.NET Staff

    eric,

    i am not allowed to divulge this information. this is proprietary information.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  7. I understand your point.

    I am currently posting on the feedback / request feature email address about this.

    My request is some kind of API (maybe a web service) that would allow control over web applications (create, read, update, delete).

    You currently offer many nice API many of them are things that I can reproduce with some programming. This time the added value is that we can't do it without an API.

    Thanks for your time.

    Regards,

    Eric Beaudry
     
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