Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 453
Lorem Ipsum Avatar asked Oct 03 '22 11:10

Lorem Ipsum


2 Answers

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..

like image 77
Marzena Avatar answered Oct 07 '22 17:10

Marzena


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
like image 21
SeanGahan Avatar answered Oct 07 '22 19:10

SeanGahan