MSDE install problems: sqlMangr.exe - Application error

Posted on 2006-05-13
Last Modified: 2008-01-09

I downloaded and ran the SQL2KDeskSP3a.exe file on windows 2000 professional.

I tried to setup an msde intance:
'Setup SAPWD=(Some password) INSTANCENAME="aaa" '

After i had restarted my pc after the setup, I tried to run the 'Service Manager', but I got a 'sqlMangr.exe - Application error':

          The instruction at "0x1fa00475" referenced memory at
          "0x00af00b2". The memory could not be "read". Click on OK to terminate the program
          Click on CANCEL to debug the program  

I deleted and re-installed the engine but no progress. How can I solve this problem, Is there something in the registry that should be modified in order to make it work.
Question by:ANISBH
    LVL 3

    Expert Comment

    This happens if the path to the sqlctr80.dll in the following registry key is greater than 50 characters.


    Since the problem is in advapi32.dll which is an NT dll, the resolution here is to use shorter path for the installation.

    What is the installation path you are providing while installing MSDE?
    Can you try to repro this issue on another machine with the same OS build and the same path?




    Author Comment

    the value i get from HKLM\System\CurrentControlSet\Services\MSSQLServer\Performance\Library:


    However I tried installing the MSDE on another machine having the same OS but with the latest SP's, I got no errors and everything worked fine. I used the same path to save the MSDE. ==> I think the problem was from the microsoft windows 2000 professional: it should have the latest SP.

    thanks for your help.


    Accepted Solution

    PAQed with points refunded (125)

    Community Support Moderator

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Introduced in Microsoft SQL Server 2005, the Copy Database Wizard ( is useful in copying databases and associated objects between SQL instances; therefore, it is a good migration and upgrade tool…
    Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
    Via a live example, show how to shrink a transaction log file down to a reasonable size.
    Via a live example, show how to setup several different housekeeping processes for a SQL Server.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now