 |
Your forum announcement here! |
|
 |

01-01-2007, 22:07
|
|
Member
|
|
Join Date: Nov 2006
Location: Northampton
Posts: 42
|
|
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.
|

31-01-2007, 22:27
|
|
System Administrator
|
|
Join Date: Dec 2006
Location: localhost
Posts: 792
|
|
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:
PHP Code:
<customErrors mode="Off" />
"Off" Always display detailed ASP.NET error information.
PHP Code:
<customErrors mode="On" />
"On" Always display custom (friendly) messages.
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.
|

07-02-2007, 19:32
|
|
Premium Member
|
|
Join Date: Feb 2007
Posts: 137
|
|
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
|

09-02-2007, 16:12
|
 |
Premium Member
|
|
Join Date: Oct 2006
Location: North Wales
Posts: 356
|
|
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.
|

14-02-2007, 15:19
|
|
Member
|
|
Join Date: Nov 2006
Location: Northampton
Posts: 42
|
|
Quote:
Originally Posted by Morledge
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?
|

14-02-2007, 15:21
|
|
Member
|
|
Join Date: Nov 2006
Location: Northampton
Posts: 42
|
|
Quote:
Originally Posted by daledavies
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.
|

14-02-2007, 15:26
|
|
Premium Member
|
|
Join Date: Feb 2007
Posts: 137
|
|
Quote:
Originally Posted by Zammo
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
|

14-02-2007, 15:33
|
|
Member
|
|
Join Date: Nov 2006
Location: Northampton
Posts: 42
|
|
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.
|

14-02-2007, 18:22
|
 |
Chief Marketing Officer
|
|
Join Date: Sep 2005
Posts: 4,997
|
|
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.
|

27-03-2007, 09:13
|
|
Junior Member
|
|
Join Date: Mar 2007
Posts: 6
|
|
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?
|

27-03-2007, 09:51
|
|
Premium Member
|
|
Join Date: Feb 2007
Posts: 137
|
|
ChrisF, You need to contact EUK Support, they will be able to upgrade your domain to v2.0.
Cheers
Morledge
|

27-03-2007, 10:26
|
|
Junior Member
|
|
Join Date: Mar 2007
Posts: 6
|
|
Thanks Morledge - I've raised a ticket
|

27-03-2007, 19:38
|
 |
Chief Marketing Officer
|
|
Join Date: Sep 2005
Posts: 4,997
|
|
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.
|

27-03-2007, 21:36
|
|
Junior Member
|
|
Join Date: Mar 2007
Posts: 6
|
|
Any chance someone could take a look at this today? Ta
|

29-03-2007, 08:59
|
 |
Chief Marketing Officer
|
|
Join Date: Sep 2005
Posts: 4,997
|
|
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.
|

01-04-2007, 11:50
|
|
Junior Member
|
|
Join Date: Mar 2007
Posts: 6
|
|
Hi Mark - no reply yet, ticket number is 37 - thanks
|

01-04-2007, 12:52
|
 |
Chief Marketing Officer
|
|
Join Date: Sep 2005
Posts: 4,997
|
|
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.
|

02-04-2007, 09:14
|
|
Junior Member
|
|
Join Date: Mar 2007
Posts: 6
|
|
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
|

02-04-2007, 10:39
|
 |
Chief Marketing Officer
|
|
Join Date: Sep 2005
Posts: 4,997
|
|
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.
|

02-04-2007, 11:21
|
 |
Chief Marketing Officer
|
|
Join Date: Sep 2005
Posts: 4,997
|
|
Hello Chris,
Alex has replied to your tickets.
| |