Tuesday, October 05, 2004

Configuring ASP.Net Support in Visual Studio


After you install the Microsoft .NET Framework Software Development Kit (SDK) or Visual Studio .NET, Microsoft Internet Information Service (IIS) mappings are created to associate the new file extensions and settings for ASP.NET. If you did not have IIS installed when you ran the SDK or Visual Studio Setup, or if you uninstalled and reinstalled IIS after you ran the SDK or Visual Studio Setup, those settings will not be in place. You experience unexpected behavior when you try to view ASP.NET pages.


When you try to create a new ASP.NET Web application in Visual Studio .NET 2003, you receive the following error message:



Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services.


To fix IIS mappings for ASP.NET, follow these steps:

1. shut down ALL applications

2. Uninstall IIS 5.1

3. Uninstall .NET FrameWork 1.1

4. Reboot

5. Install IIS 5.1

6. Reboot

7. Install .NET Framework 1.1

8. Reboot

9. Run the Aspnet_regiis.exe utility:

   Click Start, and then click Run.

   In the Open text box, type cmd, and then press ENTER.

   At the command prompt, type the following, and then press ENTER:

   "%windir%\Microsoft.NET\Framework\version\aspnet_regiis.exe" -i

  In this path, version represents the version number of the .NET Framework that you   installed on your server. You must replace this placeholder with the actual version number   when you type the command.

10. Register the Aspnet_isapi.dll:

   Click Start, and then click Run.

   In the Open text box, type the following, and then press ENTER:

   regsvr32 %windir%\Microsoft.NET\Framework\version\aspnet_isapi.dll

   Regsvr32 returns the results of the registration.

11. Start Visual Studio .Net and create New Web Application.







References



http://support.microsoft.com/default.aspx?kbid=306005&product=aspnet

Configuring JDK1.5 with Eclipse 3.1M1


After waiting for quite a long time, the Java development community has finally seen an Eclipse 3.1M1 IDE that has support for Jdk1.5 new features and specially support the syntax changes in Jdk1.5. Eclipse JDT core R3.1.x provides the support for following items like Incremental Java Compiler, Java Model, Code Assist, Search, DOM AST. For more information about Eclipse JDT core R3.1.x. please click here.In this article I will discuss how to configure the Eclipse IDE for Jdk1.5 support in a step by step fashion.

1 Install Jdk 1.5.
2 Download Eclipse SDK 3.1M1.
3 Unzip the Eclipse SDK to a folder.
4 Run Eclipse IDE using /eclipse.exe.
5 Select the workspace.
6 Create new Project using File>New>Project>Java Project Command.
7 Provide Appropriate Values in the Project Dialog.
8 Go to Project>Properties select Java Compiler Option
9 click on Use Project Setting Radio button.
10 Go to Compliance and classfiles tab set the Jdk Compliance Level to 1.5.
11 Press Apply Button then Press Ok.
12 Go to Window>Preferences select the Java>Installed JREs from Tree on the left side.
13 Press Add Button Provide Name for Jdk1.5.
14 In the JRE home directory provide the path to the Jdk1.5 root folder.
15 Select the Use default system libraries and press Ok.
16 Select JDK1.5 with the name that was provided in step 13