Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: SV: Re: ASP.NET files doesn't work on my IIS...


Message #1 by "Robert Nyman" <robert.nyman@c...> on Sun, 1 Dec 2002 15:52:20 +0100
I tried doing the aspnet_regiis -i thing through the command prompt,
and got the ".NET is Succesfully Installed!" message.
I then restarted the server, the computer etc.

Before the page got displayed, but the ASP.NET code didn't get executed.
Now I just get a message like:

"The page cannot be displayed. The page you are looking for is currently
unavailable. The Web site might
be experiencing technical difficulties, or you may need to adjust your
browser settings. "


And to Hovik, I haven't edited any files at all.
To Birger, I use localhost as well (no difference), I made a new virtual

directory etc, but nothing works...


Any other suggestions?
Thanks!


/Robert




-----Ursprungligt meddelande-----
Fr=E5n: Birger [mailto:bry@p...]
Skickat: den 1 december 2002 15:09
Till: aspx_beginners
=C4mne: [aspx_beginners] Re: ASP.NET files doesn't work on my IIS...


Does this work:

<%@ Page Language=3D"VB" Debug=3D"True" Explicit=3D"True"%>
<script runat=3D"server">
	dim strName as string=3D"A"
	dim intNumber as integer=3D4

	Sub Page_Load(obj as object, e as eventargs)
		response.write("The value of strName is: " & strName &
"<p>")
		response.Write("The value of intNumber is: " & intNumber
& "<p>")
		response.write("Their product is: " & (intNumber *
asc(strName) & "<p>"))
	end sub
</script>

Should give product =3D 260.

Check your servername is correct. Try localhost instead.
Check the aspx file is located in the wwwroot directory.
Make a new virtual-directory with iis and test your page from there.

If youre using xp there might be a sharing problem, but I guess it would
have stated that.


-----Original Message-----
From: Hovik Melkomian [mailto:melvik@b...]
Sent: 1. december 2002 14:29
To: aspx_beginners
Subject: [aspx_beginners] Re: ASP.NET files doesn't work on my IIS...

It might have many reasons, tell more & clear about server & ... Did u
edited any file like machin.config, web config ...

Keep in touch,
Hovik.
----- Original Message -----
From: "Robert Nyman" <robert.nyman@c...>
To: "aspx_beginners"   aspx_beginners@p...
Sent: Sunday, December 01, 2002 4:40 PM
Subject: [aspx_beginners] ASP.NET files doesn't work on my IIS...


Hi,

I've tried and installed just the ASP.NET part as well as the whole .NET
Framework. The C# compiler, for instance, works just fine.

BUT: When I try to run .aspx files on the server (like
http://webserver/asp_net.aspx),
the ASP code is just ignored (no errors at all).

Please help me! What settings do I need to change/do to make it work?


TIA,

/Robert Nyman



leave-aspx_beginners-1792308P@p...




Message #2 by "Birger" <bry@p...> on Sun, 1 Dec 2002 16:05:35 +0100
Writing:   http://localhost/localstart.asp   in your browser, should
bring up the build-in info-pages when you installed iis. If this fails,
it might be an iis problem. Try to uninstall/reinstall it.

If its ok, then its more likely to be your .net installation that fails.
Normally, after installing .net with prior installing ie6.0 and mdac2.7,
the net framework should be running smoothly without any changes
necessary. You should be able to run the example I gave you with
http://localhost/thenameyougaveit.aspx, provided it lies in the wwwroot
directory.

I don=92t know if there will be any difficulties running .net after an 
iis
reinstall. It might be you should remove/reinstall that too.


-----Original Message-----
From: Robert Nyman [mailto:robert.nyman@c...]
Sent: 1. december 2002 15:52
To: aspx_beginners
Subject: [aspx_beginners] SV: Re: ASP.NET files doesn't work on my
IIS...

I tried doing the aspnet_regiis -i thing through the command prompt,
and got the ".NET is Succesfully Installed!" message.
I then restarted the server, the computer etc.

Before the page got displayed, but the ASP.NET code didn't get executed.
Now I just get a message like:

"The page cannot be displayed. The page you are looking for is currently
unavailable. The Web site might
be experiencing technical difficulties, or you may need to adjust your
browser settings. "


And to Hovik, I haven't edited any files at all.
To Birger, I use localhost as well (no difference), I made a new virtual

directory etc, but nothing works...


Any other suggestions?
Thanks!


/Robert




-----Ursprungligt meddelande-----
Fr=E5n: Birger [mailto:bry@p...]
Skickat: den 1 december 2002 15:09
Till: aspx_beginners
=C4mne: [aspx_beginners] Re: ASP.NET files doesn't work on my IIS...


Does this work:

<%@ Page Language=3D"VB" Debug=3D"True" Explicit=3D"True"%>
<script runat=3D"server">
	dim strName as string=3D"A"
	dim intNumber as integer=3D4

	Sub Page_Load(obj as object, e as eventargs)
		response.write("The value of strName is: " & strName &
"<p>")
		response.Write("The value of intNumber is: " & intNumber
& "<p>")
		response.write("Their product is: " & (intNumber *
asc(strName) & "<p>"))
	end sub
</script>

Should give product =3D 260.

Check your servername is correct. Try localhost instead.
Check the aspx file is located in the wwwroot directory.
Make a new virtual-directory with iis and test your page from there.

If youre using xp there might be a sharing problem, but I guess it would
have stated that.


-----Original Message-----
From: Hovik Melkomian [mailto:melvik@b...]
Sent: 1. december 2002 14:29
To: aspx_beginners
Subject: [aspx_beginners] Re: ASP.NET files doesn't work on my IIS...

It might have many reasons, tell more & clear about server & ... Did u
edited any file like machin.config, web config ...

Keep in touch,
Hovik.
----- Original Message -----
From: "Robert Nyman" <robert.nyman@c...>
To: "aspx_beginners"   aspx_beginners@p...
Sent: Sunday, December 01, 2002 4:40 PM
Subject: [aspx_beginners] ASP.NET files doesn't work on my IIS...


Hi,

I've tried and installed just the ASP.NET part as well as the whole .NET
Framework. The C# compiler, for instance, works just fine.

BUT: When I try to run .aspx files on the server (like
http://webserver/asp_net.aspx),
the ASP code is just ignored (no errors at all).

Please help me! What settings do I need to change/do to make it work?


TIA,

/Robert Nyman



leave-aspx_beginners-1792308P@p...







  Return to Index