Console create assignment does not work. Is there a workaround

Topics: Developer Forum, Project Management Forum, User Forum
Dec 1, 2009 at 7:08 PM

Hi All

When trying to use the console create assigment I get an  System.NullReferenceException: Object reference not set to an instance of an object. error, which seems to point to the following

Microsoft.SharePointLearningKit.SlkStore.GetFileFromSharePointLocation(String location, SPFile& spFile, SharePointFileLocation& spFileLocation) +189

Is there a workaoround for this. I need to be able to create a new assignment ID on the fly ...

Slk 1.3.1

bld ver - 53453

regards,

Craig T

 

 

Coordinator
Feb 13, 2010 at 2:01 AM

The learning components were unnecessarily referencing SPContext which is null in a console application. I've removed this now, so if you get the latest source and recompile everything it should work.

Richard

SLK Coordinator

http://blog.salamandersoft.co.uk

Feb 13, 2010 at 3:10 PM
Thank you Richard, I will do that . Thank you for your vigilant support of SLK....
 
Regards,
 
Craig Tarpinian

On Fri, Feb 12, 2010 at 9:01 PM, richardwillis <notifications@codeplex.com> wrote:

From: richardwillis

The learning components were unnecessarily referencing SPContext which is null in a console application. I've removed this now, so if you get the latest source and recompile everything it should work.

Richard

SLK Coordinator

http://blog.salamandersoft.co.uk

Read the full discussion online.

To add a post to this discussion, reply to this email (SLK@discussions.codeplex.com)

To start a new discussion for this project, email SLK@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on CodePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com