Asked By Greg J
30-Jan-07 06:17 PM

We are using sql server 2005 and in our TEST environment --please note
TEST-- I have set the subscription expiration interval to be 1 day.
We made the mistake in the beginning of setting it to never expire and
we are getting errors, performance problems etc. I am trying to test
the behavior of changing that setting.
What I did was, after I set it to 1 day, I re-ran the snapshot. Fine,
it all worked for devices currently synching. 24 hours later, I tried
to create a new subscription and I get "The snapshot for this
publication has become obsolete. The snapshot agent needs to be run
again before the subscription can be synchronized." So fine, I reran
the snapshot, THEN 24 hours later I try to create a new subscription
and I get "The snapshot for this publication has become obsolete. The
snapshot agent needs to be run again before the subscription can be
synchronized." ...notice a trend.
I understand the concept of snapshots, subscriptions, and
publications. I know where they fit into the puzzle, but this
behavior is strange.
I am thoroughly confused, I am setting a publication setting called
supposed to do..if a subscription doesn't connect within stated time
frame, it's expired...wonderful that is what I am after.
Why is it that the Snapshot is becoming obsolete on a new
subscription? My understanding of a snapshot is that it would not
become obsolete unless there are schema changes, filter changes,
etc..then you would have to re-init, but this is on a new
subscription.
By this logic, if I set the subscription expiration to 14 days, I
would have to generate a new snapshot every 13 days? This just
doesn't seem right...
Sorry so long, any ideas?