I have a C# web application which works fine when I use it in debug mode or run it inside of Visual Studio. If I map a domain to it via IIS I get the following error (translated from German):
provider: SQL Network Interfaces, error: 50 - Error in the local database Runtime. It's not possible to automatically create an instance.
I already gave my AppPool permission do access the App_Data
folder (and Root).