Geeks With Blogs
Wes Weeks

Running Windows Vista 64 bit, Sql Server 2008 on a remote server.  Using ASP.Net and the Report Viewer control on an asp.net page for a local report.  Was also using IIS to host the web site instead of using the web server built into Visual Studio 2008.

Searched and tried everything I could find on the net trying to fix this freaking error.  On a whim (and because I didn't know what else to do and was trying everything I could think of) changed the IIS 7.0 app pool to the classic app pool.  Angels came singing down from the sky and my report worked.

What a PITA!  Hope this post helps someone else.

Posted on Wednesday, January 21, 2009 4:15 PM | Back to top


Comments on this post: Microsoft JScript runtime error: RSClientController is undefined

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Your solution helped me. That was great timing as I was getting quite frustrated not knowing what's causing this. Having both 32 and 64bit around just seems to double the amount of bugs, imo.

Left by Jeff Tu on Feb 03, 2009 4:12 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
This solution also helped me. Thanks a lot. I owe you one
Left by Param Pavar on Mar 02, 2009 10:58 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
"Hope this post helps someone else"
It sure did! The classic app pool did the trick indeed.

Your post saved the day. Thank you very much.
Left by Lextendo on Mar 24, 2009 5:34 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Changing to classic mode wasn't an option for me (I'm using asp.net mvc). I fixed this by clicking on the application virtual directory in IIS7 and clicking on the 'Handler Mappings' section. Then 'Add Managed Handler'

Request path: Reserved.ReportViewerWebControl.axd

Type: Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

Name: Reserved.ReportViewerWebControl.axd

Once this was created, it worked fine in the Integraded mode AppPool
Left by Lunchy on Apr 14, 2009 4:15 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thanks, works like a charm.
Left by gcbrink on Apr 28, 2009 12:13 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thanks mate, this is realy helped me alot.

Left by ADI GERIMU on May 01, 2009 7:57 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Hey Lunchy - that was a million dollar comment, I'm also using ASP.NET MVC and had the same issue and now I'm good. Thanks again!!
Left by Carlos on May 06, 2009 2:18 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Worked for me too! Any idea why the difference? What's classic versus Integrated pool?
Left by Phil M on Jun 03, 2009 10:14 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thank you Lunchy, this frustrated me for hours.
Left by Normstorm on Jul 14, 2009 5:28 PM

# Microsoft JScript runtime error: 'Type' is undefined
Requesting Gravatar...
I'm facing the error when I try to create Ajax clientLibrary.js file on visual studio 2008. I just register namespace and class to check it. The error is :
Microsoft JScript runtime error: 'Type' is undefined
Left by Anil Kumar on Jul 15, 2009 3:36 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thanks a lot for putting this on the web :) it helped me.
Left by Loya on Sep 18, 2009 1:40 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Both solutions worked for me.. thanks mr. poster and lunchy!!!
Left by JR_G on Oct 16, 2009 1:23 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
very thanx man..this works
Left by Mohanish on Nov 04, 2009 7:27 AM

# DAVETİYE
Requesting Gravatar...
güzel davetiye örnekleri, davetiye modelleri, düğün davetiyeleri
Left by davetiye on Nov 05, 2009 6:08 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thanks..it worked for me too
Left by Sentil on Nov 09, 2009 1:28 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
It did not work for me. Actually recieved an error when trying to map it as if it does not exist. I installed the new version of rsclientprint and then unregistered it and since then I cannot run my reports. Where is this component rendered from or is it an activeX?
Left by Rob on Nov 11, 2009 9:26 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
I found my problem. It had to do with authentication. Once, authenticated, it worked. Simple fix...
Left by Rob on Nov 12, 2009 3:50 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
perfect......nice one thanx a lot
Left by noyee on Nov 16, 2009 8:59 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thank you for posting this, I was about ready to blow a gasket trying to figure this out.
Left by B2BigAl on Nov 19, 2009 1:53 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
i can confirm this worked for me as well.. thank you so much!
Left by nizdiz on Nov 30, 2009 11:44 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Lunchy, thanks very much for the solution!
Left by 917Stark on Jan 19, 2010 7:37 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
God bless the good souls ;-)
Left by MJ on Jan 20, 2010 12:29 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thank you! Thank you! Thank you!
Left by AmberCF on Jan 21, 2010 3:17 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
It solved issue and helped me lot.
Left by Raju Indukuri on Jan 24, 2010 8:34 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Yes angels came down for me tooooooooooo......... thanks
Left by Asha on Jan 28, 2010 8:43 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thank you very much indeed.
Left by Mo on Jan 29, 2010 9:26 AM

# Add Managed Handler
Requesting Gravatar...
Adding the following to your web.config file is equivalent to 'Handler Mappings' in the IIS GUI
<system.webServer>
<handlers>
<add name="Reserved.ReportViewerWebControl.axd" path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" preCondition="integratedMode" />
</handlers>
</system.webServer>
Left by Simply Tasteful on Feb 03, 2010 7:16 AM

# re: Add Managed Handler
Requesting Gravatar...
<system.webServer>
<handlers>
<add name="Reserved.ReportViewerWebControl.axd" path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" resourceType="Unspecified" preCondition="integratedMode" />
</handlers>
</system.webServer>
Left by Simply Tasteful on Feb 03, 2010 7:17 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thank you so muchhhh. It's work.
Left by Mee on Feb 04, 2010 11:17 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Tha helped me too. Thanks a lot!
Left by Marcell on Mar 09, 2010 7:46 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thanks. You just saved me countless hours.
Left by kar on Mar 16, 2010 7:57 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thanks. You're a star. Solved me problem.
Left by Karl on Mar 26, 2010 6:33 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
It works perfectly ..... thanks
Left by Saurabh on Apr 21, 2010 8:44 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thanks , Works Great
Left by Umesh on Apr 21, 2010 8:45 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Launchy's Handler Mapping approach worked for me!!!

Here is the post from above:

Changing to classic mode wasn't an option for me (I'm using asp.net mvc). I fixed this by clicking on the application virtual directory in IIS7 and clicking on the 'Handler Mappings' section. Then 'Add Managed Handler'

Request path: Reserved.ReportViewerWebControl.axd

Type: Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

Name: Reserved.ReportViewerWebControl.axd

Once this was created, it worked fine in the Integraded mode AppPool
Left by initdotd on Apr 22, 2010 1:11 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Yes worked for me as well the intial solution of changing the apppool to classic
Left by John Thomas on Jun 16, 2010 7:05 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thanks a lot, this helped me too :)
Left by Jitendra on Jul 19, 2010 1:12 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thanks for the solution
Left by Forex on Aug 04, 2010 7:29 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
thanx , you have revived me. let men not installing another server. and then downgarde it to 32 bit
Left by AAA on Aug 06, 2010 11:18 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thanks a lot. Both solutions work fine.
Left by MA on Aug 25, 2010 3:40 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thanks! Thanks! Thanks! Thanks! Thanks! Thanks! Thanks! Thanks! Thanks a lot!!!!!!! You rescue-me from hell!!!!
Left by Jluisrf on Sep 01, 2010 1:54 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thanks man, you're a genious, you saved my day!!!!!
Left by Lorenzos on Sep 20, 2010 5:45 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
thank you very very very much
Left by Ahmed Said on Sep 25, 2010 12:45 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Great Find! You saved me HOURS of work!!!! thanks a million!
Left by Dave Nicolas on Oct 05, 2010 6:14 PM

# Re:Add Managed Handler 2/3/2010 7:17 AM Simply Tasteful
Requesting Gravatar...
Thank you Mr Genious. You certainly saved lot of my time with your findings.
Left by Naresh Mittal on Oct 07, 2010 1:05 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
1.5 Months of banging my head... And this post fixed it!
Left by Drew on Nov 01, 2010 4:05 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
It helped me. thanks a lot.
Left by Arezou on Nov 03, 2010 10:14 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thank you! Thank you! Thank you! Saved us hours of grief!
Left by MrKazoo on Jan 12, 2011 4:17 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Awsome. Just installed all new stuff on a new laptop, got this issue. Thanks!
Left by Dan on Jan 26, 2011 8:26 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
This post really helped to quickly fix the problem. Thanks a lot.
Left by Kiran Kumar Appam on Feb 17, 2011 10:33 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Wow. This did work for me. Thanks a lot!!!!
Left by roadrunner on Apr 11, 2011 9:31 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Microsoft JScript runtime error: RSClientController is undefined
Left by hamid on Apr 19, 2011 11:52 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Perfecto - switching to the classic pool blew up other parts of our site, but adding the handler did the trick.
Left by Jeff Balcerzak on Jun 30, 2011 4:40 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
just change your app pool to .net classic that's all
Left by Carlos alejo on Jul 13, 2011 9:56 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
this has helped me too. thanks a lot
Left by waleed on Jul 18, 2011 4:11 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
after modifying the web.config file it is working fine.

<system.webServer>
<handlers>
<add name="Reserved.ReportViewerWebControl.axd" path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" resourceType="Unspecified" preCondition="integratedMode" />
</handlers>
</system.webServer>

Thanks.
Left by Mohammed Sayeed on Jul 28, 2011 3:21 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thank you very much!!!
It work!!!

<system.webServer>
<handlers>
<add name="Reserved.ReportViewerWebControl.axd" path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" resourceType="Unspecified" preCondition="integratedMode" />
</handlers>
</system.webServer>

Left by May on Aug 24, 2011 5:08 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
A negative mental attitude is so detrimental to your efforts that you are better off staying at home than venturing out into the world with it. It will only make you enemies and corrupt your good works and allinances.Do you want try on herve leger dresses. A lawyer who goes into court with best case in the word will convince neither judge nor jury if her attitude is negative.uggs on sale uk,everybody come on,don't lose this chance. What kind of confidence would you have in a sullen, pessimistic doctor, no matter how many degrees hang on the will? None! People simply will not tolerate a bad mental attitude.uggs canada sale is hot,What are you still hesitant?

Left by ugg canada on Sep 20, 2011 5:52 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
My reports are not working when it is taken through my application. It is showing the error as 'RSClientController is undefined ' But it is working from the report manager. I am using Windoes Server 2008 R2 Enterprise and SQL Server 2008. I tried the solutions provided here like adding the handlers in the web.config file.
Left by Regeesh on Oct 25, 2011 7:53 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
changing the applicaiton pool to classic app pool solved my problem. Thanks.
Left by Jyoti on Mar 01, 2012 1:06 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
I changed the applicaiton pool to classic app pool
This solved my problem. Thanks
Left by Jyoti on Mar 01, 2012 1:07 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
Thanks for the time you took investigating this. I think it's pretty clear, you definately helped a whole bunch of people!
Left by David Griebel on Jun 19, 2012 12:35 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
The 4/14/2009 4:15 PM Lunchy entry fixed it for my scenario. Thanks!
Left by Lenny Smith on Sep 24, 2012 2:02 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
thanks a lot..
I changed the applicatio pool identity to classic
this solved my issue.. :)
Left by Rahul R on Oct 22, 2012 6:31 AM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
You are the best. It helped!!!!
Left by Moussa Medjkoune on Nov 20, 2012 3:32 PM

# re: Microsoft JScript runtime error: RSClientController is undefined
Requesting Gravatar...
it worked! and saved lot of time. thanks
I found that when I did this change it came up with "404 - File or directory not found" error. To resolve this error I efer to following post
http://stackoverflow.com/questions/7578134/problem-in-running-net-framework-4-0-website-on-iis-7-0
Left by Ashley on Nov 20, 2012 8:18 PM

Your comment:
 (will show your gravatar)


Copyright © Wes Weeks | Powered by: GeeksWithBlogs.net