Postby pwarren » Fri 21 Mar 2014 09:38

I am attempting to enable Personalization in my ASP.Net MVC4 project - based on example in documentation. I have the following in my web.config:

Code: Select all
   <personalization defaultProvider="WebPartProvider">
      <providers >
         <add name="WebPartProvider"
              Devart.Data.PostgreSql.Web, Version=, Culture=neutral,
              PublicKeyToken=09af7300eec23701" />
      <anonymousIdentification enabled="true"/>
            <add name="NickName" type="System.String" allowAnonymous="true" defaultValue="Bertie" />
            <add name="Age" type="System.Int32" allowAnonymous="true" defaultValue="54"/>

however I get an error: A network-related or instance-specific error occurred while establishing a connection to SQL Server. So it looks like I have not enabled the Postgresql provider. Has anyone got this working? I must be missing some config somewhere.

Posts: 4
Joined: Mon 10 Mar 2014 09:02

Re: Personalization

Postby Pinturiccio » Tue 25 Mar 2014 14:37

Please send us a small test project for reproducing the issue.
Devart Team
Posts: 2061
Joined: Wed 02 Nov 2011 09:44

Return to dotConnect for PostgreSQL