|
-
Feb 7th, 2009, 03:46 AM
#1
Re: Ajax / LoadBalancing / and the ScriptResource.axd File
The /mysite/ seems to be using the virtual directory name in the path. This may mean that you have the same problem as this guy -
http://plainoldstan.blogspot.com/200...sourceaxd.html
His solution was to give both paths to the application on both servers the same virtual directory name.
-
Feb 7th, 2009, 12:20 PM
#2
Thread Starter
Fanatic Member
Re: Ajax / LoadBalancing / and the ScriptResource.axd File
I thought that too but my virtual directories are exactly the same on both machines.
-
Feb 9th, 2009, 07:52 PM
#3
Thread Starter
Fanatic Member
[Resolved] Re: Ajax / LoadBalancing / and the ScriptResource.axd File
[RESOLVED] Turns out that .net 2.0 added a "t" parameter to the path for the ScriptResource.axd file, so that had to match across servers.
-
Jun 15th, 2009, 08:53 PM
#4
New Member
Re: [RESOLVED] Ajax / LoadBalancing / and the ScriptResource.axd File
How did you make sure that 't'e paramters are same in all servers.
Did you add it to another server as well ?
-
Jun 17th, 2009, 09:42 AM
#5
Thread Starter
Fanatic Member
Re: [RESOLVED] Ajax / LoadBalancing / and the ScriptResource.axd File
Since the "t" parameter relates to the LastModifiedDate on the System.Web.Extensions.dll in the GAC, you must make sure that the date matches across the servers.
You can view the dates using this (which also will show you the path):
Code:
Dim strFilePath As String = "C:\WINDOWS\assembly\gac_msil\system.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll"
Dim strFilePath2 As String = "C:\WINDOWS\assembly\gac_msil\System.Web.Extensions.Design\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.Design.dll"
MessageBox.Show("DT: " & File.GetLastWriteTime(strFilePath).ToString() & " || Design file: " & File.GetLastWriteTime(strFilePath2).ToString())
So just set them both to the exact same datetime and you should be good to go.
-
Jun 17th, 2009, 01:55 PM
#6
New Member
Re: [RESOLVED] Ajax / LoadBalancing / and the ScriptResource.axd File
Thank you very much,
I did find out that modified dates were wrong as the AJAX Control Tool Kit assemblies were in GAC.
For a solution, I have put them on server's bin directory as copying them in bin directory does not change the modified date.
Not sure why putting the file in GAC would change the modified date to a date when it was placed there.
Anyway, I have a solution so its all fine.
Thanks again for your help
-
May 27th, 2015, 01:45 PM
#7
New Member
Re: [RESOLVED] Ajax / LoadBalancing / and the ScriptResource.axd File
I know this is an old thread, but I have the exact same issue in a W2k8 server cluster. An app deployed in both, using a load balancer.
when you say:
 Originally Posted by VBCrazyCoder
So just set them both to the exact same datetime and you should be good to go.
What do you mean exactly? How do I "set the last modified datetime" to those files in the GAC??
And.. the datetime has to match between System.Web.Extensions.dll and System.Web.Extensions.Design.dll? Or for those files between the servers??
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|