RE: Inserted Identity Values in SQL 2005



Hi,
I understand that after your application was deployed in production
environment who has a SQL server 2005 merge replication, it sporadically
failled to retrive the new inserted identity values.
If I have misunderstood, please let me know.

Did you get incorrect identity values or enounter some exception errors?

This seems to be a SQL Server replication identity range issue. You may try
setting the identity_range to 1 to see if this helps.
Please refer to this article to change automatic identity range management
settings for an existing article in a merge publication.
How to: Manage Identity Columns (Replication Transact-SQL Programming)
http://technet.microsoft.com/en-us/library/ms146907(SQL.90).aspx

If you have any other questions or concerns, please feel free to let me
know.

Best regards,
Charles Wang
Microsoft Online Community Support
=====================================================
Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications

If you are using Outlook Express, please make sure you clear the check box
"Tools/Options/Read: Get 300 headers at a time" to see your reply promptly.


Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
======================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================






.



Relevant Pages

  • Re: transfering ASPNETDB.MDF Authentiocation to SQLServer
    ... ** Since SQL Server Express's database(your current mdf data file based ... database) are just a standard SQL server 2005 data file, ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: What does this mean?
    ... in SQL Server 7.0 and SQL Server 2000 we allow to create ... Peter Yang ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.sqlserver.tools)
  • RE: WebSite Admin Tool
    ... Here is a blog article describe this: ... After you moved to the production server, whether the SQL Server ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: Log Reader Error
    ... It's great to hear the it was resolved by recreating the Replication. ... This kind of mismatching LSN might be caused by various reasons. ... Enable Replication Agents for Logging to Output Files in SQL Server ... the SQL Server internal and you are recommanded to open a Support incident ...
    (microsoft.public.sqlserver.replication)
  • RE: VB 2005 and Content Security Question
    ... must the sensitive data be stored in SQL Server database ... if you have some sensitive configuration setting that need to ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.languages.vb)