deployment asp.net: No overload for method 'UpdateBookInfo' takes '5' arguments
I already published my client's site and I received problem during loading page.
Here's the error.
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1501: No overload for method 'UpdateBookInfo' takes '5' arguments
Source Error:
Line 33: //Update Book Info
Line 34: Book BookProcess = new Book();
Line 35: BookPr开发者_JAVA百科ocess.UpdateBookInfo(SKU, Title, Description, Price, Status);
Line 36:
Line 37: //Update Book Picture
Look at the UpdateBookInfo() method signature - if you code is compiling locally then it should work after you deploy it. If you are using the publish from VS, make sure to change the version in AssemblyInfo.cs if the site is configured to precompile.
精彩评论