Domanda

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.

È stato utile?

Soluzione

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.

Altri suggerimenti

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

enter image description here

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top