CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.web_parts_and_personalization Tags:
Item Type: NewsGroup Date Entered: 11/1/2003 12:15:41 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 6 Views: 16 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
7 Items, 1 Pages 1 |< << Go >> >|
owscott
Asp.Net User
Changing provider for Personalization11/1/2003 12:15:41 AM

0/0

What is the syntax for changing the provider for Personalization? I tried to do the same thing as I do with the <membership> section but the syntax must be different. I get this error:

Provider must implement the interface 'System.Configuration.Settings.ISettingsProvider'.

I would like both Membership and Personalization to use a SQL Server provider.

Thanks,

shankun
Asp.Net User
Re: Changing provider for Personalization11/1/2003 12:00:14 PM

0/0

Scott, have you tried the following in your web.config:


<personalization enabled="true" defaultProvider="AspNetSqlProvider" />
<pagePersonalization enabled="true" defaultProvider="AspNetSqlProvider" />




Shanku Niyogi





This posting is provided "AS IS" with no warranties, and confers no rights.
owscott
Asp.Net User
Re: Changing provider for Personalization11/1/2003 1:20:42 PM

0/0

Yes, I believe that part I have right. It's defining the provider itself that I'm missing. Here is what I have:

<anonymousIdentification enabled="true"/>
<personalization enabled="true" defaultProvider="WhidbeyPersonalization">
<profile>
<property name="PostalCode" allowAnonymous="true" />
</profile>
<providers>
<add name="WhidbeyPersonalization" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=1.1.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="AspNetSqlProvider"
applicationName="/membership" />
</providers>
</personalization>

Basically I tried to copy the Syntax from the Membership section that is working correctly. I have the AspNetSqlProvider connection string defined in machine.config and that works correctly for Membership.

Thanks again,
shankun
Asp.Net User
Re: Changing provider for Personalization11/3/2003 8:22:55 PM

0/0

The SqlMembershipProvider class does not do personalization - it's only a membership provider. That's why you're getting the type mismatch.

You don't need to add the provider definition in web.config. If it has been defined in machine.config, that definition is automatically inherited into the app level config. All you need to do is set the defaultProvider to point to it by name. If you do want to add your own new provider definition, use a copy of the format used in the <personalization> section, not the <membership> section, of machine.config.
Shanku Niyogi





This posting is provided "AS IS" with no warranties, and confers no rights.
owscott
Asp.Net User
Re: Changing provider for Personalization11/3/2003 10:24:48 PM

0/0

Doh! Note to self: Use machine.config for syntax examples.

I did need to create a custom profile since I'm using a remote SQL Server, but as you suggested everything I needed was in machine.config. Ultimately I wanted to set machine.config but I was working from the wrong direction and trying to get it working in web.config first, forgetting the examples that machine.config has.

It works great now.

Thanks,
Vodzurk
Asp.Net User
Re: Changing provider for Personalization11/6/2005 5:51:25 PM

0/0

In documentation, there's a claim that any data provider can be used.

I'm hoping to use postgresql for some home projects since the costs for sql server are wayyy too much for me (Just renting the server is gonna cripple me).

Any pointers in how to get profiles to work thru postgresql?

Rar!
dougr
Asp.Net User
Re: Changing provider for Personalization11/29/2005 6:16:26 PM

0/0

You can create a custom profile provider by creating a class that inherits the ProfileProvider abstract class. Depending on how you connect to postgresql (OLE DB, ODBC, other), you simply add your own specific data logic. There's an example profile provider in the documentation. The MSDN version of the documentation is currently found at http://msdn2.microsoft.com/en-us/library/0580x1f5.aspx. The sample included in the documentation uses the classes in the System.Data.Odbc namespace.

HTH

Doug Rothaus


This posting is provided "AS IS" with no warranties, and confers no rights.
7 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Essential ASP.Net 2.0 Authors: Fritz Onion, Keith Brown, Pages: 345, Published: 2006
Competitive Strategy for Media Firms: Strategic and Brand Management in Changing Media Markets Authors: Sylvia M. Chan-Olmsted, Pages: 242, Published: 2006
Professional ASP.NET 2.0 Security, Membership, and Role Management Authors: Stefan Schackow, Pages: 611, Published: 2006
Programming Visual Basic 2005 Authors: Jesse Liberty, Pages: 548, Published: 2005
Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Authors: Matthew MacDonald, Pages: 954, Published: 2007
Beginning ASP.NET 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007
Universal Access in HCI: Towards an Information Society for All Authors: Constantine Stephanidis, Pages: 1133, Published: 2001
Information Networking: Networking Technologies for Broadband and Mobile Networks : International Conference ICOIN 2004, Busan, Korea, February 18-20, 2004 : Revised Selected Papers Authors: Hyun-Kook Kahng, Shigeki Goto, Hanʼguk Chŏngbo Kwahakhoe, Jōhō Shori Gakkai (Japan), Pages: 1048, Published: 2004
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
Encyclopedia of Cryptography and Security Authors: Henk C. A. van Tilborg, Pages: 684, Published: 2005

Web:
Changing provider for Personalization - ASP.NET Forums What is the syntax for changing the provider for Personalization? I tried to do the same thing as I do with the section but the syntax must be ...
Web Parts Personalization Providers Web Parts personalization providers provide the interface between ASP.NET's Web Parts personalization service and personalization data sources. ...
ASP.NET 2.0: Personalize Your Portal with User Controls and Custom ... User Controls as Web Parts Web Parts and Personalization Providers Changing the Personalization Data Store Creating Your Own Personalization Provider ...
AmdocsAcquiresChangingWorlds ... Changing Worlds Ltd. (“ChangingWorlds” ), a privately-held provider of personalization and intelligent portal solutions for mobile service providers. ...
Personalization - eLearning Provider - Browse eLearning Blogs Community selected eLearning Blogs content with terms Personalization and eLearning Provider.
OTN Discussion Forums : Web Parts Personalization Provider ... Web Parts Personalization Provider Posted: Mar 17, 2008 5:51 PM ... Oracle Web Parts Personalization Provider begins in Chapter 8 of the doc ...
ASP.NET 2.0 Provider Model: Web Parts Personalization Providers NET 2.0 Provider Model, describes how Web Parts personalization providers provide the interface between ASP.NET Web Parts personalization service and ...
CodeProject: MySQL Membership, Role, Sitemap, Personalization ... Membership,Role,Sitemap and Personalization provider using Mysql; Author: onrac; Section: ASP.NET; Chapter: Web Development.
Personalization: Definition and additional resources from BNET ChoiceStream, Inc., the leading provider of personalization solutions for online consumer services, mobile and media operators, announced today that eMusic, ...
Amdocs Buys Changing Worlds - WIRELESS AND MOBILE NEWS Nov 6, 2008 ... Amdocs has entered into to an agreement to acquire Changing Worlds Ltd. (" ChangingWorlds" ), a privately-held provider of personalization ...

Videos:
Endtone Disconnect Tones Introducing Endtone. Endtone transforms ordinary mobile communications and makes them entertaining, personalized and profitable. Today's mobile cus...
Cisco Personalized Subscriber Management Utilize personalization to differentiate your services, increase customer loyalty and develop new sources of revenue.
Ask.com to focus on simple, vertical and collective search http://www.uberpulse.com/us/2007/08/ask.php For Ask.com CEO, collective search is more important than personalisation. A radical opposite view from ...
Southwing SH241 Bluetooth Headset SouthWing SH241 Bluetooth® Headset Available Exclusively in US at AT&T SouthWing, a world leader in feature-rich Bluetooth® headsets personalized to...
DMS Direct Marketing Solutions Corporate Video DMS, Direct Marketing Solutions, is a full-service direct mail solutions provider located in Eastlake, Ohio. Visit us online at http://www.dmsoh.com...
REW :: Agent Websites This is sample of the Agent Websites course, part of the REAL ESTATE WEBOGRAPHER(TM) Certification. To purchase REW, please visit http://www.webogra...
2. REW :: Agent Websites This is a sample of the Agent Websites course, part of the REAL ESTATE WEBOGRAPHER(TM) Certification. To purchase REW, please visit http://www.webogr...




Search This Site:










server webcontrol asp.net

windows authentication with custom, web-based roles

help my categories don't update (combined club & classified site)

visual web developer database!!urgent help

help with treeview - what node was selected?

announcing new advanced announcements module with dynamic localization

failing to find portalmodulecontrol in vs2002

read user groups from access 2000 mdw.

news feeds (rss) sorting with xsl

2 user roles transfer to right folder after login

strange build error in wdp not occuring in web site project

it's dotnetnuke 2 ready to asp.net v2?

help - search screen returns page not found after searching

problem

could a validator have dynamic behavious

plugin for vs2005

need a pointer on ideas on how to use editorzone...

3.1 has error uploading modules when using an object qualifer been fixed ?

skin loading problems in 2.1.2 -- _default vs. 0

404 error not the same.

 
All Times Are GMT