Today we released for free download a user-library for substituting BM+ pick-list values into Crystal Reports.
The library can be downloaded by following the u2lBMPick link from Fairmort.com/Products
This blog is a record of some development issues I have faced. There may be something of use!
Today we released for free download a user-library for substituting BM+ pick-list values into Crystal Reports.
The library can be downloaded by following the u2lBMPick link from Fairmort.com/Products
If you get
error for a HQL query and you know the property exists and is spelt correctly check that the query parameters are defined correctly.
Had this problem when query text was:
..... TaskStatus:=status ....
The problem is that the colon is the wrong side of the equals, should be
..... TaskStatus=:status ....
Error is easy typo to make but had to spot.
http://msdn2.microsoft.com/en-us/library/aa364454.aspx (http://msdn2.microsoft.com/en-us/library/aa364454.aspx)
Interesting article on exporting a GridView to PDF:
http://csharpdotnetfreak.blogspot.com/2008/12/export-gridview-to-pdf-using-itextsharp.html
Uses open-source project iTextSharp
Quick note on how to encrypt the Connection string in the web.config for future reference
Encrypt the Connection string :
aspnet_regiis -pef "ConnectionString" "c:\path\to\website"
Grant Access to IIS to the key
aspnet_regiis -pa "NetFrameworkConfigurationKey" "NT Authority\Network Service"
note aspnet_regiis is in the .net framework directory for the version of .net that you are using
Had a few occasions where a Partial mock was calling the real method even though an expectation had been defined.
The reason was that the method being called was not marked as Virtual and so not being overridden by the mock repository.