?
Solved

ASPX generated by VB not executed by IIS

Posted on 2004-10-18
3
Medium Priority
?
195 Views
Last Modified: 2010-04-23
Hi,

I have the following installation on the same machine:
1) Visual Basic.NET 2002
2) Windows XP Professional - with both IIS and the .NET framework installed

I have the following problem:
1) I am trying to produce my first web form using VB.NET.
2) I have created a webform in the IDE and dragged onto it:
   i) a Label with the text "My First WebForm" with bold font settings; and
   ii) a Button with the text "Click Here"
3) I have set the background colour of the form to red
4) When I run the form in debug mode the Internet Explorer opens and:
   i) the Label text is shown unformatted; and
   ii) the button is not displayed.
5) When I look at the source in the browser the aspx tags are still there - as though they havent been recognised by IIS.

Attempts at resolution:
1) I have re-installed VB post install of IIS and the .NET framework but still have the same problem.
2) I have written an asp page that displays "Hello World " & Date and this seems to work fine i.e. IIS translates the Date into todays date and sends it back to the client as HTML.

Could you advise?

thanks,

David
0
Comment
Question by:drostron5
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 20

Assisted Solution

by:ihenry
ihenry earned 600 total points
ID: 12338727
This article might help

PRB: ASP.NET Pages Exhibit Unexpected Behavior Because the Server-Side Code Is Not Processed
http://support.microsoft.com/default.aspx?scid=kb;EN-US;325093
0
 
LVL 20

Accepted Solution

by:
ihenry earned 600 total points
ID: 12338732
0
 
LVL 9

Assisted Solution

by:hismightiness
hismightiness earned 900 total points
ID: 12338754
Is your ASPX ISAPI handler correctly mapped?

1 - In either your machine node, or the web node, right-click and choose Properties.
2 - Go to the ISAPI Filters tab.  If there is nothing there, or you do not see the ASP.NET filter name, then move up to the next node higher in the heirarchy.
3 - You should see one of the filters resembling: "ASP.NET_[version number]".  Left-click on it twice and make sure that if is mapped to the correct ISAPI filter.  It should be something like:

C:\WINNT\Microsoft.NET\Framework\[framework version number]\aspnet_filter.dll
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question