Showing posts with label Windows 7. Show all posts
Showing posts with label Windows 7. Show all posts

Monday, December 12, 2011

Script to install SharePoint 2010 in Windows 7

You are ready to install SharePoint 2010 in Windows 7? Then you are at the right place. For the installation you have to download all required and follow the complete MSDN article and then execute step by step. If there is something which do all the steps for you then how it is? good right?
Yah! there is a great script which is written by Ram which installs SharePoint 2010 on windows 7 PC. Go and download and execute guys. Great script.

Get the information here.

Wednesday, July 21, 2010

The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

 IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

The above is the exception comes most of the times when you are using the default web site in windows 7. Automatically it will stop the site and when we try to start then the above exception is coming. Because of it, no web sites, applications are running and unable to proceed to any further step. I know that the default web site uses the port number 80 by default. For testing purposes I have changed the port number to 9999 and tried to start the default web site and surprisingly it started and everything running fine. So, I fixed to the problem that the issue is only because of the port 80. I came to conclusion that someone else other than IIS web site is using the port 80.

Now, we found the problem. We need to look for solution. But, how to know who are using the port 80 other than IIS?

 Here is the post on it. "How to find what process is using which port?". The helped me a lot to find out the problem in minutes.

Monday, December 28, 2009

IIS 7 – Managed pipeline mode – Global.asax redirect not working

I installed Windows 7 and I really like it. I migrated all my applications from my old machine to new. And my old machine is running WS 2003 [iis 6] and new machine is Windows 7 [IIS 7]. In all applications everything ran successful except one. I implemented exception handling in my application. I have Global.asax page and in the Application_Error event, I log the exception details and redirecting the user to the error page. Whenever there is an exception in my application the page never redirect to the error page, it stays there in the same page with exception details on the screen.

The same code ran very successful on my old server and in Windows 7 it's not. I just started thinking what could be the issue. The analysis went in this way. Code not changed, DB not changed and the only part changed is the IIS. Windows 7 has IIS7. So, The problem would be either the isapi dll or the application pool. So, started researching on those and found interesting points.

In IIS 7, application pool has a separate feature named "Managed pipeline mode". This will tell the pool the pipeline mode. [which is of type sint32 in c# and the possible values for it are 0 and 1.]

  • 0 is managed pipeline runs in integration mode.
  • 1 is managed pipeline runs in classic or ISAPI mode. [IIS 6].

In Classic mode, managed application events are executed by using ISAPI. In Integrated mode, ASP.NET request processing integrates directly into the IIS 7 request-processing pipeline. Integrated mode enables you to configure managed modules for Web sites that are developed with unmanaged code.

So, to work your logic correct, go to your site and see under what application pool your site running. Now, go to that application pool, properties and change the pipeline mode to classic mode. Now, you see everything works fine and the page starts redirecting to error page when any exception in your application.

For more details: http://msdn.microsoft.com/en-us/library/microsoft.web.administration.managedpipelinemode.aspx

Hope this helps and new tip today. Do you like this post?

Wednesday, August 26, 2009

How do i know my system version. 32 bit or 64 bit?

Hi Guys,

From long time many people asked me about how do I know my system version whether 32 bit or 64 bit. When I was very new to IT industry, at that time I too don’t have any idea about it. But some things will come with experience. Please follow the below points to know your system version.

  • Go to Start button.
  • Type sysdm.cpl and click OK or press enter.
  • Now, it will open a new window. Click on General tab. Here you will find the information about the OS.
  • The only clue that you know, whether my OS is 32-bit or 64-bit is, For 64-bit specially the OS name displayed as "Windows server 2003 64-bit Operating system". Where as 32-bit is simply Windows server 2003.

If you are using Windows Vista OS, then you can directly see the version details by going to computer properties from Start button.

  • Directly go to Start button, and right click on Computer and select Properties. There you find an entry for System Type.
  • OR, you can go to Control Panel and then Go to System.

This information is very helpful many times before install any software to check for version validation. Now, you know what your system type is. Don’t you?

Wednesday, June 24, 2009

Windows 7 RC training kit on Visual Studio 2008

Hi,

Again I came up with Windows 7 blog post. I am waiting for Windows 7 release and here is a post which is for letting you know that we can customize Windows 7 system depending on our choice. We can get the toolkit and with the help of Visual Studio 2008 we will develop the modules and deploy it to Windows 7. This is easy to customize. For this you need to install the Windows 7 RC training kit. You can download it here.

What it contains? It has the demos on how to do and examples for different modules and plenty of presentations, which explains the developers how to proceed. This is the one of the easiest way to understand things in little time. You can customize lot of areas of Windows 7 and below are the main modules.

  • Taskbar
  • Libraries
  • Multi Touch
  • Sensors and Location
  • Ribbon
  • Trigger Start Services,
  • Instrumentation and ETW
  • Application Compatibility

You need to install Windows 7 SDK before start working on it. So what are you waiting for? Common download and rock on it!!!

Wednesday, June 3, 2009

Windows 7 release date announced

Wow, great to know that Windows 7 is releasing soon. Its a very light weight and nice OS from Microsoft which has really very good user experience and lot of features available when compared to Widows Vista. Microsoft OEM vice president Steve Guggenheimer announced the release date and it will be release on October 22.

I am really awaiting for it.

Bing search provider to Internet Explorer, Mozilla and installer for Windows 7

Bing comes as a search provider like other search engine providers and getting good response. Remember Bing is in Beta and will be live in few days. This add-in is available for both Internet explorer and Mozilla Firefox, you can get it from IE add-ons site and Mozilla Add-ons site respectively.

Bing_Search_Provider

Bing for Windows 7?

Yes, Bing is available for Windows 7 as well. Get the installer from here named bing.osdx and install it.