Solved

How to remove exclusion group

Posted on 2016-08-05
10
46 Views
Last Modified: 2016-08-10
Hi,

I have created exclusion groups using

caspol.exe -m -ag 1 -url "file:////\\computername\sharename\*" FullTrust -exclusive on

Now I am seeing duplicate entries,, my question is How I can remove the duplicate exclusion group

Thanks

F.
0
Comment
Question by:toronto2456
  • 6
  • 4
10 Comments
 
LVL 26

Expert Comment

by:Dan McFadden
ID: 41744257
Did you do this for using both the 32bit and 64bit caspol?

Link:  https://msdn.microsoft.com/en-us/library/cb6t8dtz(v=vs.110).aspx

Dan
0
 
LVL 26

Expert Comment

by:Dan McFadden
ID: 41744268
0
 

Author Comment

by:toronto2456
ID: 41744347
Yes, Actually site was working fine after running this command to trust the remote share.It wasgiving me the error message before.

But after that I have run the command again , and it starts giving me error messages   (  More than one exclusive group is not allowed ).

When I list the groups, I can see the double entries, Now I am trying to figure out the syntaxt to remove the duplicate entry ? I don't want to run this command without knowing

Thanks
0
 
LVL 26

Expert Comment

by:Dan McFadden
ID: 41744366
Link:  https://msdn.microsoft.com/en-us/library/4z8tf9wx(v=vs.100).aspx

Syntax is:  caspol [-enterprise|-machine|-user] –remgroup {label|name}

For Example:  caspol –remgroup My_Group

Link:  https://forums.iis.net/t/1161517.aspx?More+than+one+exclusive+group+is+not+allowed+error

Dan
0
 

Author Comment

by:toronto2456
ID: 41744395
Hi dan,

(((((     I don't know why but as if there is no one who has been good on IIS except you. You should write a book about IIS. There are lots info about simple stuff such as creating web site etc, but not detailed information about the real application in real production environment. and Microsoft articles, they are not written in a simple way. this is my last project on IIS :) I won't touch it again ))))))

when I list my groups,I have few same entry such as: ( the code sits in www folder )

   1.15.  Url - file:////\\torontodata\www$\TRI\www\*: FullTrust (Exclusive)
   1.16.  Url - file:////\\torontodata\www$\TRI\www\*: FullTrust (Exclusive)
   1.17.  Url - file:////\\torontodata\www$\TRI\www\*: FullTrust (Exclusive)

I think it should be like this : caspol –remgroup 1.15 and caspol –remgroup 1.16 so that there should be only 1.17 left.

Interesting I saw this site during my search on the net , but I didn't notice this command,

F.
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:toronto2456
ID: 41744417
caspol –remgroup 1.15  didn't work for me
0
 

Author Comment

by:toronto2456
ID: 41744428
I tried  ( caspol - m –remgroup 1.15 ) too
0
 
LVL 26

Accepted Solution

by:
Dan McFadden earned 500 total points
ID: 41745622
You're running the commands in a console with "Run as Admin", right?

Have you tried both the 32bit & the 64bit caspol?

Dan
0
 

Author Comment

by:toronto2456
ID: 41750620
Yes, Dan. Thanks.Now it starts working with in reason.

I don't get this IIS.
0
 

Author Comment

by:toronto2456
ID: 41750630
could you also look at my new post ;;;
-------------------------------------------------------------------------------------------------------------------------------------
I have an Front Tier and App Tier in one web application set up. When I look at the Web.Config in the Front End, I don't see any pointer to App Tier.but when I stop the App tier,Application stops working. So It talks to AppTier.

How can i find out where this pointer is defined in Front End

Thanks

F.
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

Suggested Solutions

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

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

23 Experts available now in Live!

Get 1:1 Help Now