Dear mates,

Our system display a compilation error warning. If we click on the button, the tooltip displayed is empty.

We had compilation errors in the past, but the issues are resolve.

I tryed to delete records in the Compilation History Lookup but the system refused to delete them.

How can i remove the Warning ?

Thank you,

Nicolas

Like 1

Like

3 comments
Best reply

Hello,

 

Please note that this issue is connected to the 8.1.2 release and in order to fix it you need to create a case directly for our Support team (support@creatio.com) so we could work with the site in question.

Same here in our cloud dev environment with this new 8.1.2 functionality

You are right, we do not have the problem on our production environment, only on the dev env.

Hello,

 

Please note that this issue is connected to the 8.1.2 release and in order to fix it you need to create a case directly for our Support team (support@creatio.com) so we could work with the site in question.

Show all comments

Hi,

I use a Creatio Instance at version 8.1.0, running at .NET Core. When I tried to Compile All, I got such error:

Do you know what could cause problem?

Version 8.1.0.6704 (.NET 6.0.24)

Like 1

Like

6 comments
Best reply

Eryk Andrzejewski,

Hello, i found how to fix it
1. Go to directory 
creatio_dir/Terrasoft.Configuration/Pkg/CrtDigitalAdsApp/Files
2. Backup CrtDigitalAdsApp.csproj
3. In CrtDigitalAdsApp.csproj find the ItemGroup with <EmbeddedResource Update="Properties\Resources.resx"> and  comment the line  <<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Example

4. Go to 
creatio_dir/Terrasoft.Configuration/Pkg/CrtDigitalAdsApp/Files/Bin/netstandard/Properties and remove Resources.resx
Now i have no warnings and errors when compile all

Hello,

 

Most likely, during the first launch of the application, one of the folders required for the application was not generated correctly.

We recommend checking that all paths are generated correctly.



You mention that you are running the application on .NET 6 using .NET Core. We ask you to make sure that you deployed the environment according to the official instructions and that all the necessary components are present on the server.



If you still can't resolve this compilation error, please create a separate request to the Creatio support team.

 

Thank you.

Hello, thank you for your reply :)

I suppose it may not be a problem of first launch. I get that problem regularly when I try to Compile All. But when I perform this action two times in a row, the problem disappears :) But I see such warning:

 

 

Unfortunately, the problem with Resources.resx repeat again during the next compilation :(

Eryk Andrzejewski,

Hello
I have the same error and the same system behavior.
Version 8.1.0.6828 (.NET 6.0.31)
Did you find any solution?

Oleksandr Kadkin,

Hi, since I started using Compile instead of Compile All, I no longer encounter this problem :)

Eryk Andrzejewski,

Hello, i found how to fix it
1. Go to directory 
creatio_dir/Terrasoft.Configuration/Pkg/CrtDigitalAdsApp/Files
2. Backup CrtDigitalAdsApp.csproj
3. In CrtDigitalAdsApp.csproj find the ItemGroup with <EmbeddedResource Update="Properties\Resources.resx"> and  comment the line  <<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Example

4. Go to 
creatio_dir/Terrasoft.Configuration/Pkg/CrtDigitalAdsApp/Files/Bin/netstandard/Properties and remove Resources.resx
Now i have no warnings and errors when compile all

Thank you :)

Show all comments

Dear,

On our development environment we are having the following error when we try to run compilation:

Compilation errors

File name: OrderSchema.Custom.cs

Code CS1061 - Line 1727

'IEnumerable<EntityColumnValue>' does not contain a definition for 'Any' and no accessible extension method 'Any' accepting a first argument of type 'IEnumerable<EntityColumnValue>' could be found (are you missing a using directive or an assembly reference?)

We tryed to restore Order and OrderPageV2 from the prod

Recompile all environment

Clear Redis and restart application

I can figure where from is this error coming...

Thank you for help !

Nicolas

Like 0

Like

8 comments
Best reply

Hello,

Yes, indeed, in this case, it is necessary to redesign processes to be interpreted, not compiled.

 

https://academy.creatio.com/docs/8.x/no-code-customization/bpm_tools/pr…

The error was coming from a script in which variables were not well declared

Hello,

Yes, indeed, in this case, it is necessary to redesign processes to be interpreted, not compiled.

 

https://academy.creatio.com/docs/8.x/no-code-customization/bpm_tools/pr…

hello!
I have the same errors during compilation, but in OpportunitySchema.Opportunity.cs file, recompilaiton didnt help

Dmitrii Balashov,

 

Please specify if you already tried to follow the instructions provided above to fix this issue:

"it is necessary to redesign processes to be interpreted, not compiled."

https://academy.creatio.com/docs/8.x/no-code-customization/bpm-tools/pr…

I've only just recently started working with Creatio, but as I understand it this relates to writing Script task correctly


But after deleting all my custom script tasks the problem is still present on after recompiling

I contacted support and it looks like this is an issue with Opportunity package in version 8.1.3, which should be resolved in 8.1.4

Dear Dmitrii Balashov,

These compilation errors are fixed for 8.1.4, but you can go to the workaround solution:

    1) Unlock the Opportunity package for the hotfix.
    2) Open the embedded process in the Opportunity object schema.
    3) Change three lines (8, 10, 11) in the OpportunitySaving method to use the full definition of System.Linq.Enumerable save process and compile the system.
    4) Lock the Opportunity package.



BP

 

Full definition of System.Linq.Enumerable

 

Best regards,

Andrii

Andrii Kurta,

Thank you!

Show all comments

I'm Getting Error while compiling the workspace everytime. I checked the error log and it's saying as below. Kindly help to resolve this. Have attached the file for reference.



[57] ERROR IIS APPPOOL\Creatio Terrasoft.Core.UserConnection OnCurrentUserConnectionChanged - Overwriting UserConnection.Current in the same context is not allowed    at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)

File attachments
Like 0

Like

1 comments

Hello,

 

Try to generate "All source code" and recompile it.

Show all comments

Hello All,

 

I am trying to compile my system and its throwing an error. 

 

 

Can someone assist.

 

Regards

Sivanesan S

 

 

Like 0

Like

1 comments

Hello,

 

In the code of the UsrAccountInfoByTypeConverter you are trying to use the GetTypedColumnValue method in 81, 85 and 87 line and it's done incorrectly. You need to debug the code of the UsrAccountInfoByTypeConverter and check why the error is returned there (this should be related with types usage and columns from which data should be retrieved).

Show all comments

Hi,

 

Encountering the attached screenshot error while publishing the custom source code in to a cloud instance. I am connecting via VPN to access the instance. How can this issue be resolved. 

 

 

Like 0

Like

3 comments
Best reply

Anupama,

 

Please, try initiating this in Mozilla in Incognito mode - this should resolve the issue. In case it does not - please, contact us at support@creatio.com so that we could have a look at this.

 

Best regards,

Anastasiia

Hello Anupama,

 

Thank you for your question!



The error you are facing is a timeout error. In order to fix this issue, there is a need to update the [User session timeout] system setting and to make sure to remove the Caching option, allow to modify it by internal users, and increase the Default value to 420. After this, the user who performs the source code generation should relogin.



The procedures should be initiated in a browser different from Google Chrome (for example Mozilla) and as an extra option - in Incognito mode. This way the issue should not occur again. 



Let me also mention, that the current issue has been already resolved in 7.18.4 version of the main application, so in case the issue persists despite all the provided above recommendations, please proceed with updating the instance.

 

Best regards,

Anastasiia

Anastasiia Lazurenko,

 

The User Session timeout system setting is already set to 720 with the settings mentioned above and the instance version is 7.18.4.1532.

 

But we still encounter this error message. What else could be done?

 

 

 

 

Anupama,

 

Please, try initiating this in Mozilla in Incognito mode - this should resolve the issue. In case it does not - please, contact us at support@creatio.com so that we could have a look at this.

 

Best regards,

Anastasiia

Show all comments

Hello community,



After successfully importing my custom package from file system, I tried to compile it and I got the following error:

 

After checking the Build.log I found the following error:

2022-02-01 03:44:23,013 [122] INFO IIS APPPOOL\Creatio Build BuildConfigurationProjects - WorkspaceCompiler.Build started at 00:00:09.0206194

2022-02-01 03:44:23,013 [122] INFO IIS APPPOOL\Creatio Build SetCustomProperties - UseSourceCodeSchemaGenerator = True

2022-02-01 03:44:23,013 [122] INFO IIS APPPOOL\Creatio Build SetCustomProperties - OldUI = False

2022-02-01 03:44:23,013 [122] INFO IIS APPPOOL\Creatio Build SetCustomProperties - NetStandardCompatibilityMode = True

2022-02-01 03:44:23,653 [8] INFO IIS APPPOOL\Creatio Build CaptureOutput - Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Core

2022-02-01 03:44:23,653 [8] INFO IIS APPPOOL\Creatio Build CaptureOutput - Copyright (C) Microsoft Corporation. All rights reserved.

2022-02-01 03:44:24,325 [8] INFO IIS APPPOOL\Creatio Build CaptureOutput -   Determining projects to restore...

2022-02-01 03:45:00,886 [8] INFO IIS APPPOOL\Creatio Build CaptureOutput - C:\Program Files\dotnet\sdk\3.1.301\NuGet.targets(128,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [C:\inetpub\wwwroot\Creatio\Terrasoft.WebApp\Terrasoft.Configuration\Pkg\FzLoanOriginationIntegration\Files\FzLoanOriginationIntegration.csproj]

2022-02-01 03:45:00,886 [8] INFO IIS APPPOOL\Creatio Build CaptureOutput - C:\Program Files\dotnet\sdk\3.1.301\NuGet.targets(128,5): error :   No such host is known. [C:\inetpub\wwwroot\Creatio\Terrasoft.WebApp\Terrasoft.Configuration\Pkg\FzLoanOriginationIntegration\Files\FzLoanOriginationIntegration.csproj]

2022-02-01 03:45:00,917 [8] INFO IIS APPPOOL\Creatio Build CaptureOutput - Build FAILED.

2022-02-01 03:45:00,917 [8] INFO IIS APPPOOL\Creatio Build CaptureOutput - C:\Program Files\dotnet\sdk\3.1.301\NuGet.targets(128,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [C:\inetpub\wwwroot\Creatio\Terrasoft.WebApp\Terrasoft.Configuration\Pkg\FzLoanOriginationIntegration\Files\FzLoanOriginationIntegration.csproj]

2022-02-01 03:45:00,933 [8] INFO IIS APPPOOL\Creatio Build CaptureOutput - C:\Program Files\dotnet\sdk\3.1.301\NuGet.targets(128,5): error :   No such host is known. [C:\inetpub\wwwroot\Creatio\Terrasoft.WebApp\Terrasoft.Configuration\Pkg\FzLoanOriginationIntegration\Files\FzLoanOriginationIntegration.csproj]

2022-02-01 03:45:00,933 [8] INFO IIS APPPOOL\Creatio Build CaptureOutput -     0 Warning(s)

2022-02-01 03:45:00,933 [8] INFO IIS APPPOOL\Creatio Build CaptureOutput -     1 Error(s)

2022-02-01 03:45:00,933 [8] INFO IIS APPPOOL\Creatio Build CaptureOutput - Time Elapsed 00:00:37.16

 

Can someone explain why is this error happening, because I am not using any nuget library on my package and it is .Net framework version not .Net core. 

 

Thank you

Like 0

Like

2 comments

Hi Erald, 

this problems happens because .net Core SDK 2.2 is not installed in the server. Please try downloading it from here (please note that you don't need to delete the .net Core SDK 3.1 which is already installed) https://dotnet.microsoft.com/en-us/download/dotnet/2.2 and let us know if the problem persists. Once installed please restart the server and try compiling the app again.

developer,

 

We see that you have created a separate post (https://community.creatio.com/questions/problem-while-compiling-packages) and provided more details in it, we will work on your question there.

Show all comments

Hi, I am using the cloud trial version of sales enterprise Creatio. I am getting this compilation error every time I compile my instance. On rare occasions it gets complied successfully. The same is true when I try to publish objects etc. Why is this error frequent and how do I rectify it ?

 

PS: The path mentioned in the error screenshot doesn't exist in my PC. Hence I assume the path is a part of Creatio cloud side and the error too. 

Like 0

Like

1 comments

Hello

 

The error usually appears if the system compilation is started by 2 or more users at the same time. One more scenario is when the compilation is still running and another compilation is started and not finished. Most likely this happens in your case.

You need to wait till the process is finished. The directory from the error message comes from application server and means that the static content is still generated there. 

It might take more time than usual with trial\demo instances since they do not have much resources to finish the process faster.

 

Regards,

Dean

Show all comments

I have noticed when attempting to build source or compile in the "Advanced" aka Configuration Tool in 7.17, I get the following error.  The activity spinner continues to spin and the site is unavailable, much like it is continuing.  Just wondering if some timeout value needs to be altered to avoid this?

Like 0

Like

4 comments

You need to review the application logs to identify the exact error message that is received upon compiling the app. Also you need to make sure that there are no firewall restrictions for the service via the link above from your client that could prevent the client from getting the response from the server.

 

Best regards,

Oscar

Oscar Dylan,

No errors and no firewalls as I am local (on-premise).

Shane Judy,

 

this error means that there is a problem with sending\receiving requests to\from IIS-server. Maybe the connection to the internet was lost upon compilation or there is some proxy that reroutes requests or there was some modification on the network layer of the IIS-server when you started the compilation. Try to compile the app once again, it should be successful now.

Oscar Dylan,

Again, I am local to the server... no internet connection involved LAN->LAN... same segment, no proxy and no changes to IIS layer while this was occurring (off-hours here in US).  I am the only one on the network.

 

Show all comments

Hi ,

Need some help on installation 7.15.3 version. After installed and start compiling got errors. here i am attaching error and build log files of error description.

File attachments
Like 0

Like

4 comments

Hello,

 

You need to install .NET Core SDK as described in these Release Notes (https://academy.creatio.com/documents/bpmonline-release-notes-7-14-4) at "DEVELOPMENT TOOLS" paragraph and Developer Pack  for 4.7.2 .NET Framework from here https://dotnet.microsoft.com/download/visual-studio-sdks so to resolve this compilation message.

 

And restart your physical computer after that.

 

Best regards,

Oscar

Oscar Dylan, Thank you for reply will check .net framework and .net core versions and once again restart the computer.

Correct versions of .net framework(4.7.2) and .net core(2.2.300) versions are present in system.Still getting the error.

Oscar Dylan,

Any other suggestions?

Show all comments