Solved

How to remove exclusion group

Posted on 2016-08-05
10
51 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

Suggested Solutions

Title # Comments Views Activity
PDF Embed pdfobject.js local path problem regular ASP 2 146
2 websites hosted on premise 6 44
PHP7 and Sql Server Windows 2008 R2 13 145
Bot attack question 11 24
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…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

821 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