Solved

How to run mscorfcfg.msc

Posted on 2016-08-10
7
46 Views
Last Modified: 2016-08-17
How can I run the Microsoft .NET Framework Configuration in Windows 2012 R2. It is not under administrative tools

Thanks

F.
0
Comment
Question by:toronto2456
  • 4
  • 3
7 Comments
 
LVL 26

Expert Comment

by:Dan McFadden
ID: 41751651
I'll assume that you are using the .NET Framework v4+...  MS has removed the utility from the v4 framework.

MSDN Link:  https://msdn.microsoft.com/en-us/library/2bc0cxhc(v=vs.100).aspx

What is it that you are looking to configure?

Dan
0
 

Author Comment

by:toronto2456
ID: 41752055
the site code is under UNC share. and I need to ceate this groups using caspol.

But There is no definitive way to create this groups,I have tried fucking all the switch with CASPOL ( Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\caspol.exe -m -ag 1 -url "file:////\\computername\sharename\*" FullTrust -exclusive on )

but I couldn't make it work. It made it worse as now I can not remove the ones I created. why is there no documentation about this IIS stuff. It is like hell.

It is not anyway to make IIS worked for all remote shares without having have to create this groups.
0
 

Author Comment

by:toronto2456
ID: 41752078
isn't there any way to make IIS work with all remote shares without having have to create this.  or what the fuck is the right switch for this, or how do we delete the groups we created. Nothing works .
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 26

Expert Comment

by:Dan McFadden
ID: 41752092
You are trying to modify a .NET4+ application with a .NET 2 utility?  That will not work.

BTW, here is a link to a GUI for caspol:  http://brandonpotter.com/2010/01/23/code-access-security-policy-caspol-exe-gui-utility/

Maybe that will help out a bit.

And a somewhat backward question... Why is the code on an UNC share and not locally stored on the server?

Can you explain more about the application setup?

Dan
0
 
LVL 26

Accepted Solution

by:
Dan McFadden earned 500 total points
ID: 41752147
Have you tried to reset the policies?

caspol.exe -all -reset

Open in new window


Dan
0
 

Author Comment

by:toronto2456
ID: 41759723
Hi Dan,

Problem was that caspol command was wrong from the microsoft site. I had been trying to make it work then I tried the another swtiched that worked

It was about caspol problem.

content are on the UNC share as it was the design.

Thanks

F.
0
 

Author Comment

by:toronto2456
ID: 41759730
caspol.exe -m -ag 1 -url "\\xxxxxxxxxxx\xxxxxxxxxx\www\*" FullTrust -exclusive on

this is the one I have used not this one that is wrong

caspol.exe -m -ag 1 -url "file:////\\computername\sharename\*" FullTrust -exclusive on
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

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…
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…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

914 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

21 Experts available now in Live!

Get 1:1 Help Now