Re: [sharp-architecture] Fluent NHibernate with a single SQL Server DB Instance and multiple, load balanced web services inserting to same SQL Server table with auto-increment integer primary key
128 views
Skip to first unread message
Seif Attar
unread,
Aug 14, 2012, 4:57:05 PM8/14/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sharp-arc...@googlegroups.com
What is the error/exception you are getting?
Avoid using the identity generator if possible, you loose a lot of the
benefits of nhibernate with that.
Also avoid cross posting (saw this question on the nh dev list)
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sharp-arc...@googlegroups.com
On server #1: Could not execute query: INSERT INTO (etc...); select SCOPE_IDENTITY() System.Data.SqlClient.SqlException (0x80131904): Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
On server #2: Could not synchronize database state with session NHibernate.StaleStateException: Batch update returned unexpected row count from update; actual row count: 0; expected: 1