Re: AJAX client script bug with validator
- From: marss <marss.ua@xxxxxxxxx>
- Date: Mon, 11 Feb 2008 04:22:17 -0800 (PST)
On 11 Лют, 12:47, "Andrew Jocelyn" <j...@xxxxxxxxxxxxxxxxx> wrote:
The only difference I know of between
the 2 servers it that the System.Web.Extensions.dll is registered with the
GAC on the dev machine but is copied to the BIN folder on the production
server. Also the production server has never had any previous versions of
AJAX related dlls installed.
Just a few assumptions without pretension to strict accuracy :)
In web.config you set reference for file the System.Web.Extensions.dll
as
<assemblies>
<add assembly="System.Web.Extensions, Version=1.0.61025.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</assemblies>
It works fine if you have this dll installed in GAC because it is
installed in "v1.0.61025" folder and it is considered as a file
version. But on your development server the application looks through
its Bin folder and finds file System.Web.Extensions.dll which file
version is ... 1.0.61231.0 (it is the real file version for this
dll).
Possible solutions:
1. Change reference for the dll from GAC to a local file in Bin folder
and recompile the project.
2. Remove additional info from web.config, just leave <add
assembly="System.Web.Extensions"/>
I don't even know what is worse :)
It is just an assumption, I am not sure whether I am right.
Regards,
Mykola
http://marss.co.ua - Casual ideas for web development
.
- Follow-Ups:
- Re: AJAX client script bug with validator
- From: Andrew Jocelyn
- Re: AJAX client script bug with validator
- References:
- AJAX client script bug with validator
- From: Andrew Jocelyn
- RE: AJAX client script bug with validator
- From: "Walter Wang [MSFT]"
- Re: AJAX client script bug with validator
- From: Andrew Jocelyn
- AJAX client script bug with validator
- Prev by Date: Re: Global instance of an object
- Next by Date: Serving an image
- Previous by thread: Re: AJAX client script bug with validator
- Next by thread: Re: AJAX client script bug with validator
- Index(es):
Relevant Pages
|