NullReferenceException When Requesting Reports

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, melvyn.harbour, dom.smith

NullReferenceException When Requesting Reports

Postby martincostello » Fri May 11, 2012 9:29 am

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
martincostello
 
Posts: 14
Joined: Tue Sep 13, 2011 12:54 pm
Location: London, UK

Postby Simon C » Fri May 11, 2012 1:07 pm

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?
Simon C
 
Posts: 140
Joined: Tue Feb 26, 2008 4:56 pm
Location: Red Gate Software

Postby martincostello » Fri May 11, 2012 1:09 pm

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
martincostello
 
Posts: 14
Joined: Tue Sep 13, 2011 12:54 pm
Location: London, UK

Postby Simon C » Fri May 11, 2012 1:31 pm

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
Simon C
 
Posts: 140
Joined: Tue Feb 26, 2008 4:56 pm
Location: Red Gate Software

Postby martincostello » Fri May 11, 2012 3:56 pm

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
martincostello
 
Posts: 14
Joined: Tue Sep 13, 2011 12:54 pm
Location: London, UK


Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 1 guest

cron