|
Rank: Newbie Groups: Member
Joined: 5/4/2012 Posts: 4
|
I tried to use the treeView control from EO. So: I installed the package (I use Visual Studio 2010), I added a reference to EO.Web controls. I added a reference also in the package assembly. That promoted the EO.Web to the GAC. I successfully deployed my code. When I tried to see my page I got the following error: "Could not load file or assembly 'EO.Web' or one of its dependencies. The system cannot find the file specified." What am I missing? Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
Just make sure EO.Web.dll is in your application's bin directory on your server.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 5/4/2012 Posts: 4
|
It is in the bin director as well. And in the bin/debug. It's everywhere ...
Thank you
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
In that case the version might be wrong, the file might be corrupted, etc. There is really no secret here. It askes for that file because it doesn't have it. Also I am not sure what you meant by "promoted the EO.Web to the GAC". In the simplest scenario GAC is not involved at all.
Thanks
|
|
Rank: Newbie Groups: Member
Joined: 5/4/2012 Posts: 4
|
Hi, I reinstalled the controls. The EO.Web.dll is everywere again and the problem still stays the same. I don't think the file is corrupted since I could all the controls in the toolbox and reference them in the code. By "Promoted to GAC" i meand put the EO.Web assembly to GAC. I did it by adding it to the project package and also separately (after uninstalling it) by using gacutil -i ...
I'm developing a Sharepoint Farm Solution but this should not make any difference vs basic ASP.net.
The version is 9.0.45.2 as I see it in the Reference Properties. How do I check if this is wrong?
Thanks?
|
|
Rank: Newbie Groups: Member
Joined: 5/4/2012 Posts: 4
|
Ok, I think I got it. Your assembly is a 32 bit. Sharepoint doesn't like 32 bit applications. If I enable the 32-bit applications in IIS it stops the sharepoint service completely. So the package is not 64-bit compatible.
Do you happen to have a 64-bit version of it. It might be usefull for others as well. Thanks,
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
Our DLL is for both 32 bit and 64 bit. It's a .NET DLL. The same DLL works for both x86 and x64.
You might want to get another programmer in your team that knows your project structure/SharePoint deployment environment much better than us to help you. From our point of view, the only reason it askes for that file is because it doesn't see that file and it always come down to that one way or another. So if you do not have EO.Web.dll 9.0.45.2 on your server, then you will get this error. If you have that DLL on your server but at the wrong place, you will get that error, if you have the file at the correct place but the file is corrupted, you will get that error; if you have the valid file in there but your application doesn't have sufficient permission to access it, you get that error....etc. It can go on and on but it all come down to the final point where your app don't see the file it needed. We've been in this business for years and there really isn't nothing more about this. So there is really nothing else we can tell you on this.
Version 9.0.45.2 is the latest version.
Thanks
|
|