473,413 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

ASP/ASPX

I have an ASP web site and I want to start moving a few ASPX pages to this
site. Shouldn't I be able to just move the pages over and be able to bring
them up?

When I do this, I get a "Run Time Error" and it displays me the message that
I need to change my webconfig file for <customErrors mode="Off" /so that I
can see the error....well, this is what is sitting in my webconfig file.

Does this meant I need to make changes to IIS? What would that be?
Jun 27 '08 #1
7 956
That setting is saying

"Allow anyone using this site to see the actual exception"
or
"Hide the real actual exception from users".

MAKE SURE
<customErrors mode="Off" />
is NOT in a commented out section in the web.config.

...

"OldButStillLearning" <Ol*****************@discussions.microsoft.comwrot e
in message news:21**********************************@microsof t.com...
>I have an ASP web site and I want to start moving a few ASPX pages to this
site. Shouldn't I be able to just move the pages over and be able to
bring
them up?

When I do this, I get a "Run Time Error" and it displays me the message
that
I need to change my webconfig file for <customErrors mode="Off" /so that
I
can see the error....well, this is what is sitting in my webconfig file.

Does this meant I need to make changes to IIS? What would that be?

Jun 27 '08 #2
It is not commented out....it is active and it is set to "Off"

<authentication mode="Windows"/>
<customErrors mode="Off" />

Jun 27 '08 #3
Assuming you have .Net installed, and you know which version you're using -
AND you have access to IIS, check in IIS to make sure you
1. Have an ASP.Net tab
2. ASP.Net is set to the correct version

Otherwise - just create a new ASP.Net page, with a label - then, in the
Page_load event, assign some text to that label.
This will check to confirm whether the simplest things are working in
ASP.Net

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
"OldButStillLearning" <Ol*****************@discussions.microsoft.comwrot e
in message news:21**********************************@microsof t.com...
>I have an ASP web site and I want to start moving a few ASPX pages to this
site. Shouldn't I be able to just move the pages over and be able to
bring
them up?

When I do this, I get a "Run Time Error" and it displays me the message
that
I need to change my webconfig file for <customErrors mode="Off" /so that
I
can see the error....well, this is what is sitting in my webconfig file.

Does this meant I need to make changes to IIS? What would that be?

Jun 27 '08 #4
Total guess:

Try running this:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspne t_regiis.exe -i
and then
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspn et_regiis.exe -i

You can google the .exe file name to see what it does.

........

This won't hurt anything, but might address your issue.

I would try to get a simple simple asp.net website running first, (as stated
before, label with the time being set or something).

"OldButStillLearning" <Ol*****************@discussions.microsoft.comwrot e
in message news:00**********************************@microsof t.com...
It is not commented out....it is active and it is set to "Off"

<authentication mode="Windows"/>
<customErrors mode="Off" />

Jun 27 '08 #5
Thanks David...

I have created a very simple web page which has nothing more then a text box
and a button....but it will not display it...

I have no access to the server....

Jun 27 '08 #6
You might want to check whether IE has "Show friendly HTTP errors" enabled.
If you togglle "Show friendly HTTP errors", the page will display the true error message.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"OldButStillLearning" <Ol*****************@discussions.microsoft.comwrot e in message
news:00**********************************@microsof t.com...
It is not commented out....it is active and it is set to "Off"
<authentication mode="Windows"/>
<customErrors mode="Off" />

Jun 27 '08 #7

Check my post about the register the asp/iis stuff then.

I would run the 1.1 THEN the 2.0. (Yes, run the 1.1 if you're (only) doing
2.0 stuff first, then the 2.0 one).
However, if you don't have access to the server, its a non-issue.

...

"OldButStillLearning" <Ol*****************@discussions.microsoft.comwrot e
in message news:77**********************************@microsof t.com...
Thanks David...

I have created a very simple web page which has nothing more then a text
box
and a button....but it will not display it...

I have no access to the server....

Jun 27 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Stevie_mac | last post by:
It might be me but... I dont seem to get a Page_Load event when a opening an ASPX in an iFrame. I do geta Page_Load event when an item on the ASPX (inside the iFrame) is clicked but then...
1
by: Jerry Tovar | last post by:
I am using .Net 2003 on a XPPro running IIS. I am unable to view any of my ASPX webforms in a browser unless I modify the .ASPX file and replace Codebehind="employee.aspx.cs" with...
3
by: Tom | last post by:
Hi, I have an index.aspx page which includes top.aspx, left.aspx, main.aspx and bottom.aspx. In the left.aspx, there is a login web control - login.ascx. It keeps session of username and role...
6
by: John Lau | last post by:
Hi, I am looking at the MS KB Article 306355: HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET This article describes how to redirect errors to a custom html...
3
by: DavidS | last post by:
Have parent.aspx from which I open Driver.aspx form via button on parent.aspx. When I first open the modal dialog, the driver.aspx Page_Load function is called. After I close the dialog, then...
3
by: Evan | last post by:
I have a web page with 2 frames. The left frame is running menu.aspx and the right frame is running images.aspx. When a selection is made in menu.aspx I call a method in images.aspx and pass a...
2
by: WJ | last post by:
I have three ASPX pages: 1. "WebForm1.aspx" is interactive, responsible for calling a web site (https://www.payMe.com) with $$$. It is working fine. 2. "WebForm2.aspx" is non-interactive, a...
2
by: Janusz Jezowicz | last post by:
Hello! I would like to have one page on the server, which would be a target processing page for a number of other aspx pages. E.g Processing page \portal_page.aspx Target pages
10
by: ptass | last post by:
Hi In asp.net 2.0 an aspx files .cs file is a partial class and all works fine, however, I thought I’d be able to create another class file, call it a partial class and have that compile and...
24
by: John Rivers | last post by:
ASPX which means ASPX pages, the code-behind concept, User Controls, Web Controls etc. is very poorly designed and makes it extremely hard to develop professional quality web applications. ASPX...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.