'Uninstall app for SharePoint': Could not load type 'Microsoft.SharePoint.Administration.SPAppInstanceErrorDetails' from assembly 'Microsoft.SharePoint

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

Similar Messages

  • Aspnet_compiler web.config(132): error ASPCONFIG: Could not load type 'System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider'

    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.

  • Could not load type 'C:\CFusionMX7\runtime\lib\wsconfig\jrun_iis6.dll'.

    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 Green

    I 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?

  • Could not load type 'Microsoft.TeamFoundation.TestManagement.Client.ITestPlanHelper2'

    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 Soares

    Hi 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 Kumar

    Hi,
    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

  • Creative Cloud app for desktop is not loading Home tab.

    The "loading" icon is continuosly moving, but nothing happens. I already tried to uninstall, reinstall newer app, delete OP file in OOEB, but no success.
    The other tabs are working OK. A week ago I didn´t have this problem. Im on Windows x64.
    Adobe Staff, could you please help me to resolve this? Thanks.

    Hi 310east,
    Please refer the article: Troubleshoot download and install issues.
    Regards,
    Romit Sinha

  • 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

  • Error:Could not load type from assembly Culture=neutral, PublicKeyToken=null' because it contains an object field at offset 75 that is incorrectly aligned or overlapped by a non-object field.

    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.

  • Could not load file or assembly 'Oracle.DataAccess, Version=2.102.2.20

    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 movie" with YouTube videos.

    Hi there,
    In both the past and present I have had much difficulty with playing many YouTube videos on my iPod touch 4. This happens to be the case no matter if I am in the YouTube app or on the mobile YouTube site in safari. I will try to play a video to watch it and often times I blue box will pop up saying 'could not load movie'. This makes video viewing and sharing quite difficult! Please help! Thank you very much!
    - Samuel Amos

    Here is an explanation for you for the "could not load movie" error, which I have also received on my iPad.
    If you run across this error on your iDevice, keep the following in mind:
    This is taken from another site, so I will quote:
    "Most of the time its due to the age of the video upload, this one for example was done back in 2009 which was 2 years ago now. YouTube as you know relies heavily on Flash for video playback which is not compatible with the iOS range.
    However to combat this, YouTube did work on converting chunks of videos to H264 playback, but by default the entire backlog of videos did not go through this conversion process...so you will find the odd video out there that does not play.
    I believe though (and please someone correct me here if i am wrong) YouTube by default now encodes uploads in H264 as well as flash and a few other formats for multi-platform enjoyment :-) "

  • "could not load movie" effing error...

    So im tired with this error message .
    I tried a soft reset but problem still the same .( btw when i do a soft reset i do not see the apple logo appears like some say... Is it normal ? I just obtain a dark screen and the device shut down thats all..)
    So what can i do coz im very angry about this.

    Here is an explanation for you for the "could not load movie" error, which I have also received on my iPad.
    Realizing the above YouTube links could have been taken down, so it will not apply to those, but if you run across this error on your iDevice, keep the following in mind:
    This is taken from another site, so I will quote:
    "Most of the time its due to the age of the video upload, this one for example was done back in 2009 which was 2 years ago now. YouTube as you know relies heavily on Flash for video playback which is not compatible with the iOS range.
    However to combat this, YouTube did work on converting chunks of videos to H264 playback, but by default the entire backlog of videos did not go through this conversion process...so you will find the odd video out there that does not play.
    I believe though (and please someone correct me here if i am wrong) YouTube by default now encodes uploads in H264 as well as flash and a few other formats for multi-platform enjoyment :-) "

  • 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.

  • Could not load file/URL (file not found) error for JNLP file

    I am completely baffled in trying to figure out why I am getting the following error for some JNLP files but not others:
    Error: could not load file/URL specified: C:\Users\tom\AppData\Local\Temp\javaws2
    java.io.FileNotFoundException: C:\Users\tom\AppData\Local\Temp\javaws2 (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)I have Googled around this forum and elsewhere, and have seen reports that this error is IE-specific, and seems to have something to do with no-cache headers being sent, or with the client browser's cache being full or turned off (which is not my case). I saw the information in the JavaWS FAQ, which recommended turning off security constraints for the JNLP's URI. I tried that, and it didn't help. One of the very baffling things is that I have created several variations of the JNLP file, with varying combinations of jars and property resources, and some combinations always work while other combinations never work. Here's an example:
    <jnlp spec="1.0+" codebase="$$codebase">
       <information>
          <title>demo app</title>
          <description>illustrates weird bug</description>
       </information>
       <resources>
          <j2se version="1.5+"/>
          <jar href="randomFile.jar"/>
          <property name="xxx" value="xxxx"/>
          <property name="swing.metalTheme" value="steel"/>
       </resources>
    </jnlp>The above file always fails with the error shown at the top of this message. However, if I remove either of the two properties, it works fine. And I have created other variations with lots of properties, some of which work. All of these variations are in the same directory in the war file, served by the exact same servlet (a slightly modified version of the jnlp.sample.servlet.JnlpDownloadServlet provided with JDK 1.6.0_3). Assuming that a no-cache header is the problem, what on earth could be causing some JNLP files to always be served with a no-cache header, while others are never served with a no-cache header?
    On a related note, any recommended debugging techniques for seeing what headers are being transmitted? I tried adding a simple check for a "debug=true" parameter in the servlet that causes it to set the content type to "text/plain" instead of JNLP, and that allows me to see (rather than execute) the JNLP XML that's being returned, but it doesn't show me the HTTP headers that are being sent back. If any caching headers are being set, I think it must be being set by the servlet container itself, as it's nothing being set in the servlet code that I can see. So I don't see any way on the server side Java code to output or log the actual HTTP response (or is there?). Any tips in that regard much appreciated.
    Edited by: TomC125468 on Aug 19, 2009 1:35 PM

    Hi Luca-Sanna,
    Thanks for the response. Re browsers, yes, it fails in IE but it succeeds in Firefox. The info on the JavaWS FAQ and other places all seem to indicate that it's an IE issue concerning handling of the cache-control headers.
    I should check in my webserver forum (Sun WebServer 7) to see about logging options. Sniffing on the client side is not possible, as my app is required to use HTTPS exclusively, and unfortunately that also precludes a telnet GET request.

  • Could not load library for database connection LCA

    Hi,
    I am facing RFC connection prblem while connectiong to database. I have installed SCM5.1 and live cache in single server
    Please find the logs.
    Work process log:
    B Mon Jul 20 11:19:13 2009
    B  create_con (con_name=LCA)
    B  Loading DB library 'E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll' ...
    M  *** ERROR => DlLoadLib: LoadLibrary(E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll) Error 126 [dlnt.c       241]
    M          Error 126 = "The specified module could not be found."
    B  *** ERROR => Couldn't load library 'E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll'
    [dbcon.c      4731]
    B  ***LOG BYG=> could not load library for database connection LCA        [dbds#1 @ 1035] [dbds    1035 ]
    A
    A Mon Jul 20 11:21:58 2009
    A  GENER starting remote generation: /SAPAPO/OM_SYNC_LC_DB (requested by W1).
    B
    SM21:
    No shared library found for the database with ID LCA|
    No shared library found for the database with ID LCA
    /SAPAPO/OM17|/SAPAPO/OM_SYNC_LC_DB|K |SAP Web AS Problem|SBAC   |
    Documentation for system log message BY G :
    As well as the standard connection, an attempt was made to set up
    another database connection, under the specified ID. The Shared Library
    for this second database could not be found.
    The Shared Library is usually found in the the Executable
    directory (profile parameter DIR_LIBRARY) under the name dbs
    <dbs>slib<os_ext>. <dbs> stands for the database type and <os_ext>
    stands for the operating system-specific extension of the Shared
    Libraries.
    The database type is determined from the entry that corresponds to the
    specified DB ID in the table DBDCON. Check whether the data in this
    entry is correct.
    ST22
    Runtime Errors         DBIF_DSQL2_CONNECTERR
    Exception              CX_SY_NATIVE_SQL_ERROR
    Date and Time          20.07.2009 11:22:21
    Short text
    Error setting up a secondary database connection
    What happened?
    Connection to database system not possible with identifier "LCA".
    |----
    System environment
    SAP-Release 700
    Application server... "
    Network address...... "
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "8x AMD64 Level"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 8
    Shortdump setting.... "full"
    Database server... "
    Database type..... "ORACLE"
    Database name..... "SC7"
    Database user ID.. "SAPSC7"
    Terminal................. " "
    Char.set.... "C"
    SAP kernel....... 701
    created (date)... "Jul 6 2009 23:47:55"
    create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
    Database version. "OCI_10201_SHARE (10.2.0.2.0) "
    Patch level. 50
    Patch text.. " "
    Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
    SAP database version. 701
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows
    NT 6.0"
    Information on where terminated
    Termination occurred in the ABAP program "SAPLSLCAPPS" - in
    "LCA_EXISTS_LCA_ROUTINE".
    The main program was "/SAPAPO/TS_BATCH_RUN ".
    In the source code you have the termination point in line 23
    of the (Include) program "LSLCAPPSU05".
    The program "SAPLSLCAPPS" was started as a background job.
    Job Name....... "MACROS"
    Job Initiator.. "SC7GEN"
    Job Number..... 10222002
    The termination is caused because exception "CX_SY_NATIVE_SQL_ERROR" occurred
    in
    procedure "LCA_EXISTS_LCA_ROUTINE" "(FUNCTION)", but it was neither handled
    locally nor declared
    in the RAISING clause of its signature.
    The procedure is in program "SAPLSLCAPPS "; its source code begins in line
    1 of the (Include program "LSLCAPPSU05 ".
    Please help me to resolve the issue.
    Suraj

    Hi Natalia Khlopina,
    I have raised OSS message to SAP.
    Below is the information
    E:\usr\sap\SC7\SYS\exe\uc\Copy_ of_NTAMD64_15062009>sdbregview -l
    Server Utilities    e:/sapdb/programs      7.7.02.08     64 bit    valid
    DB Analyzer         e:/sapdb/programs      7.7.02.08     64 bit    valid
    PCR 7301            e:/sapdb/programs      7.3.01.21               valid
    PCR 7500            e:/sapdb/programs      7.5.00.42     64 bit    valid
    SAP Utilities       e:/sapdb/programs      7.7.02.08     64 bit    valid
    APO LC APPS         f:/sapdb/lcs/db/sap    6.00.004      64 bit    valid
    Redist Python       e:/sapdb/programs      7.7.02.08     64 bit    valid
    Base                e:/sapdb/programs      7.7.02.08     64 bit    valid
    JDBC                e:/sapdb/programs      7.6.03.02               valid
    Messages            e:/sapdb/programs      MSG 0.5010              valid
    ODBC                e:/sapdb/programs      7.7.02.08     64 bit    valid
    SQLDBC 77           e:/sapdb/programs      7.7.02.08     64 bit    valid
    Database Kernel     f:/sapdb/lcs/db        7.7.02.08     64 bit    valid
    Loader              e:/sapdb/programs      7.7.02.08     64 bit    valid
    SQLDBC              e:/sapdb/programs      7.7.02.08     64 bit    valid
    SQLDBC 76           e:/sapdb/programs      7.6.01.15     64 bit    valid
    Fastload API        e:/sapdb/programs      7.7.02.08     64 bit    valid
    C:\Documents and Settings\sc7adm>disp+work
    disp+work information
    kernel release                701
    kernel make variant           701_REL
    compiled on                   NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00
    compiled for                  64 BIT
    compilation mode              UNICODE
    compile time                  Jul  6 2009 23:47:55
    update level                  0
    patch number                  50
    source id                     0.050
    supported environment
    database (SAP, table SVERS)   700
                                  701
    operating system
    Windows NT 5.0
    Windows NT 5.1
    Windows NT 5.2
    Windows NT 6.0
    Thanks for quick responce.
    Suraj

Maybe you are looking for

  • How to merge 2 timestamps into one??

    Hi, Say I have two timestamps (oracle.jbo.domain.Timestamp) ts1 and ts2. what is the best way to create third timestamp object, ts, where ts would take: - date portion from ts1 - time portion from ts2 Any help is highly appreciated.

  • Cannot print from InDesign v3.0.1 on Mac Pro

    I am attempting to print from InDesign v3.0.1 to a new Epson R3000 printer. Last week the connection and prints were fine. Now, when I select the "Print" dialog box, Indesign crashes.  Is there possibly a conflict between my older InDesign and runnin

  • Pages Software keeps crashing while using the Instant Alpha tool???

    Hey All- While working in Pages that came preloaded on my new iMac-it keeps crashing while using the Instant Alpha Tool???  Any help on what to do for this???? Rather frustrating-thanks for any help. CPEI59

  • Backup procedure from Icloud

    hi, i had my IPHONE 3GS whose backup is in icloud, now i have got phone 4 in which i want to restore the contacts of Iphone 3gs from Icloud please suggest a way forward. please note-i have used same ID for both the devices and both have been backed u

  • Will there be a google toolbar and webroot toolbar that will work in firefox5

    lost google toolbar and webroot toolbar when upgrade to firefox5