Workflow and ServiceDesk Community

 View Only

Workflow Profile Definition Error 

Apr 22, 2015 11:17 AM

Have you ever tried to add a Profile and got an error:

"Value cannot be null. Parameter name: value"

Add Profile Definition.png


You can't have a uniqueidentifier as a datatype for your Foreign Key or include this another in your Profile.

 


You can't have your Foreign Key Field (usually SessionID) as the first Field in your Table/View.

 


Check the data types on the fields you are selecting. If you see any "nchar" change them to nvarchar.

This shouldn't be a problem with respect to the data, anything you can fit in an nchar will also fit in nvarchar of the same size.

 


If you look in the Logs

  <INSTALL FOLDER>:\Program Files\Symantec\Workflow\Logs\processmanager.log

you should see a similar error:

Error,20 April 2015 08:11:43,[global] Application 'LogicBase.Ensemble' error
[global] Client Host Information:
[global] IP: ::1
[global] HostName: ::1
[global] -- error.ToString() --
[global] System.Web.HttpCompileException: e:\Program Files\Symantec\Workflow\ProcessManager\ProfileServices\<PROFILE NAME>Service.asmx(76): error CS1001: Identifier expected
[global]    at System.Web.Compilation.AssemblyBuilder.Compile()
[global]    at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
[global]    at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
[global]    at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
[global]    at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
[global]    at System.Web.UI.WebServiceParser.GetCompiledType(String inputFile, HttpContext context)
[global]    at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)
[global]    at System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
[global]    at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
[global]    at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
[global]    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 


When a Profile is created an .asmx file is created in the following folder:

  <INSTALL DRIVE>:\Program Files\Symantec\Workflow\ProcessManager\ProfileServices\<PROFILE NAME>Service.asmx

There is also a record added to

  [ProcessManager].[dbo].[ProfileDefinition]


 

To add a new Profile

Process Manager | Admin | Data | Lists and Profiles

Add Profile Definition (Existing Table)

Add Profile Definition (Existing Table).png

 


Protirus.png

Statistics
0 Favorited
4 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

Nov 27, 2020 10:31 AM

Bigint causes this also (Workflow Version 8.5.5704.0).

I had to use int.

Apr 28, 2015 08:29 AM

This is good information. I have been tripped up by the nchar/nvchar thing before, as well. Took me forever to find because I kept not noticing that one column was an nchar. :)

Related Entries and Links

No Related Resource entered.