Tema: error en red
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 19/10/2006, 12:50
ZeRo-k
 
Fecha de Ingreso: junio-2003
Mensajes: 119
Antigüedad: 20 años, 11 meses
Puntos: 0
error en red

buenas,
al poner mi aplicacion hecha en visual stdio 2005 me da el siguiente error:
antes de abrir la aplicacion me sale un ventana amergente de seguridad:
"fabricante desconocido"
este es el fallo que me da:

System.Security.Permissions.FileIOPermission

Consulte el final de este mensaje para obtener más detalles sobre cómo invocar a la depuración
Just-In-Time (JIT) en lugar de a este cuadro de diálogo.

************** Texto de la excepción **************
System.Security.SecurityException: Error de solicitud de permiso de tipo 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
en System.Security.CodeAccessSecurityEngine.Check(Obj ect demand, StackCrawlMark& stackMark, Boolean isPermSet)
en System.Security.CodeAccessPermission.Demand()
en System.AppDomainSetup.VerifyDir(String dir, Boolean normalize)
en System.AppDomain.get_BaseDirectory()
en System.Data.Common.DbConnectionOptions.ExpandDataD irectory(String keyword, String value, String& datadir)
en System.Data.Common.DbConnectionOptions.ExpandDataD irectories(String& filename, Int32& position)
en System.Data.OleDb.OleDbConnectionString..ctor(Stri ng connectionString, Boolean validate)
en System.Data.OleDb.OleDbConnectionFactory.CreateCon nectionOptions(String connectionString, DbConnectionOptions previous)
en System.Data.ProviderBase.DbConnectionFactory.GetCo nnectionPoolGroup(String connectionString, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions)
en System.Data.OleDb.OleDbConnection.ConnectionString _Set(String value)
en System.Data.OleDb.OleDbConnection.set_ConnectionSt ring(String value)
en tiempos.articulosdsTableAdapters.articulosTableAda pter.InitConnection()
en tiempos.articulosdsTableAdapters.articulosTableAda pter.get_Connection()
en tiempos.articulosdsTableAdapters.articulosTableAda pter.InitAdapter()
en tiempos.articulosdsTableAdapters.articulosTableAda pter.get_Adapter()
en tiempos.articulosdsTableAdapters.articulosTableAda pter.FillByordercodigo(articulosDataTable dataTable)
en tiempos.articulos.articulos_Load(Object sender, EventArgs e)
en System.Windows.Forms.Form.OnLoad(EventArgs e)
en System.Windows.Forms.Form.OnCreateControl()
en System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
en System.Windows.Forms.Control.CreateControl()
en System.Windows.Forms.Control.WmShowWindow(Message& m)
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
en System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
en System.Windows.Forms.Form.WmShowWindow(Message& m)
en System.Windows.Forms.Form.WndProc(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Acción que generó el error:
Demand
El tipo del primer permiso que generó un error era:
System.Security.Permissions.FileIOPermission
La zona del ensamblado que generó el error era:
Internet


************** Ensamblados cargados **************
mscorlib
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
tiempos
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.0.0.0
Código base: file://Xero/tiempos/tiempos/bin/Debug/tiempos.exe
----------------------------------------
Microsoft.VisualBasic
Versión del ensamblado: 8.0.0.0
Versión Win32: 8.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
mscorlib.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Runtime.Remoting
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Windows.Forms.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
System.Data
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada

Por ejemplo:

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

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.