web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

database connection lost

(0) ShareShare
ReportReport
Posted on by 710

SQL 2008

*This post is locked for comments

I have the same question (0)
  • Gerald Rothaus Profile Picture
    2,934 on at
    RE: database connection lost

    Hi, Doc.

    What Jeff was doing here, I believe, is turning on the SQL2005 Openrowset function if an installation of SQL2008:

    "FYI: The "show advanced options", AD Hoc, Show advanced turns on the old OPENROWSET that 2005 had, "Alter Database" sets it to a Simple backup mode so the log files don't grow, and the "autoclose" turns off the autoclose function of Express to stop it from going to sleep."

    as well as setting the backup to 'simple' to reduce the growth of the transaction log, and

    change the autoclose function to off (I haven't seen these problems in action but Jeff is a pretty smart guy).

    Hope that helps.

    -Jerry

    jerry@jrdata.us

  • Community Member Profile Picture
    on at
    RE: database connection lost

    Hi Jeff,

    what will effect the above query will do?

    Can you explain about that query? I tried to run that query on MSSQL Server Management Studio but it did not recognize sp_dboption....

  • Community Member Profile Picture
    on at
    Re: database connection lost

    i am getting almost exactly the same error but it happens on both POS staions and stations running manager.

    our server is a 2008r2 server running 2005 SQL SP4 workstations are a mix of win 7 x64  and xp x32  we did update workstations to the latest SP for sql .

    this problem happens everyday to one station or more and restarting rms  seems to go ok

    WE have a managed 10/100 switch it shows no errors on connection crc or otherwise

    error logs don't show anything that to me says trojan or worm activity

    we did today install hotfix #33 for rms to correct another issue with list refreshing

  • Community Member Profile Picture
    on at
    Re: database connection lost

    Is anyone using SQL Server Express 2012 on Windows 7 SP1 with RMS 2.0 SP4.?

    I get an error in RMS Administrator while connecting to database. When I test connection on Configuration screen, it succeeds but when I connect from Connect screen it fails with following error:

    "Error 55555, Severity 16, State 1 was raised, but no message with that error number was found in sys.messages...."

    I have this working on other machines but this is causing problem. All my machines are Windows 7 SP1 , SQL Server Express 2012.

  • Mauirox Profile Picture
    140 on at
    Re: database connection lost

    Jeff, I was concerned about doing Windows 7 with RMS 2.0 SP4. This document sure helped me get through it. Whew - how are they doing it without you. Step by step worked great.

  • Gerald Rothaus Profile Picture
    2,934 on at
    Re: database connection lost

    Check your event logs on both your server and your local machine, I saw this problem twice with 2 different causes. 1 was a bad network card, the other was a worm that was causing buffer overflow via port 135. The event logs should tell what the problem is.

    Probably... :)

    -Jerry

    JR Data

    jerru@jrdata.us

  • aly fathala Profile Picture
    710 on at
    Re: database connection lost

    This message comes at any time during the work of the cashier and we press OK, and then go back to open the program again with the knowledge that I use sql 2008

  • Community Member Profile Picture
    on at
    Re: database connection lost

    Jeff

    Great stuff

    Ed Boyer

  • Jeff @ Check Point Software Profile Picture
    13,382 on at
    Re: database connection lost

    SQL 2k8 R2 Express new installtion steps;

    Download your Express version from here; www.microsoft.com/express/Database/InstallOptions.aspx You really only need the Database Only version for RMS.

    You can only install a 32 bit version on a 32 bit version of Windows. On a Windows 64 bit version, either will work, but reccommend the 64 bit version.



    You will also need the download the SQL 2005 Backward Compatibility Componets from;http://go.microsoft.com/fwlink/?LinkId=204889


    Lastly, if installing on XP, Vista, Server 2003 or 2008, make sure you have the Windows Installer 4.5 installed (look in Add/Remove Programs), otherwise grab it here;http://support.microsoft.com/kb/942288 You will need to restart the machine.

     

    OK, lets get to the installation.


    If Vista or Windows 7, right click on the downloaded SQL 2k8 R2 installation file and select "Run as Administrator"


    First screen of the install asks for a new or Upgrade. Select New.

    The installer will go out and check for any issues that must be fixed before the upgrade, if no issues, accept the license and optionally select the Send info to MS box.

    On the Feature Selection screen, leave it as default


    On the Instance Configuration screen, select Default instance.


    Server Configuration screen, select "Use the same account for all SQL services, do the dropdown in the Account Name and select the Network Service option.


    Database Configuration screen, select Mixed Mode and enter a password.

    Next screen asks to send more installation info to MS.

    Last screen completes or give you the errors that need fixing. If no errors, you're good.


    Now find and double click on the SQL2k5 Backward Compatibility Componets .msi file, you really only need to install the SQL Distributed Management Objects, click on the down arrow of the others and select "This feature will not be available".


    If standalone (single user), you're done, except we always setup for networked environments as you never know what the future brings...



    Now, go to Start | All Programs | Microsoft SQL Server 2008 and delete the folder. Its duplicated with Microsoft SQL Server 2008 R2.

    Start | All Programs | MS SQl Server R2 | Configuration Tools | SQL Configuration Manager | SQL Services on the right | right click on SQL Server and Stop it.

    On the left, double click SQL Server Network Configuration | double on Protocols | make sure that Shared Memory, Named Pipes and TCP/IP are all enabled.

    On the left, double click on SQL Native Client 10.0 Configuration | double click on Client Protocols, right click on Named Pipes | Order | on the right side, click the down arrow once so that Named Pipes is on the top.

     


    Now install RMS, about the 3rd screen in, it offers to install SQL Server, select Skip.


    Start | All Programs | MS Dynamics RMS | Client Network Utility | move Named Pipes and TCP/IP to the right with Named Pipes on top.. On the Alias tab | Add | make sure Named Pipes is selected and enter either the Server's name or IP address.



    Go into SO or HQ Admin | log into the database | Query | New enter the following, but change the "databasename" for your install.



    EXECUTE SP_CONFIGURE 'show advanced options', 1
    RECONFIGURE WITH OVERRIDE


    EXECUTE SP_CONFIGURE 'Ad Hoc Distributed Queries', '1'
    RECONFIGURE WITH OVERRIDE


    EXECUTE SP_CONFIGURE 'show advanced options', 0
    RECONFIGURE WITH OVERRIDE

    ALTER DATABASE "databasename" SET RECOVERY SIMPLE

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



    Press the F5 button or select the green sideways triangle on the top.

    FYI: The "show advanced options", AD Hoc, Show advanced turns on the old OPENROWSET that 2005 had, "Alter Database" sets it to a Simple backup mode so the log files don't grow, and the "autoclose" turns off the autoclose function of Express to stop it from going to sleep.

  • Community Member Profile Picture
    on at
    Re: database connection lost

    When r u getting this message Aly?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans