2017-04-01 154 views
-1

我在功能日誌中得到這個。之前沒有看到過這種模式,不知道它的含義以及如何糾正它。只改變功能是改變一個正則表達式。另一個神祕的失敗

2017-04-01T23:45:25.431 Function completed (Failure, Id=25de0b34-b138-4390-af0c-f8f6ed68fd48) 
2017-04-01T23:45:25.509 Exception while executing function: Functions.FormatEmail. mscorlib: Could not load file or assembly '0 bytes loaded from Microsoft.Azure.WebJobs.Script, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format. Bad IL format. 
2017-04-01T23:45:25.619 mscorlib: Exception while executing function: Functions.FormatEmail. mscorlib: Could not load file or assembly '0 bytes loaded from Microsoft.Azure.WebJobs.Script, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format. Bad IL format. 
2017-04-01T23:45:25.728 mscorlib: Exception while executing function: Functions.FormatEmail. mscorlib: Could not load file or assembly '0 bytes loaded from Microsoft.Azure.WebJobs.Script, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format. Bad IL format. 
2017-04-01T23:45:25.759 mscorlib: Exception while executing function: Functions.FormatEmail. mscorlib: Could not load file or assembly '0 bytes loaded from Microsoft.Azure.WebJobs.Script, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format. Bad IL format. 
2017-04-01T23:45:25.791 mscorlib: Exception while executing function: Functions.FormatEmail. mscorlib: Could not load file or assembly '0 bytes loaded from Microsoft.Azure.WebJobs.Script, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format. Bad IL format. 
2017-04-01T23:45:25.916 mscorlib: Exception while executing function: Functions.FormatEmail. mscorlib: Could not load file or assembly '0 bytes loaded from Microsoft.Azure.WebJobs.Script, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format. Bad IL format. 
2017-04-01T23:45:25.979 Function started (Id=ac8c2552-e697-4e65-bd1a-33e5b9a3b802) 
2017-04-01T23:45:25.979 Function completed (Failure, Id=ac8c2552-e697-4e65-bd1a-33e5b9a3b802) 
2017-04-01T23:45:26.073 mscorlib: Exception while executing function: Functions.FormatEmail. mscorlib: Could not load file or assembly '0 bytes loaded from Microsoft.Azure.WebJobs.Script, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format. Bad IL format. 
2017-04-01T23:45:26.104 Exception while executing function: Functions.FormatEmail. mscorlib: Could not load file or assembly '0 bytes loaded from Microsoft.Azure.WebJobs.Script, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format. Bad IL format. 

回答

0

您可能會混合32位和64位組件,這些組件會被複制到您的功能應用程序。確保你建立的配置完全相同。