a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

.aspx error using .Net 2.0

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> .aspx error using .Net 2.0
Page: [1]
 
mylu

 

Posts: 128
Joined: 9/11/2006
Status: offline

 
.aspx error using .Net 2.0 - 12/30/2006 0:07:32   
Doing a little reseach for a new site. I get the following error when using .aspx files.
I'm sure this is probably just a setup issue with .Net 2.0 on the server. Any idea would be great.
Thanks



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>

mylu

 

Posts: 128
Joined: 9/11/2006
Status: offline

 
RE: .aspx error using .Net 2.0 - 1/2/2007 12:53:59   
Am I in the wrong forum?

(in reply to mylu)
ou812

 

Posts: 1612
Joined: 1/5/2002
From: San Diego
Status: offline

 
RE: .aspx error using .Net 2.0 - 1/2/2007 13:49:01   
You may get more responses in the ASP/DB forum, but I believe the main reason for no responses is the limited amount of people around here that are doing .NET. I have only played a bit with it and have yet to create an entire site.

I would sometimes get a similar error message you were getting, but what I have done is created the web.config file, as it suggests in the first example, and then I was able to see the actual error I was running into. Have you created/used the web.config file already?

_____________________________

-brian

EnterpriseDB: Enterprise-class relational database management system
PostgreSQL: The world's most advanced open source database

(in reply to mylu)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> General Web Development >> .aspx error using .Net 2.0
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts