Re: Question about strong-name dlls



I didn't found that user. Anyway, I'll show you exactly what is the problem.
I'm making some tests with simple libraries.

I create a new class library with just one class with this method
public void CreateFile(string path)

{

System.IO.StreamWriter sw;

sw = System.IO.File.CreateText(path + "\\test.txt");

sw.WriteLine("test");

sw.Close();

}

I compile that library and add the reference in my project, that is hosted
in a Win 2003 server. I call this method and in my computer works, but in
other computer I get the Security Exception: That assembly does not allow
partially trusted callers.

So I see that's a problem I'll meet in any dll. Do you see exactly my
problem? I don't know if that's because I'm using the VS 2005 beta1, but
I'm missing some step.



--

Regards,



Diego F.






"Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx> escribió en el mensaje
news:%23SVwYqUXFHA.3228@xxxxxxxxxxxxxxxxxxxxxxx
> Hi Diego,
>
> There IS an ASP.Net user. There is no aspnet user. On a Windows 2003
> server, it runs under a different account. Check Task Manager. Also, on a
> Windows 2003 server, security is much tighter.
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> Sometimes you eat the elephant.
> Sometimes the elephant eats you.
>


.



Relevant Pages

  • Re: schannel.dll, secur32.dll, and DSCLIENT.EXE redistribution
    ... functions do not involve a Win 2000 generation server in any way? ... network installation, download to the client, or even pushed. ... > end user to install software based on these libraries. ... > with Windows ME, 2000 and XP, and are available as you pointed out for NT ...
    (microsoft.public.platformsdk.security)
  • Re: Question about strong-name dlls
    ... I told you that Windows Server 2003 has ... > - how can I activate asp.net user in Windows 2003? ... I'm making some tests with simple libraries. ... >> Sometimes the elephant eats you. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Perf Library and connectivity errors
    ... Thanks you for posting in SBS newsgroup. ... between Exchange server and Client outlook application after installing SBS ... 9099 event can indicate a WMI issue on your Exchange ... connected are pasted below - where can I update the libraries? ...
    (microsoft.public.windows.server.sbs)
  • Re: Question about strong-name dlls
    ... I'm making some tests with simple libraries. ... Well, Diego, you're going to have to found that user if you want to solve ... On a Windows 2003 server, ... >> Sometimes the elephant eats you. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ANN: Basil -- Internet Message (email) and MIME library for Ada v 1.0
    ... going to need this glue for your mailing list server anyway. ... I am considering using AWS for the web interface portion, ... But integration with existing web servers is a killer feature ... libraries, so that a single program can use several libraries ...
    (comp.lang.ada)

Quantcast