Link to home
Start Free TrialLog in
Avatar of mah5696
mah5696

asked on

AppIsolated

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!
Avatar of n_narayanan
n_narayanan
Flag of India image

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
Avatar of mah5696
mah5696

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of ianouii
ianouii

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mah5696

ASKER

thanks. it works...