ASP.NET Failed deploying project on server

If you have error with deploying project on server you might have problem with privileges of exporting files. Add to project_name.csproj file in section PropertyGroup line like bellow: <PropertyGroup> <IncludeSetAclProviderOnDestination>False</IncludeSetAclProviderOnDestination> </PropertyGroup> Tip: If you not see *.csproj in your Solution Explorer just right click on project name and pick Unload Project then another right click […]

Observations: ALTER TABLE statement conflict

If you add another table to your¬†project with 1-to-many relationships you may meet an error sound like: The ALTER TABLE statement conflicted with the FOREIGN KEY constraint “FK_dbo.tableModels_dbo.idModels_admIdModelsId”. The conflict occurred in database “aspnet-dwmp1-20170323101827”, table “dbo.tableModels”, column ‘IdModelsId’. Solved of this problem lies in content of table where¬†you hook up your new table. In other […]