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

[Solved] Prometheus and VS 2008 problem with Telerik.Web.UI.dll

6 Answers 408 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 10 Dec 2007, 05:51 PM
if I create a new website and then try to drop any of the prometheus tools onto the page, the tools display an error:
 
"Error Creating Control - (RadControl)
Could not load file or assembly 'Telerik.Web.UI, Version=2007.2.1107, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies.  The system cannot find the file specified.

What's really weird is that I can change the settings in the properties window as if they showed up just fine.  I have verified that Telerik.Web.UI.dll is in the bin directory and it is the proper version as stated in the error message above ^^^.  If I right click the solution in the solution explorer and click rebuild solution it will come up with "Rebuild All Succeeded" with the controls on the page showing that error.   I am very confused??  Does anyone know what is going on?

6 Answers, 1 is accepted

Sort by
0
Iurii
Top achievements
Rank 1
answered on 11 Dec 2007, 12:41 AM
I had the same issue. The only solution I could find was to install Telerik.Web.UI.dll in your GAC on the development machine. This seems to work.
0
Jeff Beem
Top achievements
Rank 1
answered on 11 Dec 2007, 05:06 AM
I am also experiencing this.  Installing Telerik.Web.UI.dll in the GAC did nothing for me or my coworkers.  We spent an entire day on several different machines trying to get this to work with no success.  We tried dropping the scheduler on a page in our existing project and even tried it on a completely new project.  We've tried using the framework versions 2.0 and 3.5.  We've reinstalled VS 2008 and we've reinstalled Prometheus.  Nothing we've tried so far is working for us.  We're seeing this with the majority of the prometheus controls, but not all.  Anything having to do with dates has this problem (datepicker, calendar, etc.) as well as the masked textbox, etc. 

We really need a solution\workaround for this.
0
Konstantin Petkov
Telerik team
answered on 11 Dec 2007, 06:48 AM
Hello Guys,

First of all, we are deeply sorry to hear so big troubles using the Prometheus RadControls in VS2008 / FW 3.5 environment.

The Web.UI assembly depends only on Web.Design and Charting, which however should be added into GAC automatically when installing Prometheus. So if you use the same version of Telerik.Web.UI as the others from GAC, you should not experience the problem. Of course, you can always add references to the other assemblies manually in your projects. Please also check the projects web.config references.

We are aware of some problems when you don't have ASP.NET AJAX v1.0 installed so we will provide separate .dll-s as soon as possible.

I hope this information helps.

Sincerely yours,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
David
Top achievements
Rank 1
answered on 11 Dec 2007, 04:08 PM
Yeah, it's a GAC problem, as mentioned earlier in this post, at least it was for me.  I got this solution from Jeff Beem.  It has to be added manually.

open up VS 2008 command prompt, and do the following:

======================================
Command prompt window
======================================
C:\Program Files\Microsoft Visual Studio 9.0\VC> gacutil -i "C:\Program Files\Telerik\RadControls\ 'Prometheus' for ASPNET Q2 2007\Bin\Telerik.Web.UI.dll"
---------------------------------------------------------------------

of course between the quotes is the path of the Telerik.Web.UI.dll.  Above is the path if you installed it in the default directory that it provided you with in the installer.
0
Jeff Beem
Top achievements
Rank 1
answered on 11 Dec 2007, 04:17 PM
I said in my previous post that installing in the GAC did nothing for us, and that was true at the time.  However, this morning I installed in the GAC again and then manually added references to the files and that's when it started working.  I have a question, though.  Does this mean I have to deploy these files in the GAC or can I just have them in the \Bin directory?
0
Lini
Telerik team
answered on 20 Dec 2007, 12:06 PM
Hi,

You should be able to use just the Bin folder. Is your site running on Medium (or lower) trust level? The only difference between the GAC and the bin folder I see is that when the control is in the GAC, it runs under Full trust.

Regards,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
Iurii
Top achievements
Rank 1
Jeff Beem
Top achievements
Rank 1
Konstantin Petkov
Telerik team
David
Top achievements
Rank 1
Lini
Telerik team
Share this question
or