Tech-Today
How to setup elmah for MVC3 .NET 4.0
Tired of setting up your configuration to load elmah? You think you already configured everything even compiling the source code to build on .net 4.0 but still failed? Experience a routing error, or this persistent line: elmah Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. An attempt was made to load a program with an incorrect format. (because SQLite was build on x86). You could change a setting in IIS App Pool to load x86 dll but that's not really a solution. To solve this issue, simply use NuGet Package Manager and install the elmah plugin :-). Steps: 1.) Open Tools->Library Package Manager->Manage NuGet Packages. 2.) Search for elmah, there will be several match, just choose the first one with the most number of downloads.
3.) Alternatively you can install elmah by issuing an install command to NuGet Console: Install-Package Elmah Don't forget to execute the appropriate database script from here: \ELMAH-1.2-src\src\Elmah\xxx.sql
-
How To Package A Java Standalone App Using Maven Assembly
The sample codes below will assemble a zipped package of a java standalone app. Dependencies: maven-jar-plugin - to create the jarmaven-assembly-plugin - to assemble the distribution packagepom.xml<plugin> <groupId>org.apache.maven.plugins</groupId>...
-
How To Solve System.security.securityexception: That Assembly Does Not Allow Partially Trusted Callers.
Recently I found myself in another shared hosting problem. Unfortunately, we are hosting our personalized-items/corporate give away website + wedding invitation (www.kalidadprintsandfavors.com) in godaddy.com. And I've just added a new feature where...
-
How To Use Entityframework Codefirst To Update Your Database
This tutorial will attempt to explain how to update an already existing database using EntityFramework's CodeFirst approach. We need: 1.) VS2010 SP1 2.) NuGet 3.) EntityFramework 4.1 4.) EntityFramework.Migrations Steps: 1.) We need to make...
-
Mvc3 Dynamic Search Paging Using Pagedlist
Basically there's a great tutorial from this site: Unboxed solutions. -I've copied the codes and add some comments. I'll just try to add my own comments. 1.) First you need to install PagedList.Mvc from Nuget. a.) Go to Tools->Library Package...
-
How To Setup A Magento System In A 1and1 Vps Server 2 - Updating The Default 1and1 Php Image Installed
For this you must have a root access to your database There is a built it script to test your system whether it is ready for magento deployment or not, you can download it here: http://www.magentocommerce.com/knowledge-base/entry/how-do-i-know-if-my-server-is-compatible-with-magento...
Tech-Today