473,508 Members | 2,257 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MAJOR problem with ProfileProvider

Hi,

I have a class that inherits ProfileProvider to handle all profile requests
via GetPropertyValues through a sproc call to a sql 2005 database. It works
just fine pulling the appropriate profile information (7 fields) for the
logged in user. However, I started noticing the event log would have
exceptions for not finding certain fields in my datasource when
GetPropertyValues was called. I threw some error handling in to diagnose
and I am finding that .NET is calling GetPropertyValues for objects/methods
other than the ProfileProvider! It seems that different stored procedures
are being called (even though I am EXPLICITLY setting the sproc in this
method) which do not contain (obviously) the fields the profile collection
is looking for. This is happening with mostly cached objects for some
reason (getting the site map data every hour is causing the
GetPropertyValues method to execute).

Does anyone have any insight as to why this is happening?

Thanks,

David Adams
Aug 9 '06 #1
0 858

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1703
by: Nick Zdunic | last post by:
Hi, I using the Security Application Block from the Enterprise Library in my application. I'm getting the following error message: There is an error in the XML document. The specified type...
6
1203
by: emde | last post by:
Is anyone aware of an issue where the textbox size is ignored by firefox, or not correctly rendered for firefox with aspnet? If I manually add the size= tag to the textbox it works, but that...
1
1215
by: John | last post by:
Hi I have created custom membership/role/profile providers as per the web.config below. My questions are; 1. Have I defined them correctly? 2. How can I make the Login and Create User...
12
2636
by: Patxi | last post by:
This is the first time I try to use cookies, and despite of reading some tutotials, I'm have real trouble to make it work correctly. My cookie reading code is in Master Page. When I click on a...
1
1795
by: Gregory Gadow | last post by:
Currently, my company's website uses a custom ISAPI filter to map a web user to a network user, and give the user access to our website. This has worked great for several years. We now want to add...
0
852
by: Phil Boyd | last post by:
Trying to create a custom ProfileProvider that I would like to be published through a web service. My reading of the sample implies that the code has to be local to the webapp that is utilizing...
0
1205
by: mimmo | last post by:
In Profileprovider customization, how can i change the Settingcontext UserName property?
0
1717
by: zlf | last post by:
I implement a custom ProfileProvider, when using it, retrieving profile works, however, I found ProfileBase#Save does not work, nothing is saved after executing it. I set breakpoint for every...
1
1646
by: Andy B | last post by:
I need to have some simple examples of how to do the following: 1. Create an asp.net MembershipProvider from scratch 2. Extend the existing XMLSiteMapProvider that comes with asp.net to include...
0
7231
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7132
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
5640
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5059
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4720
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3211
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3196
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
432
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.