Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Avoid having a SQL express for web parts and avoid personalization

Reply
Thread Tools

Avoid having a SQL express for web parts and avoid personalization

 
 
Roger23
Guest
Posts: n/a
 
      10-12-2006
I have a requirement where I need to remove or disable the entire
personalization feature of my web application. I am not allowed to have
a SQL express on my web server and I am not allowed to have any SQL
Express or any SQL server for that matter. how do i disable the entire
personalization of my application. i tried:

<webParts >
<personalization defaultProvider="">
<providers>
<clear/>
</providers>
</personalization>
</webParts>

I tired so many permutations and combinations with the above settings
and still it expects a connectionstring no matter what. I weould prefer
not to tinker with the config files in the framework directory. Can I
not get the same behavior of ASP.NET 1.1? your help is much appreciated.

 
Reply With Quote
 
 
 
 
bruce barker \(sqlwork.com\)
Guest
Posts: n/a
 
      10-12-2006
webparts is built on personalization, and is the only supported way to use
personalization. using the webpartmanager you can disable personalization.
add to each page:

<asp:webpartmanager runat=server id=myid personalization-enable=false>

this allows the web part to not use personalization. if webparts still tries
to connect, then you will have to provide a dummy peronalization provider.

-- bruce (sqlwork.com)

"Roger23" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
>I have a requirement where I need to remove or disable the entire
> personalization feature of my web application. I am not allowed to have
> a SQL express on my web server and I am not allowed to have any SQL
> Express or any SQL server for that matter. how do i disable the entire
> personalization of my application. i tried:
>
> <webParts >
> <personalization defaultProvider="">
> <providers>
> <clear/>
> </providers>
> </personalization>
> </webParts>
>
> I tired so many permutations and combinations with the above settings
> and still it expects a connectionstring no matter what. I weould prefer
> not to tinker with the config files in the framework directory. Can I
> not get the same behavior of ASP.NET 1.1? your help is much appreciated.
>



 
Reply With Quote
 
 
 
 
Roger23
Guest
Posts: n/a
 
      10-12-2006
thanks for the reply. i was trying to remove web parts altogether in my
app. i did and when i removed my connectionstring it was complaining. I
removed the webpart manager from my master page and now its ok. i dont
have to give a conn str anymore. thanks for your time!
bruce barker (sqlwork.com) wrote:
> webparts is built on personalization, and is the only supported way to use
> personalization. using the webpartmanager you can disable personalization.
> add to each page:
>
> <asp:webpartmanager runat=server id=myid personalization-enable=false>
>
> this allows the web part to not use personalization. if webparts still tries
> to connect, then you will have to provide a dummy peronalization provider.
>
> -- bruce (sqlwork.com)
>
> "Roger23" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) ups.com...
> >I have a requirement where I need to remove or disable the entire
> > personalization feature of my web application. I am not allowed to have
> > a SQL express on my web server and I am not allowed to have any SQL
> > Express or any SQL server for that matter. how do i disable the entire
> > personalization of my application. i tried:
> >
> > <webParts >
> > <personalization defaultProvider="">
> > <providers>
> > <clear/>
> > </providers>
> > </personalization>
> > </webParts>
> >
> > I tired so many permutations and combinations with the above settings
> > and still it expects a connectionstring no matter what. I weould prefer
> > not to tinker with the config files in the framework directory. Can I
> > not get the same behavior of ASP.NET 1.1? your help is much appreciated.
> >


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between "library parts" of C99 and "language parts" of C99 albert.neu@gmail.com C Programming 3 03-31-2007 08:14 PM
Personalization: How do I load another user's personalization settings instead of the current user? Electrified Research ASP .Net 3 09-23-2006 05:22 PM
Using Web Parts / Personalization as a Web Management System alanglois@gmail.com ASP .Net 1 08-09-2006 08:22 PM
ASP.NET 2 Login Controls and Personalization without SQL Express Mohamed Zaki ASP .Net 1 12-21-2005 08:57 PM
Parts parts....PARTS!!! ARGHHH dstvns A+ Certification 8 01-07-2004 07:57 PM



Advertisments