zipzip
asked on
How to add SQLCLIENT PERMISSION in security policy admin tool?
Dear All,
When I share the compiled file and try to access from network it gives me error and warning for Microsoft.NET security information.
I am new to this area so pls help.
When I share the compiled file and try to access from network it gives me error and warning for Microsoft.NET security information.
I am new to this area so pls help.
ASKER
@graye
My system is actually connecting to a database server, what should I do in order to build an exe file that can run independant in all pcs include windows 98, which do not have .net framework.
My system is actually connecting to a database server, what should I do in order to build an exe file that can run independant in all pcs include windows 98, which do not have .net framework.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
By default, the client PCs have their .Net Framework permissions set to "Medium Trust" for the "Local Intranet". That means that when they try to run your program from a network share, that get a rather unintelligble error message from the CLR.
That means you must either adjust the .Net Security settings for your application or for the entire "zone". If you're really paranoid, you can set permissions for each application, but if you plan to deploy future applications from a network share, I'd recommend you adjust the "Local Intranet" security to "Full Trust" instead.
You will have to visit each client PC and go to the Control Panel, Administrative Tools, .Net Wizards. From there you either choose "Adjust .Net Security" (for the zone) or "Trust and Assembly" (for just that one application).