Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 29th, 2006, 10:18 PM
Registered User
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default aspx site works local, but not on FTP host(?)

I built an aspx site using XML data through 'xmldatasource' and 'datalist' and it works fine on localhost, but when I publish to the hoster via ftp and try to visit the page, i get the following error: (and I tried to make the config change to help debug it but it doesn't do anything, I get the same error)(?).

The host/ftp is GoDaddy.com. (they do support .net, as I tested a very basic aspx page (add some numbers, print result to screen) and it works fine)

I've tried most of the work-arounds I could find online, and nothing seems to be making the error at least change. I would appreciate any ideas.

----------------------------
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".




<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.




<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>
 --------------------------------------------

 
Old June 2nd, 2006, 08:27 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anubhav.kumar
Default

hi,

A suggestion for you.

First of all check that all paths virtual / physical are being mapped corectly on main server. Check the code

On your first page, on page error event genrate the error report and get it mailed to you via SMTP Mail
This way you will get the error and then rectify it



Anubhav Kumar





Similar Threads
Thread Thread Starter Forum Replies Last Post
Local Host Problem arimakidd Classic ASP Professional 1 November 23rd, 2005 05:23 AM
mysql local host address darith Beginning PHP 1 April 27th, 2005 07:51 PM
local host denied pseudo class Beginning PHP 6 October 19th, 2004 05:17 PM
New.aspx works but login.aspx fails Validation nigelhamilton BOOK: ASP.NET Website Programming Problem-Design-Solution 8 September 13th, 2004 02:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.