Solved

Problem with web page

Posted on 2009-05-17
4
188 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

697 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