Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...SQL and SQL Ser...SQL and SQL Ser...New fields not populated with Data from SPNew fields not populated with Data from SP
Previous
 
Next
New Post
10/5/2010 8:28 PM
 
this is strange indeed. are you sure, the sp is called and data is not derived from cache?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/6/2010 9:43 AM
 
Dan,

How are you populating your data object.  If you have followed the IHydratable interface you will need to explicitly populate the additional fields.  Alternatively, you may want to use this interface method (see http://www.charlesnurse.com/?tag=/cbo

Paul.
 
New Post
10/6/2010 9:56 AM
 
Dan

Can you just copy/paste names of the fields? We had one time the similar problem when names look the same, but they was not the same. It was fail when one char has been typed in different language, but it looks the same like English.

Sergey
 
New Post
10/6/2010 10:04 AM
 
Well I wish I could come up with some sort of valid excuse to why this was not working other then programmer stupidity but I can not. The name of the fields in the SP were not the same as those in the DAL.

Now that I have confessed to being human and dragging you into it. Could you clear up a new question you just raised in my mind.
that article indicates that the IDataReader is left open to the DB? How do I close this? Am I not using the correct method in my DAL to access data?
 
New Post
10/6/2010 11:57 AM
 
Dan,

If you have explicit access to the DataReader, you can just close it (Datareader.close) .  You can check the open connections is SQL Management Studio and see if the open connections (spids) grows after every execution of your code. If you do leave a data reader connection open, you will get an issue pool connections.

Paul.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...SQL and SQL Ser...SQL and SQL Ser...New fields not populated with Data from SPNew fields not populated with Data from SP


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out