Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

A sneaky bug that cost me a lot of grief - NULL vs NOT NUL..

 
   Database Forums (Home) -> Notification Services RSS
Next:  Concurrency with .net app  
Author Message
Tokes

External


Since: Jul 04, 2007
Posts: 1



(Msg. 1) Posted: Wed Jul 04, 2007 2:55 am
Post subject: A sneaky bug that cost me a lot of grief - NULL vs NOT NULL event fields
Archived from groups: microsoft>public>sqlserver>notificationsvcs (more info?)

Just wanted to warn people of a bug I came across in using
Notification Services that drove me mad for a couple of hours:

Make sure the field definitions of your event EXACTLY match what is
being returned in the EventQuery of your SQLProvider Hosted Provider!

I had one column defined as NOT NULL-able in the event, but the event
provider query was returning some NULL values. The thing that made
this bug so difficult to find was that there was no errors being
logged anywhere - nothing was showing up in the event log, and when I
ran Profiler on the server it showed that the provider was being run
(the Event Submit Batch proc was running). Why didn't I get some kind
of "failed to submit batch" error?

- Tokes

 >> Stay informed about: A sneaky bug that cost me a lot of grief - NULL vs NOT NUL.. 
Back to top
Login to vote
Display posts from previous:   
   Database Forums (Home) -> Notification Services All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]