Rased's Blog

Rased's Blog

Sharing Knowledge and Experience

How to fix “System.BadImageFormatException : Could not load file or assembly or one of its dependencies” error

System.BadImageFormatException: Could not load file or  assembly ‘XXX, Version=x.x.x.x, Culture=neutral,  PublicKeyToken=null’ or one of  its dependencies.  An  attempt was made to load a program with an incorrect  format. This error occurs when target platform of the main assembly and referenced assembly/assemblies are not same. Solution: Open the projects Properties pages. Go to Build tab. Set Platform Target to the same for all the assemblies of the solution.

[asp.net] How to fix “UnauthorizedAccessException: Access to the path is denied” error in godaddy and hostgator

Server Error in ‘/dev’ Application. Access to the path ‘D:\hosting\123456789\html\dev\images\partners\match.gif’ is denied. 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. Uploading files to server using asp.net generates this error if the destination… (read more)

Input Validation in ASP.NET

ASP.NET has some really cool validation controls. They are easy to use which can save a lot of development time. You can find them in  the validation pane in Toolbox. How to user them(common): Select and drag them to your aspx page where you want to show the error indication. Insert the control ID in ControlToValidate that you… (read more)

ASP.NET Login Tutorial using Membership

Almost every web application requires authentication. Authentication can be implemented easily using asp.net’s built-in mechanism Membership. I am going to show you the process. Configuring Database: Go To your windows directory which is typically C:\Windows. Then follow the path Microsoft.NET\Framework\v4.0.30319 [or \Microsoft.NET\Framework64\v4.0.30319 if you are using a 64 bit windows operating system]. run aspnet_regsql.exe. Click Next Select Configure SQL Server for Application Services and… (read more)

слоты игровые автоматы играть бесплатно

Но многие пользователи желают реальных азартных ощущений и без регистрации в странствованиях. Казино Адмирал предлагает сыграть в них каждому желающему, без регистрации в двух режимах. Первый – они доступны в казино с установленным Adobe Flash Player. Бонусные раунды – есть. Оплата и слотах казино – около 9, или 75 раз. Если вы увидите на Таблице… (read more)