Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics RMS forum
Suggested answer

Error trying to implement the Offline Database option on a store

Posted on by Microsoft Employee

Im getting this error when trying to sync transaction on offline database to primary server.

some one cant help me to solve this issues, we need to do maintenance to the primary server and 1 day the online server need to be shutdown. But the offline server was getting that error. I check the database on Store Operations Administrator and not getting error about integrity of the tables.

  • Suggested answer
    RMS Goddess Profile Picture
    RMS Goddess 170 on at
    RE: Error trying to implement the Offline Database option on a store

    Thank you Jeff!  This was perfect and solved my issue perfectly!

  • Jeff @ Check Point Software Profile Picture
    Jeff @ Check Point ... 13,380 on at
    RE: Error trying to implement the Offline Database option on a store

    There isn't one in 2k8; run this instead;

    -- Turn on advanced options

    EXECUTE SP_CONFIGURE 'show advanced options', 1

    RECONFIGURE WITH OVERRIDE

    -- Set max server memory = 6400MB for an 8g Server machine  -- 1/2 for 4g

    EXEC  sp_configure'max server memory (MB)',6400;

    RECONFIGURE WITH OVERRIDE

    -- Turn on Ad Hoc Queries

    EXECUTE SP_CONFIGURE 'Ad Hoc Distributed Queries', '1'

    RECONFIGURE WITH OVERRIDE

    -- Turn off advanced options

    EXECUTE SP_CONFIGURE 'show advanced options', 0

    RECONFIGURE WITH OVERRIDE

    -- Change Recovery Mode to Simple to prevent log file growth

    ALTER DATABASE "databasename" SET RECOVERY SIMPLE

    -- Turn off AutoClose in Express versions

    EXEC sp_dboption 'databasename', 'autoclose', 'FALSE'

    You need modify the line ending in 6400 depending on the amount of RAM you have, its set for 8g, change to 3200 for 4g,1600 for 2g

    Then modify the last two sections containing the databasename and change to your our database name.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error trying to implement the Offline Database option on a store

    I have a same problem, but i am using sql server 2008 r2.

    where is the " Enable OPENROWSET AND OPENDATASOURCE SUPPORT" option for sql 2008 r2?

  • Suggested answer
    Mian Sufian Profile Picture
    Mian Sufian 610 on at
    Re: Error trying to implement the Offline Database option on a store

    I have enabled this option and it works fine. My primary and offline databases are being synchronized when I execute z report on POS.

    Follow these steps to enable

    Start-> Microsoft SQL server 2005 -> Configurations Tools -> SQL Server Surface Area Configurations

    Then Click

    Surface area Configuration for features

    Then select check box with the option of “Enable OPENROWSET and OPENDATASOURCE support”

  • vijaya pandian Profile Picture
    vijaya pandian 160 on at
    Re: Error trying to implement the Offline Database option on a store

    Are you using SQL 2005 Express Edtion if yes please enable Adhoc Remote queries in surface are configartion.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Error trying to implement the Offline Database option on a store

    Solve

    Easy a Reindex work for me. jejeje

    Store Operations Manager > Database >Reindex

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,349 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,212 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans