[Mono-dev] Problem with ASP.NET Symbolic link

2006-08-18 Thread Hubert FONGARNAND




Ok, most of problems seems to be solved thanks to Miguel

BUT when i've seen the changelog : 

* image.c (full_path): A new method used to obtain the actual path
 of an assembly even in the presence of symbolic links.

 This is necessary for the case where we are running a binary that
 has been GACed, but we are using the published path name
 ($prefix/mono/1.0/blah.exe) which happens to point to the real
 file in the GAC.

 This was the source of the failure for the `xsp' command with the
 recent AppDomain changes, as far as the runtime was concerned,
 there were two different assemblies: $prefix/mono/1.0/blah.exe and
 $prefix/mono/gac/blah/version/blah.exe.


and this cause many problems with my applications...
Because many of them use the same libraries and I use symbolic links in the /bin directory to share them... I don't want to use the Gac because many of them are not strong signed!

Now i've this error when I launch my application :

Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. 

Error message: 
(0,0) : error CS0006: Cannot find assembly `/home/hubert/applications/IntranetAdmin/bin/home/hubert/applications/Librairies/Infragistics.WebUI.Shared.v6.1.dll'
(0,0) : error CS0006: Cannot find assembly `/home/hubert/applications/IntranetAdmin/bin/home/hubert/applications/Librairies/Infragistics.WebUI.UltraWebNavigator.v6.1.dll'


In fact there's a symbolic link /home/hubert/applications/IntranetAdmin/bin/Infragistics.WebUI.Shared.v6.1.dll that point to /home/hubert/applications/Librairies/Infragistics.WebUI.UltraWebNavigator.v6.1.dll !!!

It used to work well...

Symbolic link are an important feature of UNIX 

Or tell me what other way to deal with shared dll...


___Ce message et les éventuels documents joints peuvent contenir des informations confidentielles.Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu.

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Problem with ASP.NET Symbolic link

2006-08-18 Thread Hubert FONGARNAND




The bug is reported with a simple test case (easy to reproduce)

http://bugzilla.ximian.com/show_bug.cgi?id=79103

Le vendredi 18 aot 2006  10:24 +0200, Hubert FONGARNAND a crit :

Ok, most of problems seems to be solved thanks to Miguel

BUT when i've seen the changelog : 

* image.c (full_path): A new method used to obtain the actual path
 of an assembly even in the presence of symbolic links.

 This is necessary for the case where we are running a binary that
 has been GACed, but we are using the published path name
 ($prefix/mono/1.0/blah.exe) which happens to point to the real
 file in the GAC.

 This was the source of the failure for the `xsp' command with the
 recent AppDomain changes, as far as the runtime was concerned,
 there were two different assemblies: $prefix/mono/1.0/blah.exe and
 $prefix/mono/gac/blah/version/blah.exe.


and this cause many problems with my applications...
Because many of them use the same libraries and I use symbolic links in the /bin directory to share them... I don't want to use the Gac because many of them are not strong signed!

Now i've this error when I launch my application :

Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. 

Error message: 
(0,0) : error CS0006: Cannot find assembly `/home/hubert/applications/IntranetAdmin/bin/home/hubert/applications/Librairies/Infragistics.WebUI.Shared.v6.1.dll'
(0,0) : error CS0006: Cannot find assembly `/home/hubert/applications/IntranetAdmin/bin/home/hubert/applications/Librairies/Infragistics.WebUI.UltraWebNavigator.v6.1.dll'


In fact there's a symbolic link /home/hubert/applications/IntranetAdmin/bin/Infragistics.WebUI.Shared.v6.1.dll that point to /home/hubert/applications/Librairies/Infragistics.WebUI.UltraWebNavigator.v6.1.dll !!!

It used to work well...

Symbolic link are an important feature of UNIX 

Or tell me what other way to deal with shared dll...


___
Ce message et les ventuels documents joints peuvent contenir des informations confidentielles.
Au cas o il ne vous serait pas destin, nous vous remercions de bien vouloir le supprimer et en aviser immbdiatement l'expditeur. Toute utilisation de ce message non conforme m sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.
Les communications sur internet n'tant pas stcurises, l'intdgrit de ce message n'est pas assur1e et la socitn mettrice ne peut ;tre tenue pour responsable de son contenu. 

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


___Ce message et les éventuels documents joints peuvent contenir des informations confidentielles.Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu.

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list