could not load file or assembly. RRS feed

  • Question

  • Hi Friends,

    In my project am using VS 2010 and Sharepoint 2010.

    1. I have my user controls placed in 14 hive foler inside CONTROL TEMPLATES.

    2. Debugged my solution file and i put my dll into GAC which it comes under this folder

    C:\Windows\Microsoft.NET\assembly\GAC_MSIL\..  (Because am using .net framework 4.0)

    3. Using that assembly Version number and public token key, i have made my entry in web. config(C:\inetpub\wwwroot\wss\VirtualDirectories\1010\web.config) file inside <safecontrols> tag and <add assembly> tag. 

     After iisreset, while am running my page am getting error like "Could not load file or assembly or one of its dependencies".  The system cannot find the file specified.

    Please help me out this from issue.

    • Moved by Mike Walsh FIN Thursday, June 30, 2011 1:06 PM SP 2010 questions go only to a SP 2010 forum (From:SharePoint - Development and Programming (pre-SharePoint 2010))
    Thursday, June 30, 2011 10:44 AM


All replies