locked
Using Management Studio to manage .sdf file on device RRS feed

  • Question

  • Hi,

    I am trying to connect to a database on a Windows Mobile device using the Management Studio. I am able to select server type "SQl Server Mobile" and navigate to the file on the device. When I try to connect I recieve the following error. Should this work? If so what must I do to allow the registry access?

    Thanks,

    Ron


    Requested registry access is not allowed. (SQL Server Mobile Edition ADO.NET Data Provider)

    ------------------------------
    Program Location:

       at Microsoft.SqlServerCe.Client.TdsParser.ThrowExceptionAndWarning()
       at Microsoft.SqlServerCe.Client.TdsParser.Connect(String host, SqlCeInternalConnection connHandler, Int32 timeout)
       at Microsoft.SqlServerCe.Client.SqlCeEngine.FileExists(String filename)
       at Microsoft.SqlServerCe.ManagementUI.Utilities.GetUniqueFilename(String path)
       at Microsoft.SqlServerCe.ManagementUI.BrowseForFiles.OnBtnNewDatabaseClick(Object sender, EventArgs e)

    Wednesday, November 29, 2006 7:19 PM

Answers

  • Try to check your registry permission for the following key:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows CE Services\ProxyPorts

    make sure you have all the read/write access rights checked.
    Friday, December 1, 2006 1:12 AM

All replies

  • Try to check your registry permission for the following key:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows CE Services\ProxyPorts

    make sure you have all the read/write access rights checked.
    Friday, December 1, 2006 1:12 AM
  • Thank you Alex .... that was the problem.
    Tuesday, December 5, 2006 12:00 AM