473,385 Members | 1,925 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

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 Sheet 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 Sheet' 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
Nov 16 '05 #1
4 1452
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" <co************@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 Sheet 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 Sheet' 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


Nov 16 '05 #2
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-****@no-spam-please.hotpop.com> wrote
in message news:%2****************@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" <co************@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 Sheet 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 Sheet' 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

Nov 16 '05 #3
The reinstall should help. To the best of my knowledge, .NET Framework
performs all necessary changes to the IIS metabase upon installation.

--
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" <co************@hotmail.com> wrote in message
news:YgGxc.1962$cS.1408@edtnps89...
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-****@no-spam-please.hotpop.com> wrote
in message news:%2****************@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" <co************@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 Sheet 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 Sheet' 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



Nov 16 '05 #4
All working perfect now. Thanks Dmitriy.

Corey
"Dmitriy Lapshin [C# / .NET MVP]" <x-****@no-spam-please.hotpop.com> wrote
in message news:eL*************@TK2MSFTNGP12.phx.gbl...
The reinstall should help. To the best of my knowledge, .NET Framework
performs all necessary changes to the IIS metabase upon installation.

--
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" <co************@hotmail.com> wrote in message
news:YgGxc.1962$cS.1408@edtnps89...
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-****@no-spam-please.hotpop.com> wrote in message news:%2****************@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" <co************@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 Sheet 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 Sheet' 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
>
>


Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jay Moore | last post by:
If any of you happened to read my earlier posts, I had a dilemma with creating an efficient method of limiting access to data for my users and subusers. My heirarchy looks like this: Admins...
467
by: mike420 | last post by:
THE GOOD: 1. pickle 2. simplicity and uniformity 3. big library (bigger would be even better) THE BAD:
12
by: Fred | last post by:
Has anyone a link or any information comparing c and c++ as far as execution speed is concerned? Signal Processing algorithms would be welcome... Thanks Fred
5
by: Ghazan Haider | last post by:
When you have a long string like aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa in an html table, it pushes the table out so you have to scroll...
11
by: ASP newbie | last post by:
I cannot run my asp.net application in w2k server. But the program works fine under w2k professional. Can anyone tell me is there any difference in the settings? Many thanks.
39
by: Martin Jørgensen | last post by:
Hi, I'm relatively new with C-programming and even though I've read about pointers and arrays many times, it's a topic that is a little confusing to me - at least at this moment: ---- 1)...
4
by: garyusenet | last post by:
i posted today my day has been totally fruitless. there must be someone out there that knows enough to figure this out?
21
by: Galen Somerville | last post by:
My application receives and displays Heart sounds and ECG's in real time. This data comes from a proprietary USB 2.0 device. Unlike most USB devices, this data comes in short bursts of about 24...
0
by: Steve Holden | last post by:
Thanks for your reply. Another point to note: if you get a personal reply (often you will just see replies on the list, but sometimes people will also mail you directly) it is usual to make sure...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.