CST1801 Visual
Basic I
Lab Week 13
I must start out with the disclaimer that most of the material presented below has now become obsolete with the advent of Visual Studio 2005. VS2005 has greatly simplified the process of building and publishing an ASP.NET application. The directions below were for Visual Studio 2003 I am keeping these notes in case I would need to refer to them at some time. VS2003 had no native FTP ability and required IIS to be present. Now VS2005 has FTP built in as well as a simplified web server. ============================================================== First thing that you need to have on your local computer is Microsoft Internet Information Services (IIS). If you did not install IIS when you installed Visual Studio .NET originally, you need to install it now. IIS is found on the Win XP Pro CD. Go into Control Panel, the Add or Remove Programs. Click on the Add/Remove Windows Components. Check Internet Information Services (IIS). Follow the directions. IIS cannot be installed on the XP Home Edition. You need to be running Win 2K Pro or XP Pro. If IIS was installed after the .NET framework was
installed, you may have to reregister the .NET framework. To do this: Fixing ASP.NET debug error 0x8013134b I got the following error debugging an ASP.NET project earlier today: Auto-attach to process '[2440] w3wp.exe' on machine '...' failed. Error code 0x8013134b. The problem was that I had installed .NET 2.0 which had registered ASP.NET 2.0 on the Web Site I was trying to debug. Fixing it is simple: Run the IIS Manager Right click on the web site with the problem Click the ASP.NET tab Change the ASP.NET version from 2.something to 1.something in the combo and debugging works again
For this lab you will need a FTP (File Transfer Protocol) client. An FTP client allows you to upload and download files to a server.
You can use any FTP client that you wish to use. Below is a free FTP client that you can download. FTP Client http://www.wsftp.com Here is a screen shot of what a typical setup should look like.
This web server is running Microsoft IIS (Internet Information Server) which allows executables in some directories to run. The latest .NET framework and SDK have also been installed on this server. Please be considerate of your classmates. Everyone in this course is sharing this server. Thoroughly test your application on your local computer (laptop) before transferring the files up the server and running them there.
I have created a special directory on the server called "student" where you are to put your work. Do NOT delete this directory! It is a directory that you are sharing with all of your fellow students. This directories have been set up with special permissions to run executables and read and write access has been configured. To access the student website for this course, the URL is of the following format:
http://cst1801.ridgewater.net . Free text editing software for HTML.
Interesting MSDN article of using FrontPage along side Visual Studio .NET. Also there is good background information regarding .NET projects in general. |