开发者

After upgrading to .NET4, I get YSOD, when creating scriptManager

开发者 https://www.devze.com 2023-03-13 19:54 出处:网络
Recently, I upgraded an existing application to .NET4. It compiles and runs, but after login screen, when I get to the main page, I get a YSOD, stating:

Recently, I upgraded an existing application to .NET4. It compiles and runs, but after login screen, when I get to the main page, I get a YSOD, stating:

Could not load file or assembly     'Microsoft.Practices.EnterpriseLibrary.Configuration.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=开发者_运维百科31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 

The highlighted line is this

 <asp:ScriptManager ID="ScriptManager1" runat="server">

If I reload the page, it works like a charm, until the AppPool is restarted - then the story repeats.

Do any of you have any idea, why this could be happening?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号