ASP.Net (RSS)

ASP.Net

Issues with VS Orcas Beta 1 VPC and ASP.NET

Like many folks have found, there are some issues to work out with VS Orcas Beta 1 VPC and ASP.NET:

Here's Rockford’s Blog, the first I found that clued my in to the problem of IIS 6.0 not being setup and enabled properly:

Here are a few on my own notes to help you going...

I. Enable IIS in Windows 2003 !!!!

  • Check and if need, Install Internet Information Services (IIS) 6.0:
  • Run Ad/Remove Programs:
    • Open the Windows Components Wizard.
    • Under Components, click Application Server, and then click Details.
    • In the Application Server dialog box, under Subcomponents of Application Server, click Internet Information Services (IIS), and then click Details.
    • In the Internet Information Services (IIS) dialog box, under Subcomponents of Internet Information Services (IIS), do either of the following:
    • To add optional components, select the check box next to the component that you want to install.
    • To remove optional components, clear the check box next to the component that you want to remove.
    • Click OK until you return to the Windows Component Wizard.
    • Verify that ASP.Net is checked and if not, check it and proceed with installation.Click Next, and then click Finish.

II. To verify that your IIS server is working correctly, use an Internet browser to view your Web page:

with 0 Comments

ASP.NET: Best Practices and Techniques for Building Secure ASP.NET Applications

Folks: I just signed up to attend a MSDN session on ASP.NET: Best Practices and Techniques for Building Secure ASP.NET Applications to held next week in my area.  Has anyone attended? And if so, is it worth the while.  For example, how much it tech content vs. high level, marketing?  Advise.

See http://launch3.popgram.com/Launch.aspx?BID=1802728236&bhcp=1 for more detials.

with 1 Comments

"IIS Not Running ASP.Net 1.1"

Folks:

Recently,  a student of mine installed VS.Net 2003 on their XP Pro box, then eagerly started developing a new ASP.Net web app and received the message:

 "Visual Studio .Net has detected that the specified Web Server is not Running ASP.Net 1.1”. 

Initially, I questioned how that could happen, since VS.Net 2003 comes with the 1.1 framework.  Then after some investigation (but without rebuilding my PC to verify this) I've come up with the following scenario that might make cause the problem:

  1. I developer installed XP Pro (or Server 2003) and does not explicitly set the IIS option at install time.
  2. They then install VS.Net 2003, which installs the 1.1 framework.
  3. They try to create a ASP.Net web app and receive a nasty gram to the effect “http :Internal Server error, server not found“.
  4. Realizing that IIS is not on there PC, they pull the OS install disk out and run setup, installing  the web server. 
  5. This installs the 1.0 framework on the box, but does not configure the web server and ASP.net for side by side execution of the framework.

Luckily, there's a fix:

  1. If this has happened to you, you may need to run aspnet_regiis with the -r option to replace the current version of IIS and script maps.
  2. If this has happened to you and you DON'T need side by side execution of the framework., please download the 1.1 framework follow the instruction documented at : http://www.asp.net/download-1.1.aspx?tabindex=0&tabid=1
  3. If this has happened to you and you need side by side execution of the framework., please see: http://www.asp.net/faq/SideBySide.aspx

I welcome your feedback...

 

with 0 Comments