UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Technical Support > Windows Reseller Hosting

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-01-2007, 22:07
Member
 
Join Date: Nov 2006
Location: Northampton
Posts: 42
Default ASP .Net Runtime Error

A few times I have gotten runtime errors from my asp .net pages. Sometimes my fault sometimes not.

It usually comes up with the Server Error in '/' Application message which suggests putting the following tags into the web.config file to get a specific error message.
Code:
HTML Code:
<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>
However when I do this it makes no difference - I don't get any error message, in fact the error page doesn't change at all. Am I missing something here? I'd love to be able to debug my pages.

Last edited by Zammo; 01-01-2007 at 22:13.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 31-01-2007, 22:27
System Administrator
 
Join Date: Dec 2006
Location: localhost
Posts: 792
Lightbulb RE: Server Error in '/' Application

Hello Zammo,

You won't be able to view the detailed error messages on your local machine as this is one of the preventive measures taken by the ASP.Net application for security reasons.

You can use the Web.config's customErrors section to define how to handle particular error codes.

You may change the following option from your application's web.config file as per your requirement:

Which will look something to the sort of :
PHP Code:
<!--CUSTOM ERROR MESSAGES-->
<
customErrors mode="Off" /> 
What do they mean:
  1. PHP Code:
    <customErrors mode="Off" /> 
    "Off" Always display detailed ASP.NET error information.
  2. PHP Code:
    <customErrors mode="On" /> 
    "On" Always display custom (friendly) messages.
  3. PHP Code:
    <customErrors mode="RemoteOnly" /> 
    "RemoteOnly" Display custom (friendly) messages only to users not running on the local Web server. Using this option displays detailed error messages only on the server where the web application is running on. This setting is recommended for security purposes, so that you do not display application detail information to remote clients.


Let us know if you need any further explanation on this.
__________________

Rock _a.k.a._ Jack L.

http://www.eUKhost.com
Windows Hosting || Windows Reseller Hosting
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-02-2007, 19:32
Premium Member
 
Join Date: Feb 2007
Posts: 137
Default

Hi Zammo, did you resolve this? I am having the same problem, no matter what I put in my web.config file.

Any help would be much appreciated.

Cheers
Chris
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 09-02-2007, 16:12
daledavies's Avatar
Premium Member
 
Join Date: Oct 2006
Location: North Wales
Posts: 356
Default

I used to get this problem, but then I dont ever use ASP so it never bothers me. I used to get the runtime error every now and then when running .net apps installed using Plesk.

Mainly my problem centered around the use of .net nuke, it would work fine for a while and then all of a sudden stop and give a runtime error. The solution given to me by eukhost was that I was using the wrong version of .net, but I never bothered to resolve the issue as I dont use asp or .net ever.

Sorry I cant offer a solution, maybe you might want to try this. I did post in the forum a while back about it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 14-02-2007, 15:19
Member
 
Join Date: Nov 2006
Location: Northampton
Posts: 42
Default

Quote:
Originally Posted by Morledge View Post
Hi Zammo, did you resolve this? I am having the same problem, no matter what I put in my web.config file.

Any help would be much appreciated.

Cheers
Chris
Sorry Chris, never got to the bottom of it. I eventually found that .net V2.0 had been disabled on my domain. I eventually re-coded my stuff as v1.1 and left it as that.

Which version are you trying to use?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 14-02-2007, 15:21
Member
 
Join Date: Nov 2006
Location: Northampton
Posts: 42
Red face

Quote:
Originally Posted by daledavies View Post
I used to get this problem, but then I dont ever use ASP so it never bothers me. I used to get the runtime error every now and then when running .net apps installed using Plesk.

Mainly my problem centered around the use of .net nuke, it would work fine for a while and then all of a sudden stop and give a runtime error. The solution given to me by eukhost was that I was using the wrong version of .net, but I never bothered to resolve the issue as I dont use asp or .net ever.

Sorry I cant offer a solution, maybe you might want to try this. I did post in the forum a while back about it.
Actually I think I was trying my hand at DNN at the time, but I eventually sacked it off. Running mambo these days.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 14-02-2007, 15:26
Premium Member
 
Join Date: Feb 2007
Posts: 137
Default

Quote:
Originally Posted by Zammo View Post
Actually I think I was trying my hand at DNN at the time, but I eventually sacked it off. Running mambo these days.
Thanks, I finally figured what it was, it was just that I was working in .Net 2.0 and my hosting only provided .Net 1.0. Just got the support team to update my package and everything works fine

Cheers
Chris
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 14-02-2007, 15:33
Member
 
Join Date: Nov 2006
Location: Northampton
Posts: 42
Default

That must be the answer then. The reason that the changes to the web.config don't take effect is because we were trying to run 2.0 on a 1.0 framework.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 14-02-2007, 18:22
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,997
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com Send a message via Skype™ to eUKhost.com
Default

You can open a ticket for our support team and one of our windows system admins will change the version to 2.0 for your website hosting.

You can provide me with the ticket number for quick response.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 27-03-2007, 09:13
Junior Member
 
Join Date: Mar 2007
Posts: 6
Question Same problem

I'm also having the same problem, is there anyway I can change the ASP.NET version to v2.0 through Hosting Controller?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 27-03-2007, 09:51
Premium Member
 
Join Date: Feb 2007
Posts: 137
Default

ChrisF, You need to contact EUK Support, they will be able to upgrade your domain to v2.0.

Cheers
Morledge
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 27-03-2007, 10:26
Junior Member
 
Join Date: Mar 2007
Posts: 6
Default

Thanks Morledge - I've raised a ticket
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 27-03-2007, 19:38
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,997
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com Send a message via Skype™ to eUKhost.com
Default

Let me know if you face any problem in getting it sorted from the support team.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 27-03-2007, 21:36
Junior Member
 
Join Date: Mar 2007
Posts: 6
Default

Any chance someone could take a look at this today? Ta
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 29-03-2007, 08:59
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,997
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com Send a message via Skype™ to eUKhost.com
Default

I am not sure what reply you had so far from our support team but let me know the ticket number to check.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 01-04-2007, 11:50
Junior Member
 
Join Date: Mar 2007
Posts: 6
Default

Hi Mark - no reply yet, ticket number is 37 - thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 01-04-2007, 12:52
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,997
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com Send a message via Skype™ to eUKhost.com
Default

Ticket number cannot be so short. Are you sure that you opened ticket from http://support.eukhost.com ?
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 02-04-2007, 09:14
Junior Member
 
Join Date: Mar 2007
Posts: 6
Default

I raised the tickets through Hosting Controller, is that not right? I've raised them again through the support website hosting, these are the ticket IDs:

CXZ-72893-340
BDK-39064-161

Thanks,
Chris
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 02-04-2007, 10:39
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,997
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com Send a message via Skype™ to eUKhost.com
Default

Hello Chris,

One of our senior windows system admin is looking into this tickets.

Please allow some time for him to get back to you.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 02-04-2007, 11:21
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,997
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com Send a message via Skype™ to eUKhost.com
Default

Hello Chris,

Alex has replied to your tickets.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com ||