![]() |
| Sponsored Links (We share ad revenue): |
|
|
Re: Can't get my ASP.NET site to work once I upload it onto my ftp server. Please he |
|
Super Moderator
![]() Posts: 10,642
Location: Blackpool. UK
|
and what error page are you getting?
__________________
Chris. ->> Links are advertising NOT optimising!! <<- Indifference will be the downfall of mankind, but who cares? Code Samples | People Counting System |
|
|
|
|
|
Re: Can't get my ASP.NET site to work once I upload it onto my ftp server. Please he |
|
Experienced Talker
Latest Blog Post:
Customer Support Whitepaper Posts: 45
|
The error you are getting is a general error page. You see this page because you are wieving the page from a remote location.
Add this to your web.config file between the <system.web>: <customErrors mode="Off"/> This will tell the server to 'show the error' - rather than giving a general error page. Another common thing that is over looked. - Make sure that your web host has your root directory set up as an 'application' in IIS. Also, make sure that they have your IIS settings properly configured to run the ASP.NET version you created your site.
__________________
Universal FAQ Manager - FAQ Management Software |
|
|
|
|
|
Re: Can't get my ASP.NET site to work once I upload it onto my ftp server. Please he |
|
Moderator
![]()
Latest Blog Post:
My Favorite Isaac Asimov Story Posts: 4,070
Name: John Alexander
|
(1) web.config lives in the root of your web site.
(2) It means they won't let you make the change. When you set Custom Errors, when an error happens, it gives a lot more information about why or at least how the error happened. Mainly, it gives the error message and a stack trace. Armed with this information, a hacker can better attack your web site. You can get around this with try constructs. Simply catch your exceptions, then Response.Write their message and stack trace when they're caught. Then issue a Response.End() instead of rethrowing the exception.
__________________
HungarianNotation is the last resort of scoundrels. Why not the first resort? That's where it counts! |
|
|
|
|
|
Re: Can't get my ASP.NET site to work once I upload it onto my ftp server. Please he |
|
Moderator
![]()
Latest Blog Post:
My Favorite Isaac Asimov Story Posts: 4,070
Name: John Alexander
|
Trying to use the wrong runtime framework can cause an error, for example if you try to use template classes in ASP.NET 1.0, but if you're only using v1.1 objects, no error is thrown. I wouldn't expect that to be the cause, although it's very much worth checking.
__________________
HungarianNotation is the last resort of scoundrels. Why not the first resort? That's where it counts! |
|
|
|
| Sponsored Links (We share ad revenue): |
| Thread Tools | |
|
|
| Webmaster Resources Marketplace: |
| Software Development Company | Webhosting.UK.com |
| Web Templates | Text Link Brokers | Stock Photos |