Solved

AppIsolated

Posted on 2002-04-23
4
575 Views
Last Modified: 2009-07-29
I have a code which helps me to create web site & do the necessary settings on the property. But when come to this AppIsolated, I encountered some problems here.

from my code, I can easily set my AppIsolated to Low or Medium Pool & the site can be created successfully. Anyhow, when I try to create it to be High Isolated, I can't browse the web page under this site.

I read through MSDN & found out that if you were to create a site with High Isolated, you'd have to have a Com+ package running for it as well.

Please read
Web Security: Part 2: Introducing the Web Application Manager, Client Authentication Options, and Process Isolation
in MSDN.

in that case, can someone illustrate me how to get this thing done? Is it to write to registry? or create a Com+ Application programmatically?

Please provide the source code here as well. thanks.

my current code looks like this.

Set objApplication = GetObject("IIS://" & v_strServerNm & "/W3SVC/" & intSiteIndex & "/ROOT")
    With objApplication
        .AppRoot = "IIS://" & v_strServerNm, "/LM"
        .AppFriendlyName = "Default Application"
        .AppIsolated = 1
        .AccessRead = True
        .AccessExecute = True
        .SetInfo
    End With

thanks!
0
Comment
Question by:mah5696
  • 2
4 Comments
 
LVL 3

Expert Comment

by:n_narayanan
ID: 6962244
One reason could be,

If you have used any "session" then it will not load.

Try removing the Session or set the Isolated level as low

Narayanan
0
 

Author Comment

by:mah5696
ID: 6962306
n_narayanan, I wish u get me right..
I want to set up a web site with my Application be Isolated. meaning my AppIsolated = 1 '(High)

pls provide the appropriate solution. thanks.
0
 
LVL 5

Accepted Solution

by:
ianouii earned 200 total points
ID: 7163937
ok, try this.

Set objApplication = GetObject("IIS://" & v_strServerNm & "/W3SVC/" & intSiteIndex & "/ROOT")
   With objApplication
       .AppRoot = "IIS://" & v_strServerNm, "/LM"
       .AppFriendlyName = "Default Application"
       '.AppIsolated = 1
       .AppCreate2 1
       .AccessRead = True
       .AccessExecute = True
       .CreateA
       .SetInfo
   End With

good luck.
0
 

Author Comment

by:mah5696
ID: 7164024
thanks. it works...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now