Re: Question about strong-name dlls



Yes, that's getting too deep.

The error is that if I create a dll that writes to disk and use that dll in
a project hosted in a Windows 2003 server, it gives a security.exception.

I've been searching about this more than a week, and I found advises of
strong name my DLL and use the framework wizard to trust my DLL. The problem
is that in the framework 2.0 that the server is running, I can't load the
dll when running the wizard: Unable to load assembly. And here I am. I don't
know if I'll solve that. I'm starting thinking that no :-(

--
Regards,

Diego F.


"Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx> escribió en el mensaje
news:eLmj6l4XFHA.2076@xxxxxxxxxxxxxxxxxxxxxxx
> Thanks Diego. That is the default user on a Windoiws 2003 server. However,
> I've now lost track of what the original problem stated was. Can you give
> me the full error message?
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> Sometimes you eat the elephant.
> Sometimes the elephant eats you.
>
> "Diego F." <diegofrNO@xxxxxxxx> wrote in message
> news:uAhfyr2XFHA.2076@xxxxxxxxxxxxxxxxxxxxxxx
>> The user is NETWORK SERVICE. I assigned full control and nothing changes:
>> from my computer works ok, but only from mine :-(
>>
>> --
>> Regards,
>>
>> Diego F.
>>
>>
>> "Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx> escribió en el mensaje
>> news:uiLxJQWXFHA.3320@xxxxxxxxxxxxxxxxxxxxxxx
>>>> Firstly, thank you for all your answers, I really appreciate :-)
>>>
>>> You're very welcome, and thank you! :)
>>>
>>> The user doesn't have "asp" in its name. You have to find it in Task
>>> Manager or IIS Admin. Depending on the OS, Task Manager will show one of
>>> 2 different process names (not user names, but process names - the user
>>> name is the account under which the process runs): XP = "aspnet_wp.exe",
>>> Windows Server 2003 = "w3wp.exe". You can look in Task Manager for the
>>> name of the ASP.Net user account by seeing what user account the process
>>> is running under. The user account (not the process) will need the
>>> proper permissions. Entiende?
>>>
>>> --
>>> HTH,
>>>
>>> Kevin Spencer
>>> Microsoft MVP
>>> .Net Developer
>>> Sometimes you eat the elephant.
>>> Sometimes the elephant eats you.
>>>
>>
>>
>
>


.



Relevant Pages

  • Re: Question about strong-name dlls
    ... but when I try to select the dll in the server with Trust ... >> Diego F. ... >>> Microsoft MVP ... >>> Sometimes the elephant eats you. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Page Timeout or authenticatin fails
    ... Your user account on live-server is running on your account? ... (Aspnet must have appropriate rights.) ... That VB6 dll must be some sort of COM/ActiveX. ... the rights to launch your VB6 based dll object. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP Error 0178 - Please - way behind deadline... (yes - Ive done IUSR_XXX)
    ... Yes the DLL is in-proc and registered (I auto-assoc all dll's ... Authenticated Users, Interactive, IUSR_Machine, Server Operators ... Process) then you need to be looking at the permissions for the IWAM_ ... user account and not the IUSR_ user account. ...
    (microsoft.public.inetserver.iis.security)
  • DllRegisterServer Fail 0x80020009
    ... RegSvr32 fail to register a DLL under User account. ...
    (microsoft.public.win2000.security)
  • 80040E14 "Automation error" in EXE
    ... The above error is being thrown when I try and CREATEOBJECT on a DLL I have ... I am running under a user account on this machine, ...
    (microsoft.public.vb.general.discussion)