C# Windows App A device attached to the system is not functioning -
i'm seeing following exception coming windows forms application on windows 7 machine. started happening on machine. still works fine on others not on particular machine.
exception:
exception type: system.applicationexception message: device attached system not functioning. (exception hresult: 0x8007001f) data: system.collections.listdictionaryinternal targetsite: void addtimernative(system.object, uint32, uint32, system.threading.stackcrawlmark byref) source: mscorlib
stacktrace information:
@ system.threading.timerbase.addtimernative(object state, uint32 duetime, uint32 period, stackcrawlmark& stackmark) @ system.threading.timerbase.addtimer(timercallback callback, object state, uint32 duetime, uint32 period stackcrawlmark & stackmark) @ system.threading.timer.timersetup(timercallback callback, object state, uint32 duetime, uint32 period, stackcrawlmark & stackmark) @ system.threading.timer..ctor(timercallback callback, object state, int32 duetime, int32 period) @ system.data.providerbase.dbconnectionpool.createcleanuptimer() @ system.data.providerbase.dbconnectionpool.startup() @ system.data.providerbase.dbconnectionpoolgroup.getconnectionpool(dbconnectionfactory connectionfactory) @ system.data.providerbase.dbconnectionfactory.getconnectionpool(dbconnection owningobject, dbconnectionpoolgroup connectionpoolgroup) @ system.data.providerbase.dbconnectionfactory.getconnection(dbconnection owningconnection) @ system.data.providerbase.dbconnectionclosed.openconnection(dbconnection outerconnection, dbconnectionfactory connectionfactory) @ system.data.sqlclient.sqlconnection.open() @ system.data.common.dbdataadapter.quietopen(idbconnection connection, connectionstate& originalstate) @ system.data.common.dbdataadapter.fillinternal(dataset dataset, datatable[] datatables, int32 startrecord, int32 maxrecords, string srctable, idbcommand command, commandbehavior behavior) @ system.data.common.dbdataadapter.fill(dataset dataset, int32 startrecord, int32 maxrecords, string srctable, idbcommand command, commandbehavior behavior) @ system.data.common.dbdataadapter.fill(dataset dataset)
also seems happen on first query being ran in application. can connect database server via odbc connections on machine know machine can see database server. suggestions?
it turns out error related dll program using our company wrote. seems occur in windows 7.
the problem using dll called cryptbase.dll windows 7 comes it's own cryptbase.dll. companies version must have been conflicting windows version because removed our version of dll program started working.
Comments
Post a Comment