Welcome Guest Search | Active Topics | Sign In | Register

OE.Web Control Error Options
MWRivera
Posted: Saturday, February 20, 2010 4:29:32 PM
Rank: Newbie
Groups: Member

Joined: 2/20/2010
Posts: 4
Hi All

After downloading and installing the EO.Web controls I added a DatePicker to one of my ASP.NET pages, using VS 2005. After doing that I get the following error:

“Element 'DatePicker' is not a known element. This can occur if there is a compilation error in the Web site.”

I also tried other contorls as a test i.e. The Calendar control, but recieved the same error.

Does anyone know the reason I would be receiving this error message?

I’ve double checked the following:
1. The EO.Web.dll file is in the bin folder of my application.
2. The EO.Web controls install added the EO.Web reference and list of OE.Web tools to my VS Enviroment.
3. The following header is at the top of the ASP.Net page I’m adding the DatePicker control to:
<%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %>

I did notice though that even though the demo url (http://localhost:1446/EOWebDemo/Default.aspx) opens with no problems the Live Demos that were added during the install don’t work correctly.

Any help on this would be really appreciated.

Thanks
Code: C#
eo_support
Posted: Saturday, February 20, 2010 4:58:34 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Make sure your project is a local project. Otherwise Visual Studio may not be able to load EO.Web.dll due to permission issue. In that case you can try to add EO.Web.dll into your GAC. Once added into GAC, you can then reference the control from GAC and that should solve the permission problem for you.

I do not know why the Live Demos does not work. Can you provide more information such as detailed error message? You can also load the sample project directly with Visual Studio by going to Start -> All Programs -> EO.Web Controls 7.0 (2009) -> EO.Web for ASP.NET 2.0 & Above -> Live Demo -> Live Demo Source Code.

Thanks!
MWRivera
Posted: Saturday, February 20, 2010 5:18:14 PM
Rank: Newbie
Groups: Member

Joined: 2/20/2010
Posts: 4
Hi there,

Thank you for the fast reply.

The project is on one of our servers, which I'm unable to change. I'm developing the application from my mahcine however which is in the same domain as the server. Would this be causing the problem? If so is there anyway around it? Sorry what is GAC and how would I add the ddl file to it?

Please let me know where I can find a more detailed error message to provide you with and i'll post it right away, thanks.

Thanks for your help with this.

Mel
eo_support
Posted: Saturday, February 20, 2010 5:32:10 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
MWRivera wrote:
The project is on one of our servers, which I'm unable to change. I'm developing the application from my mahcine however which is in the same domain as the server. Would this be causing the problem? If so is there anyway around it? Sorry what is GAC and how would I add the ddl file to it?

That explains why. GAC is global assembly cache. If you are interested in knowning what it is, you can search online and you should be able to find plenty of information about it.

Here is a more information on how to add our DLL to GAC:

http://doc.essentialobjects.com/library/1/installationanddeployment/gac.aspx

Note you may need to download .NET 2.0 SDK in order to have "Microsoft .NET Framework 2.0 Configuration" in your "Administrative Tools".

Once you add your control to GAC, you would delete the existing EO.Web entry from your project -> References, then add it again, but this time choose the DLL from the ".NET". After that your project will try to load the DLL from GAC instead of from your bin folder.

Steps for adding a DLL to GAC or referencing a DLL from GAC are the same for everyone. It's a .NET thing so there is nothing particular as to our product. Thus you can find any article online on this topic (there should be plenty) and follow it if you are still not clear about how to do it.

MWRivera wrote:
Please let me know where I can find a more detailed error message to provide you with and i'll post it right away, thanks.

You mentioned "Live Demos that were added during the install don’t work correctly". We do not know how it does not work for you. So you will need to tell us that first.

Thanks!
MWRivera
Posted: Saturday, February 20, 2010 8:10:08 PM
Rank: Newbie
Groups: Member

Joined: 2/20/2010
Posts: 4
Thank you for the information after adding the DLL file to the GAC and carrying out some additional steps i was able to include the DatePicker control with no errors.

Thanks again.
eo_support
Posted: Saturday, February 20, 2010 8:22:15 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
You are very welcome. Glad to hear everything is working for you. Please feel free to let us know if you have any more questions.
MWRivera
Posted: Sunday, February 21, 2010 1:36:30 PM
Rank: Newbie
Groups: Member

Joined: 2/20/2010
Posts: 4
I was under the impression that the DatePicker control was one of your free controls. I guess not. A great app and very good/timly support doesn't come for free I guess. It's a shame I won't be able to use it.
eo_support
Posted: Sunday, February 21, 2010 1:58:43 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Sorry about the confusion. Unfortunately no, as you have correctly concluded, great app and support does not come for free. We would not be able to afford it even if we would like to. Sorry about that!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.