MS Data Access Block and ASP.NET Reading Floppy Drives

E

Elias

Hi,

I recently started playing around with the DAAB from Microsoft as part
of the Enterprise Library
(http://www.microsoft.com/downloads/...7A-9534-4349-8038-D56B38EC394C&displaylang=en).
So far it has been pretty neat, but when I went to implement the DAAB
within an ASP.NET application I began getting some weird side effects.

I used essentially the same code that was given in one of the quick
start tutorials and when I run this line in my code:

Dataset Messages = db.ExecuteDataSet(dbCommandWrapper);

My floppy drive is read. At first I thought it had to be unrelated, and
so I did a virus scan but nothing turned up. Then I traced further
through the DAAB and found that in DataInstrumentationFacade (Which is
in Data/Instrumentation in the DAAB folder structure) there is a method
CommandExecute. When the single line runs in this method, every time,
the floppy drive is read. Here's the line:

DataCommandExecutedEvent.Fire(executionTime);


Note that if I step into this Fire method the floppy is read before I
reach the first line of code in the Fire method. (The fire method is in
the DataConnectionOpenedEvent.cs file, again in the Instrumentation
folder).

Any thoughts on this? I haven't the slightest clue of what's going on,
and there isn't much in Google that relates the DAAB to ASP.NET.

Thanks,
Elias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top