atifaziz / NCrontab

Crontab for .NET
Apache License 2.0
913 stars 139 forks source link

CREATE ASSEMBLY [NCrontab.Samples] got error #109

Open cavonchen opened 1 year ago

cavonchen commented 1 year ago

This what I did and what error I got:

  1. Download the source code and run build.cmd on My Win10 Windows to generate the NCrontab.dll file of dotnet3.
  2. Copy NCrontab.dll to SqlServer2008 Windows, and generate NCrontab.Samples.dll according to your wiki https://github.com/atifaziz/NCrontab/wiki/SQL-Server-Crontab
  3. run sql "CREATE ASSEMBLY [NCrontab.Samples] FROM 'D:\soft\NCrontab.Samples.dll' "
  4. Error:Msg 6509, Level 16, State 31, Line 1 An error occurred while gathering metadata from assembly 'NCrontab' with HRESULT 0x80004005.
  5. Also I run sql “CREATE ASSEMBLY [NCrontab] FROM 'D:\soft\NCrontab.dll”,I got same error
  6. But NCrontab.dll works fine in csi.exe on My Win10 Windows accrording to your readme "Below is the same example in C# Interactive (csi.exe):"

Pls help me out