pues si usas TransactionScope, debes de habilitar el MS DTC en tu server de
IIS y en tu BD Server.

El 13 de mayo de 2011 14:55, Augusto Ferriz <[email protected]>escribió:

> y sip... si uso el transcope para hacer las operaciones de altas bajas y
> cambios
>
>
> 2011/5/13 Augusto Ferriz <[email protected]>
>
>> Estoy usando estos 2 archivos...
>>
>> hibernate.cfg.xml
>>
>> <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
>>   <session-factory>
>>     <property name="proxyfactory.factory_class">
>>       NHibernate.ByteCode.Castle.ProxyFactoryFactory,
>> NHibernate.ByteCode.Castle
>>     </property>
>>     <property name="dialect">
>>       NHibernate.Dialect.MsSql2005Dialect, NHibernate
>>     </property>
>>     <property name="connection.connection_string_name">
>>       db
>>     </property>
>>     <property name="adonet.batch_size">
>>       100
>>     </property>
>>     <mapping assembly="SAI.NH.BL"/>
>>   </session-factory>
>> </hibernate-configuration>
>>
>>
>> ==== app.config
>> <configuration>
>>   <configSections>
>>   </configSections>
>>   <connectionStrings>
>>     <add name="db" connectionString="Server=AFERRIZ\SBITSON; Database=SAI;
>> Trusted_Connection=SSPI" />
>>     <add name="SAI.Properties.Settings.SAIConnectionString"
>> connectionString="Data Source=(direccionIP); User Id=(ID Usuario bd)t;
>> Password=(Pass Usuario Bd"
>>       providerName="System.Data.SqlClient" />
>>   </connectionStrings>
>> </configuration>
>>
>
>
>
> --
> Atte. Augusto Ferriz
>
>  --
> Para escribir al Grupo, hágalo a esta dirección:
> [email protected]
> Para más, visite: http://groups.google.com/group/NHibernate-Hispano
>

-- 
Para escribir al Grupo, hágalo a esta dirección: 
[email protected]
Para más, visite: http://groups.google.com/group/NHibernate-Hispano

Responder a