Solved

Problem with web page

Posted on 2009-05-17
4
182 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
  • 2
4 Comments
 
LVL 12

Expert Comment

by:Pra4444
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

743 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

16 Experts available now in Live!

Get 1:1 Help Now