473,563 Members | 2,856 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP/C# Problem...pleas e 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 1463
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.e xe

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@clgrps 13...
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.c om> wrote
in message news:%2******** ********@tk2msf tngp13.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.e xe

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@clgrps 13...
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@edtnps 89...
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.c om> wrote
in message news:%2******** ********@tk2msf tngp13.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.e xe

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@clgrps 13...
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.c om> wrote
in message news:eL******** *****@TK2MSFTNG P12.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@edtnps 89...
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.c om> wrote in message news:%2******** ********@tk2msf tngp13.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.e xe

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@clgrps 13...
> 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
1963
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 | +- Client 1
467
21277
by: mike420 | last post by:
THE GOOD: 1. pickle 2. simplicity and uniformity 3. big library (bigger would be even better) THE BAD:
12
17282
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
5162
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 to the right. I've tried width=100%, width=500, both in the <td> and in <table>, have tried all the stylesheet suggestions I've found in google...
11
1375
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
19581
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) What's the difference between these 3 statements: (i) memcpy(&b, &KoefD, n); // this works somewhere in my code
4
1082
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
1777
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 bytes. These bursts could come as fast as every millisecond. The display of the sound and ECG traces is similar to an oscilloscope display except a...
0
132
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 the list gets copied in any reply. I hope you don't mind that I am sending a copy of this message to the list, so everyone understands that you are...
0
7665
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7583
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8106
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7642
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.