Showing posts with label extensions. Show all posts
Showing posts with label extensions. Show all posts

Monday, March 26, 2012

Ajax Toolkit issue with web deploy project in Visual Studio 2005

Error 157 Unable to copy file "C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AJAX Control ToolKit\SampleWebSite\Bin\zh-CHT\AjaxControlToolkit.resources.dll" to "C:\Documents and Settings\UserName\My Documents\Visual Studio 2005\Projects\TipWebCurrent\TipWeb\Bin\zh-CHT\AjaxControlToolkit.resources.dll". Access to the path 'C:\Documents and Settings\UserName\My Documents\Visual Studio 2005\Projects\TipWebCurrent\TipWeb\Bin\zh-CHT\AjaxControlToolkit.resources.dll' is denied. 1 1 TipWeb_deployProject

I am getting the above problem when I try and build my solution,(web deploy project specifically) is it as simple as changing the properties of the read-only access for each folder to false for each of the folders containing the dll's?


Yes, the directory that you are publishing to or at least the bin should have right access until you are done deploying, then make it read only again.


Yep, that was the main issue... Once I changed the permissions it worked like a charm!

:)

Wednesday, March 21, 2012

AJAX sys is undefined PLEASE HELP!

I just upgraded my site to ASP.NET AJAX EXTENSIONS 2.0 RC

I am getting an error in IE sys is undefined

I added the following line to the<httpHandlers> section of web.config

<

addverb="GET"path="ScriptResource.axd"type="Microsoft.Web.Handlers.ScriptResourceHandler"validate="false"/>

I am still getting this error in ie - the site works fine in FireFox.

Your help is appreciated.

Thank you

try this :

<

addverb="GET,HEAD"path="ScriptResource.axd"type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"validate="false"/>

I already have this line in my web.config.

I am still having the same problem. It still says sys is undefined in ie, firefox works just fine.

Here is the section of code from web.config:

<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
<add verb="GET" path="ScriptResource.axd" type="Microsoft.Web.Handlers.ScriptResourceHandler" validate="false"/>
</httpHandlers>

PLEASE HELP ME!!


I'm having the same issue. I just installed the controls today. My own apps fail trying to access "Sys", but also when I go to the main project page and look at the online demo, it also fails to work properly. It worked once on the first example on the list, but ever since then it fails with multiple scripting errors. It works fne in FireFox 2.01 though.

OS is 2000 Sp 4, browser is IE 6.0.2800.1106. (AFAIK I have all SP's installed, but I recently reinstalled IE because it would not let me turn on debugging at all.)

Regular ASP.Net AJAX seems to work fine.

If it wasn't the fact that the main site fails, I'd blame myself, but as that doesn't work for me, I'm lost!

Help! (indeed)


Removing this line resolved this error for me:

<

addverb="GET"path="ScriptResource.axd"type="Microsoft.Web.Handlers.ScriptResourceHandler"validate="false"/>