Re: Question about strong-name dlls



Hi Diego,

You probably need to check the Permissions on the specific folder that the
app is trying to write to. File System permissions can be tricky. They exist
in more than one place.

Also, can you post the exact error message? And are you an Administrator on
the Windows 2003 server machine?

--
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:u77q014XFHA.3032@xxxxxxxxxxxxxxxxxxxxxxx
> 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
    ... Are you doing this ON the server? ... but when I try to select the dll in the server with Trust ... >> .Net Developer ... >> Sometimes the elephant eats you. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Please help
    ... Unable to open the Server service. ... DLL files to display messages from a remote computer. ... The NVIDIA Driver Helper Service service hung on starting. ... have the necessary registry information or message DLL ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Win2k3 SP1 error: New transaction cannot enlist in the specifi
    ... What we came upon was the fact that Windows Server 2003 requires roles to ... Do you use SQL Username and password, or SSPI to logon to the database (if ... >> This dll supports transactions, but does not initiate transaction calls. ...
    (microsoft.public.windows.server.general)
  • Re: DCOM Surrogates
    ... > believed it was possible to create a remote-server dll where I did not ... you're server has to be instantiated in a runnable process. ... but I am quite excited about this technology and what it ... then have to change the main app to accomodate it. ...
    (comp.lang.pascal.delphi.misc)
  • Re: screen scrape / remote manipulation
    ... Functionally a dll is no different from an .exe in terms of spying ... The other option is to install software capable of monitoring TCP/IP port ... connection is established between the dll (on the client) and the server, ...
    (microsoft.public.windowsxp.general)