This is a migrated thread and some comments may be shown as answers.

How to: Install Telerik .Net 4.0 WebServer instructions

2 Answers 354 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joshua
Top achievements
Rank 1
Joshua asked on 08 Jul 2012, 06:12 PM
I'm posting this because I had a really hard time finding the exact documentation that would resolve the issues I was having.

The issue I was having is when I published my webapp to my webserver the telerik controls were not rendering and functioning properly. 

So for anybody who's having issues with .Net4.0 (perhaps on a stand alone server) here is how I resolved them.
Prerequisite:
Make sure Microsoft.net 4.0 is installed.
~ This install guide was created using Windows 2008 server R2 standard
(in lamest terms so of the x64 directories listed below might need to be changed to either 32/86)


Instructions:
  1. Install the "AutoMatic Installation" files on your webserver (login to www.telerik.com, -> account overview -> manage products -> download -> browse all product files -> Automatic installation)
  2. Install the "AutoMatic Installation" on your server (copy the file over or download it directly there)

------------------------------------------
This is where I got thrown a curve ball, i'm assuming that everything I need will be installed on the webserver, however this does not seem to be the case.

A few notes :
The directions here are accurate, however a bit misleading: http://www.telerik.com/help/aspnet-ajax/moss-deploying-radcontrols.html

What is misleading about these is the directions shown indicate a Share Point server, in my case I'm not using Share Point.  Also what is misleading is Visual Studio is not installed on my webserver. 

Also: The drag and drop feature for installation of GAC is not available in .Net 4.0, you must use the GACUTIL.exe from either the SDK or VS.  The correct directory for .Net4.0 GAC is "C:\Windows\Microsoft.NET\assembly"

Instructions (Part 2):

  1. Install Windows SDK found here: http://www.microsoft.com/en-us/download/details.aspx?id=8279
  2. When installation has been completed open up a command prompt "AS ADMINISTRATOR"
  3. in the command prompt type cd "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0 Tools\x64" hit enter
  4. in the command prompt type gacutil.exe -i "C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q2 2012\Bin40\Telerik.Web.UI.dll"

And that fixed all the problems for me!

What seemed to be the issue for the .net 4.0 GAC is installer only seemed to install Telerik.Web.Design in the .net4.0 GAC "C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Telerik.Web.Design"
I had to manually install ""C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Telerik.Web.UI".

Is this designed or a bug or a windows issue?  I chose to install all the aspx dlls (which included reporting) and they did install under the 2.0/3.5 GAC "C:\Windows\assembly".

However, the .Net 4.0 only installed the Telerik.Web.Design.


2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 13 Jul 2012, 11:55 AM
Hello,

The Telerik.Web.UI.dll is not installed in the GAC by the MSI installer on purpose. If it was deployed to the GAC, every time the user clicks the "Add a Reference"  button of Visual Studio, the Telerik.Web.UI assembly placed in the GAC will be listed and when selected the Telerik.Web.UI.dll will not be copied to the bin folder of the project. The missing assembly in the bin will introduce deployment problems, because when deployed to the production server the site will not contain the Telerik.Web.UI.dll and will throw errors that the assembly could not be found.

Best regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Ahmed
Top achievements
Rank 1
answered on 19 Dec 2017, 05:33 PM

It's a bit old post but for people like me struggling for same issue:

after all the above mentioned process Don't forget to resetiis

Tags
General Discussions
Asked by
Joshua
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Ahmed
Top achievements
Rank 1
Share this question
or