Dec 16, 2009

How to run 32bit .net application on 64bit windows

Finally we are in production with 3.5 .net framework. We were in 1.1 version. Converting the project from 1.1 to 3.5 was not hard for us. But testing all project and taking to live took time. We solved every problem and finally closed the system to go live with new .net version. When we run the new version we saw there was a problem with 3.5 version on 64bit server. Since developers work on 32bit systems we miss the testing 64bit environment.

Here are the steps to run 32bit .net application on 64bit windows server:
1. Click Start, click Run, type cmd, and then click OK.

2. Type the following command to enable the 32-bit mode:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1

3. Type the following command to install the version of ASP.NET 2.0 and to install the script maps at the IIS root and under:
%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

4. Make sure that the status of ASP.NET version 2.0.50727 is set to Allowed in the Web service extension list in Internet Information Services Manager.

Dec 12, 2009

VS 2008 cannot switch to design mode

I am a little bit disappointed with Visual studio 2008 for slow IDE. VS2003's IDE is faster than 2008. Endless hotfixes is another issue. I really wonder what those hotfixes do. Whenever i install a new patch to make VS IDE faster i feel like cheated. Because it doesn't work. I installed a patch even for connecting to Visual Sourcesafe 2005. Does not Microsoft programmers know we may want to use VS with Sourcesafe? Why do i have to execute a patch for this?

The purpose of this post is design mode appearance problem in VS2008. When i switch to design mode i couldn't see form. I spend time to find a solution for this problem. There is a detailed recommendation here. But it didn't work for me. Finally i find a solution in forum.

Copy FPCUTL.DLL file from C:\Program Files\Microsoft Expression\Web Designer to C:\Program Files\Microsoft Office\Office10 or office11. My dll version is 12.0.4518.1066.

What a good relationship with a dll under Office folder and Visual Studio design view!