About Chris Expertise I can answer pretty much any question relating to VB.NET and its use in a Windows environment. I can also handle most questions using C#. I specialize in ASP.NET web development and MSSQL database access, but have some stale knowledge of the old ASP - I'd prefer to avoid questions about it.
Experience I have over 5 years of industry experience using VB.NET and other .NET technologies for web and database development.
Education/Credentials I have some college education, but does it really matter in this field of work?
Expert: Chris Date: 9/25/2007 Subject: ASP.Net - Does Not Display Anything
Question Dear Sir,
I am using .Net Frame Work 1.1 and IIS 5.1 with Macromedia DreamWeaver Mx 2004, while running the following code
<html>
<head>
<title>Example 1: Hello World</title>
</head>
<body bgcolor=white>
<h1>
<% response.write("Hello World") %>
</h1>
</body>
</html>
it works correctly while saving with .asp extension. While Saving with .aspx extension it just displays an empty page. it also comes while running the following code
For This Problem I install The .Net Frame Work 2.0 It Displays an Error Message like the following
Back grouond error : You are trying to execute IMAPI, CGI
The Page Cannot Be Displayed.
Please Help Me.
Thanking You,
Yours,
N.Gopalakrishnan
Answer While I'm not sure I understand the error messages you've provided, it sounds to me like your installation of IIS is unaware of the ASP.Net extensions. You could try using the aspnet_regiis tool located at %systemroot%\Microsoft.net\Framework\<version #>\aspnet_regiis.exe.
You can run it with the -lv option to view the installation status of ASP.Net:
aspnet_regiis -lv
To remove all versions of ASP.Net from IIS, run it with the -ua option:
aspnet_regiis -ua
Then run it again with the -i option to re-install ASP.Net:
aspnet_regiis -i
Finally, you'll want to go into Control Panel -> Administrative Tools -> Internet Information Services Manager. Find the web site you're developing on, and go to its properties. On the ASP.Net tab, make sure the correct version of the framework is selected. You should also click on the "Web Service Extensions" folder in the IIS Manager, and make sure that the version of ASP.Net that you want to use is Allowed to run.