JScript Runtime error: Member Not Found

Hi experts,
I have an ASP.NET application that has a GridView inside an UpdatePanel. I also have an animation effect attached to this UpdatePanel so whenever a postback is generated from the gridview, the user has an idea that something is going on and need to wait for a moment.
The application works fine when I run it on my computer, but when I move it to the production server, it keeps giving me the Jscript Runtime error: “Member Not Found”.
I am convinced that the cause of this is the animation because when I turn it off, I don’t have the error anymore.
But, what is braking my head is the fact that it runs fine on my computer.
I compared the programs installed in my computer and the server and the only ones I am missing at the server are:
- Microsoft Visual Web Developer 2008 Express Edition with SP1 - ENU
- Microsoft Visual Studio Web Authoring Components
-  Microsoft Windows SDK for Visual Studio 2008 SP1 Express Tools for Web – ENU

Can anybody give me an advice on what could be causing the problem?

Thanks in advance…
P.S. I am attaching my animation code bellow...

<cc1:UpdatePanelAnimationExtender ID="UpdatePanelAnimationExtender1" runat="server" TargetControlID="UpdatePanelGrid">
            <Animations>
                  <OnUpdating>
                                       <Sequence>
                                           <StyleAction Attribute="overflow" Value = "hidden"></StyleAction>
                                              <Parallel Duration = "0" Fps = "30">
                                                  <FadeOut AnimationTarget="GridView1" minimumOpacity="0.5"></FadeOut>
                                              </Parallel>
                                       </Sequence>
                                    </OnUpdating>
                                    <OnUpdated>
                                            <Sequence>
                                                <Parallel Duration = "0" Fps="30">
                                                    <FadeIn  AnimationTarget="GridView1" minimumOpacity ="0.5"></FadeIn>
                                                </Parallel>
                                            </Sequence>
                                    </OnUpdated>
                               </Animations>
    </cc1:UpdatePanelAnimationExtender>

Open in new window

THEtechadminAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kyle AbrahamsSenior .Net DeveloperCommented:
Ensure you're running the same version of ajax / .net / any other components.

You may need to install the runtimes (not the actual SDKs, just the files that are needed to run what you wrote) in order to get that to work.  

This is definitely an enviornment issue though, not a coding issue.
0
THEtechadminAuthor Commented:
Hi ged325,
Thanks for your answer.
I am a little confused about what is that I would need to install at the server though.
I checked both systems and both have installed Microsoft ASP.Net 2.0 AJAX Extensions 1.0. The animation I am using is part of the AJAX Control ToolKit framework 3.5, which I didnt installed in my system, all I did was to copy the folder where the dlls I needed were and then make a reference to them from inside Visual Web Developer .

Trying to follow what you said, I copied this folder to the server, but still doesn't work.

Maybe you could give me an idea of where to look for these runtimes you mentioned. Obviously I am doing somthing wrong.

Thanks in advance...
0
Kyle AbrahamsSenior .Net DeveloperCommented:
Where did you copy them?

I would recommend for testing to put them in the GAC.

run ->  %windir%\assembly  
drop and drag DLLs into the popup box.

0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

THEtechadminAuthor Commented:
I copied them to C:\Program Files\AjaxControlToolKits\...
Forgive my ignorance, but what is the GAC?
I runned the command you subjested to get the assemblies and I have been trying to find what is missing in the server. There is a total of 75 assamblies missing, but most of them are VS2008 dlls. Some of them are .NET framework, but related to J#. I coudln't see anything missing that were related to AJAX or JScript.
Do you think I need to install VS2008, or at least VSWD Express edition in the server?

0
Kyle AbrahamsSenior .Net DeveloperCommented:
you shouldn't need to, but if the dlls are missing you may run into issues.

The GAC stands for global assembly cache.

Essentially there is a certain root that .net looks for DLLs.  (First being local application path, sub folders, etc.)  The final answer is the GAC, if it can't find it anywhere else, it will check there to see if it can find the reference before returning an error.  The reason why I say GAC it is because permissions are already setup and it will isolate that you are definitely missing DLLs and not anything else.

0
THEtechadminAuthor Commented:
Is there a way for me to check if I have the dlls in GAC? At this point, I am kind of  confused and not sure in how to proceed to add the missing files to the server.
Could you suggest something?

Thanks,
Al
0
THEtechadminAuthor Commented:
I checked the assemblies on muy GAC  of both, my PC and the server using:
gacutil /l

The server has 78 assemblies installed and my system has 109. I tried to find an assambly related to AJAX, because the error is related to the Ajax animation I use, but there is nothing  in either system.
I guess I need to search one by one to see what is missing right?

Please, let me know if you have any better idea..
Thanks,
Al
0
Kyle AbrahamsSenior .Net DeveloperCommented:
Unfortunately that's going to be a real pain in the neck, but sometimes it needs to be done.  

You could try using sys internals to see what dlls are loaded when hitting your worker process.  May save you some time, assuming this is a reference issue.  Can you post your code or subset of it?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
THEtechadminAuthor Commented:
SysInternals sounds a good approach to find about the dlls I am missing.
How could I do that though. I did a little research and I found out that I have do download the utility? is this correct? Could you start me up in how to use this tool?
I am going to create a sample code for you to check it out. It might help me also to understand better where the problem is as I need to reproduce the same error message...

Thanks,

0
Kyle AbrahamsSenior .Net DeveloperCommented:
You must download the utility . . . it's fairly straight forward.  You should attach to a process (iexplore) and then sys interanls does it's magic, telling you what DLLs it's trying to reference.  It could be a security issue or the file isn't there.  See which DLL is the last to be loaded on the server and see which ones are loaded after that point on your local.

0
THEtechadminAuthor Commented:
Ok, thanks, I will definetly try that and I'll let you know.

Thanks
0
THEtechadminAuthor Commented:
SysInternals was the solution. I runned the utility on the server and on my PC and I found out that the JScript.DLL version running on the server was not the most updated one. On my PC I had JScript 5.7.6.002 and on the Server I had JScript 5.6.0.8. I realized that the way to update the dll on the server was upgrading the IE version, which was IE6. So I installed IE7 and the problem was solved. Thanks a million
0
THEtechadminAuthor Commented:
SysInternals was the solution. I runned the utility on the server and on my PC and I found out that the JScript.DLL version running on the server was not the most updated one. On my PC I had JScript 5.7.6.002 and on the Server I had JScript 5.6.0.8. I realized that the way to update the dll on the server was upgrading the IE version, which was IE6. So I installed IE7 and the problem was solved.

Thanks a million.

Al
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
AJAX

From novice to tech pro — start learning today.