How to publish a web site from Visual Web Developer Express 2008

I have built a website using Visual Web Developer 2008 and I'm trying to publish it to my local machine
I have tried compiling from a command prompt (successfully I think) and copied the compiled files to a folder named inetpub/wwwroot/wow1, but I cannot launch the website using http://localhost/wow1/default.aspx. I just get a 404 error
I have followed the instructions in the related question, including reinstalling .net framework.
I am sure I am doing something radically wrong, but not sure I understand what I am doing.
I didn't realise I couldn't publish from Visual Web Developer 2008 express until I had built the site.
I am using IIS 7 on Windows Vista SP2 .
If you need any further information, please ask.
This is really urgent as I have built this website and need to get it deployed, hence the 500 points on offer.
LVL 1
TrevorParnhamntlAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sammySeltzerCommented:
can you post the exact error message you are getting?
TrevorParnhamntlAuthor Commented:
In Firefox

Not Found

The requested URL /wow1/default.aspx was not found on this server.

And on the tab it says 404 Not Found

In IE9

The webpage cannot be found

 HTTP 404
 
Most likely causes:
•There might be a typing error in the address.
•If you clicked on a link, it may be out of date
What you can try
Retype the address.
Go back to the previous page.

Go to  and look for the information you want.

 


 







More information
 
sammySeltzerCommented:
sorry, I had to leave suddenly.

Try using this to precompile your app again.

Step 1: Copy this > cd C:\windows\Microsoft.NET\Framework\v4.0.30319 to command line
Step 2: Copy this and change physical path and location folder:
aspnet_compiler -p "physical_path_to_app" -v / -f -u "target_location_folder"
for your case, use:
aspnet_compiler -p "c:\inetpub\wwwroot\where source files are" -v / -f -u "c:\This will be the location for precompiled folder"

Once you are done, copy to your wwwroot and try running it again.

Let me know what happens.

We want to make sure code is precompiled successfully before we can try looking somewhere else for answers.
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

TrevorParnhamntlAuthor Commented:
Sorry for the delay. Had to visit relations(it's that time of year!!)

Carrid out your suggestions but there is no aspnet_compiler under :\windows\Microsoft.NET\Framework\v4.0.30319
I carried out step 2 under v2.0.50727 with the same 404 error
The command I used was aspnet_compiler -p "C:\Users\Trevor Parnham\Documents\Visual Studio 2008\WebSites\WebSite2" -v / -f -u "C:\Users\Trevor Parnham\Documents\Visual Studio 2008\Projects\Compiled"
I then copied the compiled files from C:\Users\Trevor Parnham\Documents\Visual Studio 2008\Projects\Compiled to C:\inetpub\wwwroot\wow1

Should there be aspnet_compiler under v4.0.30319?
TrevorParnhamntlAuthor Commented:
I have reinstall .net framework 4 and now have the aspnet_compiler in that directory.
I've re-run your instructions, but still getting the 404 error

Regards,

Trevor
TrevorParnhamntlAuthor Commented:
In the evnet that I had no solutions presented by any experts, I actually solved the problem myself. so  no points for anyone

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TrevorParnhamntlAuthor Commented:
No Comment
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.