Cannot find connection string for connection name 'ApplicationServerWorkflowInstanceStoreConnectionString' (machine config))

StackOverflow https://stackoverflow.com/questions/17810666

Pergunta

I registered a connection string named 'ApplicationServerWorkflowInstanceStoreConnectionString in machine config (both the 32bit and 64bit version of machine config). However, the application cannot sees it even though the IIS Manager sees it (in section connection string on particular Web Application). What am I doing wrong?

IIS manager and fail page

Angelique.

Foi útil?

Solução

Make sure you registered the connectionstring to right machine config. Make sure the application pool .NET framework version matches the version of machine config. There are separate machine config files for .NET FW 2 and .NET FW 4..

Outras dicas

Don't forget there is a v4 config in


C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config
AND
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top