View Full Version : ASP Server
KenHigg 02-11-2006, 09:52 AM I need to learn asp.net and I have loaded visual basic.net which comes with visual studio.net. I think I need IIS which I think I have loaded but if I remember correctly, it needs to be running as a service. Now I can't see a IIS icon in the sys tray so I'm not sure if it running. If it is not, I can't figure out how to start it.
Secondly, I think I need an asp.net server service running as I get a error saying that I need it when I try to start a new asp.net project in visual studio. Shouldn't this come with visual studio? Can anyone help point me in the right direct with these problems? Thanks - Ken
Sergeant 02-11-2006, 10:47 AM To see if IIS is running:
1. Right-click 'MyComputer' & select 'Manage'
2. Expand the 'Services and Applications' node
3. There should be a sub-node for 'Internet Information Services'
If the IIS node was not there, you need to install it:
**Windows XP Home does not have native support for IIS**
**It is possible to install IIS on XP Home, but not easy**
1. Under 'Add/Remove Programs', select 'Add/Remove Windows Components'
2. Check the box next to 'Internet Information Services' click Next...should be straight-forward from there.
Alternatively, you could download Visual Web Developer 2005 Express (http://msdn.microsoft.com/vstudio/express/vwd/default.aspx)for free, and it doesn't require a web server for app development & testing on the local machine.
There are 14 free video lessons (http://msdn.microsoft.com/vstudio/express/vwd/learning/default.aspx)available to get you started with VWD 2005.
You can also download SQL Server 2005 Express (http://msdn.microsoft.com/vstudio/express/sql/download/default.aspx)for free.
I have IIS running on an XP Home machine...it took a while, and you need access to a Windows OS CD that has the IIS components on it. (ie...not the XP Home CD)
KenHigg 02-11-2006, 11:09 AM Cool. Thanks - Looks like the IIS is running. So I have my brother downloading VWD2005Express. It is a .img file. Is that like a .zip file that contains the entire cd? Will I need a program to extract and burn this to a CD?
something like Nero will be able to burn that to a disc for you.
Sergeant 02-11-2006, 11:23 AM I take it you don't have broadband, Ken?
I made a CD of Visual Studio 2005 Express, and I followed the directions on the MS page. It said you needed software to interpret the .ISO or .IMG file. I downloaded IsoBuster from http://www.isobuster.com/
KenHigg 02-11-2006, 11:29 AM Ok, so I will need something to make the cd from the img. Cool, I may have Nero. And no, no high speed here at home :(
Sergeant 02-11-2006, 11:34 AM By the way, in my instructions to see if IIS is running:
I showed you how to see if it's installed. To see if it's running, expand the node out and select 'Default Web Site'...you'll see the play and stop buttons in the toolbar area. (But I don't see why IIS would ever be stopped unless you stopped it yourself)
KenHigg 02-11-2006, 11:36 AM Thanks - I just thought there would be an icon in the sys tray if it was running...
start => run
TYPE
INETMGR
(just thought I'd chime in with a shortcut :) )
Sergeant 02-11-2006, 12:07 PM Kodo, you are SUCH a showoff. (but I dig your avatar, and you are helping me with my .NET struggles, so I forgive you.)
I love short-cuts.. can't help it :)
KenHigg 02-11-2006, 05:13 PM So just for the record, if I had the same issue with the asp service, say I didn't know if I had it installed and maybe if I didn't know if it was running, how would you check that?
Sergeant 02-11-2006, 05:43 PM There is no ASP service. IIS processes it out of the box.
KenHigg 02-11-2006, 05:58 PM When I try to create a new asp.net web project, I get an error that says: Visual Studio .NET has detected that the specified Web server is not running ASP.net version 1.1. You will be unable to run ASP.NET web applications or services.'
Any ideas?
Sergeant 02-11-2006, 06:02 PM You probably haven't loaded the .net framework.
If you go to Add/Remove Programs, the .net framework is listed as "Microsoft .net Framework 1.1" or "Microsoft .net Framwork 2.0" (or both).
KenHigg 02-11-2006, 06:17 PM Hum it's showing up. I wonder if it is a problem with the version of IIS I have which is 5.1?
Sergeant 02-11-2006, 06:25 PM I believe the current version of IIS is 6.0
I can't say whether the .net framework requires a certain version, as I've only run 6.0
KenHigg 02-11-2006, 06:28 PM Ok then - Thanks a bunch. I'll try and figure out how to get it...
KenHigg 02-11-2006, 06:57 PM This is really insane. The frame work is loaded, IIS5.1 is running and still the same stupid error. When you read up on IIS6, is says you have to be running Windows Server 2003. I have xp pro. I'm fixin to throw this whole stupid computer out the window...
john471 02-11-2006, 07:05 PM Ken,
If it doesn't pass the "third-floor window test", it was probably a dud machine to start with!
I feel your pain! I tried to get SQL Server Express running - but gave up out of sheer frustration.
Sergeant 02-11-2006, 07:44 PM OK, (both of you)...lets take it one step at a time:
Ken, I have a test for you to see if your server will process ASP pages.
John, There are some idiosynchrosies (?sp) to the SQL Server 2005 Express...I got it running, so any other domestic ape can do so.
ASP test:
You should have a folder at C:\Inetpub\wwwroot\
If you don't, there may be a problem.
If you do...do this:
Create a folder C:\Inetpub\wwwroot\Test\
In the folder 'Test', make a new text document.
Rename it 'Test.asp'
Inside the text document, write:<%
Response.Write(Date())
%>
...and nothing else.
Now, click here: http://localhost/test/test.asp
You should see today's date, and not an error page.
If you got the date, it's running fine.
(edit: This only checks that your server can process ASP pages...not .NET pages. )
put this in a batch file
for .NET 2.0
C:\windows\Microsoft.NET\Framework\v2.0.50727\aspn et_regiis.exe -i
for .NET 1.1 do this
C:\windows\Microsoft.NET\Framework\v1.1.4322\aspne t_regiis.exe -i
then execute the batch file.
When you reg .net 2.0 it takes over 1.1 so any sites running 1.1. will have to be re-configured to use 1.1 from 2.0
KenHigg 02-12-2006, 11:35 AM Ok - I got the date page to display. Any ideas why I can't ctreate an asp.net project? DoI need to register something somewhere?
Sergeant 02-12-2006, 11:48 AM Kodo knows 1000% more than I do about this.
Did you create and run the batch file that he suggested?
To make a batch file: (my apologies if you know this already)
create a new .txt document and rename it RegDotNet.bat
Right click on it and select Edit
Paste the command line from Kodo's post above...save it.
Double click the batch file to run it.
KenHigg 02-12-2006, 04:59 PM I'LL BE A MONKEY'S UNCLE - THE 1.1 COMMAND LINE WORKED!! What a forum! Thanks a million Sergeant & Kodo!!
> Note to self: These guy's are on my eternal hero list <
Sergeant 02-12-2006, 05:27 PM Glad to hear you got it up and running. Big thanks to Kodo.
Trust me, I've run into this problem a hundred times or more. If you can move to .net 2.0.. do it.. it's like night and day..
KenHigg 02-13-2006, 04:30 AM Thanks Kodo. Could you look at the following list of videos and recommend which set, and what order, you would recommend I work through in order to to .asp stuff?
Link (http://www.learnvisualstudio.net/videos/sitemap.htm)
the first video to hit is 2101 under Object Oriented VB.NET.
KenHigg 02-13-2006, 05:55 AM Are all those in that group required? I've never heard of 'GRASP' or 'GoF'..:confused:
Are all those in that group required? I've never heard of 'GRASP' or 'GoF'..:confused:
no, that is ( I believe) a sample app that goes through using the previous concepts in an app so you can see how it all gets put together.
KenHigg 02-13-2006, 06:52 AM Oh, Ok... I may try to work through them.
KenHigg 02-23-2006, 02:36 AM Update: After much tinkering around, I got the VS stuff to work. But I wanted to try the new VWD 05 Express. So... It wouldn't load on my machine because I didn't have Windows sp2 installed. And I couldn't load the sp because I had a corp key. So... I dug out an old 8g hd and installed a new XP disc which had the sp's. Then the VWD 05 Exp installed and I am working through some lessons... It's looks like a great program but I better wait until I actually have a data enabled site up and running before I pass full judgement ;)
BTW - If the new Access IDE is anything like this, I can't wait to get my hands on it :) :) :)
Surjer 03-02-2006, 12:23 PM bookmarked :) - Good Stuff guys keep it up!
KenHigg 03-06-2006, 04:10 AM Follow-up Q: Are there any other versions of the VWD, like maybe a standard or professional version as opposed to the express version or is the next step up 'Visual Studio 2005 Standard Edition'? If so, I'm guessing one would need to have some like MSDE or SQL Server installed and running for web/db dev?
Edit:
Is there any reason why the Deluxe plan at this company wouldn't suffice as a development site:
http://www.godaddy.com/gdshop/hosting/shared.asp?isc=gooh1003af
dan-cat 03-06-2006, 06:22 AM Follow-up Q: Are there any other versions of the VWD, like maybe a standard or professional version as opposed to the express version or is the next step up 'Visual Studio 2005 Standard Edition'? If so, I'm guessing one would need to have some like MSDE or SQL Server installed and running for web/db dev?
I think Microsoft start asking for some money after this.
It's most worthwhile splashing out the cash for SQL server developer edition rather than monkeying around with MSDE. .net talks to MS access as well though it is optimized for sql server.
dan-cat 03-06-2006, 06:26 AM Is there any reason why the Deluxe plan at this company wouldn't suffice as a development site:
http://www.godaddy.com/gdshop/hosting/shared.asp?isc=gooh1003af
Seems ok - make sure you check your db size allotment. How about this site?
http://www.webhost4life.com/hosting.asp
KenHigg 03-07-2006, 08:48 AM Seems ok - make sure you check your db size allotment. How about this site?
http://www.webhost4life.com/hosting.asp
I'll give it a peek - Thanks. Do you have anything on their servers?
KenHigg 03-07-2006, 08:49 AM Seems ok - make sure you check your db size allotment. How about this site?
http://www.webhost4life.com/hosting.asp
I'll give it a peek - Thanks. Do you have anything on their servers?
KenHigg 03-07-2006, 08:55 AM Next Q: How do you get a .asp page to display as the default or index page?
dan-cat 03-07-2006, 09:01 AM Next Q: How do you get a .asp page to display as the default or index page?
Go to your IIS and look at the listing for default documents. Add your .asp page to that list. If you are renting from a hoster you will need to check with them what documents they have on this list on their servers.
dan-cat 03-07-2006, 09:03 AM I'll give it a peek - Thanks. Do you have anything on their servers?
Nope - I'm shopping too for a decent windows/sql server hoster. I'll let you know once I've made my mind up :)
|