I have Mass Transit using Marten (8.0.7) for the saga repository.
When I run this using Visual Studio's docker-compose integration, in Docker Desktop, it works.
However, running from PowerShell, using docker-compose up, I get a large number of errors relating to namespace issues in a stack originating in Linq.MartenLinqQueryProvider.ExecuteAsync
The errors are all of the form, "Compilation failures!
CS0234: The type or namespace name 'Internal' does not exist in the namespace 'Marten'
CS0246: The type or namespace name 'Weasel' could not be found ...
CS0246: The type or namespace name 'System' could not be found ...
Is there anything that jumps out as wrong?
Related
Runtime error occuring while running plexe example, saying Unknown parameter 'order' -- in module (veins::TraCIScenarioManagerForker) Highway.manager (id=5), during network initialization. How to solve this issue?
I tried changing the ned file for the same, also tried removing the "order" parameter and running the module.
I'm trying to upload shape file for geoserver and I'm getting this error when I upload the same feature type 10 times in to different datastores.
I'm getting this warning,
WARN [rest.catalog] - Feature type surface_zone_line-line already exists in namespace MyWorkSpace, attempting to rename
And In the next line this error is showing,
ERROR java.lang.RuntimeException: java.lang.IllegalArgumentException: Resource named 'surface_zone_line-line9' already exists in namespace: 'MyWorkSpace'
That renaming worked well up to 9 feature types but It didn't work for 10th.
Please help!
GeoServer Version 2.14.1
I'm trying to update my database and for that I nedd to enable-migrations. However, when I enable migrations it gives me the error referenced above. I already tried:
Enable-Migrations -ProjectName MyContextProjectNameHere -StartUpProjectName MyStartUpProjectNameHere -Verbose
Here is my Data folder:
But I still have an error. Why is this happening?
You seem to have replaced ProjectName with AppFogos_WebApi, but in doing so you also modified the command parameter names. The command should read:
Enable-Migrations -ProjectName AppFogos_WebApi -StartUpProjectName AppFogos_WebApi -Verbose
Note that this assumes that your model is defined in the same project than your web project.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'SD' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 25: using App2.DAL.ValidatorClasses;
Line 26:
Line 27: using SD.LLBLGen.Pro.ORMSupportClasses;
Line 28:
Line 29: namespace App2.DAL.EntityClasses
Source File: c:\inetpub\wwwroot\App_Code\App2.DAL\DatabaseGeneric\EntityClasses\ListI9DocsEntity.cs Line: 27
You need to check your references to LLBLGen ORMSupportClasses assembly in your asp.net project. Make sure the dll is copied to the output /bin directory.
BTW, ask your questions on the LLBLGen Forums, as they are monitored every day by the support team.
I just started a new project and was reorganizing the source structure including renaming namespaces. After changing a namespace from
CRTReadmissions.Web.Helpers
to
Crt.Readmissions.Web.Helpers
I get the error shown below when trying to launch the applicaiton indicating that it can't find the old namespace. Any help is greatly appreciated.
Things I've tried
Clean\Rebuild
Manually delete bin directory
Manually delete the contents of the directory where the generated file is located
Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'CRTReadmissions' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 26: using System.Web.Routing;
Line 27: using Cassette.Views;
Line 28: using CRTReadmissions.Web.Constants;
Line 29: using CRTReadmissions.Web.Helpers;
Line 30:
Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\crtreadmission\203bedd5\1b724153\App_Web_login.cshtml.3f4b83a6.wbzlumh4.0.cs Line: 28
I solved the same problem by editing the web.config file in the Views folder.
Just take a look at the namespaces tag.
I hope this will help someone who faces the same issue.