Solved

ASP.NET page error

Posted on 2011-09-27
11
214 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
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)

707 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