Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2006

Tip: Looking for answers? Try searching our database.

Customize WebParts

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rachel - 16 Feb 2006 23:56 GMT
Hi All,

I have customized the Membership API and was able to create and validate
users using my own database tables in SQL Server 2000.  

I would like to customize the WebParts and save the user customization of
these WebParts to my own database tables but could not find any samples in
this area. I don’t want to maintain the membership information in my database
and maintain the personalized web parts information in the ASPNETDB
separately.

Is this possible and does anyone have any examples or best practices for
doing this?

TIA
Rachel
DWS - 17 Feb 2006 00:52 GMT
Rachel,

Search for aspnet_regsql
I think it would be a best practice to use aspnet_regsql and tell your web
application where the catalog is versus creating your own application service
providers.

The following will give you asp.net application provider support for
webparts personalization, roles, and membership with sql 200.
run aspnet_regsql from a dotnet 2.0 or vs2005 command prompt follow the
wizzard.  then in your web.config file override localsqlserver to your
database
<connectionStrings>
  <remove name="LocalSqlServer" />
 <add name="LocalSqlServer" connectionString="your connection string to
catalog with aspnet" />
</connectionStrings>

Good Luck
DWS

> Hi All,
>
[quoted text clipped - 12 lines]
> TIA
> Rachel

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.