daSchema daConnections no connection in daConnections

Hello,

When we open daSchema by double clicking the .daSchema file, the daConnections file opens as well, but it’s empty. So nothing works in daSchema.

If we open the daConnections file by double clicking the .daConnections file and we answer yes to open daSchema, then the connection is visible in the daConnections UI and everything works in daSchema.

What could be the problem?

Hi, I reproduced this on my side.
The issue is how Schema Modeler locates the .daConnections file when you double-click a .daSchema : it reads the server .csproj and looks for a <EmbeddedResource Include="...daConnections" />

Locate the lines referencing .daSchema and .daConnections . They should look like this, with the exact filenames that exist on disk:
Make sure both entries use EmbeddedResource

<EmbeddedResource Include="AdireServerService.daSchema" />
<EmbeddedResource Include="Adire.Server.daConnections" />

Hi,

It looks like this, but still the same issue.

Thanks for the help.

I created a minimal test case with the same file names as yours (AdireServerService.daSchema + Adire.Server.daConnections ). On my side, double-clicking the .daSchema loads the connections correctly.
testcase_daSchema.zip (51.3 KB)

P.S. When you double-click a .daSchema, Schema Modeler looks for a .daConnections with the same base name first - so for AdireServerService.daSchema it tries AdireServerService.daConnections.
If that file exists (even if empty), it loads it and stops.
Your actual Adire.Server.daConnections is never reached.

Could you check additionally: how many .daConnections files are in your project folder? You should only have valid Adire.Server.daConnections

Hello,

I see. Someone checked in another daConnections file in Git, but it wasn’t added in the project, just in the folder. By deleting it, everything is back to normal.

Thank you for the info and the help.

Have a nice weekend.

1 Like