dwt on page with database results

R

robert

Hello
having trouble receiving database results and wondering if it has to do with my dwt's within the aspx page
When i view the page in a brower i receive this error messag

Server Error in '/' Application
-------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off"

<!-- Web.Config Configuration File --><configuration><system.web><customErrors mode="Off"/></system.web></configuration


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL

<!-- Web.Config Configuration File --><configuration><system.web><customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/></system.web></configuration


Do you know why this message pops up and how to correct the problem
thank
robert
 
T

Thomas A. Rowe

Have you followed the instructions, so that you can see the actual error message?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


robert said:
Hello,
having trouble receiving database results and wondering if it has to do with my dwt's within the aspx page.
When i view the page in a brower i receive this error message

Server Error in '/' Application.
this application prevent the details of the application error from being viewed remotely (for
security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines,
please create a <customErrors> tag within a "web.config" configuration file located in the root
directory of the current web application. This said:
<!-- Web.Config Configuration File --><configuration><system.web><customErrors
mode="Off"/> said:
Notes: The current error page you are seeing can be replaced by a custom error page by modifying
 
R

robert

Not yet, but is it possible to have dwt's and the result region on the same aspx page???
 
T

Thomas A. Rowe

There should be no reason that it would cause a problem, but you need to follow the instructions so
that you can see that exact error message.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
R

robert

ok, so i've read it. Kind of like reading chinese...both dont make sense to me. oh well
 
T

Thomas A. Rowe

So what is the error message?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
R

robert

Here's a recap and my discoverie

Received an error message when trying to view my aspx with db results region on it. The message i received when trying to view in browser went like this

Server Error in '/' Application
-------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off"

<!-- Web.Config Configuration File --><configuration><system.web><customErrors mode="Off"/></system.web></configuration


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL

<!-- Web.Config Configuration File --><configuration><system.web><customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/></system.web></configuration

All I was able to get out of the above error message was that i needed to view the page on my local drive and not on the web remotl
So, i copied the file over and when i viewed this aspx page, all i sow was lots of code. scary....bu
i discovered that if my page already had a previous data results insert, i cannot just delete ithe old region via design because it would not erase all of the code, so i did a split and manually removed it, then once i did a new data result insert without the residule old code it worked fine, no error message. making progres
 
T

Thomas A. Rowe

Ok.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


robert said:
Here's a recap and my discoveries

Received an error message when trying to view my aspx with db results region on it. The message
i received when trying to view in browser went like this:
Server Error in '/' Application.
this application prevent the details of the application error from being viewed remotely (for
security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines,
please create a <customErrors> tag within a "web.config" configuration file located in the root
directory of the current web application. This said:
<!-- Web.Config Configuration File --><configuration><system.web><customErrors
mode="Off"/> said:
Notes: The current error page you are seeing can be replaced by a custom error page by modifying
the "defaultRedirect" attribute of the application's said:
<!-- Web.Config Configuration File --><configuration><system.web><customErrors mode="RemoteOnly"
defaultRedirect="mycustompage.htm"/> said:
All I was able to get out of the above error message was that i needed to view the page on my
local drive and not on the web remotly
So, i copied the file over and when i viewed this aspx page, all i sow was lots of code. scary....but
i discovered that if my page already had a previous data results insert, i cannot just delete ithe
old region via design because it would not erase all of the code, so i did a split and manually
removed it, then once i did a new data result insert without the residule old code it worked fine,
no error message. making progress
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top