PC Review


Reply
Thread Tools Rate Thread

Avoid having a SQL express for web parts and avoid personalization

 
 
Roger23
Guest
Posts: n/a
 
      12th Oct 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
 
      12th Oct 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)...
>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
 
      12th Oct 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)...
> >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
Rate This Thread
Rate This Thread:

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
How to avoid Compatibility Checker MsgBox? VBA to avoid or prevent? EagleOne@discussions.microsoft.com Microsoft Excel Programming 1 16th Jan 2009 08:54 PM
Using Web Parts / Personalization as a Web Management System alanglois@gmail.com Microsoft ASP .NET 1 9th Aug 2006 09:22 PM
ASP.NET 2 Login Controls and Personalization without SQL Express Mohamed Zaki Microsoft ASP .NET 1 21st Dec 2005 08:57 PM
How to avoid Outlook Express self-installation =?Utf-8?B?Q2VmZXJpbm8gTGFtYg==?= Windows XP Help 1 10th Nov 2005 03:51 PM
Avoid Outlook Express =?Utf-8?B?S2l0eWxvdmUy?= Microsoft Outlook Installation 0 6th Dec 2004 04:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:37 PM.