Could not load file or assembly 'xyz, Version=1.0.0.0, Culture=neutral, PublicKeyToken=abc' or one of its dependencies. Access is denied.
For some reason assembly gets locked during development, esp. if you have post build deployment scripts to GAC. After trying many different ways, looks like just closing and opening Visual Studio is the best approach to resolve this. Suzanne Cook's .NET CLR Notes has good notes on debugging assembly loading issues.
Wednesday, July 18, 2007 | 0 Comments
Snippets in VS 2005
Using snippets saves lots of time, recently stumbled upon this cool animated gif.
Source : http://www.codinghorror.com/blog/archives/000419.html
Ctrl+K, Ctrl+X is the shortcut to invoke intellisense for code snippets
Ctrl+K, Ctrl+B invokes snippet management interface
http://msdn2.microsoft.com/en-us/library/ms379562(VS.80).aspx has more info on creating custom snippets.
Sunday, July 08, 2007 | 0 Comments
Another Reporting Services Add-in Installation Issue
We just fingured out a solution to another issue installating reporting services SharePoint add in. This time the Reporting Services Installation failed with standard message "Installation failed" and try gain later. To make things worse there is no message in event logs or even logs in the %temp% directory, luckily it created a "rscustomaction.exe" file every time we try installaing the add on.
- Run msiexec /I SharePointRS.msi SKIPCA=1 command
- Change to %TEMP% directory and run rscustomaction.exe -I (make sure that this file exists before running the command)
Wednesday, July 04, 2007 | 1 Comments
