[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

JScript Runtime error: Member Not Found

Posted on 2010-04-01
13
Medium Priority
?
1,424 Views
Last Modified: 2012-05-09
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

0
Comment
Question by:THEtechadmin
  • 8
  • 5
13 Comments
 
LVL 41

Expert Comment

by:Kyle Abrahams
ID: 29821173
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
 

Author Comment

by:THEtechadmin
ID: 29834151
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
 
LVL 41

Expert Comment

by:Kyle Abrahams
ID: 29905764
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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 

Author Comment

by:THEtechadmin
ID: 29917543
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
 
LVL 41

Expert Comment

by:Kyle Abrahams
ID: 29932380
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
 

Author Comment

by:THEtechadmin
ID: 30725308
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
 

Author Comment

by:THEtechadmin
ID: 30865950
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
 
LVL 41

Accepted Solution

by:
Kyle Abrahams earned 2000 total points
ID: 30918891
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
 

Author Comment

by:THEtechadmin
ID: 30932095
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
 
LVL 41

Expert Comment

by:Kyle Abrahams
ID: 30933626
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
 

Author Comment

by:THEtechadmin
ID: 30936516
Ok, thanks, I will definetly try that and I'll let you know.

Thanks
0
 

Author Closing Comment

by:THEtechadmin
ID: 31763977
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
 

Author Comment

by:THEtechadmin
ID: 31195811
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

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …

590 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question