Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ananda Glover 4 posts 84 karma points
    May 01, 2016 @ 09:59
    Ananda Glover
    0

    File Sharing Violation when uploading Umbraco Starter Kit

    Hello folks,

    Umbraco is installed (from my Azure Portal) to a Web App. Logging in to

    After minutes of uploading time, I get a Runtime Error: "An application error occurred on the server" Further details tell me how to change web.config to let me view the details from my remote machine.

    I went back to my Azure Portal, turned on Visual Studio Online for remote debugging, and updated web.config with as instructed. This time around after installing my uskinned.net starter kit, I got the details:

    There is a file sharing violation. A different process might be using the file. [ D:\home\site\wwwroot\AppData\Umbraco.sdf ] Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlServerCe.SqlCeException: There is a file sharing violation. A different process might be using the file. [ D:\home\site\wwwroot\AppData\Umbraco.sdf ]

    I logged out of Azure Portal and tried another installation. This time I got

    Exception Details: System.Web.HttpException: Request timed out. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [HttpException (0x80004005): Request timed out.]

  • Marc Goodson 2155 posts 14408 karma points MVP 9x c-trib
    May 01, 2016 @ 12:51
    Marc Goodson
    100

    Hi Amanda

    Umbraco makes it as easy as possible to get up and running locally with an Umbraco site.

    To achieve this during install unless you choose the customise installation option it will install the Fanoe Starter kit using a SQL CE database.

    The SQL CE database is a file based database service and so is great for running locally on your machine without the need to install SQL Server.

    However SQL CE is not recommended for use on Azure; because this is the cloud; different servers can try to write to this db file - hence you get the locking error...

    So create a SQL Azure db for your umbraco site; and during umbraco install choose the advanced customisation option and put the SQL Azure connection string in and things should run a bit smoother,.

    Regards

    Marc

  • Ananda Glover 4 posts 84 karma points
    May 02, 2016 @ 17:11
    Ananda Glover
    0

    Hello Marc,

    Thank you for explaining why things didn't work. Choosing the advanced customization option and entering the information for my SQL Azure database worked perfectly.

    Setting up the SQL Azure database was the hard part because I had trouble with a template designed for Azure: the "Scalable Umbraco CMS template". I finally gathered all the information for the template and ran it. Deployment failed after 15 minutes. The only things created were the WebApp, Redis Cache, and Storage Account. Couldn't figure out what happened. I'll contact customer support and look around this site for anyone who has used this template.

    Thanks again.

    Ananda

Please Sign in or register to post replies

Write your reply to:

Draft