CS2001 Missing AssemblyAttributes.cs when executing SSIS package deployed to the server

Error at Script Task: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.
Error at Script Task: There were errors during task validation.

To resolve the CS2001 “Missing AssemblyAttributes.cs” error when executing an SSIS package on a deployed server, follow these steps to adjust folder permissions:

  1. Open Windows Explorer and navigate to C:\Windows\Temp\.
  2. Right-click the folder and select Properties.
  3. Switch to the Security tab and click Advanced.
  4. In the Permissions tab, select Change Permissions.
  5. Locate the relevant permission entry, then choose Edit.
  6. Ensure the following permissions are enabled with Allow checked:
    • Traverse folder / Execute file
    • Create files / Write data
    • Create folders / Append data
    • List folder / Read data
    • Take ownership
  7. Click OK to save the changes and close the window.
  8. Press Apply to confirm any prompts that appear.

Even if the logged-in user already has full control, modifying the permissions for the “Users” group resolved the issue.

See more

Kunal Rathi

With over 13 years of experience in data engineering and analytics, I've assisted countless clients in gaining valuable insights from their data. As a dedicated supporter of Data, Cloud and DevOps, I'm excited to connect with individuals who share my passion for this field. If my work resonates with you, we can talk and collaborate.

Shopping Cart
Scroll to Top