|
 |
aspx_beginners thread: SV: RE: SV: RE: SV: Re: ASP.NET files doesn't work on my IIS...
Message #1 by "Robert Nyman" <robert.nyman@c...> on Sun, 1 Dec 2002 16:34:16 +0100
|
|
Hi,
I'm using Win 2000, and I've installed the service packs, the MDAC etc.
I'm clueless... :-(
/Robert
-----Ursprungligt meddelande-----
Fr=E5n: Birger [mailto:bry@p...]
Skickat: den 1 december 2002 16:25
Till: aspx_beginners
=C4mne: [aspx_beginners] RE: SV: RE: SV: Re: ASP.NET files doesn't work
on
my IIS...
If you have installed the ie and mdac versions i mentioned, then i dont
know what the problem could be, unles you are running WinXP. As I
mentioned, ive had problems myself with .net because of some
restrictions in access to the files. I never found out what happened.
But later, after reinstalling WinXP and all of it, there were no
problems. Have you installed the servicepack to .net? and whatever else
there might be of sp's to your system!
-----Original Message-----
From: Robert Nyman [mailto:robert.nyman@c...]
Sent: 1. december 2002 16:20
To: aspx_beginners
Subject: [aspx_beginners] SV: RE: SV: Re: ASP.NET files doesn't work on
my IIS...
> 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.
This is no problem, I can run ordinary ASP pages.
And yes, there's probably some problem with my .NET installation, but
I've
tried reinstalling it, and it just doesn't work...
What can I do?
/Robert
-----Ursprungligt meddelande-----
Fr=E5n: Birger [mailto:bry@p...]
Skickat: den 1 december 2002 16:06
Till: aspx_beginners
=C4mne: [aspx_beginners] RE: SV: Re: ASP.NET files doesn't work on my
IIS...
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...
Message #2 by "Birger" <bry@p...> on Sun, 1 Dec 2002 16:40:18 +0100
|
|
Yeah - its a pain somewhere. Never had any trouble in w2k.
Youre running as administrator, I guess.
How about firewall aso? Try disabling and restart without any.
Ill try see if theres anything I can find, but im not sure theres much.
Message #3 by "Hovik Melkomian" <melvik@b...> on Sun, 1 Dec 2002 19:24:46 +0330
|
|
dont u have active directory installed in ur Machine?!
Hovik.
----- Original Message -----
From: "Birger" <bry@p...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Sunday, December 01, 2002 7:10 PM
Subject: [aspx_beginners] RE: SV: RE: SV: RE: SV: Re: ASP.NET files doesn't work
on my IIS...
Yeah - its a pain somewhere. Never had any trouble in w2k.
Youre running as administrator, I guess.
How about firewall aso? Try disabling and restart without any.
Ill try see if theres anything I can find, but im not sure theres much.
|
|
 |