Improve company productivity with a Business Account.Sign Up

x
?
Solved

How to remove exclusion group

Posted on 2016-08-05
10
Medium Priority
?
89 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 29

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 29

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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 29

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
 

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 29

Accepted Solution

by:
Dan McFadden earned 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…

606 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