using windows controls in web applications
-
We have a web application, in which we use windows custom controls. When we access the page, it downloads the controls and executes locally. We are getting a security violation exception if we try to communicate with the SQL Server from this control. We went to the .NET Framework Configuration and added a local intranet zone with full trust in Local Machine/Code Groups. We develop our applications using .NET Framework 1.0. But the latest windows updates download and install Framework 1.1 in client machines and after that the security settings we made using .NET Framework 1.0 configuration is not respected. Now we have to do it using .NET Framework 1.1 COnfiguration. This is a tough job to go and do it in all existing client machines. Is is there a way I can specify in the windows control libraries that it should run using the .NET 1.0 security policy ? I tried using the supportedRuntime tag in the web.config of the asp.net application. But this didn't help in case of the windows controls which are downloaded locally to the client machines . Thanks for your time. :zzz:----------------------------------------------------------------------:(( T Manjaly C# Tutorials and samples : http://www.dotnetspider.com