NullReferenceException instantiating C1.Excel.C1XLBook() v9.0.20251.173

Posted by: rick.papke on 28 November 2025, 3:44 pm EST

  • Posted 28 November 2025, 3:44 pm EST

    This

    Dim Bk as new C1.Excel.X1XLBook

    causes a System.NullReferenceException when executing a project within the VS IDE (vb.net)

    Troubleshooting

    • It is not limited to a specific project
    • dependency of ds.Documents.Imaging is met (including checking any binding redirects)
    • if I log in as another user it works fine
    • If I compile to an exe and run the exe it works fine
    • I’ve repaired the C1 Winforms installation
    • deleted appdata\local\temp and appdata\local\Nuget\v3_cache

    I have posted a ticket CAS-60016-H2F6R5 but nothing yet resolved.

    Looking for suggestions on what could be user-specific on a computer that would cause this issues and possibly how to resolve. Thanks in advance.

  • Posted 1 December 2025, 6:06 am EST

    Hi Rick,

    We have replied to your query in the existing support ticket and we request you continue the thread there to avoid confusion.

    Thanks, and Best Regards,

    Kartik

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels