Hello and welcome to CertForums.co.uk, here we host free active certification forums with links to the best free resources for Microsoft's MCSA MCSE MCDBA Cisco's CCNA CCDA and CCNP, and CompTIA's A+ Network+ i-NET+ and Security+ certifications in the UK. If you wish to post or use other advanced features you will need to register first. Registration is absolutely free and takes only a few minutes to complete so sign up today!

If you have any problems with the registration process or your account login, please contact support

Go Back   CertForums > Computing Support Forums > Programming & Scripting
Home Forums Register Search Today's Posts Mark Forums Read

Runtime Error

Post New ThreadReply
 
Thread Tools Display Modes
  #1  
Old 14-Apr-2008, 12:09 PM
darius28 darius28 is offline
Posts: 8
Points: 0 darius28 has no points
Power: 1
None
Join Date: 30 Mar 2008
Location: Cardiff
Age: 28
WIP: CIW
Runtime Error

I was wondering if anyone could help me solve a problem which I cannot solve.

I have made a website in ASP.net with flash control which works perfectly on my machine, however when I put it up on my webhost I recive the following error:

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>


Last edited by darius28 : 14-Apr-2008 at 12:10 PM.
 
Reply With Quote
  #2  
Old 14-Apr-2008, 12:12 PM
hbroomhall hbroomhall is offline
Premium Member
Posts: 6,281
Points: 2130 hbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 points
Power: 89
None
Join Date: 08 Sep 2005
Location: Tunbridge Wells, Kent
Certifications: ECDL A+ Network+ i-Net+
WIP: Server+
Looking at that I would suggest following what it says so as to get the error details.

I would suspect permissions myself - but that is just a guess. You need the details to be sure.

Harry.

 
Reply With Quote
  #3  
Old 14-Apr-2008, 02:19 PM
ffreeloader's Avatar
ffreeloader ffreeloader is offline
Lifetime Member
Posts: 3,657
Points: 3046 ffreeloader has over 3000 pointsffreeloader has over 3000 pointsffreeloader has over 3000 pointsffreeloader has over 3000 pointsffreeloader has over 3000 pointsffreeloader has over 3000 pointsffreeloader has over 3000 pointsffreeloader has over 3000 pointsffreeloader has over 3000 pointsffreeloader has over 3000 pointsffreeloader has over 3000 points
Power: 72
None
Join Date: 26 Jul 2005
Location: USA
Age: 55
Certifications: MCSE, MCDBA, CCNA, A+
WIP: LPIC 1
If this was php, perl, python, etc... I'd also advise making sure your webhost provides the same version of scripting language that you used to create your site. If not, well, you would have a myriad of problems.

I don't know if ASP has the same versioning issues a lot scripting languages have, but if it does, that's one area I would look at.

The guru, Harry, though is probably on target with his permissions suggestion. He's rarely wrong.



Behold, the turtle. He makes progress only when he sticks his neck out.

James Bryant Conant
 
Reply With Quote
Post New ThreadReply Spread this thread: Submit this thread to digg Submit this thread to del.icio.us


Go Back   CertForums > Computing Support Forums > Programming & Scripting


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Runtime Error darius28 Web Design & Graphics 0 13-Apr-2008 03:43 PM
Error codes ByteMe A+ 9 06-Mar-2008 01:44 PM
Runtime error 5: Invalid procedure call or argument. Arroryn Software 6 18-Oct-2007 10:01 AM
Error Installing Telnet on Vista Fergal1982 Software 9 16-Oct-2007 08:02 PM
Standard Error Codes Help Increase Efficiency for IT Pros tripwire45 News 1 04-Oct-2007 09:23 PM


All times are GMT. The time now is 09:57 PM.

Powered by vBulletin® Version 3.6.11
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
CertForums.co.uk (C) copyright 2003-2007 All Rights Reserved. Content published on CertForums.co.uk requires permission for reprint.
Hosted by Lunarpages