Hi, I'm trying to test the main VB sample from the SDK 2012, but it does NOT work ;(
For information, my configuration is:
- Windows 7 Entreprise N SP1 64 bits
- Visual Studio 2010 Professional (10.0.30319)
- Vault Professional 2012 SP1
This is what I've done;
- I open the VS solution : C:\Program Files (x86)\Autodesk\Autodesk Vault 2012 SDK\VS9\VB\JobProcessorApiSamples\JobProcessorApiS
- I compile it to : C:\Program Files (x86)\Autodesk\Autodesk Vault 2012 SDK\VS9\VB\JobProcessorApiSamples\bin\Debug
Just one warning about 'bytes', but this is not important.
- I create the folder : C:\Program Files\Autodesk\Vault Professional 2012\Extensions\JobProcessorApiSamples
- In this folder, from ...\Debug, I copy the files :
- I edit the file : C:\Program Files\Autodesk\Vault Professional 2012\Explorer\JobProcessor.exe.config
and add the following line :
=> <jobHandler class="MyCompany.File.Publish" handler="JobProcessorApiSamples.FolderPublishJobHa
<jobHandler class="Autodesk.Vault.DWF.Create.iam" handler="Connectivity.Explorer.JobHandlerDwfPublis
- I check the job server feature is enabled.
- I start my VP2012 and reset the menues.
- Right-cliking on a file, i do NOT have the "Queue Publish Job" command. FIRST PROBLEM.
- I start the : C:\Program Files\Autodesk\Vault Professional 2012\Explorer\JobProcessor.exe
and directly I have the JobProcessor.log giving this :
Information 26/04/2012 10:18:34
Application logging subsystem initialized
Error 26/04/2012 10:18:34
La valeur ne peut pas être null.
Nom du paramètre : key
Exception: System.ArgumentNullException: La valeur ne peut pas être null.
Nom du paramètre : key
off course, I do not see my job in the list ;(
Someone can help me to understand where are the problems?
I noticed in the steps you describe that you're deploying the extension to "C:\Program Files\Autodesk\Vault Professional 2012\Extensions\JobProcessorApiSamples". If you look at the readme file that is in the same directory as the JobProcessorApiSamples solution, it states that you should deploy the extension to "%programData%\Autodesk\Vault 2012\Extensions\JobProcessorApiSamples", which if you're using Windows Vista/Windows 7 is usually "C:\ProgramData\Autodesk\Vault Professional 2012\Extensions\JobProcessorApiSamples". Please try deploying the extension to that location and let me know how it goes.
The ProgramData folder exists... but is empty.
In the doubt, I try to manually create the folder structure and deploy the files.
But, the problem is still here.
Am I the only one to work on Seven 64 bits?
Note: The VP2012 installation has been done by default, without any customization.
Well, I tested the 'Load Tester' from Doug, and the result is:
I will try to uninstall and reinstall VP2012 Client in ProgramData...
If it is this, it's not normal.
I wouldn't suggest reinstalling the Vault Professional client. Vault Explorer should stay installed, with all of it's program files in the Program Files location that it defaults to. Only your extension should be deployed to "C:\ProgramData\Autodesk\Vault 2012\Extensions" as described in the readme file. This folder is not created during the Vault Explorer install and will not exist until you deploy and extension and create it yourself. The error you're seeing in the Load Tester means that you have deployed your extension to the wrong location. All of the files from the sample's bin directory should be copied to "C:\ProgramData\Autodesk\Vault 2012\Extensions\JobProcessorApiSamples". You should create this folder structure if it does not already exist.
I have created manually the folder structure, first in order to be able to use the 'Load Tester':
Note that 'Vault
Professional 2012' instead of 'Vault 2012' is not accepted.
When I start my Vault Client, I got this error:
And if I try the JobProcessor.exe, this one:
Well, it's better...
Considering you are already using the Load Tester, I assume you've already found this article: http://justonesandzeros.typepad.com/blog/2011/05/e
Another thing that you might not be aware of it that you have to deploy all the depedencies for your extension alongside it in it's extension folder. This includes some of the DLL's that are part of the SDK. More information on what DLL's to deploy can be found here: http://justonesandzeros.typepad.com/blog/2011/10/w
Are you sure that c:\programdata is empty? It's a Windows System folder.
If you type in Windows Explorer %programdata% which folder is displayed?
I've the same problem with Vault Collaboration 2013.
I get the same error message: "...TypeLoadException" but tryied with the sample provided with the SDK and that worked.
There's a way to log all the callstack for example?
thank you anyone
If you're using the 2013 SDK, there is a new feature available that allows you to turn on error logging for extension loading. You can find more information about it on Doug's blog here: http://justonesandzeros.typepad.com/blog/2012/07/e
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.