Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Hosting and Servers
  4. Unable to access SQLCE database on Windows Server 2012

Unable to access SQLCE database on Windows Server 2012

Scheduled Pinned Locked Moved Hosting and Servers
databaseworkspacecsharpsql-serverdotnet
6 Posts 3 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Paul D D
    wrote on last edited by
    #1

    Hello Folks I currently have a .NET 4.0 website successfully running on Windows Server 2008. It utilises SQL Compact 4.0 which resides in the App_Data folder. The database dlls reside in the bin folder. I am moving to a new web host company and I want to test this on Windows 2012, ultimately with a view to moving to .NET 4.5 and, later, SQL Server. My starting point was to move across all of my website folders, including a test database and SQLCE dlls and test the site. Unfortunately I get the following error message when loading the home page for the first time. "Unable to find the requested .Net Framework Data Provider. It may not be installed. " The first part of the trace states: [ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.] System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName) +1480919 System.Data.EntityClient.EntityConnection.GetFactory(String providerString) +26 I am still learning .NET and server environment so please be kind. I have researched for answers this morning but it seems to raise more questions than answers for me. Given my setup and the errors shown is there a best place to look/check first? Thanks Paul ..

    L M 2 Replies Last reply
    0
    • P Paul D D

      Hello Folks I currently have a .NET 4.0 website successfully running on Windows Server 2008. It utilises SQL Compact 4.0 which resides in the App_Data folder. The database dlls reside in the bin folder. I am moving to a new web host company and I want to test this on Windows 2012, ultimately with a view to moving to .NET 4.5 and, later, SQL Server. My starting point was to move across all of my website folders, including a test database and SQLCE dlls and test the site. Unfortunately I get the following error message when loading the home page for the first time. "Unable to find the requested .Net Framework Data Provider. It may not be installed. " The first part of the trace states: [ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.] System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName) +1480919 System.Data.EntityClient.EntityConnection.GetFactory(String providerString) +26 I am still learning .NET and server environment so please be kind. I have researched for answers this morning but it seems to raise more questions than answers for me. Given my setup and the errors shown is there a best place to look/check first? Thanks Paul ..

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      That suggests that you do not have SQLCE installed on the new server, even though you have copied the DLLs. Some products are required to have the installation process run in order to set up links and registration information.

      P 2 Replies Last reply
      0
      • L Lost User

        That suggests that you do not have SQLCE installed on the new server, even though you have copied the DLLs. Some products are required to have the installation process run in order to set up links and registration information.

        P Offline
        P Offline
        Paul D D
        wrote on last edited by
        #3

        Thanks for your help. I will try to get SQLCE 4.0 install process run on the server and report back.

        1 Reply Last reply
        0
        • L Lost User

          That suggests that you do not have SQLCE installed on the new server, even though you have copied the DLLs. Some products are required to have the installation process run in order to set up links and registration information.

          P Offline
          P Offline
          Paul D D
          wrote on last edited by
          #4

          Interestingly I have since (without any changes made) rerun the page and get a different result - strange. The result is: "The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid" What I can't understand is I'm using exactly the same file structure, files and web.config as a working instance of the website so the above error has confused me.

          L 1 Reply Last reply
          0
          • P Paul D D

            Interestingly I have since (without any changes made) rerun the page and get a different result - strange. The result is: "The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid" What I can't understand is I'm using exactly the same file structure, files and web.config as a working instance of the website so the above error has confused me.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Sorry, but that is something more connected with the framework you are using, and I don't have any experience with those products.

            1 Reply Last reply
            0
            • P Paul D D

              Hello Folks I currently have a .NET 4.0 website successfully running on Windows Server 2008. It utilises SQL Compact 4.0 which resides in the App_Data folder. The database dlls reside in the bin folder. I am moving to a new web host company and I want to test this on Windows 2012, ultimately with a view to moving to .NET 4.5 and, later, SQL Server. My starting point was to move across all of my website folders, including a test database and SQLCE dlls and test the site. Unfortunately I get the following error message when loading the home page for the first time. "Unable to find the requested .Net Framework Data Provider. It may not be installed. " The first part of the trace states: [ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.] System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName) +1480919 System.Data.EntityClient.EntityConnection.GetFactory(String providerString) +26 I am still learning .NET and server environment so please be kind. I have researched for answers this morning but it seems to raise more questions than answers for me. Given my setup and the errors shown is there a best place to look/check first? Thanks Paul ..

              M Offline
              M Offline
              millerfly1234
              wrote on last edited by
              #6

              Thanks very helpful http://storeprime.com/index.php?dispatch=categories.view&category_id=64[^]

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups