Posts

Things to consider where developing an application

File Upload and Storage If users will be able to upload files, then bear in mind that a folder can store up to 32000 sub folder only, beyond that you won't be able to create more subfolder. experience: in one application, users were allowed to save images. For each user, a folder was created. So after 32000 folder, no more folders could be created. solution: create nested folder hierarchy. Year > Month > Date > UserId >  If the files are being written in the same folder, when a user upload a file with name X, it will replace another file with the name X if it exists. experience: in one application all users files were uploaded to the same folder. In one particular case, the data (Excel data) of one user was saved to another user data also. That's because the file names were same and were uploaded at the same time. solution: when saving file name, prepend timestamp + userid to filename.  If you are processing the imported records, validation that are necessary accep...

Umbraco with Umazel

https://our.umbraco.org/projects/starter-kits/umazel-starter-kit-responsive-bootstrap-theme/umazel-starter-kit-general-discussion/81823-compilation-error-on-publish When cleaning mvc project, some of the dll are deleted from bin folder. So you have to re-add the dlls. DotSee.AutoNode.dll DotSee.Common.dll DotSee.NodeRestrict.dll DotSee.PageMetas.dll DotSee.VirtualNodes.dll MailChimp.Net.V3.dll Umbraco.Web.PublishedContentModels.dll
Nightmare with oracle 9i - dumbos do not want to migrate to newer versions YET! So getting this error Could not load file or assembly 'oracle.dataaccess' or one of its dependencies. An attempt was made to load a program with an incorrect format. how did i resolve MY issue?: on development machine what I did was to install the oracle client ODAC112040Xcopy_64bit. Then when adding reference to oracle.dataaccess client I added the dll found under Extensions in visual studio which points to C:\Windows\Microsoft.NET\assembly\GAC_64\Oracle.DataAccess\v4.0_4.112.4.0__89b483f429c47342\oracle.dataaccess.dll I was able to deploy my application on local iis and run the web app successfully how did I resolve MY issue on deployment server?: when I deployed the web app on windows server 2012 R2, i got the same error AGAIN! I selected all projects to be built under x64 I set Enable 32-bit applications to false for the application pool