Reputation: 327
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
I have also added my IP to the firewall rule. I am a beginner in Azure. I am getting the above error while trying to run the azure web project. I have added following tags after going through some articles but none help me.
<validation validateIntegratedModeConfiguration="false"/>
<identity impersonate="false"/>
Upvotes: 0
Views: 10719
Reputation: 300
This may be a proxy related issue.
Try adding these to your *.config files:
<system.net>
<defaultProxy useDefaultCredentials="true" />
</system.net>
Upvotes: 0
Reputation: 594
In my case, I was using code downloaded from durandaljs.com. The "Build Action" on my default page (index.html) was set to "None", so this file was not uploaded to Azure during publish. Fixed by changing the "Build Action" to "Content".
Troubleshooting IIS via Remote Desktop really helped me figure this out. Choosing the "Enable Remote Desktop for all roles" when you publish, then in Server Explorer, expand Cloud Services, etc., then right-click your instance and choose "Connect using Remote Desktop".
Upvotes: 0
Reputation: 15850
Basically, your application is throwing an unhandled error. You will want to know what the real error is, as Error 500 is just a generic way of saying: something happened.
You can deploy your app with customerrors being OFF so you can actually see the real error (Check this link for sample instructions: http://www.serverintellect.com/support/programming/custom-errors.aspx ).
Alternatively, if you're using WebRoles, you can RDP into a server instance and check Windows EventViewer, the details of the error will likely show up there.
Upvotes: 3