Solved

ASPX generated by VB not executed by IIS

Posted on 2004-10-18
3
178 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
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 200 total points
ID: 12338732
0
 
LVL 9

Assisted Solution

by:hismightiness
hismightiness earned 300 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

910 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

20 Experts available now in Live!

Get 1:1 Help Now