Personalization

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
pwarren
Posts: 4
Joined: Mon 10 Mar 2014 09:02

Personalization

Post by 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

<system.web>
...
<webParts>
	<personalization defaultProvider="WebPartProvider">
		<providers >
			<add name="WebPartProvider"
				connectionStringName="PostgresConnection"
		type="Devart.Data.PostgreSql.Web.Providers.PgSqlPersonalizationProvider,
              Devart.Data.PostgreSql.Web, Version=7.2.65.4, Culture=neutral,
              PublicKeyToken=09af7300eec23701" />
		</providers>
			</personalization>
		</webParts>
		<anonymousIdentification enabled="true"/>
		<profile>
			<properties>
				<add name="NickName" type="System.String" allowAnonymous="true" defaultValue="Bertie" />
				<add name="Age" type="System.Int32" allowAnonymous="true" defaultValue="54"/>
			</properties>
		</profile>
	</system.web>
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.

PW

Pinturiccio
Devart Team
Posts: 2192
Joined: Wed 02 Nov 2011 09:44

Re: Personalization

Post by Pinturiccio » Tue 25 Mar 2014 14:37

Please send us a small test project for reproducing the issue.

Post Reply