Re: C#.NET app to run on Win 2003 from another Win2003 on the local net?

From: maks (maksim_at_datacap.com)
Date: 08/30/05


Date: Tue, 30 Aug 2005 11:05:07 -0400

Thanks you very much for the reply!

Nicole Calinoiu wrote:
> "maks" <maksim@datacap.com> wrote in message
> news:%23gweO3WrFHA.3096@TK2MSFTNGP15.phx.gbl...
>
>>Ok! I have a .NET (C#) app that I'm having a problem running on a Win 2003
>>box from a different Win 2003 box. I mean files physically are installed
>>on that second win 2003 server, and I'm trying to start it on this first
>>one. I get security error.
>
>
> Would you be able to provide the complete exception details? (The output
> from its ToString method would be best, but anything might help narrow
> things down a bit.)

Here is the exception dump:
System. Security. Policy Exception: Required permissions cannot be acquired.
at TMSubDock.Form1.InitializeComponent
at TMSubDock.Form1..ctor
at TMSubDock.Form1.Main (String[] arg)

>
>
>
>>I know about that .NET framework wizard that allows you to adjust .NET
>>level of protection to internet/intranet/trusted and so on but that
>>doesn't help.
>
>
> On which machine did you attempt to run the wizard? Are you sure you were
> granting sufficient permissions for the application to run?
>

Only on the Win2003 where I'm trying to run the thing. The second
Win2003 (file server) doesn't even have the framework installed at all.
Checked all the permissions!

>
>
>>This doesn't happen on XP/2000. Any ideas!
>
>
> I'm guessing that the other machines on which you've tested this have
> perhaps had some CAS policy modifications applied, possibly via a group
> policy object distributed via the domain. You might want to ask the
> relevant network admin(s) about this possibility.
>

It actually sounds more like specific Win2003 issue due to stronger
security on it, may be. Hopefuly that is setable.

>
>
>>Thanks a lot in advance!
>>Please help! It's very urgent!
>

>
>



Relevant Pages

  • Re: Trouble with Win2003 Folder Redirection Policy
    ... giving NTFS permissions to that group. ... From what information you've given me the policy is correct as long as ... The user's home folder in the profile section of the AD has been ... updated to the new server as well. ...
    (microsoft.public.windows.server.general)
  • Re: C#.NET app to run on Win 2003 from another Win2003 on the local net?
    ... Policy Exception: Required permissions cannot be ... assemblies before you can adjust the policy to fix the problem... ...
    (microsoft.public.dotnet.security)
  • Re: JAVA works C# not !!!!!!!
    ... The server is the same nothing changed, I have no server codes, it is ... works on JAVA. ... I don't know where I need to check permissions and if it is for write ... permission why throw this kind of exception? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Monitoring, RWW and Backup Log all stopped working
    ... What permissions do you have on the following directory? ... Check to see that the Local Service and Network Service ... >>> Last week, after installing an antivirus upgrade, my server went a little>> berserk. ... An unhandled exception occurred during the execution of the>> current web request. ...
    (microsoft.public.windows.server.sbs)
  • Re: Folder security by GPO
    ... If file system does not work then you could use a Group ... Policy computer startup script using cacls to assign permissions for the ... > file system security through Group Policy in the Computer Config - Windows ... I want to set a policy such that Server A gets the policy ...
    (microsoft.public.win2000.security)