.NET Framework 2.0 Configuration

  • Thread starter Mike Oliszewski
  • Start date
M

Mike Oliszewski

Can someone tell me where to find this on a non development development
system. According to:

http://msdn2.microsoft.com/en-us/library/2bc0cxhc(VS.80).aspx

There should be a %Systemroot%\Microsoft.NET\Framework\version
Number\configwizards.exe in .NET 2.0 as well as 1.1, but it clearly doesn't
exist.

So how does a user configure their .NET system to allow them to run a .NET
exe off a file server ?
 
S

Steven Cheng[MSFT]

Hello Mike,

Welcome to the MSDN newsgroup.

As for the .net framework configuration wizard tool(mscorcfg.msc) you
mentioned, it is a built-in tool shipped with .net framework runtime(not
sdk) in version 1.0 and 1.1. However, in .net framework 2.0, it is no
longer shipped with .net framework runtime( the redistributable package) ,
but included in the .net framework 2.0 SDK( you can find the statement
about this in the article you mentioned). So for your scenario, do you
think it convenient that you installed the .net framework SDK on that
server where you want to perform the configuration through this tool?

BTW, if what you want to configure is the CAS policy(such as
codegroups,....), you can also consider using the caspol.exe tool in .net
framework built-in tools. This one is still shipped with .net framework
redistributable package in 2.0.

#Code Access Security Policy Tool (Caspol.exe)
http://msdn2.microsoft.com/en-us/library/cb6t8dtz.aspx

Hope this helps. If there is anything else we can help, please feel free to
post here.

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
M

Mike Oliszewski

Installing the SDK is not possible as my users are already complaining about
the download size of the .NET install. Sure wish more machines shipped with
..NET pre-installed. So there is NO GUI tool for users to make simple config
changes ? That seems like a step backwards to me.
 
S

Steven Cheng[MSFT]

Thanks for your response Mike,

Yes, I agree and can understand your concern here that it'll be quite
inconvenient to make user download and install a complete large SDK package
so as to use a UI configuration tool. I've sent this request about the
configuration tool's setup to our product dev team and they did also
receive some feedbacks from internal or external users. Here is a blog
article from a MS member which also discusses on this:

#Details about setup for the .NET Framework 2.0 configuration tool
http://blogs.msdn.com/astebner/archive/2006/01/23/516671.aspx?Ajax_CallBack=
true

As Aaron has mentioned in the article, so far the mscorcfg.msc tool is only
officially supported to be installed with the 2.0 framework SDK. Also, I
think it is really important and helpful that we hear these feedbacks from
you and other customers and suggest you post this in the MSDN product
feedback center so that the dev guys will also receive this:

http://lab.msdn.microsoft.com/productfeedback/default.aspx

Thanks for your understanding.

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
S

Steven Cheng[MSFT]

Hello Mike,

How are you doing on this or have you made the decision on this? Or does
the informatino posted in my last reply still helps some? Anyway, since
this is a by-design change in the framework tools, I appreciate your
understanding. Also, if you meet any other .net developing issue, please
feel free to post here. I'll be glad to help you.


Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
S

SP

Mike Oliszewski said:
Can someone tell me where to find this on a non development development
system. According to:

http://msdn2.microsoft.com/en-us/library/2bc0cxhc(VS.80).aspx

There should be a %Systemroot%\Microsoft.NET\Framework\version
Number\configwizards.exe in .NET 2.0 as well as 1.1, but it clearly
doesn't exist.

So how does a user configure their .NET system to allow them to run a .NET
exe off a file server ?

I would give them a batch file or tell them to paste the following into
Start/Run and answer y (for yes) when prompted

%windir%\Microsoft.Net\Framework\v2.0.50727\caspol -cg 1.2 FullTrust

This allows an exe to run from the server provided it is NOT accessed via an
IP address (either directly or through a mapped drive). I always put a batch
file in the same folder as I have put the .Net framework.

SP
 
M

Mike Oliszewski

Thank you, that was very helpful. To bad MS, took a step backwards not
forward with 2.0 in this area.
 
S

Steven Cheng[MSFT]

Thanks for your followup Mike,

I can fully understand your concern here though we still haven't any better
means currently. However, it is always important to receive such feedback
from the community and customers. We always think these information are the
most valuable resource that make us improve our products:

http://lab.msdn.microsoft.com/productfeedback/default.aspx

Thanks for your understanding.

Regards,

Steven Cheng
Microsoft MSDN Online Support Lead


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top