Security Concerns – Part 1

Securing your web application is a hard task and needs lot of thoughts and work. One of the basic principles of securing your web application is blocking system-level information from been known by end user. I mean by system-level information, Example of things that should be un-known for end users

  1. What DB you are using
  2. What hosting software’s you are using
  3. What is the file structure you are using
  4. What resource file paths.

Yasser Jaber posted a nice article about this topic into Integrant’s blog site. Clinic here to Read More!

How to Solve “Error Creating Control” Error Message (ASP.Net Site)

If you face this error while trying to open a web application project

Error Creating Control – control_Name
‘/LM/W3SVC/1/Root/Project_Name’ is not a valid IIS application.

ErrorCreatingControlSnapshot

 

You can resolve this error by following the below steps , the root cause of this error is the incorrect mapping between web application project and the virtual directory in your IIS.
To Resolve this error , follow the following steps:

1-Right click – you web application project and select Properties -> Web
2- in the server section choose Use IIS Web Server -> then click Create Virtual.
3- Clean your project from any DDLs that was previously complied and compile your project again.

By doing the above steps this issue should got resolved.

Develop .Net 1.1 Web Application on windows Vista (IIS 7)

To develop Web application using .Net 1.1 and Visual Studio 2003 on Vista OS (IIS 7), follow the below steps:

  •   First of all you have to install Visual Studio 2003. this will install .Net 1.1 also

  •   Install all service packs for .Net framwork 1.1.

  •   Open the IIS Manager and navigate to the server root. (Not a website root, above that – the machine name.) and double click on "ISAPI and CGI restrictions."

  •   Add the v1.1 aspnet_isapi.dll to "Allowed" restrictions

                  (it’ll be at %WinDir%\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll)

  •   Navigate to the website root in IIS manager and double-click "ISAPI Filters."

  •   Add the ASP.NET 1.1 ISAPI filter from %WinDir%\Microsoft.NET\Framework\v1.1.4322\aspnet_filter.dll

  •   Go to the website root again in IIS manager and loo at "Advanced Settings."

  •   Ensure the website is using an ASP.NET 1.1 Application Pool (Vista created one for me when I installed .NET 1.1 – you may need to create one yourself.)

    Done.. Now you can develop and debug .Net 1.1 Web Applications on Vista OS and IIS 7.0