Thursday, March 27, 2008

Run ASP 1.1 Website in IIS 7.0 (Windows VISTA)

To set this up follow these steps.

  1. Ensure that .NET 1.1 --->SP1<--- is properly installed.
    • Vista does not include .NET v1.1 by default.
    • Because .NET 1.1 is not included by default, .NET v1.1 *SP1* is also not included.
    • Without SP1, W3WP.exe will crash when running an appPool under v1.1 due to DEP
    • To check this, make sure that "c:\Windows\Microsoft.NET\Framework\v1.1.4322\mscorsvr.dll" is version "1.1.4322.2032" or higher.
    • Unless you are 100% sure that SP1 for .NET is installed, you *really* should double-check this.
  2. Enable IIS 6.0 compatibility
    • Open "Control Panel"
    • Double-click "Programs and Features"
    • Expand "Internet Information Services"
    • Expand "Web Management Tools"
    • Check "IIS 6 Management Compatibility"
  3. Register v1.1 with IIS
    • Open a CMD prompt
    • Change your directory to c:\Windows\Microsoft.net\Framework\v1.1.4322
    • Run "aspnet_regiis -ir -enable"
    • "ir" registers v1.1 with IIS but doesn't change any existing script mappings
    • "enable" marks aspnet_isapi.dll as "Allowed" under "ISAPI and CGI Restrictions"
    • aspnet_regiis should also create a new AppPool under "Application Pools" called "ASP.NET 1.1" that is configured with the "Classic" pipeline, and "Enable32BitAppOnWin64" set to true if a 64-bit OS.
  4. Make the new "ASP.NET 1.1" appPool the default.
    • Open the IIS manager
    • Select the "Web Sites" folder.
    • Under "Actions" on the upper right, click "Set Web Site Defaults..."
    • Change the "Application Pool" setting to "ASP.NET 1.1"
  5. **Alternative step to 4** - Change the AppPool to "ASP.NET 1.1" after creating the ASP.NET project instead of making it the default.
    • Create the v1.1 ASP.NET project via Visual Studio. Attempting to run the project at this point will fail if the 1.1 appPool is not the default.
    • Open the IIS manager.
    • Right-click the newly create application directory and choose "Advanced Settings"
    • Change the "Application Pool" to "ASP.NET 1.1"
    • Go back to Visual Studio and attempt to run/debug project.
  6. Select the Connection node (the root node), in the right panel open "ISAPI And CGI Restrictions" and make sure that "ASP.NET v1.1.4322" is Allowed.

Friday, March 21, 2008

Whats New in VS 2008 and SQL 2008

 

Microsoft was kind enough to make life much more easier for the software community and give them the new software package (VS 2008 and SQL Server 2008).

Whats new in:

  1. Visual Studio 2008:
    1. Multi targeting support
    2. New WYSIWYG web designer
    3. Great support for CSS and JavaScript
    4. Full support for WPF applications in WPF
    5. WPF Interop
    6. Integrated support for ASP.Net Providers in WinForms
    7. Integrated Office development support
    8. New features in .Net Compact Framework 3.5
    9. New Mobile emulator and security features
    10. Support for LINQ and other language features in .Net 3.5
    11. New ALM features in VS2008 TFS


  2. SQL Server 2008:
    1. Transparent Data Encryption allows for an entire database, all tables and data, to be encrypted on the fly without application programming.
    2. Backups can be encrypted to prevent data disclosure or tampering.
    3. Data changes and access can now be audited.
    4. Fact Tables can be compressed for performance benefits.
    5. The Resource Governor can prevent runaway resource usage.
    6. SQL 2008 supports Hot Plug CPU.
    7. Performance Counters have been greatly expanded.
    8. Installation has been simplified.

For more details follow the following links:

http://www.databasejournal.com/features/mssql/article.php/3691821
http://www.databasejournal.com/features/mssql/article.php/3697056
http://msdn2.microsoft.com/en-us/library/bb386063.aspx

Wednesday, March 19, 2008

Welcome to CMMI

cmmi-logo

This post is a quick view on the CMMI process.

Capability Maturity Model® Integration (CMMI) is a process improvement approach that provides organizations with the essential elements of effective processes. It can be used to guide process improvement across a project, a division, or an entire organization. CMMI helps integrate traditionally separate organizational functions, set process improvement goals and priorities, provide guidance for quality processes, and provide a point of reference for appraising current processes.

The CMMI 6 levels are:

  • Level 1 - Initial
  • Level 2 - Repeatable
  • Level 3 - Defined
  • Level 4 - Managed
  • Level 5 - Optimized
  • Extensions

List Of Some of the Egyptian Software Companies Have CMMI:

Company Name

CMM/CMMI Level

Company website

EDS-Egypt

CMMI-Level 3

www.eds.com

CMM-Level 2

ITSoft

CMMI-Level 5

www.itsoft.com.eg

CMMI-Level 4

CMM-Level 3

CMM-Level 2

IBM Egypt – Cairo Technology Development Center

CMMI-Level 5

www.ibm.com

CMM-Level 3

Raya Software

CMMI-Level 3

www.rayasoftware.com

ITWorx Limited - Egypt

CMMI-Level 3

www.itworx.com

CMMI-Level 2

Data Management Systems (DMS) – Software Development, Implementation and Maintenance Projects

CMMI-Level 4

www.dmsegypt.com

CMM-Level 3

Digital Vision

CMMI-Level 2

www.digitalvisionco.com

LINKdotNET - Link Development

CMMI-Level 3

www.link.net

Egypt Network - S/W Development Management and IT Services Unit

CMMI-Level 2

www.egyptnetwork.com

Delta Software New!

CMMI-Level 2

www.delta-sw.com

CMMI-Level 3

Harf Information Technology

CMMI-Level 3

www.harf.com

Microtech

CMMI-Level 3

www.microtech-eg.com

Horizons Software

CMMI-Level 3

www.horizonssoftware.com

Fujitsu Egypt – Professional Services Projects

CMMI-Level 2

www.fujitsu.com.eg

VIAS EGYPT

CMMI-Level 3

www.valeo.com

Civil Information Technology Company (CITC)

CMMI-Level 2

www.citc.com.eg

Intercom Enterprises

CMMI-Level 2

www.intercom.com.eg

E-Smart Soft

CMMI-Level 2

www.esmartsoft.com.eg

Informatique

CMMI-Level 2

www.informatique-eg.com

Emak International Academy - ERP Division

CMMI-Level 2

www.emakacademy.com

Environmental Systems & Research Institute-North East Africa ( ESRI-NEA ), previously QSIT

CMMI-Level 2

www.qs4it.com

Giza Systems, ISG-ERP Implementation Unit

CMMI-Level 3

www.gizasystems.com

Global Consulting Services and Software Development (GCSSD) New!

CMMI-Level 2

www.gcssd.com

Tuesday, March 18, 2008

Multiple Web sites in IIS 5.1 for Windows XP

A big problem may face any web developer is to create more than a web site in the Internet Information Security (IIS), It appears Microsoft® has chosen to disable or disallow multiple Virtual IIS Servers in its offering of Win XP Pro. This functionality multi-site "take back" is very annoying. My understanding is Windows NT Server which I've worked with in the past allowed multiple IIS Virtual Servers ( web sites ).

What Microsoft did was strip the functionality out of the IIS GUI (Graphical User Interface), not the server itself. I should be able to right click on Web Sites and say "new" but cannot. Notice the GUI still says Web Sites, even though Microsoft eliminated the capability from the GUI! Many users of Win NT swear that you should be able to create multiple virtual web servers, but not on XP or 2000. Microsoft does mention this restriction on other web pages.

Just because you can't create the second or multiple virtual servers doesn't mean the GUI won't support them.

The Solution:

The scripting interface allows you to create the second site, but you can't start it unless the other (Default) site is stopped. The VBScript to have is \Inetpub\Adminscripts\adsutil.vbs. To create a stopped and un-configured site try "cscript.exe adsutil.vbs CREATE_VSERV W3SVC/2" in the command prompt.




This will create a new web site as the following image.


The new created web site is stopped by default and unfortunately here comes the silly part, all web sites cannot be running at the same time, to run a given web site you must stop all other web sites.