Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GoDaddy - 500 - Internal server error
Message
De
18/08/2016 14:40:20
 
 
À
18/08/2016 10:56:14
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01639607
Message ID:
01639651
Vues:
53
>>>>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 ?

Well, GoDaddy support was useless as usual.

I finally narrowed it down to the connection string I was using. The password had an ampersand in it and the site was then choking on reading the web.config. I've changed the password to something with an ampersand and now I am seeing the full errors that I encounter.

Out of interest, how should I code the string if the password has an ampersand?
Frank.

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

Click here to load this message in the networking platform