Hi,
i have done this with RC1 and this had worked for me without problems.
Regards
Marc André
If you copy the binaries to your bin directory, you need to configure your application to run under Full trust. Then it should work.
Steve Marx:
... you need to configure your application to run under Full trust.
Hi Steve,
Why is Full Trust required?
I believe it's because ASP.NET AJAX requires reflection, but actually I'm not sure.
To run ASP.NET AJAX without installing it, what specific libraries will have to be copied to the bin directory?
Also,
Steve Marx:
... you need to configure your application to run under Full trust.
I've done a bit of reading but still am a bit fuzzy on the Full Trust topic, how does one configure Full trust? Is it basically giving the network service full privileges to the bin directory?
Check out the the Framework 2.0 Configuration Utility and its help. NTFS is unrelated to Code Access Security Policies.
Path is specific for .net 2.0, earlier versions also have MMC Config Snapins.
"%SystemDrive%\Program Files\Microsoft.NET\SDK\v2.0\Bin\mscorcfg.msc"
OK thanks, I got the full trust bit, but what exact dlls or files have to be copied to the site for it to run? (This is without installing AJAX directly.)
Thanks in advance.
Seeking_Knowledge:
OK thanks, I got the full trust bit, but what exact dlls or files have to be copied to the site for it to run? (This is without installing AJAX directly.)
Thanks in advance.
The DLL's usually in the path C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025
System.Web.Extensions.dll , System.Web.Extensions.Design.dll,AJAXExtensionsToolbox.dll
Regards.
AH only three of those?
So none of the files in "C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025\MicrosoftAjaxLibrary\System.Web.Extensions\1.0.61025.0\Release" ? Like these ".js" files? MicrosoftAjax.js etc. ?
Thanks again
I haven't got in an install on this machine. However, the DLL's are required to provide dynamic script generation based on the Page Class and I would assume that all the common JS files would be required to support any callout to those common objects by the dynamic script.
Since I am posting again, when considering Trust Levels in an ASP.Net App there are other configuration elements to consider specifically the the Trust Level as set in the web config and its associated security policy file.
No comments:
Post a Comment