Red Gate forums :: View topic - NullReferenceException When Requesting Reports
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

NullReferenceException When Requesting Reports

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
martincostello



Joined: 13 Sep 2011
Posts: 14
Location: London, UK

PostPosted: Fri May 11, 2012 9:29 am    Post subject: NullReferenceException When Requesting Reports Reply with quote

Hi,

I've just setup SmartAssembly with our custom reporting server, but everytime I attempt to download reports from it using the SmartAssembly client I get a NullReferenceException.

I've submitted the error reports from SmartAssembly to yourselves, but there's no detail available for me to think where to start troubleshooting the issue.

Any insights into what's wrong and/or what to fix would be appreciated. I'm trying to release some software using SmartAssembly by next Friday (18th May), so a prompt response would be helpful.

Regards,
Martin
Back to top
View user's profile Send private message
Simon C



Joined: 26 Feb 2008
Posts: 140
Location: Red Gate Software

PostPosted: Fri May 11, 2012 1:07 pm    Post subject: Reply with quote

We've got your exception reports, thanks for reporting them. This exception was actually hiding another exception; in your case, an incorrect password when trying to login to the webservice to download new reports. Have you overridden the login password when you set up the custom reporting server?
Back to top
View user's profile Send private message Send e-mail
martincostello



Joined: 13 Sep 2011
Posts: 14
Location: London, UK

PostPosted: Fri May 11, 2012 1:09 pm    Post subject: Reply with quote

Ah - yes, we did try to set that up initially, but it didn't seem to quite work. It's possible we left it in a miscofigured state,

Could you clarify for me exactly what settings we should configure in the web service so that only people using a copy of SmartAssembly with the licence key of either our Professional or Developer edition of SmartAssembly can download the reports?

Thanks for the prompt response,
Martin
Back to top
View user's profile Send private message
Simon C



Joined: 26 Feb 2008
Posts: 140
Location: Red Gate Software

PostPosted: Fri May 11, 2012 1:31 pm    Post subject: Reply with quote

Verify that everyone using the custom webservice is configured to use the same license key and SQL Server instance (everyone should be using the same SQL Server, not local .mdb files), and that no one has specified a password override in any SmartAssembly.settings file
Back to top
View user's profile Send private message Send e-mail
martincostello



Joined: 13 Sep 2011
Posts: 14
Location: London, UK

PostPosted: Fri May 11, 2012 3:56 pm    Post subject: Reply with quote

Yes, it turned out that the problem was that I had configured the Web Service with the Professional Edition licence key used by our build server, rather than using the Developer Edition licence key that people would use to view the reports.

Switching the key has stopped the NullReferenceException from occuring.

Thanks,
Martin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group