Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GoDaddy - 500 - Internal server error
Message
De
18/08/2016 11:35:56
 
 
À
18/08/2016 11:20:38
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01639607
Message ID:
01639634
Vues:
40
>>>>>>Hi,
>>>>>>
>>>>>>I am trying to move my first ASP.NET app from my local PC to GoDaddy's shared Windows hosting. Got the database created and the files moved up. Adjusted the web.config to connect to the database on their server. However, something is not configured properly as I get:
>>>>>>
>>>>>>500 - Internal server error
>>>>>>There is a problem with the resource you are looking for, and it cannot be displayed.
>>>>>>
>>>>>>whenever I try to access the site.
>>>>>>
>>>>>>Is there a way to get a more descriptive error explaining what the error is?
>>>>>>
>>>>>>The Web.config has:
>>>>>>
>>>>>>
<customErrors mode="Off"/>
>>>>>>
>>>>>>but that is not helping.
>>>>>>
>>>>>>I also tried adding this in (found reference to it on the net):
>>>>>>
>>>>>>
<deployment retail="false" />
>>>>>>
>>>>>>but no luck there either.
>>>>>>
>>>>>>What can I do?
>>>>>
>>>>>Couple of other config settings which GoDaddy suggests : https://uk.godaddy.com/help/get-detailed-errors-windows-3430
>>>>
>>>>Thanks, I'd actually found those after my initial post and tried them out (of course they now have IIS 8.5 running but I tried the IIS 7 example)
>>>
>>>And did it help?
>>>I've no experience with GoDaddy but can you access the IIS logs (I'd guess not) - or use remote debugging (again I'd guess not)
>>>Chances are the 500 comes from an un-trapped exception in your server code - and I'd guess caused by an invalid path to something or lack of permissions ?
>>
>>Sorry, no. It didn't help.
>>
>>I can't find any logs or remote debugging options.
>>
>>Yes, I think it's some path or rights problem, but I just can't see what.
>>
>>I'm waiting for their support to come on line and hopefully they'll be able to help me out.
>
>Do you have an exception handler in global.asax (i.e. using the Application_Error event handler).
>I've used this, as a last resort, in the past to email exeception details to myself. Example code here:
>http://www.asp.net/web-forms/overview/older-versions-getting-started/deploying-web-site-projects/processing-unhandled-exceptions-cs

Thanks, that looks helpful. I'm on with the support person now, fingers crossed he'll see what I've done wrong
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform