Solved

Problem with web page

Posted on 2009-05-17
4
189 Views
Last Modified: 2013-11-07
Hi

I have created a web page  in which I have created an aspx page

Then I published the website

and upload the website, but I am getting run time error.

I am attaching the screenshot of the error.

I am not able to find out the reason why this error is coming as I have not written a single line of server side code

Error.jpg
0
Comment
Question by:KaranGupta
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 12

Expert Comment

by:Pra4444
ID: 24406477
There appears to be some error in whatever you have done..change the custommode errors = on and you should be able to view the errors on your machine...Otherwise you can log on to the server and see what the error is....
0
 
LVL 11

Expert Comment

by:Muhammad Ousama Ghazali
ID: 24406911
In your web.config make sure to use
<customErrors mode="Off" /> so that you would be able to see detailed error messages. But once it is deployed for end users, use should replace it appropriately with On or RemoteOnly. For details see the following link:
http://msdn.microsoft.com/en-us/library/h0hfz6fc.aspx 
0
 

Author Comment

by:KaranGupta
ID: 24409136
hi

The main thing is I am not getting any error when running the website locally

but when I host the website on server I am getting this error.

And as I told earlier I have not written any server side code
0
 
LVL 11

Accepted Solution

by:
Muhammad Ousama Ghazali earned 500 total points
ID: 24409388
There might be many possibilities the error may not be raised at the localhost because you have all the things set up for development and so. However, when you move your web applications to web hosts, you need to take a little extra care of a few things and even though you have not coded any server-side code, but it is an ASP.NET web application and something is going wrong within its execution which is throwing some runtime exception.
Please update your web.config at the web host server as suggested and see where exactly the code/ASP.NET application is breaking.
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

617 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