Visual Basic.NET - Error FrameWork URGENTE!!!

 
Vista:

Error FrameWork URGENTE!!!

Publicado por Pablo PEREZ (3 intervenciones) el 28/09/2005 15:33:56
Hola, no entiendo mucho de .NEt, pero hemos desarrollado una DLL que se carga en un ASP.
Hasta ahí todo correcto.
En el servidor todo Ok,pero cuando lo ejecutamos en red da error System.security.permissions.SecurityPermission, he estado leyento todo por este foro y es debido a las politicas de seguridad en frameWork, pero por mucho que configuro poniendo Fulltrust no funciona.

Tambien, cuando intento configurar el FrameWork, me pide que seleccione el ensamblado, (no se lo que es un ensamblado y si una DLL puede ser un ensamblado o tengo que migrar el codigo) selecciono la DLL y me da error, como si no fuese un ensamblado.
No se que más hacer. Alguien me puede ayudar???
Gracias
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Error FrameWork URGENTE!!!

Publicado por Edgar (1501 intervenciones) el 29/09/2005 16:23:47
Hola

Un ensamblado es lo que arroja la compilación de un proyecto, un dll es un ensamblado, pero un exe tambien lo es..

Ahora bien, te da un error, posiblemente te dice algo de que le falta un strong name? es correcto eso?? si no lo es, por favor, indica cual es el error que te da

Lo que dices sobre las politicas de seguridad es correcto, y debes darle los permisos necesarios para su ejecución, estos permisos se basan en niveles de confianza que pueden ser de diversos tipos.. dependiendo del que hayas solicitado es que te puede haber dado el error que mencionas

Saludos
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:Error FrameWork URGENTE!!!

Publicado por Pablo (3 intervenciones) el 29/09/2005 17:42:38
Creo que no pone nada de eso, todo el detalle del error es el siguiente, Gracias.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Security.SecurityException: System.Security.Permissions.SecurityPermission
at System.Security.CodeAccessSecurityEngine.Check(PermissionToken permToken, CodeAccessPermission demand, StackCrawlMark& stackMark, Int32 checkFrames, Int32 unrestrictedOverride)
at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark)
at System.Security.CodeAccessPermission.Demand()
at System.Security.SecurityException.CanAccessSensitiveInfo()
The type of the first permission that failed was:
System.Security.Permissions.SecurityPermission
The Zone of the assembly that failed was:
MyComputer

************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.3600.0
Win32 Version: 2.0.41115.19 (lab23df.041115-1900)
CodeBase: file:///C:/WINNT/Microsoft.NET/Framework/v2.0.41115/mscorlib.dll
----------------------------------------
System
Assembly Version: 2.0.3600.0
Win32 Version: 2.0.41115.19 (lab23df.041115-1900)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System/2.0.3600.0__b77a5c561934e089/System.dll
----------------------------------------
AVRECORDER
Assembly Version: 1.0.0.23485
Win32 Version: n/a
CodeBase: http://10.253.3.16/qanalyser/objects/AVRECORDER/AVRECORDER.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.3600.0
Win32 Version: 2.0.41115.19 (lab23df.041115-1900)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Windows.Forms/2.0.3600.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.3600.0
Win32 Version: 2.0.41115.19 (lab23df.041115-1900)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Drawing/2.0.3600.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.3600.0
Win32 Version: 2.0.41115.19 (lab23df.041115-1900)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/Accessibility/2.0.3600.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.1200.0
Win32 Version: 8.0.41115.19 (lab23df.041115-1900)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.1200.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:Error FrameWork URGENTE!!!

Publicado por Edgar (1501 intervenciones) el 29/09/2005 17:45:42
Hola

Yo me referia mas bien al error que te da cuando intentas configurar el framework...

Saludos
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar