Solved

ASP.NET page error

Posted on 2011-09-27
11
219 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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

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
 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Find out what you should include to make the best professional email signature for your organization.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

820 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