Could not load type 'BusinessObjects.Enterprise.Provider.BOEMembershipProvi
I am using ASP.Net (.NET Framework 3.5) and VS 2010 and BOE XI 3.1 Server. I am trying to write a .NET WEB App and use BOE Membershipprovider class and keep getting this message. I have followed the steps mentioned in SAP BOE SDK Document and added provider info in WEB Config File and as soon as I hit Login Control's Submit button, It is throwing this message. Any help is greatly appreciated
Hello Srikanth,
From your post, I'm assuming:
1. You're developing a BusinessObjects Enterprise .NET SDK application.
2. You're not using the standalone Crystal Reports engine, specifically the Crystal Reports for Visual Studio 2010 engine.
3. You've installed the XI 3.1 BusinessObjects Enterprise .NET SDK MSI runtime installation package.
4. You've found that the runtime does not contain the BusinessObjects Enterprise Provider libraries.
That's expected, since the Provider is only installed with the BusinessObjects Enterprise installation media, and not with the MSI.
But I'll also ask you if the Provider is what you really need. The provider libraries just provides a data source into the BusinessObjects Enterprise file/folder structure - there is no UI component associated with them. In fact, the .NET InfoView doesn't use them.
My recommendation would be to use the BusinessObjects Enterprise .NET SDK directly, and develop the UI yourself, since the UI components are not available with the SDKs provided with the product.
Sincerely,
Ted Ueda
Similar Messages
-
Hi there,
I am new to developing with SharePoint and would like to create my first app for SP13 with VS12.
To run SP13 and VS12 on the same virtual machine. The SP Tools Developer I have also installed.
My problem:
I select the Project Wizard from VS12 to create a new app SP13 using provider hosted option. After the project is created I want to directly deploy (F5), and yet I always get the following error:
Error 1
Error occurred in deployment step 'Uninstall app for SharePoint': Could not load type 'Microsoft.SharePoint.Administration.SPAppInstanceErrorDetails' from assembly 'Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.
0 0
SharePointApp20132106
Does anybody advice?Please have a look at the below thread
http://social.msdn.microsoft.com/Forums/en-US/7b8a50ed-651d-4aa5-95f0-a551edb95550/sharepoint-hosted-app-deployment-error-in-sharepoint-2013-preview?forum=appsforsharepoint
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful -
My latest MVC 5 project built with VS 2013 compiled and works fine on my PC but can not be published to server using command line aspnet_compiler. I kept getting the web.config(132): error ASPCONFIG: Could not load type 'System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider'
In my web.config file, I have the following as suggested by many for solution:
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
However, the error is persisting. I have no clue how to fix this. Hope someone can help.Hello FredVanc,
As you mentions, it could work with your develop environment, so I am wondering it is that on the server machine, the assembly is not there actually. Here are some information I found which might be helpful:
https://support.microsoft.com/en-gb/kb/958975?wa=wsignin1.0
https://social.msdn.microsoft.com/Forums/en-US/1295cfa8-751b-4e9b-a7a7-14e1ad1393b6/compiling-error?forum=adodotnetentityframework
By the way, since this issue is related with ASP.ENT project, I suggest that you could post it to the ASP.NET forum, there are web experts will help you:
http://forums.asp.net/
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
UI Customisation Error - Could not load type ~.PlumHandler from assembly portal50
Setting up the .Net development portal for UI customisation (5.0.1). I get a clean build but when I try to run the portal I get the following error.
Server Error in '/portal' Application. <HR noShadeIZE=1>
Configuration ErrorDescription: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Could not load type com.plumtree.portaluiinfrastructure.activityspace.PlumHandler from assembly portal50.Source Error:
Line 10: </sessionState>
Line 11: <httpHandlers>
Line 12: <add verb="*" path="*.pt"
Line 13: type="com.plumtree.portaluiinfrastructure.activityspace.PlumHandler,portal50" />
Line 14: </httpHandlers>
Source File: C:\Program Files\plumtree\ptportal\5.0\webapp\portal\web.config[b] Line: 12
<HR noShadeIZE=1>
Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET Version:1.0.3705.288
Looking in class viewer there is no com.plumtree.portaluiinfrastructure.activityspace.PlumHandler class in the com.plumtree.portaluiinfrastructure.activityspace. Is there a class file missing ?Quick fix: Add the file "PlumHandler.cs" (found in the root of your portal webapp directory) to your portal50 project.
Proper fix: You should not be recompiling the entire UI and redeploying it, which is what you are doing (or you would not get that error).
You should create a new project, compile only the classes you want to modify into a new Assembly DLL file, add that new DLL to the webapp bin directory, and add that Assembly name to the CustomActivitySpaces.xml config file. (It should have the same format as ActivitySpaces.xml file.)
That way, you will not overwrite or delete standard portal classes, and you will also find it much easier to upgrade or apply patches in the future. -
Hi there,
I installed ColdfusionMX 7 on WIndows 2008 R2 Standard server. When I try to open the admin page , I Get the error:
Server Error in '/' Application.
Could not load type 'C:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll'.
Description:
An unhandled exception occurred during the execution of t@he current
web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.Web.HttpException: Could not load type 'C:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Could not load type 'C:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll'.]
System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +8926577
System.Web.Configuration.HandlerFactoryCache.GetHandlerType(String type) +21
System.Web.Configuration.HandlerFactoryCache..ctor(String type) +19
System.Web.HttpApplication.GetFactory(String type) +78
System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Exec ute() +229
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
Version Information: Microsoft .NET Framework Version:2.0.50727.5477; ASP.NET Version:2.0.50727.5483
Any idea what is causing this problem and how to fix it.
Thanks
Joe GreenI gave IIS AppPool\DefaultAppPool NTFS permissions to C:\CFusionMX7\runtime\lib\wsconfig\ folder. Under IIS 6 Management Compatibility, I installed IIS 6 Metabase Compatibility and IIS 6 Management Console installed. Web Server Configuration tool doesn't work because my IIS version is 7.5 and Supported versions are 4, 5 and 6. So I manually added using this article http://www.adobe.com/devnet/coldfusion/articles/iis-configuration.html but no luck.
I didn't add IIS 6 WMI Compatibility and IIS 6 Scripting Tools.
Is it because CF7 doesn't work on IIS 7.5 on Win 2008 R2 SP1? -
Hi,
When I open MTM 2013 I give the following error:
Application detected an unexpected fault
Could not load type 'Microsoft.TeamFoundation.TestManagement.Client.ITestPlanHelper2' from assembly 'Microsoft.TeamFoundation.TestManagement.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
I reinstall VS2013, reinstall the MTM but unsuccess.
Can anyone help
me?
TIA,
Pedro SoaresHi Pedro,
Glad to receive your reply.
As you said that the MTM2013 worked on your machine months ago, please tell me if you install some other third-patry tools on your
machine recently.
If yes, I doubt that maybe the
third-patry tools impact the MTM2013, so I suggest you can close all third-party tools
in your windows and then try to open it again check this issue.
In addition, I suggest you can
try to close the Anti-virus software or the firewall on your machine check this issue again.
If the above suggestion still could not help you, I suggest you try to download the
VS2013 Premium form Microsoft Website and then install it again.
Reference:
http://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx
Note: as the same time,
I suggest you can the VS2013 Update 4 check the issue again.
If possible, I suggest you can try to repair your operation system
would be better.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Trinidad error -- Could not load type properties in jdev11
Hi,
i am trying to run sample application "Build an End-to-End Web Application with ADF Faces and Oracle TopLink" at this url--
http://www.oracle.com/technology/obe/obe1013jdev/10131/10131_adftoplink/master-detail-edit_page_adf_toplink.htm
when i try to run .jspx in jdev11, it shows
Target URL -- http://127.0.0.1:8988/MDTopLink-UserInterface-context-root/deptEmp.jspx
Aug 23, 2007 7:50:55 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing JavaServer Faces implementation (1.2_03-b09) for context '/MDTopLink-UserInterface-context-root'
Aug 23, 2007 7:50:59 PM com.sun.faces.spi.InjectionProviderFactory createInstance
WARNING: JSF1033: Resource injection is DISABLED.
Aug 23, 2007 7:51:00 PM org.apache.myfaces.trinidad.component.UIXComponentBase _createType
SEVERE: Could not load type properties
java.lang.NullPointerException
at oracle.oc4j.loader.CompilingSearchPolicy.getClass(CompilingSearchPolicy.java:101)
at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1618)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1579)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1564)
at org.apache.myfaces.trinidad.component.UIXComponentBase._createType(UIXComponentBase.java:1409)
at org.apache.myfaces.trinidad.component.UIXComponentBase.<clinit>(UIXComponentBase.java:97)
at oracle.adfinternal.view.faces.renderkit.rich.DialogRenderer.<init>(DialogRenderer.java:34)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1095)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1168)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:566)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:454)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1259)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:833)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:433)
at com.evermind.server.Application.getHttpApplication(Application.java:693)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2039)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2022)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.getHttpApplication(HttpSite.java:1974)
at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:423)
at com.evermind.server.http.HttpRequestHandler.resolveApplication(HttpRequestHandler.java:543)
at com.evermind.server.http.HttpRequestHandler.initRequest(HttpRequestHandler.java:345)
at com.evermind.server.http.HttpRequestHandler.serveOneRequestOpen(HttpRequestHandler.java:264)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:155)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:142)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:878)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Any suggestions to solve this ?
Thanks,
Tilak KumarHi,
in which step does this happen? Also,how closely did you follow the how-to. Did you select ADF Faces 10.1.3 library in the library manager?
Note that there exist a specific JDeveloper 11 forum as well:
JDeveloper and OC4J 11g Technology Preview
Frank -
I got an error while I creating a structure.
[FieldOffset(72)]
[MarshalAs(UnmanagedType.ByValArray,SizeConst= 3)]
public int[] DC;
[FieldOffset(75)]
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]
public float[] WIN;
[FieldOffset(83)]
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 20)]
public byte[] name;
[FieldOffset(103)]
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
public byte[] SET;
[FieldOffset(106)]
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 50)]
public byte[] ID;
Error as like this-->object field at offset 75 that is incorrectly aligned or overlapped by a non-object field. But here size constant is 3 so I think after 72 offset will be 75..If I change the offset to 76 it will works fine. I think reason is that
size of int is 4. After changing that code will be like this.
[FieldOffset(72)]
[MarshalAs(UnmanagedType.ByValArray,SizeConst= 3)]
public int[] DC;
[FieldOffset(76)]
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]
public float[] WIN;
[FieldOffset(84)]
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 20)]
public byte[] name;
[FieldOffset(104)]
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
public byte[] SET;
[FieldOffset(107)]
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 50)]
public byte[] ID;
But at that time I got the error as object field at offset 107 that is incorrectly aligned or overlapped by a non-object field..Can anyone tell me what is the main reason behind this..
Thanks..Hi,
Please firstly take a look at this documentation:
MarshalAsAttribute.SizeConst Field
Indicates the number of elements in the fixed-length array or the number of characters (not bytes) in a string to import
Change your code like this should work:
[FieldOffset(72)]
[MarshalAs(UnmanagedType.ByValArray,SizeConst= 3)]
public int[] DC;
[FieldOffset(84)]//72+4*3
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]
public float[] WIN;
[FieldOffset(116)]//84+4*8
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 20)]
public byte[] name;
[FieldOffset(136)]
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
public byte[] SET;
[FieldOffset(139)]
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 50)]
public byte[] ID;
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
I have a C# windows application that started to give me the error when I try to run it:
Could not load file or assembly 'Oracle.DataAccess, Version=2.102.2.20.
I was adding and removing references and re-build when this started. The builds are successful Is there anything I can do to correct it? Other apps that I uses ODT are fine. The full error is below.
Thanks,
Kim
System.IO.FileLoadException was unhandled
Message="Could not load file or assembly 'Oracle.DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)"
Source="perdiem_snapshot"
FileName="Oracle.DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342"
StackTrace:
at perdiem_snapshot.frmDataGrid..ctor()
at perdiem_snapshot.Program.Main()
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
at System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()Hi There,
Were you able to resolve the issue. I am getting the same kind of error , when i am trying to deploy the application on a handheld device (symbol Mc9000g).
Do let me know if you were able to resolve it.
I am getting below message.
Could not load type 'Oracle.DataAccess.Client.OracleConnection' from assembly 'Oracle.DataAccess, Version=10.1.0.400, Culture=neutral, PublicKeyToken=89B483F429C47342'.
Kiran
Message was edited by:
Kpatel -
Could not load file or assembly 'BusinessObjects.Enterprise.Sdk' with 64 bit SDK
I am running across an error that I do not fully understand when trying to get the SDK to work for 4.1 SP04. I have been trying to get this solution for a while now. I am able to run the SDK functionality with the 32 bit version without an issues however, my client would like to run the 64 bit version to align with their architecture. I have added the x64 DLLs to my project in VS2013, and compiled and built the project as a 64 bit project. I am receiving the following error message:
Could not load file or assembly 'BusinessObjects.Enterprise.Sdk' or one of its dependencies. An attempt was made to load a program with an incorrect format.
When building the project to build on "Any CPU" instead of x64 or x86, I am seeing the following messages:
Warning 1 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "BusinessObjects.Enterprise.Sdk, Version=14.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=AMD64", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. DemoWeb2
Warning 2 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "CrystalDecisions.Enterprise.Framework, Version=14.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=x86", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. DemoWeb2
Warning 3 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "CrystalDecisions.Enterprise.InfoStore, Version=14.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=x86", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. DemoWeb2
Warning 4 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "CrystalDecisions.Enterprise.PluginManager, Version=14.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=x86", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. DemoWeb2
I have made sure that I am referencing the 64 bit sdk .dlls from C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\. I only have 64 bit installed as well. Are InfoStore, Framework, and PluginManager only x86?
Thanks!Hi Dustin
You do not need to be concerned if your app references 32 or 64 bit assemblies. VS being 32 bit, needs to reference 32 bit assemblies in order to compile correctly. Thus running the app from the VS IDE, you wil be using 32 bit assemblies. Using a compiled exe or a DLL, the app will use 32 bit or 64 bit assemblies depending on how the app was compiled and "bitness" of the OS.
E.g;; an app compiled as 32 bit will require 32 bit assemblies
An app compiled as 64 bit will run 64 bit assemblies - on 64 bit OS only.
An app compiled as "Any CPU", will run 32 b it or 64 bit assemblies, depending on the OS. On a 64 bit OS, the app will by definition use 64 bit assemblies (but it is up to you to deploy the 64 bit runtime - not the 32 bit runtime). On a 32 bit OS the app will use 32 bit assemblies.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
An XJC compilation error - Could not load class (..) for type cvsversion
I've got a strange compilation error using NetBeans 4.0 (I'd guess the version does not matter here) and Ant 1.6.2. When the following task is executed,
<target name="compile_ofx_schema">
<antcall target="clean-ofx"/>
<delete dir="${ofx-jaxb-src.dir}"/>
<mkdir dir="${ofx-jaxb-src.dir}" />
<xjc schema="${schema.dir}/ofx102.xsd" package="com.xxx.ofx102" target="${ofx-jaxb-src.dir}">
<arg value="-nv" />
<arg value="-extension" />
</xjc>
</target>
I get the error from NetBeans console,
Class org.xml.sax.SAXException loaded from parent loader (parentFirst)
Class java.io.IOException loaded from parent loader (parentFirst)
D:\appserver\build.xml:797: unable to parse the schema. Error messages should have been provided
at com.sun.tools.xjc.XJCTask._doXJC(XJCTask.java:334)
at com.sun.tools.xjc.XJCTask.doXJC(XJCTask.java:283)
at com.sun.tools.xjc.XJCTask.execute(XJCTask.java:227)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:217)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:236)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
BUILD FAILED (total time: 4 seconds)
Could not load class (org.apache.tools.ant.tasksdefs.cvslib.CvsVersion) for type cvsversion
Could not load class (org.apache.tools.ant.tasksdefs.cvslib.CvsVersion) for type cvsversion
And when I run the Ant task from the command line, I don't get the error at all.
Any help is greatly appreciated.That was a great finding from you. Thank you.
I followed your alternative approach and updated the ant.jar file. The "Could not load class..." error went away but the stack trace still remains. Now I am clueless again since I have ant on the debug mode and can't find any more useful info.
Class com.sun.tools.xjc.reader.internalizer.LocatorTable loaded from ant loader (parentFirst)
Class java.util.HashSet loaded from parent loader (parentFirst)
Class javax.xml.parsers.DocumentBuilderFactory loaded from parent loader (parentFirst)
Couldn't load Resource org/netbeans/core/xml/DOMFactoryImpl.class
Couldn't load ResourceStream for META-INF/services/javax.xml.parsers.DocumentBuilderFactory
Class org.apache.crimson.jaxp.DocumentBuilderFactoryImpl loaded from parent loader (parentFirst)
Class javax.xml.parsers.SAXParserFactory loaded from parent loader (parentFirst)
Couldn't load Resource org/netbeans/core/xml/SAXFactoryImpl.class
Couldn't load ResourceStream for META-INF/services/javax.xml.parsers.SAXParserFactory
Class org.apache.crimson.jaxp.SAXParserFactoryImpl loaded from parent loader (parentFirst)
Class javax.xml.parsers.DocumentBuilder loaded from parent loader (parentFirst)
Class java.util.Map loaded from parent loader (parentFirst)
Class javax.xml.parsers.SAXParser loaded from parent loader (parentFirst)
Finding class com.sun.tools.xjc.reader.xmlschema.parser.XMLSchemaInternalizationLogic$ReferenceFinder
Loaded from D:\bbw\build\Common_3.6\Packaged\appserver\lib\jaxb\jaxb-xjc.jar com/sun/tools/xjc/reader/xmlschema/parser/XMLSchemaInternalizationLogic$ReferenceFinder.class
Finding class com.sun.tools.xjc.reader.internalizer.AbstractReferenceFinderImpl
Loaded from D:\bbw\build\Common_3.6\Packaged\appserver\lib\jaxb\jaxb-xjc.jar com/sun/tools/xjc/reader/internalizer/AbstractReferenceFinderImpl.class
Class org.xml.sax.helpers.XMLFilterImpl loaded from parent loader (parentFirst)
Class com.sun.tools.xjc.reader.internalizer.AbstractReferenceFinderImpl loaded from ant loader (parentFirst)
Class com.sun.tools.xjc.reader.xmlschema.parser.XMLSchemaInternalizationLogic$ReferenceFinder loaded from ant loader (parentFirst)
Class org.xml.sax.XMLFilter loaded from parent loader (parentFirst)
Finding class com.sun.tools.xjc.reader.internalizer.VersionChecker
Loaded from D:\bbw\build\Common_3.6\Packaged\appserver\lib\jaxb\jaxb-xjc.jar com/sun/tools/xjc/reader/internalizer/VersionChecker.class
Class com.sun.tools.xjc.reader.internalizer.VersionChecker loaded from ant loader (parentFirst)
Finding class com.sun.tools.xjc.reader.internalizer.DOMBuilder
Loaded from D:\bbw\build\Common_3.6\Packaged\appserver\lib\jaxb\jaxb-xjc.jar com/sun/tools/xjc/reader/internalizer/DOMBuilder.class
Finding class com.sun.xml.bind.marshaller.SAX2DOMEx
Loaded from D:\bbw\build\Common_3.6\Packaged\appserver\lib\jaxb\jaxb-impl.jar com/sun/xml/bind/marshaller/SAX2DOMEx.class
Class org.xml.sax.ContentHandler loaded from parent loader (parentFirst)
Class com.sun.xml.bind.marshaller.SAX2DOMEx loaded from ant loader (parentFirst)
Class com.sun.tools.xjc.reader.internalizer.DOMBuilder loaded from ant loader (parentFirst)
Class java.util.Stack loaded from parent loader (parentFirst)
Class org.w3c.dom.Document loaded from parent loader (parentFirst)
Class org.xml.sax.XMLReader loaded from parent loader (parentFirst)
Class org.w3c.dom.Node loaded from parent loader (parentFirst)
Class org.w3c.dom.Element loaded from parent loader (parentFirst)
Class javax.xml.parsers.ParserConfigurationException loaded from parent loader (parentFirst)
Class org.xml.sax.SAXException loaded from parent loader (parentFirst)
Class java.io.IOException loaded from parent loader (parentFirst)
D:\bbw\build\Common_3.6\Packaged\appserver\build.xml:799: unable to parse the schema. Error messages should have been provided
at com.sun.tools.xjc.XJCTask._doXJC(XJCTask.java:334)
at com.sun.tools.xjc.XJCTask.doXJC(XJCTask.java:283)
at com.sun.tools.xjc.XJCTask.execute(XJCTask.java:227)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:217)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:236)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
BUILD FAILED (total time: 1 second)
Any suggestions? BTW, I did not upgrade NetBeans to v5.5 due that my code is still JDK1.4 based. -
BO XI Release 2: Could not load file or assembly 'BusinessObjects.
I am getting the following error whenever I click on Home->Public Folders in BO info view. Is it some version conflict?
I am using BO XI Release 2. Please help.
" An error has occurred: Could not load file or assembly 'BusinessObjects.Enterprise.LanguageTools, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. "Hi,
[http://service.sap.com/installations]
Navigate to Installations and Upgrades - Entry by Application Group -> SAP BusinessObjects packages and products-> SBOP ENTERPRISE-> BOBJ ENTERPRISE XI R2
Regards,
Stratos -
Could not load file or assembly CrystalDecisions.Enterprise.Desktop.User
I had briefly looked into Crystal Reports within my Visual Studio 2008 solution. However since the project needed to be done quickly I removed the report and the references to Crystal. Now I have deployed my application using Publish onto my QA server where I am getting the following error. I checked my references, webconfig and imports to make sure the solution didnt have anything tied to Crystal and found nothing. Why am I getting this error when I am no longer using the product? Is there some way to remove the requirement for the assembly? I also tried installing the Crystal Reports 2008 basic redistributable to my server with no luck.
Error:
Could not load file or assembly 'CrystalDecisions.Enterprise.Desktop.User, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Enterprise.Desktop.User, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.Enterprise.Desktop.User, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Stack Trace:
[FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Enterprise.Desktop.User, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +54
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
System.Reflection.Assembly.Load(String assemblyString) +25
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32
[ConfigurationErrorsException: Could not load file or assembly 'CrystalDecisions.Enterprise.Desktop.User, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +70
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177
System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir) +267
System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +39
System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) +429
System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +75
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +582
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +93
System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +111
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +54
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +139
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +128
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +161There has to be a reference to it somewhere in the project or it would not be throwing the error.
You will have to recheck each page, references, web.config, compile options, etc, until you find it.
Make sure you don't have it in a using statement or are referencing it directly in code.
Best Regards,
Jason -
'Could not load file or assembly ...TemplateEngine' Error Msg on Server
I'm working with the sample application VB_Web_CRVObjMod_FilteringData which works fine locally using the ASP.net Website admin tool
After publishing to our server, it came up with the error...
'Could not load file or assembly 'CrystalDecisions.Web, Version=12.0.2000.0...'
where I installed 'CRRuntime_12_0_mlb.msi' on the server
Now when I attempt to open the default.aspx, I'm getting this error...
Could not load file or assembly 'CrystalDecisions.CrystalReports.TemplateEngine, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Should the CRRuntime_12_0_mlb.msi install all the necessary assemblies?
The actual path of the .dll's on the development pc is
C:\Program Files\Common Files\Business Objects\3.0
while on the server it's
C:\Program Files\Common Files\Business Objects\2.7
Listed in the Add or Remove Programs on the Server
Crystal Reports 2008 Runtime
Crystal Reports for .NET framework 2.0 (x86)
Server Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727 SP1
Installed Edition: Standard
Crystal Reports 2008
CR Developer
Version 12.0.0.683
Product Type: Evaluation
I also have Crystal Reports XI on the development pc
CR Professional
11.0.0.2495My development pc has this directory for CR 2008
C:\Program Files\Business Objects\2008\BusinessObjects Enterprise 12.0\win32_x86
The \2008\ directory is my doing to prevent the 2008 install from overwriting the XI install. Was this a bad idea?
- Absolutely the worst idea I could think of. Crystal reports is side by side compliant since version 9. You do not need to, should not do any modifications at all. I have no idea what this has done to the system or even how this works as is...
On the development pc
Sort C:\WINDOWS\assembly by Version,
I can find CrystalDecisions.CrystalReports.Template Engine 12.0.1100.0
version 11.0.3300.0 also exists
On the server in C:\windows\assembly
CrystalDecisions.CrystalReports.Template Engine is not found
Other CrystalDecisions... assemblies version 12.0.1100.0 are present
In the original post you mention that you are using .NET 2005. Yet, you only see CR assemblies of version 12.0.1100. These assemblies can not be used in .NET 2005. The really confusing part is that the error is telling me the app is looking for assemblies of version 12.0.2000.
Look in the .NET project for the CR assemblies. What version of the assemblies are you referencing?
Ludek -
Could not load file or assembly 'log4net, Version=1.2.10.0
Server Error in '/' Application.
Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match
the assembly reference. (Exception from HRESULT: 0x80131040)
Source Error:
Line 13: public partial class ReportViewer : System.Web.UI.Page
Line 14: {
Line 15: ReportDocument rptDocument = new ReportDocument();
Line 16: ParameterDiscreteValue crtParamDiscreteValue = new ParameterDiscreteValue();
Line 17: protected void Page_Load(object sender, EventArgs e)
Source File: d:\WEBDATA\sriramcollege.com\Reports\ReportViewer.aspx.cs Line:
15
Stack Trace:
[FileLoadException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
CrystalDecisions.Shared.SharedUtils..cctor() +0
[TypeInitializationException: The type initializer for 'CrystalDecisions.Shared.SharedUtils' threw an exception.]
CrystalDecisions.Shared.SharedUtils.get_CurrentControl() +18
CrystalDecisions.Shared.SharedUtils.GetEffectiveCulture() +8
CrystalDecisions.CrystalReports.Engine.CREngineRes.GetString(String name) +10
CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime() +143
CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +159
[TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]
CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0
ReportViewer..ctor() in d:\WEBDATA\sriramcollege.com\Reports\ReportViewer.aspx.cs:15
ASP.reports_reportviewer_aspx..ctor() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\e63cc5e2\46d2498\App_Web_bvplj1td.0.cs:0
__ASP.FastObjectFactory_app_web_bvplj1td.Create_ASP_reports_reportviewer_aspx() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\e63cc5e2\46d2498\App_Web_bvplj1td.2.cs:0
System.Web.Compilation.BuildResultCompiledType.CreateInstance() +30
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +100
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +64
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +191
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +145
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155hi,
this is not even c# question.
anyhow, you have the same case as this one.
https://social.msdn.microsoft.com/Forums/en-US/9223655f-0cbd-441e-86a6-d53f3fb37d48/could-not-load-file-or-assembly-log4net-version12100?forum=netfxbcl
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Maybe you are looking for
-
This is my current code. I am using window property PKEY_EdgeGesture_DisableTouchWhenFullscreen, but when i run it on dell venue 8 tablet running win8.1, i always get same error from SHGetPropertyStoreForWindow : Err = 0x80004002 E_NOINTERFACE
-
I'm having a problem, I made a web dynpro application with select-options (using component reuse). But now I need to change the whole lay-out to a flex application. Is there a way to get the select-options in flex? Regards, Geert-Jan
-
ADF application Issue with IE8 and IE9
Hi Everybody, We are developing application under ADF. The application works fine in Firefox and chrome but when we open the application in IE8 and IE9 it pop up a message saying compatibility view should be turned off.Even though we turn off the com
-
Cut Extraneous Footage that has been captured...in FCP?
Ok, I have some seriously disorganized Digital8/8mm video (family of course) and it is darn near impossible to log and capture to pick out what I'd like. Now let's say the capture is done and over with. Is there a way to simply pick an in and out poi
-
hi all , after installing oracle forms 11 g r2 with oracle database 12 c on operating system windows 8 64 bit profissional when running forms on chrome it's require java tool kit 7 update 51 after install it , message appear that java tool kit wor