After completing instalation of Harmo.ie for Outlook 2010, I tried to upload file into a custom document Library. For info, the document library used custom content type and has item receiver attached to it (ItemAdded and ItemUpdated). Sometime, harmon.ie display a error which say "Could not upload file... into the selected Library."
After debugging, the error occured before item receivers. Is anybody have information about the issue ? I did'nt find anything in ULS logs and i tried to isolate bug but no luck !!
here the stack trace of harmo.ie :
!ENTRY com.mainsoft.sharepoint.sidebar.SideBarViewPart 4 0 2015-03-16 14:42:25.892
!MESSAGE Impossible de télécharger ...' vers la bibliothèque sélectionnée.
Le téléchargement du fichier ...' n'a pas pu être terminé.
!STACK 0
com.mainsoft.sharepoint.sidebar.services.UploadOperationFailedException: Le téléchargement du fichier'...' n'a pas pu être terminé.
at com.mainsoft.sharepoint.sidebar.services.UpdateMetadata.onAfterUpload(UpdateMetadata.java:74)
at com.mainsoft.sharepoint.sidebar.services.FilesUploader.uploadNextDocument(FilesUploader.java:169)
at com.mainsoft.sharepoint.sidebar.services.FilesUploader.upload(FilesUploader.java:126)
at com.mainsoft.sharepoint.sidebar.services.FilesUploader.upload(FilesUploader.java:107)
at com.mainsoft.sharepoint.sidebar.operations.BaseFilesUploadOperation.run(BaseFilesUploadOperation.java:157)
at com.mainsoft.common.OperationBase.run(OperationBase.java:94)
at com.mainsoft.common.OperationBase$1.run(OperationBase.java:33)
at com.mainsoft.common.Job$SecondJob.run(Job.java:191)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
at java.lang.Thread.threadProc(Thread.java:2297)
at java.lang.Thread$1.Invoke(Thread.java:797)
at cli.System.Threading.ThreadHelper.ThreadStart_Context(Unknown Source)
at cli.System.Threading.ExecutionContext.Run(Unknown Source)
at cli.System.Threading.ThreadHelper.ThreadStart(Unknown Source)
Run Fiddler to trace requests sent from harmon.ie to SharePoint - the trace details may give you some insight. Also try the same operation against a library that doesn't have any event handlers.
Related
Hello I am trying to run Hello program on Alire on Windows but can't I get this error, can someone help?
Note: Selected tool version gprbuild=22.0.1
Note: Deploying gprbuild=22.0.1...
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - La fonction de révocation n'a pas pu vérifier la révocation du certificat.
Fichier introuvable - C:\alire\.config\alire\cache\dependencies\alr-gpyu.tmp\*
Fichier introuvable - C:\alire\.config\alire\cache\dependencies\alr-gpyu.tmp\*
ERROR: Command ["curl", "https://github.com/alire-project/GNAT-FSF-builds/releases/download/gprbuild-22.0.0-1/gprbuild-x86_64-windows64-22.0.0-1.tar.gz", "--location", "--progress-bar", "--output", "C:\alire\.config\alire\cache\dependencies\alr-gpyu.tmp\gprbuild-x86_64-windows64-22.0.0-1.tar.gz"] exited with code 35
I fixed the problem by downloading gnat and gprbuild from github and changing env parameters: with the commands
I upgraded EF6 from 6.2.0 to 6.3.0 and now I'm getting this error on the server (not in Visual Studio):
Méthode introuvable : 'Void System.Data.Entity.Infrastructure.LocalDbConnectionFactory..ctor()'.
Description : Une exception non gérée s'est produite au moment de l'exécution de la requête Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code.
Détails de l'exception: System.MissingMethodException: Méthode introuvable : 'Void System.Data.Entity.Infrastructure.LocalDbConnectionFactory..ctor()'.
I even tried to publish the old version of the website (using EF 6.2.0) and I'm still getting the same error.
The server is Windows Server 2012 with asp.net framework 4.8. The website is made with WebForms.
I tried restarting IIS and the server itself, without success.
I was able to fix the problem by publishing with the option to "delete existing files".
I guess it was different versions of the EntityFramework DLL that were conflicting on the server.
For anyone who has same problem during development, not deploying:
Probably, your project reads EntityFramework.dll from different place than your project bin folder. You can check this in Modules window (for open it start debugging and choose Debug -> Windows -> Modules). Now, just find there an entry for EntityFramework.dll and check out the path value. In my case it pointed out an old version from GAC_MSIL directory. After deletion these trash from GAC and re-running my project, file EntityFrmaework.dll was loaded from my project folder and the error was gone.
I'm trying to compile a kernel for emulation with aoc in the Intel FPGA SDK, I have set all environment variables as possible even using the init_opencl.bat included in the SDK.
I'm running the following line using the visual studio 2017 developers command prompt in order to use visual studio linker:
aoc -march=emulator -v -board=a10gx my_kernel.cl -o my_kernel.aocx
but it always throws a linker error (the errors are in Spanish, sorry about that).
Creando biblioteca libkernel.lib y objeto libkernel.exp
libkernel.obj : error LNK2019: símbolo externo
__imp___translate_sampler_initializer sin resolver al que se hace referencia en la función my_kernel
libkernel.obj : error LNK2019: símbolo externo floorf sin resolver al
que se hace referencia en la función __acl__copysignf
libkernel.obj : error LNK2019: símbolo externo ceilf sin resolver al
que se hace referencia en la función __acl__copysignf
libkernel.obj : error LNK2019: símbolo externo log2 sin resolver al
que se hace referencia en la función __acl__sppow_approx
libkernel.obj : error LNK2019: símbolo externo exp2 sin resolver al
que se hace referencia en la función __acl__sppow_approx
LINK : error LNK2001: símbolo externo _DllMainCRTStartup sin resolver
C:\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Tools\MSVC\14.16.27023\lib\x86\msvcrt.lib :
warning LNK4272: el tipo de máquina de biblioteca 'x86' está en
conflicto con el tipo de máquina de destino 'x64'
C:\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Tools\MSVC\14.16.27023\lib\x86\legacy_stdio_definitions.lib
: warning LNK4272: el tipo de máquina de biblioteca 'x86' está en
conflicto con el tipo de máquina de destino 'x64'
libkernel.dll : fatal error LNK1120: 6 externos sin resolver
I have no idea what else to do.
Note:
The kernel uses image2d objects which I'm not entirely sure are compatible with FPGAs. Actually that's another question.
Quite likely the problem is that they (Altera, now Intel) still require on Windows to use MSVC 2010 to successfully link their libraries with the host project.
That is at least the case for fft-2d where is such a requirement.
So you probably have 2 choices:
Install MSVC 2010
Figure out how to successfully link with their libraries being built using MSVC 2010
Update
I checked my notes. To be able to successfully link with Altera libraries using VS 2015 I was additionally linking with legacy_stdio_definitions.lib. That should go into AdditionalDependencies in the linker section. Can't assure this will help your case too but it's worth a try.
First of all thanks doqtor for your answer...in the end I was finnaly able to compile without having to change much....actually if you run the aoc offline compiler from the Visual Studio Developers Command Prompt x64 most of the problems are solved.
I decided to cleanly reinstall the entire Intel FPGA SDK and this time set up correctly every environment variable...and everything worked perfectly...I was able to compile and execute the SDK examples.
But one problem could not be solved....my kernel uses image2d_t objects and of course sampler_t....turns out according to the Intel SDK Programming Guide...the SDK does not support images and samplers while working with OpenCL 1.0.
The weird thing is that the FPGA Emulator platform does support it so i was able to compile using the emulator....although this wont solve much for me.....I have decided to change my kernel and find an alternative to image and samplers.
Thanks
Answering your questions:
FPGA emulator is not supporting x86 platform, just x86_64 (but I see you are already resolved this I guess).
About images. The SDK isn't supporting image type indeed, but it doesn't mean that aoc will fail during compilation. You will fail later when you try to run your application.
I'm new to symfony
and when installation finish the welcome page work correctly but when i'm refreshing the page the load doesnt finish!
EDIT :
For my server configuration i juste use the "php bin\console sever:run" commande to launch my project.
And I add the content of dev log file :
[2019-02-14 00:09:05] php.DEBUG: Warning: fsockopen(): unable to connect to 127.0.0.1:8000 (Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une certaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu. ) {"exception":"[object] (Symfony\Component\Debug\Exception\SilencedErrorContext: {\"severity\":2,\"file\":\"C:\\Mes Sites Web\\awema\\awema\\vendor\\symfony\\web-server-bundle\\WebServerConfig.php\",\"line\":139,\"trace\":[{\"file\":\"C:\\Mes Sites Web\\awema\\awema\\vendor\\symfony\\web-server-bundle\\WebServerConfig.php\",\"line\":54,\"function\":\"findBestPort\",\"class\":\"Symfony\\Bundle\\WebServerBundle\\WebServerConfig\",\"type\":\"->\"}],\"count\":1})"} []
[2019-02-14 00:09:17] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at C:\Mes Sites Web\awema\awema\vendor\symfony\http-kernel\EventListener\RouterListener.php line 139 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): No route found for \"GET /\" at C:\Mes Sites Web\awema\awema\vendor\symfony\http-kernel\EventListener\RouterListener.php:139, Symfony\Component\Routing\Exception\NoConfigurationException(code: 0): at C:\Mes Sites Web\awema\awema\vendor\symfony\routing\Matcher\Dumper\PhpMatcherTrait.php:172)"} []
[2019-02-14 00:09:18] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"6b922e"},"request_uri":"http://127.0.0.1:8000/_wdt/6b922e","method":"GET"} []
I experienced the exact same issue (Windows, Symfony 4.4.2, php 7.1.3)
I was using the WebserverBundle which gives a notice :
WebserverBundle is deprecated since Symfony 4.4. The new Symfony local
server has more features, you can use it instead
If you run for instance
symfony server:start
This will propose the installation of the new symfony local server, which solved this infinite loop problem for me.
I use VS 2012. My solution contains one web-site project and one project library .
I installed the nuget package on my project Library only.
In my Library I created a simple class "GitRepo" to test git access. In the constructor, I want to access the repository :
public GitRepo(string repoPathName)
{
m_Repo = new Repository(repoPathName);
}
In the code behind of my web page, I try to instantiate a GitRepo object :
GitRepo repo = new GitRepo(repoPathName);
And I get the TypeInitializationException with no more details. And yes, dll and native libraries structure seems correct in the file tree (installed by nuget package).
I have a simple console program's solution where I added my previous library (add existing object). In the "main" function, I instantiate a "GitRepo" object... and it works fine.
Some help would be greatly appreciated.
Here the full exception :
System.TypeInitializationException was unhandled by user code
HResult=-2146233036
Message=Une exception a été levée par l'initialiseur de type pour 'LibGit2Sharp.Core.NativeMethods'.
Source=LibGit2Sharp
TypeName=LibGit2Sharp.Core.NativeMethods
StackTrace:
à LibGit2Sharp.Core.NativeMethods.git_repository_open(RepositorySafeHandle& repository, FilePath path)
à LibGit2Sharp.Core.Proxy.git_repository_open(String path)
à LibGit2Sharp.Repository..ctor(String path, RepositoryOptions options)
à CDM.ESD1_WSGINSTALL.Business.GitRepo..ctor(String repoPathName) dans c:\PRIV\Projects\ESD1\ESD1_WSGINSTALL\ESD1_WSGINSTALL.Business\GitRepo.cs:ligne 39
à CDM.ESD1WSGINSTALL.Commands.CharteView.DoBuildRPM(String id) dans c:\PRIV\Projects\ESD1\ESD1_WSGINSTALL\ESD1_WSGINSTALL\App_Code\Commands\CharteViewActivity\CharteView.cs:ligne 262
InnerException: System.DllNotFoundException
HResult=-2146233052
Message=Impossible de charger la DLL 'git2-e0902fb': Le module spécifié est introuvable. (Exception de HRESULT : 0x8007007E)
Source=LibGit2Sharp
TypeName=""
StackTrace:
à LibGit2Sharp.Core.NativeMethods.git_libgit2_init()
à LibGit2Sharp.Core.NativeMethods.LibraryLifetimeObject..ctor()
à LibGit2Sharp.Core.NativeMethods..cctor()
InnerException:
nulltoken, thank you for your help.I've started a new console project and added my library located in another folder. When I instanciate my "GitRepo" object (from my library) there's no exception. So I checked the directory tree of the solution and I saw that LibGit2Sharp.dll and NativeBinaries folder were added automatically under bin/debug of the program's folder.
Thus I checked the bin folder of my web project and I saw there was not the "NativeBinaries" folder. I add it manually and now there's no more exception.