Wes Weeks

  Home  |   Contact  |   Syndication    |   Login
  21 Posts | 1 Stories | 109 Comments | 3 Trackbacks

News

Archives

Post Categories

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.

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted on Wednesday, January 21, 2009 4:15 PM

Feedback

# re: Microsoft JScript runtime error: RSClientController is undefined 2/3/2009 4:12 PM Jeff Tu
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.



# re: Microsoft JScript runtime error: RSClientController is undefined 3/2/2009 10:58 PM Param Pavar
This solution also helped me. Thanks a lot. I owe you one

# re: Microsoft JScript runtime error: RSClientController is undefined 3/24/2009 5:34 AM Lextendo
"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.

# re: Microsoft JScript runtime error: RSClientController is undefined 4/14/2009 4:15 PM Lunchy
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

# re: Microsoft JScript runtime error: RSClientController is undefined 4/28/2009 12:13 PM gcbrink
Thanks, works like a charm.

# re: Microsoft JScript runtime error: RSClientController is undefined 5/1/2009 7:57 PM ADI GERIMU
Thanks mate, this is realy helped me alot.



# re: Microsoft JScript runtime error: RSClientController is undefined 5/6/2009 2:18 PM Carlos
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!!

# re: Microsoft JScript runtime error: RSClientController is undefined 6/3/2009 10:14 PM Phil M
Worked for me too! Any idea why the difference? What's classic versus Integrated pool?

# re: Microsoft JScript runtime error: RSClientController is undefined 7/14/2009 5:28 PM Normstorm
Thank you Lunchy, this frustrated me for hours.

# Microsoft JScript runtime error: 'Type' is undefined 7/15/2009 3:36 AM Anil Kumar
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


# re: Microsoft JScript runtime error: RSClientController is undefined 9/18/2009 1:40 PM Loya
Thanks a lot for putting this on the web :) it helped me.

# re: Microsoft JScript runtime error: RSClientController is undefined 10/16/2009 1:23 AM JR_G
Both solutions worked for me.. thanks mr. poster and lunchy!!!

# re: Microsoft JScript runtime error: RSClientController is undefined 11/4/2009 7:27 AM Mohanish
very thanx man..this works

# DAVETİYE 11/5/2009 6:08 AM davetiye
güzel davetiye örnekleri, davetiye modelleri, düğün davetiyeleri

# re: Microsoft JScript runtime error: RSClientController is undefined 11/9/2009 1:28 AM Sentil
Thanks..it worked for me too

# re: Microsoft JScript runtime error: RSClientController is undefined 11/11/2009 9:26 AM Rob
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?

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

# re: Microsoft JScript runtime error: RSClientController is undefined 11/16/2009 8:59 PM noyee
perfect......nice one thanx a lot

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

# re: Microsoft JScript runtime error: RSClientController is undefined 11/30/2009 11:44 AM nizdiz
i can confirm this worked for me as well.. thank you so much!

# re: Microsoft JScript runtime error: RSClientController is undefined 1/19/2010 7:37 PM 917Stark
Lunchy, thanks very much for the solution!

# re: Microsoft JScript runtime error: RSClientController is undefined 1/20/2010 12:29 PM MJ
God bless the good souls ;-)

# re: Microsoft JScript runtime error: RSClientController is undefined 1/21/2010 3:17 PM AmberCF
Thank you! Thank you! Thank you!

# re: Microsoft JScript runtime error: RSClientController is undefined 1/24/2010 8:34 PM Raju Indukuri
It solved issue and helped me lot.

# re: Microsoft JScript runtime error: RSClientController is undefined 1/28/2010 8:43 AM Asha
Yes angels came down for me tooooooooooo......... thanks

# re: Microsoft JScript runtime error: RSClientController is undefined 1/29/2010 9:26 AM Mo
Thank you very much indeed.

# Add Managed Handler 2/3/2010 7:16 AM Simply Tasteful
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>


# re: Add Managed Handler 2/3/2010 7:17 AM Simply Tasteful
<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>


# re: Microsoft JScript runtime error: RSClientController is undefined 2/4/2010 11:17 PM Mee
Thank you so muchhhh. It's work.

# re: Microsoft JScript runtime error: RSClientController is undefined 3/9/2010 7:46 AM Marcell
Tha helped me too. Thanks a lot!

# re: Microsoft JScript runtime error: RSClientController is undefined 3/16/2010 7:57 PM kar
Thanks. You just saved me countless hours.

# re: Microsoft JScript runtime error: RSClientController is undefined 3/26/2010 6:33 AM Karl
Thanks. You're a star. Solved me problem.

# re: Microsoft JScript runtime error: RSClientController is undefined 4/21/2010 8:44 AM Saurabh
It works perfectly ..... thanks

# re: Microsoft JScript runtime error: RSClientController is undefined 4/21/2010 8:45 AM Umesh
Thanks , Works Great

# re: Microsoft JScript runtime error: RSClientController is undefined 4/22/2010 1:11 PM initdotd
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

# re: Microsoft JScript runtime error: RSClientController is undefined 6/16/2010 7:05 AM John Thomas
Yes worked for me as well the intial solution of changing the apppool to classic

# re: Microsoft JScript runtime error: RSClientController is undefined 7/19/2010 1:12 AM Jitendra
Thanks a lot, this helped me too :)

# re: Microsoft JScript runtime error: RSClientController is undefined 8/4/2010 7:29 AM Forex
Thanks for the solution

# re: Microsoft JScript runtime error: RSClientController is undefined 8/6/2010 11:18 PM AAA
thanx , you have revived me. let men not installing another server. and then downgarde it to 32 bit

# re: Microsoft JScript runtime error: RSClientController is undefined 8/25/2010 3:40 PM MA
Thanks a lot. Both solutions work fine.

# re: Microsoft JScript runtime error: RSClientController is undefined 9/1/2010 1:54 PM Jluisrf
Thanks! Thanks! Thanks! Thanks! Thanks! Thanks! Thanks! Thanks! Thanks a lot!!!!!!! You rescue-me from hell!!!!


# re: Microsoft JScript runtime error: RSClientController is undefined 9/20/2010 5:45 AM Lorenzos
Thanks man, you're a genious, you saved my day!!!!!

# re: Microsoft JScript runtime error: RSClientController is undefined 9/25/2010 12:45 PM Ahmed Said
thank you very very very much

# re: Microsoft JScript runtime error: RSClientController is undefined 10/5/2010 6:14 PM Dave Nicolas
Great Find! You saved me HOURS of work!!!! thanks a million!

# Re:Add Managed Handler 2/3/2010 7:17 AM Simply Tasteful 10/7/2010 1:05 AM Naresh Mittal
Thank you Mr Genious. You certainly saved lot of my time with your findings.

# re: Microsoft JScript runtime error: RSClientController is undefined 11/1/2010 4:05 PM Drew
1.5 Months of banging my head... And this post fixed it!

# re: Microsoft JScript runtime error: RSClientController is undefined 11/3/2010 10:14 AM Arezou
It helped me. thanks a lot.

# re: Microsoft JScript runtime error: RSClientController is undefined 1/12/2011 4:17 PM MrKazoo
Thank you! Thank you! Thank you! Saved us hours of grief!

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

# re: Microsoft JScript runtime error: RSClientController is undefined 2/17/2011 10:33 AM Kiran Kumar Appam
This post really helped to quickly fix the problem. Thanks a lot.

# re: Microsoft JScript runtime error: RSClientController is undefined 4/11/2011 9:31 AM roadrunner
Wow. This did work for me. Thanks a lot!!!!

# re: Microsoft JScript runtime error: RSClientController is undefined 4/19/2011 11:52 PM hamid
Microsoft JScript runtime error: RSClientController is undefined

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

# re: Microsoft JScript runtime error: RSClientController is undefined 7/13/2011 9:56 AM Carlos alejo
just change your app pool to .net classic that's all

# re: Microsoft JScript runtime error: RSClientController is undefined 7/18/2011 4:11 AM waleed
this has helped me too. thanks a lot

# re: Microsoft JScript runtime error: RSClientController is undefined 7/28/2011 3:21 AM Mohammed Sayeed
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.

# re: Microsoft JScript runtime error: RSClientController is undefined 8/24/2011 5:08 AM May
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>



# re: Microsoft JScript runtime error: RSClientController is undefined 9/20/2011 5:52 AM ugg canada
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?



# re: Microsoft JScript runtime error: RSClientController is undefined 10/25/2011 7:53 AM Regeesh
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.

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: