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
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