TechShri from Shriniwas Wani

Custom Search

01 December, 2006

Found Errors while working on .Net

Dear all, I m enlisting various errors I came across and the resolution for that.

1) Could not transform licenses file 'licenses.licx' into a binary resource
If you ARE using thirdparty components you might get this error. Sometimes the license file seems to get corrupt or something, so deleting the file and recompiling can often solve such an scenario.

Even open the .licx file and remove the line it has. It will also solve the error.
It seems that updating the reference DLL file addding new reference donot update the LICX file.

2) Error 2 Unable to copy file "obj\Debug\Facade.dll" to "..\build\bin\Facade\Facade.dll". The process cannot access the file '..\build\bin\Facade\Facade.dll' because it is being used by another process.
In this case you can either reset the IIS or stop the IIS
iisreset
iisreset -stop

3)

Failed to access IIS metabase


This means you installed IIS after the .Net is installed on your machine/server. So steps to resolve -

Open the .Net command prompt utility
Type and run : aspnet_regiis -i

Labels: