|
 |
aspx_beginners thread: ASP.NET files doesn't work on my IIS...
Message #1 by "Robert Nyman" <robert.nyman@c...> on Sun, 1 Dec 2002 14:10:15 +0100
|
|
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
Message #2 by "Hovik Melkomian" <melvik@b...> on Sun, 1 Dec 2002 16:59:19 +0330
|
|
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
Message #3 by "ketty" <jxu787@1...> on Sun, 1 Dec 2002 14:03:57
|
|
I think you can use only html code to try it again, if it is still wrong,
your SDK may be have some mistake
Message #4 by "Birger" <bry@p...> on Sun, 1 Dec 2002 15:09:00 +0100
|
|
Does this work:
<%@ Page Language="VB" Debug="True" Explicit="True"%>
<script runat="server">
dim strName as string="A"
dim intNumber as integer=4
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 = 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 #5 by "Jerry Lanphear" <jerrylan@q...> on Sun, 1 Dec 2002 12:41:36 -0700
|
|
Hovik,
I spent an agnozing week with this issue and am now thrilled with my fully
functional ASP.NET installation on Localhost. The root of the issue is the
way that ASP.NET handles security. Here is the summary of what I learned
the hard way.
1. If you are using XP Pro with NTFS make sure you have "Simple File
Sharing" disabled. This allows you to control the access security for each
folder. To learn how do this look here:
http://www.practicallynetworked.com/sharing/xp/filesharing.htm
2. Make sure you try installing Service Pack 2 before you do anthing else.
This may solve it. If not, try uninstalling the framework and deleting the
files, reinstalling and SP2. There is a file called machine.config that
contains security information. Check out MSDN Knowledge Base Article
Q315158
3. In my case I had to uninstall Visual Studio, the Framework, IIS and start
over. Reinstall all then SP2. My ASP.NET now works. You have to make sure
you reinstall IIS, Then the Framework, Visual Studio then the Service Pack.
I even ran into a common bug while installing the Service Pack. If that
happens let me know the error you get.
Regards,
Jerry
----- Original Message -----
From: "Hovik Melkomian" <melvik@b...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Sunday, December 01, 2002 6:29 AM
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
>
>
>
>
>
Message #6 by "Hovik Melkomian" <melvik@b...> on Mon, 2 Dec 2002 08:16:32 +0330
|
|
Dear Jerry:
Thanks for ur shared info with me & group.
Hope to see ur helps & to be helpfull!
Hovik.
----- Original Message -----
From: "Jerry Lanphear" <jerrylan@q...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Sunday, December 01, 2002 11:11 PM
Subject: [aspx_beginners] Re: ASP.NET files doesn't work on my IIS...
Hovik,
I spent an agnozing week with this issue and am now thrilled with my fully
functional ASP.NET installation on Localhost. The root of the issue is the
way that ASP.NET handles security. Here is the summary of what I learned
the hard way.
1. If you are using XP Pro with NTFS make sure you have "Simple File
Sharing" disabled. This allows you to control the access security for each
folder. To learn how do this look here:
http://www.practicallynetworked.com/sharing/xp/filesharing.htm
2. Make sure you try installing Service Pack 2 before you do anthing else.
This may solve it. If not, try uninstalling the framework and deleting the
files, reinstalling and SP2. There is a file called machine.config that
contains security information. Check out MSDN Knowledge Base Article
Q315158
3. In my case I had to uninstall Visual Studio, the Framework, IIS and start
over. Reinstall all then SP2. My ASP.NET now works. You have to make sure
you reinstall IIS, Then the Framework, Visual Studio then the Service Pack.
I even ran into a common bug while installing the Service Pack. If that
happens let me know the error you get.
Regards,
Jerry
----- Original Message -----
From: "Hovik Melkomian" <melvik@b...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Sunday, December 01, 2002 6:29 AM
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.
|
|
 |