Simple program

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Mar 2008
Posts: 324
Reputation: sonia sardana has a little shameless behaviour in the past 
Solved Threads: 7
sonia sardana sonia sardana is offline Offline
Posting Whiz

Simple program

 
0
  #1
Dec 19th, 2008
hey frnds, I m new to the ASP.net..Plz jelp me out.

My windows is Installed in D:

I made project & save it D:\Inetpub\wwwroot\WebSite1
Website1 is the folder I created & form name is aspx.

  1. <%@ Page Language="VB" %>
  2.  
  3.  
  4.  
  5. <html >
  6. <head>
  7. <title>Introduction</title>
  8. </head>
  9. <body>
  10. <% Response.Write("My First project")%>
  11. </body>
  12. </html>

I Run it as http://localhost/website1/default.aspx--But the error is coming.can somebody help me out
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 118
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: Simple program

 
0
  #2
Dec 19th, 2008
you are missing your form tag, also it is not good idea to hand code aspx pages. try visual web developer/
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 437
Reputation: Fungus1487 is on a distinguished road 
Solved Threads: 50
Fungus1487's Avatar
Fungus1487 Fungus1487 is offline Offline
Posting Pro in Training

Re: Simple program

 
0
  #3
Dec 20th, 2008
Originally Posted by serkansendur View Post
you are missing your form tag, also it is not good idea to hand code aspx pages. try visual web developer/
i have to disagree here, why is it bad to hand code aspx pages? just wondering as there are many programmers/developers that program in the most basic of all programs "notepad" for HTML, CSS, Javascript, php, Java and many other languages

Using an IDE simply makes it faster to develop but doesnt at all make the process of learning the language any easier.
When Autumn Falls [ http://www.whenautumnfalls.co.uk ] &&
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 437
Reputation: Fungus1487 is on a distinguished road 
Solved Threads: 50
Fungus1487's Avatar
Fungus1487 Fungus1487 is offline Offline
Posting Pro in Training

Re: Simple program

 
0
  #4
Dec 20th, 2008
Originally Posted by Fungus1487 View Post
i have to disagree here, why is it bad to hand code aspx pages? just wondering as there are many programmers/developers that program in the most basic of all programs "notepad" for HTML, CSS, Javascript, php, Java and many other languages

Using an IDE simply makes it faster to develop but doesnt at all make the process of learning the language any easier.
further to this im sorry i didnt answer your question.

If you did build this site in visual studio or an IDE then using the RUN command will run your website. I understand if you wish to set this up manually though you will need to tamper with your IIS.

You have created your directory below "wwwroot" so all you need to do is open "Control Panel >> Administrative Tools >> Internet Information Services [version no.]" then in the tree on the left navigate to the "Default Website". Expand this node and you will see your folder "Website1", right click and choose "Convert To Application", now run your url and if everthing is setup fine it will work.

If you receieve an error stating the server does not know how to handle the file type "aspx" you will need to open "Control Panel >> All Programs" then press "Add Remove Windows Features", you will need to navigate to "Internet Information Services >> World Wide Web Services" and then make sure the following are checked.
> .NET Extensibility
> ASP.NET
> ISAPI Extensions
> ISAPI Filters

Hope this helps
When Autumn Falls [ http://www.whenautumnfalls.co.uk ] &&
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 324
Reputation: sonia sardana has a little shameless behaviour in the past 
Solved Threads: 7
sonia sardana sonia sardana is offline Offline
Posting Whiz

Re: Simple program

 
0
  #5
Dec 21st, 2008
Hi frnd,there is no Administrative Tools option in Control Panel..Can u plz confirm me out...
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 437
Reputation: Fungus1487 is on a distinguished road 
Solved Threads: 50
Fungus1487's Avatar
Fungus1487 Fungus1487 is offline Offline
Posting Pro in Training

Re: Simple program

 
0
  #6
Dec 21st, 2008
Originally Posted by sonia sardana View Post
Hi frnd,there is no Administrative Tools option in Control Panel..Can u plz confirm me out...
what operating system and setup are you using ?
When Autumn Falls [ http://www.whenautumnfalls.co.uk ] &&
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 324
Reputation: sonia sardana has a little shameless behaviour in the past 
Solved Threads: 7
sonia sardana sonia sardana is offline Offline
Posting Whiz

Re: Simple program

 
0
  #7
Dec 22nd, 2008
Win Xp2.......VS 2005
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1,293
Reputation: majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about 
Solved Threads: 67
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Nearly a Posting Virtuoso

Re: Simple program

 
0
  #8
Dec 22nd, 2008
Hmm try this Sonia :
Are you using a Computer at work? You may need to speak to your system administrator as you might not have sufficient privileges to open admin tools. HTH
If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 437
Reputation: Fungus1487 is on a distinguished road 
Solved Threads: 50
Fungus1487's Avatar
Fungus1487 Fungus1487 is offline Offline
Posting Pro in Training

Re: Simple program

 
0
  #9
Dec 22nd, 2008
other than majestics reason i cant think of any why you cannot gain access to administrative tools
When Autumn Falls [ http://www.whenautumnfalls.co.uk ] &&
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 324
Reputation: sonia sardana has a little shameless behaviour in the past 
Solved Threads: 7
sonia sardana sonia sardana is offline Offline
Posting Whiz

Re: Simple program

 
0
  #10
Dec 23rd, 2008
Hey frnds, I m able to acess the admin tools. My website name is sonia.
I open admin tools & right click on folder sonia but hi fungus there is no custom menu "Convert To Application" . U can see it in the attachment.....
Attached Thumbnails
Sonia.JPG  
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC