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. Web Development
  3. Cloud Computing
  4. SQL Compact doesn't work in Windows Azure

SQL Compact doesn't work in Windows Azure

Scheduled Pinned Locked Moved Cloud Computing
databasecloudhelpcsharpasp-net
8 Posts 3 Posters 5 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.
  • R Offline
    R Offline
    Ranger49
    wrote on last edited by
    #1

    I've got an ASP.NET Web Pages site that draws fractals, it uses a SQL Compact database and works fine locally. But now I want to publish it to the Azure Cloud and I get an error in the Database.cshtml that it doesn't work. Is it true that SQL Compact doesn't work in the Azure Cloud? The URL is: http://aljo-fractals.azurewebsites.net Error: Failed to find or load the registered .Net Framework Data Provider. I use WebMatrix 3 I guess I need to add the framework to use the database, where do I get that? This must be easy to fix, but how...

    D 1 Reply Last reply
    0
    • R Ranger49

      I've got an ASP.NET Web Pages site that draws fractals, it uses a SQL Compact database and works fine locally. But now I want to publish it to the Azure Cloud and I get an error in the Database.cshtml that it doesn't work. Is it true that SQL Compact doesn't work in the Azure Cloud? The URL is: http://aljo-fractals.azurewebsites.net Error: Failed to find or load the registered .Net Framework Data Provider. I use WebMatrix 3 I guess I need to add the framework to use the database, where do I get that? This must be easy to fix, but how...

      D Offline
      D Offline
      dusty_dex
      wrote on last edited by
      #2

      .NET CF is for PDAs and Embedded devices. Use the regular Desktop frameworks.

      R B 2 Replies Last reply
      0
      • D dusty_dex

        .NET CF is for PDAs and Embedded devices. Use the regular Desktop frameworks.

        R Offline
        R Offline
        Ranger49
        wrote on last edited by
        #3

        dusty_dex wrote:

        Use the regular Desktop frameworks

        Do I need to use NuGet? What is the exact name of the framework I need? The point is, it works fine locally in Webmatrix. Does it have to do with a connectionstring in de configuration file?

        D 1 Reply Last reply
        0
        • R Ranger49

          dusty_dex wrote:

          Use the regular Desktop frameworks

          Do I need to use NuGet? What is the exact name of the framework I need? The point is, it works fine locally in Webmatrix. Does it have to do with a connectionstring in de configuration file?

          D Offline
          D Offline
          dusty_dex
          wrote on last edited by
          #4

          Well shouldn't any/all frameworks for developing Azure solutions be in the Azure SDK? ASP.Net Azure getting started

          R 1 Reply Last reply
          0
          • D dusty_dex

            Well shouldn't any/all frameworks for developing Azure solutions be in the Azure SDK? ASP.Net Azure getting started

            R Offline
            R Offline
            Ranger49
            wrote on last edited by
            #5

            SQL Compact cannot be used in Windows Azure. You need Windows Azure SQL Database for this.

            D 1 Reply Last reply
            0
            • R Ranger49

              SQL Compact cannot be used in Windows Azure. You need Windows Azure SQL Database for this.

              D Offline
              D Offline
              dusty_dex
              wrote on last edited by
              #6

              That was the general response I originally gave you. So you got things fixed then? :)

              1 Reply Last reply
              0
              • D dusty_dex

                .NET CF is for PDAs and Embedded devices. Use the regular Desktop frameworks.

                B Offline
                B Offline
                Bernard Grosperrin
                wrote on last edited by
                #7

                I read this just now, I would have reacted immediately otherwise. Compact SQL works just fine on Azure. You just need to deploy the proper DLLs. I have a site (test) working fine with it. Now, another question would be, beside "working", to ask if SQl Compact is "adapted" to Azure, and the answer would be NO! Simply because, beside working, you need to be able to follow easily the main feature of Azure, which is scaling (up or down) by creating instances of your site. Compact being purely local, you would end up having as many DBs as Instances, which is not great.....

                D 1 Reply Last reply
                0
                • B Bernard Grosperrin

                  I read this just now, I would have reacted immediately otherwise. Compact SQL works just fine on Azure. You just need to deploy the proper DLLs. I have a site (test) working fine with it. Now, another question would be, beside "working", to ask if SQl Compact is "adapted" to Azure, and the answer would be NO! Simply because, beside working, you need to be able to follow easily the main feature of Azure, which is scaling (up or down) by creating instances of your site. Compact being purely local, you would end up having as many DBs as Instances, which is not great.....

                  D Offline
                  D Offline
                  dusty_dex
                  wrote on last edited by
                  #8

                  ok, strange and unexpected. :omg: interesting... :thumbsup: :-D

                  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