.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
ASPEvil
david stephan
Santhakumar Munuswamy
Fauzul Azmi
Post New Web Links

BDC Editor NULL Structure

Posted By:      Posted Date: August 26, 2010    Points: 0   Category :SharePoint
 

 

Hi,

I am new to WSS and MOSS. I am attempting to use the BDC Editor to create a LOB system to use with Sharepoint. I have no trouble connecting to the webservice which is running on localhost and was generated using Codesmith and Nettiers. I can see all my entity methods and can add them to the definition editor. The issue is that when I attempt to execute a method instance, seemingly regardless of type, I am presented with either of the following 2 messages:

 

"NULL was returned to FindSpecific" (FindSpecific MethodInstance"

"Back-end returned a NULL structure which is incompatible with the associated metadata" (Finder Method Instance)

 

Any ideas what I might be doing wrong?

 

Regards,

Oli

 




View Complete Post


More Related Resource Links

null value shown in excel source editor when preview

  
hi all i am uploading excel (.xlsx) file. when i preview in excel source editor it shows all numeric value as 'null' value.  it taking it has Unicode string [DT_WSTR] data type. i formatted all cells trying with general and text type but it still shows as null value. what could i do to this?  thank you ppl, romal.

Embed Youtube inside Ajax Html Editor- problem

  

Hi,

When inserting a simple embed of youtube inside the ajax editor, on firefox and chrome problems occur. On the other hand on internet explorer 8 everything works fine. I found this solution http://www.nopcommerce.com/boards/t/4228/bug-in-ajax-html-editor.aspx . 

My question is where do I find the DesignPanel.pre.js ?


Thanks,

Roderick Vella


text editor

  

 I format lines in a .aspx file (source view) the way I can use them, and if I switch to design view or view in browser or debug, the many lines get reformatted to flow all onto one line.

I can't seem to find the correct setting to keep this from happening.

Any suggestions?

 


How to check for null/empty strings on dynamic objects?

  

What is the proper way to check for null or empty strings on dynamic objects? This is the only solution I've found so far:

if (admin.PasswordHash.GetType() == typeof(DBNull) || admin.PasswordHash == string.Empty)

If the field is null, the object returned is DBNull.Value, but if the field is empty string, it's return as a System.String object. This makes it impossible to do regular "admin.PasswordHash == DBNull.Value" check, as that will fail whenever the field has been set to empty string. Is my example the right (and only) way to go?


Users getting logged out because HttpContext.Current is null

  

We've  been trying to fix this one for a couple years, and I'm just out of ideas, so any help is really appreciated!

We've got a fairly large, complex web application that uses Forms Authentication to authenticate users.  Throughout the application we store and retrieve information about users in the Session object, and in some cases in cookies.  In a couple places we check for the existence of the context, and if it's null we send the user back to the login page to re-establish the session. 

Just a quick run-down of this web app: C#, .NET 3.5, IIS 6, ASP.NET State Service to manage session

As for the session timer, we use our own home-grown timer, which is basically a client-side timer, which is backed up by a check to the SQL database to see when their last activity was.  This seems to work well for us.  It's not perfect, but it allows us to notify the user before the session times out, and allows us to be certain we're not logging a user out before their 60 minutes of inactivity is up.

What's happening is that certain users are being logged out after just a few minutes.  We've eliminated the timer as a cause and believe what's happening is the HttpContext.Current is null, so the user is logged out.  We do not know why the HttpContext.Current is null, and I underst

Solution/project structure

  

Hello, I am working in a aspx web application that must be built in several separate "modules" with different functionality which will be partly developed by different teams.

However, I need the completed app to reside in ONE virtual directory. There will be a single startup page. I need session state to be preserved across pages in different modules.

I structured it as one solution with different Web Projects and one class library project with common functionalities.

Questions:

1) is this the right approach to do this? Or which one would be better?

2) each time I add a new web project to the solution, a new web.config gets created. What do I do and where do I put them?

VS 2010 + framework 4.0 + TFS

Regarding TFS and source control, I have a single Team project, the solution and web projects are inside it.

 

Thanks!


'element.className' is null or not an object

  

 Hi,

I just downloaded the project, compiled it and ran it right out of the box and when I put the mouse pointer over or remove the mouse pointer from either MenuItem in the menu demo, I generate this error:

'element.className' is null or not an object

It points to this javascript method:

updateClassName: function(operation, element, name, value) {
        this[operation + 'String'](
                function() {
                    return element.className;
                },
                function(newValue) {
                    element.className = newValue;
                },
                value
          &nbs

Editor's Note: Does Your Program Smell Like Bacon?

  

When building your program, are you content with "good enough"? If so, your expectations are fatally low.

Keith Ward

MSDN Magazine August 2010


Editor's Note: Over-Educated, Yet Under-Qualified?

  

Are we teaching computer science graduates the right things to prepare them for the world of real work? If not, how do we fix it?

Keith Ward

MSDN Magazine July 2010


Editor's Note: We're All Ears

  

Help us help you, by sending your feedback on various topics.

Keith Ward

MSDN Magazine June 2010


Editor's Note: This Way-Cool 'Internet' Doohickey

  

It wasn't all that long ago that surfing meant grabbing a board and hanging 10.

Keith Ward

MSDN Magazine May 2010


Editor's Note: Scott Guthrie on Visual Studio 2010

  

The man most responsible for Visual Studio 2010 discusses what developers have to look forward to.

Keith Ward

MSDN Magazine April 2010


Editor's Note: Coming Out the Other Side

  

The worst is over for technology job-seekers, says Dice.com executive.

Keith Ward

MSDN Magazine March 2010


Editor's Note: Not Your Father's MSDN

  

Changes are coming to MSDN Magazine. They begin this month, with the unveiling of a number of new, monthly columns.

Keith Ward

MSDN Magazine February 2010


Editor's Note: Two Guys in the Cloud

  

Microsoft made a big Azure splash at its Professional Developer's Conference last fall. An overheard conversation gives insight on how developers see the potential of the cloud.

Keith Ward

MSDN Magazine January 2010


Editor's Note: Beginnings and Endings

  

Howard Dierking talks about the recent changes and updates to the MSDN Web sites and the MSDN Subscriptions program.

Howard Dierking

MSDN Magazine November 2009


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend