Ensure you have web.config file has necessary connections string.
Also, recommend you to revisit your code to see if there is any exceptions that may occur. You could introduce the try {} catch {} in your code to further understand.
The error code ideally is the exception code used internally by the CLR to represent most exceptions.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…