Total Pageviews

2/18/2010

Global Assembly Cache(GAC) Register DLL Problem ("Access is denied")

I faced an issue when I tried to add my dll file to Windows GAC.

Inspite of having signed DLL file, I received
"Access is denied" error message.

To come out of the issue, I found one of the easy way:

Go to Start > Control Panel > Administrator Tools > Services > Indexing Service
Stop the service.

Thats it, now I was able to deploy the DLL in GAC.



cheers.

2/08/2010

Download ASP.NET MVC 1.0

Click Here  to Download and install ASP.NET MVC 1.0. To install this you can use the new Microsoft Web Platform Installer V2 this will provide you an integrated setup experience for the entire Microsoft web stack.

even ASP.NET MVC 1.0 source code is also available. Scroll down to the bottom of the ASP.NET MVC Download page and you will find links for that over there.The ASP.NET MVC source code includes a VS 2008 project file that enables you to build it.

cheers.

2/01/2010

Disable Right Click for your website using JavaScript on Internet Explorer.

Hello,

If you want to prevent your user from performing right click on your web site in Internet Explorer then you can try this basic trick to do it. Although its not 100% accurate but still it works and can be done easily where its not that much important to really disable it.
Just Add "oncontextmenu="return false""  to you body tage in HTML 

<BODY oncontextmenu="return false">


When any user perform right click on the web page the menu is requested, the oncontextmenu event runs, and we instantly cancel it using JavaScript. this way you can prevent your user to view some precious code and even prevent your user to open web page in multiple windows to.

cheers

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews