1

I created one Empty application in visual studio and install umbraco cms using nuget package manager.

after that i have made some doc type,template and other things. all things are working fine in localhost.

But when i publish this to azure getting run time error.

enter image description here i changed the

customErrors mode="Off"

.

but its not working,

any help would be appreciated,

Thanks,

Ronak Panchal.

Moumit
  • 8,314
  • 9
  • 55
  • 59
  • Please describe this better - what code is failing? Are you connecting to a different database in Azure? Is that set up right? Your question is near impossible to answer without more specific information. – Pedro G. Dias Mar 17 '16 at 05:41
  • Please show us your web.config content – Alex Chen-WX Mar 17 '16 at 05:46
  • yes i'm connecting to a different database in Azure.and i updated connection string in web config its working fine in local host. – Ronak_Panchal Mar 17 '16 at 05:53

1 Answers1

0

You can reference the article CustomErrors mode="Off". You need to set <deployment retail="false" /> in your web.config and change <customErrors mode="off"/> to <httpErrors existingResponse="PassThrough"/>.

Community
  • 1
  • 1
Alex Chen-WX
  • 521
  • 2
  • 5