ASP.NET page error

Hi I am new to ASP.NET and have just finished my website which was on the server under a test folder and now when i copy it to the main folder i get a 500 Internal Server Error, except it works if I place the contents to another folder on the server.

Uploaded is my default.aspx, default.aspx.cs, webconfig and sitemasrer.aspx and sitemaster.aspx.cs

Thanks for yoru help
hayward03Asked:
Who is Participating?
 
hayward03Connect With a Mentor Author Commented:
It was due to my histing supplier not support .Net 4.0 and the site being deployed in the worng version
0
 
hayward03Author Commented:
0
 
viralypatelCommented:
use the deploy option to deploy it to the target folder. Make sure u have a virtual directory pointing to the right folder.
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
hayward03Author Commented:
0
 
hayward03Author Commented:
how do i deploy the website??
0
 
hayward03Author Commented:
have done build website and then uploaded, but still no luck.
0
 
xav056Commented:
Is your main folder set up as a webapplication?
0
 
hayward03Author Commented:
I have been through and published site and it still doesnt seem to be working. It is set up as a website in Visual Web Express 2010
0
 
xav056Commented:
you need to make sure that it is setup as a website in IIS, that is the folder you are deploying to.
0
 
hayward03Author Commented:
It was simple issue in the end
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.