
14/04/2005, 01:38
|
 | | | Fecha de Ingreso: abril-2005
Mensajes: 611
Antigüedad: 19 años, 10 meses Puntos: 1 | |
es esto??? tengo puesta esta conexion para la base de datos:
<add key="connString" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\INFORMATICA\NET\CursoNETtarde\ASPNET\DG-TwoDDLs\EmployeeData.mdb" />
y me da esto:
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Requested registry access is not allowed.
Source Error:
Line 31: {
Line 32: // connect to Access DB
Line 33: OleDbConnection myConnection = new OleDbConnection (ConfigurationSettings.AppSettings["connString"]);
Line 34: myConnection.Open();
Line 35: |