ASP.net question from a student, help greatly appreciated

ASP.net question from a student, help greatly appreciated

Author
Discussion

Phil999

Original Poster:

40 posts

216 months

Friday 15th February 2008
quotequote all
Hi all,

On one of my university modules we have just started doing ASP.net and I can't for the life of me get this to work on my home computer. I have tried numerous different things and have tried using google to find out what to do but I don't seem to be able to find anything useful/anything that works.

I understand that i have to have a webserver on my computer in order to run asp.net pages, so i downloaded Apache onto my laptop (running vista) and i can't seem to get it to work. I tried copying my asp.net file to a directory in apache called "htdocs" . When i ran http://localhost/myfilename.aspx it rendered any html that i had typed and the title on the page but none of the asp.net code. I thought this might be because i didnt have the framework so i installed the latest version but it still doesn't work!

The problem i'm having is that all my practical and lecture notes are telling me to copy my asp.net file into a "wwwroot" directory and i either don't seem to have it or i can't find it.

I have also tried using a program called asp.net web matrix but thats not really what i'm after.

I have a desktop PC running windows xp if that would be easier to use and both my laptop and desktop both have the latest versions of the asp.net framework installed.

At this stage i am not using any sort of complicated code its very basic so it's not the code thats wrong.

So if someone could possibly run me through what i have to do to make this work i would be very grateful. If you need me to provide any more information i can do.

Ragards
Phil


Phil999

Original Poster:

40 posts

216 months

Friday 15th February 2008
quotequote all
Ah brilliant, i enabled IIS on vista and the folder i needed has appeared. Seems like its problem solved thanks very much guys smile

Phil