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

[Solved] Could not load file or assembly 'Telerik.Web.UI...

4 Answers 199 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Darren
Top achievements
Rank 1
Darren asked on 14 Jun 2009, 07:49 AM
Greetings, sorry to bring this issue up again. I have been researcing it for much too long now and need to ask for help.

I am demo'ing the RadControls for ASP.NET AJAX and have run into this error on my server. I am developing on a Vista Laptop with MS Visual Web Developer 2008 Express (demo'ing that too) and the trial version of RadControls. I have written a very excellent program that runs fine on my computer. The problem is when I build the site and upload the files to my server. It's like IIS cannot locate the telerik dlls in the /Bin folders.

Other Info:
I have a website set up under IIS with the /Bin folder in the root directory. My files I am playing with are also located in this directory. I have ASP.NET v3.5 installed. I found a forum about adding the dlls into the GAC but when I try to do that, it tells me the names aren't "strong."

Does anyone have a clue what I am doing wrong? I'm a programmer really so I am sure I've forgotten something or bumbled something up on the server. Any help and direction would be greatly appreciated.

4 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 15 Jun 2009, 07:22 AM
Hello Darren,

Do you have Telerik.Web.UI.dll copied in the bin folder of your web server? Also you should not be getting strong name errors for Telerik.Web.UI.dll. Perhaps you are trying to add the assemblies of your application in GAC. This is not required nor is adding Telerik.Web.UI.dll in GAC. You need to make sure the dll is in the bin folder of the web site.

Regards,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Darren
Top achievements
Rank 1
answered on 15 Jun 2009, 09:27 PM

Thanks for the reply. Perhaps the location of my BIN folder is the problem then. I currently have it in the root folder of the website:

SITE STRUCTURE
> Bin
    > Telerik.Web.Design.dll
    > Telerik.Web.UI.dll
> Images
    > image1.gif
    > ...
> default.aspx
> default.aspx.vb
> web.config

Is that correct? If it is, it's like IIS doesn't know to look in the BIN folder for the DLL or something. It's all working fine on my laptop (development environment) but not on my server (live environment). I installed the .exe version of the web controls demo in both environments. The only other difference I can think of is that I do NOT have MS Visual Web Developer installed on the live server where the problem is occurring.

 

I am loving the webcontrols by the way and will surely be purchasing them soon. It's amazing how simple everything is. Thanks for all of your hard work!

0
Accepted
Paul
Telerik team
answered on 16 Jun 2009, 08:21 AM
Hello Darren,

Please refer to the following help articles that might help you to resolve the problem

Deploying RadControls on Shared Hosting
Troubleshooting deployment on the production server
Registering the HttpHandlers on Windows Vista IIS 7 Integrated mode

All the best,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Darren
Top achievements
Rank 1
answered on 17 Jun 2009, 01:54 AM

After some modifcations and advances in my program, I decided to upload the new files and try it again. Low and behold, it works. I am thinking that although the site was building, there were some items listed in the errors window that were having issues. I know that I fixed those errors so perhaps that is what was causing the problem? I'm not sure exactly -- just trying to close the loop for anyone else having a similar issue. The problem was not solved by any server changes or modifcations to the web.config file. It must have been something in the code itself. Go figure.

 

Thanks very much for the help Albert and Paul. This is a great tool!

 

Regards,

Darren

Tags
General Discussions
Asked by
Darren
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Darren
Top achievements
Rank 1
Paul
Telerik team
Share this question
or