943,733 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Marked Solved
  • Views: 5216
  • ASP.NET RSS
You are currently viewing page 1 of this multi-page discussion thread
Dec 19th, 2008
0

Simple program

Expand Post »
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.

ASP.NET Syntax (Toggle Plain Text)
  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
Similar Threads
Reputation Points: 0
Solved Threads: 8
Posting Whiz
sonia sardana is offline Offline
326 posts
since Mar 2008
Dec 19th, 2008
0

Re: Simple program

you are missing your form tag, also it is not good idea to hand code aspx pages. try visual web developer/
Featured Poster
Reputation Points: 854
Solved Threads: 127
Banned
serkan sendur is offline Offline
2,057 posts
since Jan 2008
Dec 20th, 2008
0

Re: Simple program

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.
Reputation Points: 66
Solved Threads: 56
Posting Pro in Training
Fungus1487 is offline Offline
459 posts
since Apr 2007
Dec 20th, 2008
0

Re: Simple program

Click to Expand / Collapse  Quote originally posted by Fungus1487 ...
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
Reputation Points: 66
Solved Threads: 56
Posting Pro in Training
Fungus1487 is offline Offline
459 posts
since Apr 2007
Dec 21st, 2008
0

Re: Simple program

Hi frnd,there is no Administrative Tools option in Control Panel..Can u plz confirm me out...
Reputation Points: 0
Solved Threads: 8
Posting Whiz
sonia sardana is offline Offline
326 posts
since Mar 2008
Dec 21st, 2008
0

Re: Simple program

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 ?
Reputation Points: 66
Solved Threads: 56
Posting Pro in Training
Fungus1487 is offline Offline
459 posts
since Apr 2007
Dec 22nd, 2008
0

Re: Simple program

Win Xp2.......VS 2005
Reputation Points: 0
Solved Threads: 8
Posting Whiz
sonia sardana is offline Offline
326 posts
since Mar 2008
Dec 22nd, 2008
0

Re: Simple program

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
Reputation Points: 256
Solved Threads: 72
Nearly a Posting Virtuoso
majestic0110 is offline Offline
1,306 posts
since Oct 2007
Dec 22nd, 2008
0

Re: Simple program

other than majestics reason i cant think of any why you cannot gain access to administrative tools
Reputation Points: 66
Solved Threads: 56
Posting Pro in Training
Fungus1487 is offline Offline
459 posts
since Apr 2007
Dec 23rd, 2008
0

Re: Simple program

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
Click image for larger version

Name:	Sonia.JPG
Views:	81
Size:	82.4 KB
ID:	8628  
Reputation Points: 0
Solved Threads: 8
Posting Whiz
sonia sardana is offline Offline
326 posts
since Mar 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Uploading Files to a server from a file upload control using ASP.net and VB
Next Thread in ASP.NET Forum Timeline: PLz help me out





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC