Quantcast
Channel: OpenPlant | AutoPLANT
Viewing all articles
Browse latest Browse all 16985

Forum Post: RE: Issues with AutoPLANT projects that have been duplicated into a new 08.11.11.590 ProjectWise environment - write errors

$
0
0
Jeff, I would venture to say that you are doing everything correct.  This error is most likely caused by something setup with SQL Server Replication.  It is possibly trying to write a NULL value into the replication field that is in the TAG_REG table.  To get the exact SQL error message please turn on the SQL Debug Window using the steps below.  Try to insert a new tag and send me the error your receiving: 1. Open the C:\ProgramData\Bentley\Plant V8i\CFG\AT.ini file. 2. Create a new section as outline below: [PROJECTDB] SQLDEBUGWINDOW=1 3. Save and Exit. 4. Open your AutoPLANT application. 5. When the Debug window opens select the option VIEW ALL. Normally it is set to show Errors Only but I want to see all the SQL Statements.  Send me the last 20 lines or so. Thanks Jeff, Brandon Moberg P.S. Some Consideration for SQL Server Replication: Replication Considerations (SQL Server Express) SQL Server 2008 R2 Microsoft SQL Server 2008 Express (SQL Server Express) can serve as a Subscriber for all types of replication, providing a convenient way to distribute data to client applications that use SQL Server Express. When using SQL Server Express in a replication topology, consider the following: • SQL Server Express cannot serve as a Publisher or Distributor. • For this release, subscriptions must be created through Transact-SQL or Replication Management Objects (RMO). For more information, see the following topics: o Replication Transact-SQL programming: How to: Create a Push Subscription (Replication Transact-SQL Programming) and How to: Create a Pull Subscription (Replication Transact-SQL Programming). o RMO programming: How to: Create a Push Subscription (RMO Programming) and How to: Create a Pull Subscription (RMO Programming). • SQL Server Express does not include the SQL Server Agent, which is typically used to run replication agents. If you use push subscription, replication agents run at the Distributor, which will be an instance of SQL Server, so there are options for synchronizing. But if you use a pull subscription, in which agents run at the Subscriber, you must synchronize the subscription by using Windows Synchronization Manager or RMO. • Windows Synchronization Manager is a tool that is available with Microsoft Windows 2000 and later versions. If SQL Server is running on the same computer as Synchronization Manager, you can do the following: o Synchronize a subscription. o Reinitialize a subscription. o Change the update mode of an updatable transactional subscription. For more information about how to synchronize a subscription, see How to: Synchronize a Subscription (Using Windows Synchronization Manager). For more information about Windows Synchronization Manager, see Windows Synchronization Manager in SQL Server 2008 Books Online. o Synchronization by using RMO programming: For more information, see How to: Synchronize a Pull Subscription (RMO Programming) and How to: Synchronize a Push Subscription (RMO Programming)

Viewing all articles
Browse latest Browse all 16985

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>