Re: ASP/C# Problem...please help oh wise programming people :)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Corey Dyke (coreyincalgary_at_hotmail.com)
Date: 06/09/04


Date: Wed, 09 Jun 2004 15:46:00 GMT

Thanks for the help Dmitri, I really appreciate it. Would a re-install of
.NET help as well?
I've been having a lot of computer trouble as of late and I'm going to be
formatting very soon.

Corey

"Dmitriy Lapshin [C# / .NET MVP]" <x-code@no-spam-please.hotpop.com> wrote
in message news:%23BOfffgTEHA.3660@tk2msftngp13.phx.gbl...
> Corey,
>
> You've most likely lost ASP .NET bindings while reinstalling IIS. Try to
> restore these by using the following utility from the .NET Framework
folder:
>
> aspnet_regiis.exe
>
> It's a command line tool so start it with the "/?" parameter first to
> examine the possible options.
>
> You shouldn't worry about mixing HTML and ASPX pages. IIS is smart enough
to
> recognize the pages by their file extensions so it will render an HTML
page
> to the browser as is, and will invoke ASP .NET to process an ASPX page.
Your
> only duty is to allow script execution on the virtual directory where your
> website resides.
>
> So what the utility mentioned above will actually do is configuring IIS
> properly to 'understand' how it should properly handle extensions such as
> ASPX, ASMX and so on. Without this, IIS treats all unknown file types as
to
> be sent as is to the browser. Why you see only text is that: IE treats
> everything between < and > as an HTML tag, so even if it does not
recognize
> it, it won't be displayed on the page.
>
> --
> Sincerely,
> Dmitriy Lapshin [C# / .NET MVP]
> Bring the power of unit testing to the VS .NET IDE today!
> http://www.x-unity.net/teststudio.aspx
>
> "Corey Dyke" <coreyincalgary@hotmail.com> wrote in message
> news:p_uxc.9444$NT6.858@clgrps13...
> > K here's what happened. For my English project at DeVry, I had to
design
> a
> > website for a company of my choice. So since my dad has been after me
for
> > years to do one for him, I decided to finally do it. So I decided to do
> > most of the pages in HTML, which i'll be doing soon. And since he's a
> > Flooring Contractor, I decided to do an Estimate *** page in ASP.
I've
> > done C# courses and never had any problems with the programming aspect,
> but
> > now I've encountered a couple of problems.
> >
> > At first, everything was going fine. then my IIS went crazy, so I
> > uninstalled it, then my project wouldn't work at all. Then I
reinstalled
> my
> > IIS, so the project loads fine now, but now when I build my solution and
> run
> > it, all that shows up on my page is the text. none of the text boxes,
> > labels, or buttons show up. I have no clue how to fix it.
> >
> > Also, when I do get this working again, I would like to use it with my
> HTML
> > files, but how do I go about incorporating my asp file with my web page?
> As
> > in, when i click on the 'Estimate ***' link in my frame, how do i get
> that
> > page to load up? Do I have to put my whole project in a certain
> directory?
> >
> > Any and all help is appreciated.
> >
> > Thanks
> >
> > Corey
> >
> >
>


Quantcast