Click here to Skip to main content
15,900,461 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Problem with TCP socket in Windows service Pin
SeMartens3-Feb-10 22:01
SeMartens3-Feb-10 22:01 
GeneralRe: Problem with TCP socket in Windows service Pin
mavrick233-Feb-10 23:18
mavrick233-Feb-10 23:18 
GeneralRe: Problem with TCP socket in Windows service Pin
SeMartens4-Feb-10 1:46
SeMartens4-Feb-10 1:46 
QuestionHow To Create Printer Driver Pin
Anubhava Dimri3-Feb-10 18:47
Anubhava Dimri3-Feb-10 18:47 
AnswerRe: How To Create Printer Driver Pin
Eddy Vluggen3-Feb-10 21:58
professionalEddy Vluggen3-Feb-10 21:58 
GeneralRe: How To Create Printer Driver Pin
Anubhava Dimri3-Feb-10 22:03
Anubhava Dimri3-Feb-10 22:03 
GeneralRe: How To Create Printer Driver Pin
Richard MacCutchan3-Feb-10 22:06
mveRichard MacCutchan3-Feb-10 22:06 
QuestionEnterprise Library Configuration tool Pin
Peter Trevor3-Feb-10 10:14
Peter Trevor3-Feb-10 10:14 
I thought I'd have a play with Enterprise Application Blocks (an add-on for VS2008 from Microsoft). But I'm getting something odd.

I installed it (v4.1), added the necessary references to my project, and used the Enterprise Library Configuration tool to set up a simple ExceptionHandler with logging. Then to test it I hard-wired a divide-by-zero error into my application code (inside a try-catch block). Everything compiles okay but when I get to the deliberate error it crashes with a message about not being able to load an assembly due to a mismatch in the manifest.

I tried different ways of referencing the DLLs and cleaned the solution but without success. But then I found if I manually edit the app.config (which the Enterprise Library Configuration tool modifies) and remove the version, culture, and public key token from all the 'type' attributes ... it works! (I noticed the supplied QuickStart samples didn't have this in their app.config which is what led me to try the same in my application. Also, an eyeball check of the DLL metadata implied I have the correct versions.)

Thing is, every time I go back into the Enterprise Library Configuration tool it adds these bits back in. Am I doing something wrong or is this a bug in the tool? Anyone else have experience of this?
QuestionEntity data model with Master-detail scenario [modified] Pin
Ravi Mori3-Feb-10 3:26
Ravi Mori3-Feb-10 3:26 
AnswerRe: Entity data model with Master-detail scenario Pin
Dave Kreskowiak3-Feb-10 3:46
mveDave Kreskowiak3-Feb-10 3:46 
GeneralRe: Entity data model with Master-detail scenario Pin
Ravi Mori3-Feb-10 3:57
Ravi Mori3-Feb-10 3:57 
GeneralRe: Entity data model with Master-detail scenario Pin
Dave Kreskowiak3-Feb-10 6:13
mveDave Kreskowiak3-Feb-10 6:13 
AnswerRe: Entity data model with Master-detail scenario Pin
Not Active3-Feb-10 4:28
mentorNot Active3-Feb-10 4:28 
GeneralRe: Entity data model with Master-detail scenario Pin
Ravi Mori3-Feb-10 6:25
Ravi Mori3-Feb-10 6:25 
QuestionGenerate popup desktop application Pin
RA|-|UL PATEL3-Feb-10 2:34
RA|-|UL PATEL3-Feb-10 2:34 
AnswerRe: Generate popup desktop application Pin
Not Active3-Feb-10 2:56
mentorNot Active3-Feb-10 2:56 
AnswerRe: Generate popup desktop application Pin
Luc Pattyn3-Feb-10 3:00
sitebuilderLuc Pattyn3-Feb-10 3:00 
GeneralRe: Generate popup desktop application Pin
Pete O'Hanlon3-Feb-10 3:55
mvePete O'Hanlon3-Feb-10 3:55 
GeneralRe: Generate popup desktop application Pin
Luc Pattyn3-Feb-10 4:03
sitebuilderLuc Pattyn3-Feb-10 4:03 
GeneralRe: Generate popup desktop application Pin
RA|-|UL PATEL3-Feb-10 20:32
RA|-|UL PATEL3-Feb-10 20:32 
GeneralRe: Generate popup desktop application Pin
Dave Kreskowiak3-Feb-10 23:41
mveDave Kreskowiak3-Feb-10 23:41 
GeneralRe: Generate popup desktop application Pin
RA|-|UL PATEL4-Feb-10 2:45
RA|-|UL PATEL4-Feb-10 2:45 
GeneralRe: Generate popup desktop application Pin
Luc Pattyn4-Feb-10 0:02
sitebuilderLuc Pattyn4-Feb-10 0:02 
Generalbluetooth programming Pin
Jamal Abdul Nasir2-Feb-10 8:32
Jamal Abdul Nasir2-Feb-10 8:32 
GeneralRe: bluetooth programming Pin
Richard MacCutchan2-Feb-10 8:42
mveRichard MacCutchan2-Feb-10 8:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.