- Go to Control Panel > Administrative Tools > .Net Framework 2.0 Configuration
- Go to My Computer > Runtime Security Policy > Machine > Code Groups > All_Code and add a new code group
- Give a Code group name, say next and select the condition type as URL and give the URL where you put ExcelWork1.dll
http://ExcelWorkbook1/bin/Debug/*
or D:\Garbage\ExcelWorkbook1\bin\Debug\* (for local case)
- Press the Next button and assign Full Trust and click Finish.
No comments:
Post a Comment