I have this connection string:

<connectionStrings>
  <clear />
  <add 
    name="EPiServerDB" .... />
</connectionStrings>

And was wondering if it is possible to rename it to something else other that EPiServerDB. Is it possible? We really need that on the current project as this name conflicts with another connection string which we hoped to use from an earlier project. The reason why is that we are integrating the old business layer into our new solution.

We are using EPiServer CMS 7, if that matters.

有帮助吗?

解决方案

I had to do what this forum post says:

http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=70799&epslanguage=en

Plus I had to rename all references to the connection string.

其他提示

If you use Visual Studio, you can go to Project properties -> Settings and rename connection string there.

enter image description here

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top