Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 64
  • Last Modified:

How to run mscorfcfg.msc

How can I run the Microsoft .NET Framework Configuration in Windows 2012 R2. It is not under administrative tools

Thanks

F.
0
toronto2456
Asked:
toronto2456
  • 4
  • 3
1 Solution
 
Dan McFaddenSystems EngineerCommented:
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
 
toronto2456Author Commented:
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
 
toronto2456Author Commented:
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Dan McFaddenSystems EngineerCommented:
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
 
Dan McFaddenSystems EngineerCommented:
Have you tried to reset the policies?

caspol.exe -all -reset

Open in new window


Dan
0
 
toronto2456Author Commented:
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
 
toronto2456Author Commented:
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now