Solved

ASPX generated by VB not executed by IIS

Posted on 2004-10-18
3
177 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
  • 2
3 Comments
 
LVL 20

Assisted Solution

by:ihenry
ihenry earned 200 total points
Comment Utility
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 200 total points
Comment Utility
0
 
LVL 9

Assisted Solution

by:hismightiness
hismightiness earned 300 total points
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now