ASP.Net is not working !!!

  • Thread starter Thread starter Niks
  • Start date Start date
N

Niks

Hi,
I have installed Ent Dev Edition of VS.NET 2002 on Win 2k Pro OS
without any errors. I ran the components Update CD too. I have IIS and
I can run classic ASP files on my system. When I create any page in
..NET with .aspx using VS.NET

a) I see only text the page contains when i access it thru browser.
All the ASP:tagname are not being processed ? If I view the source
code on browser i can all the <ASP:tagname code . If I run the same
page on different machine it works perfect. I tried using simple label
tags to calendar tags nothing works on my system.

b) If I Build the project with some files, .dll assembly files for
CodeBehind are not created. When I Build the project it gives no
errors ? I get the following message.

---------------------- Done ----------------------

Build: 1 succeeded, 0 failed, 0 skipped

I think build has been succesfull. And When i run the page the same
thing again, I can see only text of the page. Nothing is fired coz
..dll is not created in Bin directory. I see only only two files in bin
directory
1) ProjectName.dll
2) ProjectName.pdb

I am trying very hard to start in .NET but this thing is stopping me.

Does anyone have any ideas ??

Thanks.
 
Exec:
C:\<windir>\Microsoft.Net\Framework\v1.0.3705\aspnet_regiis.exe

This should fix yer problems :)

Mythran
 
You want to do what it says here but remember to run iisreset.exe
afterwards.

HOWTO: Repair IIS Mapping After You Remove and Reinstall IIS

http://support.microsoft.com/default.aspx?kbid=306005&product=aspnet

"After you install the Microsoft .NET Framework Software Development Kit
(SDK) or Visual Studio .NET, Microsoft Internet Information Service (IIS)
mappings are created to associate the new file extensions and settings for
ASP.NET. If you did not have IIS installed when you ran the SDK or Visual
Studio Setup, or if you uninstalled and reinstalled IIS after you ran the
SDK or Visual Studio Setup, those settings will not be in place. You
experience unexpected behavior when you try to view ASP.NET pages."
 
Hi Ken and Mythran,

What you said was absolutely correct. It was problem with the IIS
Mappings. The MSDN article was very helpful. Once I ran the exe file my
pages started to work..

Thanks Guys.
 
Back
Top