Re: AJAX client script bug with validator

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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
.



Relevant Pages

  • RE: Web Part in GAC is cached
    ... Bin folder to hold my assemblies as opposed to the GAC when you recompile and ... > development SPS 2003 server, and the web part itself is functioning ... > assembly from the GAC, reinstall it to the GAC, and then run IISRESET. ...
    (microsoft.public.sharepoint.portalserver.development)
  • RE: 404 Not Found
    ... Can a config file possibly tell it not to look in hte GAC? ... what's the current trustLevel of your ASP.NET webservice on the server ... >> whether it is client side related..... ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: 404 Not Found
    ... the GAC are getting reused from run to run; ... > you can also copy your webservice to another server to see whether it will ... >> Microsoft Online Support ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Exporting & Installing WebParts
    ... Now this installs the assembly into the gac and sets up the web.config file ... correctly and the webpart shows up in the Virtual Server Gallery. ... > edit the web.config file to grant Trust to the assembly. ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Install an assembly to GAC on a remote server
    ... But your statement confuses me a bit: "I am searching for a way to install ... > server, because the program runs only on one BT server and has to register ... > the assemblies to the GAC on both machines." ... there is no need to have the assemblies present in the GAC on the "other" ...
    (microsoft.public.biztalk.general)