Problem compiling ASP.NET webpages using VC#.NET 2002

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hiya, I bought Visual C#.NET a couple of years ago (2002), and bought Microsoft's Visual C#.NET Step by Step book... Now, I've read through the windows forms part of the book, I've upgraded to Win XP Pro and I've just started to read the chapters concerning ASP.NET, The problem is, I set up the Web Form as explained in the book (The Honest John.. blah blah one), I get the properties and stuff exactly as they say in the book, but when I compile, it opens IE, but, the label gadgets are in a line at the top of the page, not formatted at all like the Visual Designer has them, the Button gadgets and Textbox gadgets are missing, but they are set to visible in the properties, and also, radio buttons are not there too!!

Any idea what's going on??

Thanks in advanc

Dab

:
 
If you install IIS after installing VS.NET, then the .aspx extension will
not be properly registered.

Do this:

Open IIS and open the node for your computer.
Right click on Default Web Site and select Properties.
Go to the Home Directory tab and choose Configuration.
If the .aspx extension is not listed, then you need to do the following:

Open a command prompt.

Navigate to [Windows directory]\Microsoft.NET\Framework\[framework version]
Type:
aspnet_regiis.exe -i

All should be well after doing this.

--Bob

Dabz said:
Hiya, I bought Visual C#.NET a couple of years ago (2002), and bought
Microsoft's Visual C#.NET Step by Step book... Now, I've read through the
windows forms part of the book, I've upgraded to Win XP Pro and I've just
started to read the chapters concerning ASP.NET, The problem is, I set up
the Web Form as explained in the book (The Honest John.. blah blah one), I
get the properties and stuff exactly as they say in the book, but when I
compile, it opens IE, but, the label gadgets are in a line at the top of the
page, not formatted at all like the Visual Designer has them, the Button
gadgets and Textbox gadgets are missing, but they are set to visible in the
properties, and also, radio buttons are not there too!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top