Thursday, March 22, 2012

newbie issue - asp.net file displays as source

Hi,

I just setup the .NET framework for asp.net. I have programmed regular
csharp and ado.net programs before. I use the Borland CSharpBuilder IDE

I am having a problem that must have a simple solution.- any aspx file I
create within the IDE and then Run, opens as source in Internet Explorer.
The same file, say one of the quickstart examples run from the quickstart
page opens as expected in rendered html.

What am I doing wrong?

TIA
aacoolThere's a readme file that comes with the Resource Kit. Here's a snippet on installing ASP.NET

2) Install ASP.NET - > From a command prompt window, run the following command from your windows directory: \Microsoft.NET\Framework\version\aspnet_regiis -i
Where version is the version number of the .NET Framework is installed on your machine (v1.1.4322, for example).

Note with Windows Server 2003, you can install ASP.NET using the Add or Remove Programs Control Panel.

Hope this helps...
"=?Utf-8?B?UmljaGllQQ==?=" <anonymous@.discussions.microsoft.com> wrote
in news:79616F35-16F1-4E07-AA4C-41BE37FD10E7@.microsoft.com:

> There's a readme file that comes with the Resource Kit. Here's a
> snippet on installing ASP.NET:
> 2) Install ASP.NET - > From a command prompt window, run the following
> command from your windows directory:
> \Microsoft.NET\Framework\version\aspnet_regiis -i Where version is the
> version number of the .NET Framework is installed on your machine
> (v1.1.4322, for example).
> Note with Windows Server 2003, you can install ASP.NET using the Add
> or Remove Programs Control Panel.
> Hope this helps...

Thanks for your response - it sounded right - I followed it, and the
additional step mentioned in msdn of registering the aspnet_isapi dll -
regsvr32 %windir%\Microsoft.NET\Framework\v1.1.4322\aspnet_ isapi.dll

This has not helped - I still see only the source code and am unable to see
the rendered html correctly.

Please advise
aacool
you need to type this at the command prompt

\Microsoft.NET\Framework\version\aspnet_regiis -i
^^^^^^^^
and then hit Enter. I've installed it on a couple of machines this way. Give it a try if you haven't as yet

Good luck..

2) Install ASP.NET - > From a command prompt window, run the followin
> command from your windows directory
> \Microsoft.NET\Framework\version\aspnet_regiis -i Where version is th
> version number of the .NET Framework is installed on your machin
> (v1.1.4322, for example).
"=?Utf-8?B?UmljaGllQQ==?=" <anonymous@.discussions.microsoft.com> wrote
in news:968CBAD1-E3FC-45F6-AFD6-B47FE4A97AD9@.microsoft.com:

> you need to type this at the command prompt :
> \Microsoft.NET\Framework\version\aspnet_regiis -i
> ^^^^^^^^^
> and then hit Enter. I've installed it on a couple of machines this
> way. Give it a try if you haven't as yet.
> Good luck...
> 2) Install ASP.NET - > From a command prompt window, run the
> following
>> command from your windows directory:
>> \Microsoft.NET\Framework\version\aspnet_regiis -i Where version is
>> the version number of the .NET Framework is installed on your machine
>> (v1.1.4322, for example).

TY - I did exactly that, but the problem remains

aacool

0 comments:

Post a Comment