<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 8pt Tahoma; MARGIN-LEFT: 2px">
<DIV><FONT size=2>Well, I'll have to remember that one. I am ususally in
that config screen to delete extentions, adding is a pain, so anything that adds
this automatically will be a big help.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Gary</FONT></DIV>
<DIV><BR><BR>>>> jcolby@colbyconsulting.com 07/25/03 11:11AM
>>><BR></DIV><FONT face=Tahoma size=1>
<DIV><SPAN class=078000917-25072003><FONT size=1><FONT size=2>Actually I did
that based on a hint from Martin. What ended up fixing it was the
following run in a dos box: </FONT>
<P><FONT size=2>aspnet_regiis.exe -i</FONT></P></FONT></SPAN></DIV>
<DIV><SPAN class=078000917-25072003><FONT size=2>Googling that shows me that the
program "registers" ASP.Net with IIS (whatever THAT may mean). Apparently
MS has seen this problem before and built a utility to fix everything
up.</FONT></SPAN></DIV>
<P><FONT size=2>John W. Colby<BR>www.colbyconsulting.com</FONT> </P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT size=2>-----Original
Message-----<BR><B>From:</B> dba-vb-bounces@databaseadvisors.com
[mailto:dba-vb-bounces@databaseadvisors.com]<B>On Behalf Of </B>Gary
Ray<BR><B>Sent:</B> Friday, July 25, 2003 12:48 PM<BR><B>To:</B>
dba-vb@databaseadvisors.com<BR><B>Subject:</B> RE: [dba-VB] OT: ASP.net not
working<BR><BR></FONT></DIV>
<DIV><FONT size=2>John,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Web Matrix includes it's own web server - like the old
Personal Web Server. If it works on the web matrix port, it should work
on an IIS machine with .Net properly configured. One not about the web
matrix web server, I haven't been able to get it to use my include files, and
occasionally have problems with css.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I don't know why th aspx extentions would not have
installed correct when you installed either the .Net framework or VS.Net, but
here is what you should be looking to fix it:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Open IIS Administration Console</FONT></DIV>
<DIV><FONT size=2>Right Click on the machine/name and select
properties</FONT></DIV>
<DIV><FONT size=2>In the Master Properties section click on Edit</FONT></DIV>
<DIV><FONT size=2>On the Home Directory tab click Configuration</FONT></DIV>
<DIV><FONT size=2> - You should now see a dialog with a list of file
extentions and the associatied library that interprets the files.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Look in the list for the ASPX extention. If it is not
there you can add it:</FONT></DIV>
<DIV><FONT size=2>Click on Add</FONT></DIV>
<DIV><FONT size=2>for the executable you will need to browse to a file similar
to</FONT></DIV>
<DIV><FONT size=2>--
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll</FONT></DIV>
<DIV><FONT size=2>and add aspx as the extention</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>You shouldn't have to restart IIS, but it may be a good idea
anyway.</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Gary Ray - Application Developer<BR>ASP - ASP.NET - VB - C#<BR>Workforce
Information Systems R & D<BR>E-Mail <A
href="mailto:gray@utah.gov">gray@utah.gov</A><BR><BR>>>>
jcolby@colbyconsulting.com 07/24/03 11:15AM >>><BR>Well, I got it
running by using Microsoft ASP.net Web Matrix Server from the<BR>MS Web
Matrix. However I used a brand new web page also created by
Web<BR>Matrix. The url is: <A
href="http://localhost:8080/NewFile.aspx">http://localhost:8080/NewFile.aspx</A>
.<BR><BR>Is web matrix setting up it's own IIS. or is it using IIS from
Windows?<BR>This :8080 is not specified anywhere else, i.e., I can just
got<BR>localhost/MyWebPg.aspx (or htlm) and get it to run.<BR><BR>The .net
functionality STILL isn't working from within Visual Studio.net
nor<BR>directly if referenced as above.<BR><BR>What is going on here?
HELP.<BR><BR>John W. Colby<BR><A
href="http://www.colbyconsulting.com/">www.colbyconsulting.com</A><BR><BR>-----Original
Message-----<BR>From: dba-vb-bounces@databaseadvisors.com<BR>[<A
href="mailto:dba-vb-bounces@databaseadvisors.com]On">mailto:dba-vb-bounces@databaseadvisors.com]On</A>
Behalf Of<BR>jcolby@colbyconsulting.com<BR>Sent: Thursday, July 24, 2003 8:54
AM<BR>To: dba-vb@databaseadvisors.com<BR>Subject: RE: [dba-VB] OT: ASP.net not
working<BR><BR><BR>No, Asp.net is not listed. If I correctly installed
it shouldn't the<BR>installation have set this up? Nothing I have read
so far has ever taken me<BR>to this dialog.<BR><BR>John W. Colby<BR><A
href="http://www.colbyconsulting.com/">www.colbyconsulting.com</A><BR><BR>-----Original
Message-----<BR>From: dba-vb-bounces@databaseadvisors.com<BR>[<A
href="mailto:dba-vb-bounces@databaseadvisors.com]On">mailto:dba-vb-bounces@databaseadvisors.com]On</A>
Behalf Of Larry Woods<BR>Sent: Thursday, July 24, 2003 12:37 AM<BR>To:
dba-vb@databaseadvisors.com<BR>Subject: RE: [dba-VB] OT: ASP.net not
working<BR><BR><BR>Open IIS;right-click IIS name (probably name of your
computer)-click<BR>Properties. In the Master Properties frame, click
Edit. Then click the<BR>ISAPI tab. Is ASP.NET listed in the filter
list?<BR><BR><BR><BR>> -----Original Message-----<BR>> From:
dba-vb-bounces@databaseadvisors.com<BR>> [<A
href="mailto:dba-vb-bounces@databaseadvisors.com]">mailto:dba-vb-bounces@databaseadvisors.com]</A>
On Behalf Of<BR>> jcolby@colbyconsulting.com<BR>> Sent: Wednesday, July
23, 2003 8:29 PM<BR>> To: dba-vb@databaseadvisors.com<BR>> Subject: RE:
[dba-VB] OT: ASP.net not working<BR>><BR>><BR>> The file does have a
.aspx extension.<BR>><BR>> How do I tell if ASP.Net is correctly
installed? How do I<BR>> tell if IIS is able to use it? IOW,
apparently a browser<BR>> just ignores anything it doesn't understand so
maybe the .net<BR>> stuff isn't being processed at the server. It is
supposed to<BR>> use VB.net for all of the functions and stuff. I
don't see a<BR>> label or control that is the time control on the web
page.<BR>> Of course maybe I won't if nothing is displayed in
it.<BR>><BR>> Oh the joys of learning all new (very complex)
stuff. It is<BR>> probably something simple like something didn't
install properly.<BR>><BR>> John W. Colby<BR>> <A
href="http://www.colbyconsulting.com/">www.colbyconsulting.com</A><BR>><BR>>
-----Original Message-----<BR>> From:
dba-vb-bounces@databaseadvisors.com<BR>> [<A
href="mailto:dba-vb-bounces@databaseadvisors.com]On">mailto:dba-vb-bounces@databaseadvisors.com]On</A>
Behalf Of Larry Woods<BR>> Sent: Wednesday, July 23, 2003 11:23 PM<BR>>
To: dba-vb@databaseadvisors.com<BR>> Subject: RE: [dba-VB] OT: ASP.net not
working<BR>><BR>><BR>><BR>> I'll take a shot at it, John.
Did you save the file with an<BR>> ".htm" or a ".aspx" extension.
Obviously, the correct answer<BR>> is the latter. If you specified
the file with a .htm<BR>> extension you will see the results that you
describe. Your<BR>> file with a .aspx extension works correctly on my
computer.<BR>><BR>> Larry Woods<BR>><BR>> > -----Original
Message-----<BR>> > From: dba-vb-bounces@databaseadvisors.com<BR>>
> [<A
href="mailto:dba-vb-bounces@databaseadvisors.com]">mailto:dba-vb-bounces@databaseadvisors.com]</A>
On Behalf Of<BR>> > jcolby@colbyconsulting.com<BR>> > Sent:
Wednesday, July 23, 2003 8:08 PM<BR>> > To: AccessD<BR>> > Cc:
VBA<BR>> > Subject: [dba-VB] OT: ASP.net not working<BR>>
><BR>> ><BR>> > Folks,<BR>> ><BR>> > I'm working
through the very first real example of an asp.net page<BR>> > doing
something, i.e. displaying the time from the web server.<BR>> ><BR>>
> I have IIS running, ASP.net installed (in fact the entire Visual<BR>>
> Studio.net installed), the .net framework installed etc.<BR>> The code
for<BR>> > the web page is:<BR>> ><BR>> > <script
language="vb" runat="server"><BR>> > Sub Page_Load()<BR>> >
time.text=Hour(Now) & ":" & Minute(Now) & ":" & Second(Now)
End Sub<BR>> > </script><BR>> ><BR>> >
<html><BR>> > <head><title>The Punctual Web
Server</title></head><BR>> > <body><BR>>
> <h1>Welcome</h1><BR>> > In
WebServerLand the time is currently:<BR>> > <asp:label id="time"
runat="server" /><BR>> > </body><BR>> > </html<BR>>
><BR>> ><BR>> > That's all there is. When I run it, the
expected text is displayed<BR>> > but the time is not. The book
("Beginning ASP.net 1.0 with VB.Net"<BR>> > from Wrox) gives a less than
helpful "if the time is not displaying<BR>> > then you might have
mis-typed the code". I downloaded the examples<BR>> > from the web
site and the code in the example above exactly matches<BR>> > the code
in the book.<BR>> ><BR>> > Further I went into Visual Studio.net
and built a web page<BR>> > application. I then pasted the
relevant code into the web page<BR>> > generated for me by ASP.net.
Again, when run the expected text is<BR>> > displayed but not the
time. This seems to indicate that the IIS<BR>> > server isn't
correctly calling the .net framework and<BR>> getting results<BR>> >
back from it but I am at a loss to troubleshoot it.<BR>> ><BR>> >
Any ideas why this wouldn't work?<BR>> ><BR>> > John W.
Colby<BR>> > <A
href="http://www.colbyconsulting.com/">www.colbyconsulting.com</A><BR>><BR>><BR>>
_______________________________________________<BR>> dba-VB mailing
list<BR>> dba-VB@databaseadvisors.com<BR>> <A
href="http://databaseadvisors.com/mailman/listinfo/d">http://databaseadvisors.com/mailman/listinfo/d</A>>
ba-vb<BR>><BR><A
href="http://www.databaseadvisors.com/">http://www.databaseadvisors.com</A><BR><BR><BR>_______________________________________________<BR>dba-VB
mailing list<BR>dba-VB@databaseadvisors.com<BR><A
href="http://databaseadvisors.com/mailman/listinfo/dba-vb">http://databaseadvisors.com/mailman/listinfo/dba-vb</A><BR><A
href="http://www.databaseadvisors.com/">http://www.databaseadvisors.com</A><BR><BR><BR><BR>_______________________________________________<BR>dba-VB
mailing list<BR>dba-VB@databaseadvisors.com<BR><A
href="http://databaseadvisors.com/mailman/listinfo/dba-vb">http://databaseadvisors.com/mailman/listinfo/dba-vb</A><BR><A
href="http://www.databaseadvisors.com/">http://www.databaseadvisors.com</A><BR><BR><BR><BR>_______________________________________________<BR>dba-VB
mailing list<BR>dba-VB@databaseadvisors.com<BR><A
href="http://databaseadvisors.com/mailman/listinfo/dba-vb">http://databaseadvisors.com/mailman/listinfo/dba-vb</A><BR><A
href="http://www.databaseadvisors.com/">http://www.databaseadvisors.com</A><BR><BR></DIV></BLOCKQUOTE></FONT></BODY></HTML>