1
Vote

GetUser client method returns null reference

description

I recently installed the C# version of IWeb on my DNN 6.0 site and tried using the client connector. I tried to get a user based on the GUID userID (source from the SQL Server Managment Studio). The client is unable to get the user with an null reference error. After looking at the web method, it looks like the ID is an 'int' but in SQL Server it appears to be 'uniqueidentifier' or a GUID.

No files are attached

comments

adefwebserver wrote Oct 24 2011 at 4:42 AM

We have not updated IWeb in years. If you are not a programmer you may want to locate another module.

jonlave wrote Oct 24 2011 at 3:57 AM

I'm not sure how to make the fix exactly and recreate the module. Could you provide some pointers?
Also, is IWeb still the best way to create a web service in DNN 6, or is there a better way?
Thanks.

adefwebserver wrote Oct 24 2011 at 1:55 AM

It appears that 3 versions of DNN later and it finally broke IWeb. There doesn't appear to be any way of fixing this without also breaking previous versions of IWeb working with previous versions of DNN.

I advise using the source code and implementing a personal fix.