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.]
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,.
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.
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.]
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
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
is working on a reply...