Solved

ASP.NET page error

Posted on 2011-09-27
11
215 Views
Last Modified: 2012-05-12
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
0
Comment
Question by:hayward03
  • 7
  • 3
11 Comments
 

Author Comment

by:hayward03
ID: 36709880
0
 
LVL 12

Expert Comment

by:viralypatel
ID: 36709886
use the deploy option to deploy it to the target folder. Make sure u have a virtual directory pointing to the right folder.
0
 

Author Comment

by:hayward03
ID: 36709888
0
 

Author Comment

by:hayward03
ID: 36709961
how do i deploy the website??
0
 

Author Comment

by:hayward03
ID: 36709984
have done build website and then uploaded, but still no luck.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 9

Expert Comment

by:xav056
ID: 36710495
Is your main folder set up as a webapplication?
0
 
LVL 9

Expert Comment

by:xav056
ID: 36710507
0
 

Author Comment

by:hayward03
ID: 36717902
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
 
LVL 9

Expert Comment

by:xav056
ID: 36718855
you need to make sure that it is setup as a website in IIS, that is the folder you are deploying to.
0
 

Accepted Solution

by:
hayward03 earned 0 total points
ID: 36917431
It was due to my histing supplier not support .Net 4.0 and the site being deployed in the worng version
0
 

Author Closing Comment

by:hayward03
ID: 36941170
It was simple issue in the end
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Connection String 16 43
Message not shown 5 34
Facial recognition to look through the whole database for a person 3 44
IIS Authorization for Web Service 2 24
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now