I'm using NetAdvantage 10.2 with Visual Studio 2005. All worked fine for me this morning. About an hour ago, I attempted to switch one of my .aspx pages from source mode to design mode. Took forever to create each individual control. Went back to source mode and noticed the following mouseover message when I moused over the first line of source code:
"...\\ServerName\ProjectName\Index.aspx: ASP.NET runtime error: Could not load file or assembly 'Infragistics2.WebUI.UltraWebListBar.v10.2, Version=10.2.20102.1011, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417) .. "
I removed the reference and re-referenced which did not correct the problem. I rebooted my desktop which also did not correct the problem. I do not know of anything that I did since this morning that could have caused this error. Does anyone know of a possible solution?
Any help will be greatly appreciated as my development project is now unusable.
Hello megryan,
The mentioned by you exception is probably caused by code permissions of the assembly being referenced from a network share.
You can follow the approach shown in the following two articles and let me know if it works in your scenario:
http://marcoscavaleiro.blogspot.com/2006/11/failed-to-grant-minimum-permission.html
http://docs.adxstudio.com/Default.aspx?DN=225cf8b4-28eb-4742-b7d5-850823c59c07
Alex -
Thanks for the response. I took your suggestion and set the .NET Framework 2.0 Configuration LocalIntranet_Zone Permission Set setting to FullTrust. This resulted in the page controls building quickly and the mouseover message I referenced above went away. Regrettably, however, all Infragistics controls failed to build on the page and when I mouseover the first line of source code that attempts to register the UltraWebGrid assembly, a new message appears that states: " ... withEvents variable 'Header' conflicts with property 'Header' in the base class 'Page' and should be declared 'Shadows .. '. I don't recall having seen this before.
I changed the LocalIntraNet_Zone Permission Set setting back to LocalIntranet and am once again receiving the
Note: I have another project on the same server that uses Infragistics controls. I have the controls in a bin folder under this project. Both projects on the same server are giving me the error while referencing the Infragistics controls in their own bin folder. Furthermore, I have a project on a different server that uses Infragistics controls. The error is not appearing on that server.
Appreciate any further advice you can give me ...