Solved

How to remove exclusion group

Posted on 2016-08-05
10
54 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 27

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 27

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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 27

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 27

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

828 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