JawwadLone
Programmer
Hi everyone,
I am using Microsoft Enterprise Library's data access block in my asp.net application. I am working on windows 2003 server. It works fine on windows 2000 and windows xp. But giving me this error
on following code
can any one help me solve this problem. I would be very thankfull.
Regards,
Jawwad Lone.
I am using Microsoft Enterprise Library's data access block in my asp.net application. I am working on windows 2003 server. It works fine on windows 2000 and windows xp. But giving me this error
Code:
An unhandled exception of type 'System.Security.SecurityException' occured in mscorlib.dll. Additional infomation required. Requested registry access is not allowed
on following code
Code:
Try
Dim ds As dataset
Dim db As Oracle.OracleDatabase = DatabaseFactory.CreateDatabase
Dim cmd_DISTRICT As Oracle.OracleCommandWrapper = db.GetStoredProcCommandWrapper("DISTRICT_PKG.DISTRICTLookup")
cmd_DISTRICT.AddInParameter("valueField", DbType.String, valueField)
cmd_DISTRICT.AddInParameter("TextField", DbType.String, TextField)
cmd_DISTRICT.AddInParameter("orderByField", DbType.String, orderByField)
Return db.Executedataset(cmd_DISTRICT)
Catch ex As Exception
return Nothing
End Try
can any one help me solve this problem. I would be very thankfull.
Regards,
Jawwad Lone.