I can't open the code map in visual Studio (2022 enterprise), I get the attached error, since I haven't implemented a database myself, I assume it's due to multicharts itself.
Is this an expected error?
Is there a workaround?
Unable to connect to the specified database.
An exception occurred while attempting to connect to a database using the following connection string:
Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=;Initial Catalog=master;Integrated Security=True;Enlist=False;Asynchronous Processing=True;MultipleActiveResultSets=True;Connect Timeout=30.
Make sure that the specified SQL Server instance exists and that the service is running.
code map in VS cannot be opened
- Polly MultiCharts
- Posts: 281
- Joined: Jul 20 2022
- Has thanked: 2 times
- Been thanked: 68 times
Hello HellGhostEvocatorX,
We have checked it on our end and the connection is established fine.
Please create a Console Application project in Visual Studio and move the database connection code into it using your connection string. Can you connect to the database with this connection string from this Console Application?
We have checked it on our end and the connection is established fine.
Please create a Console Application project in Visual Studio and move the database connection code into it using your connection string. Can you connect to the database with this connection string from this Console Application?
-
- Posts: 144
- Joined: Feb 10 2022
- Has thanked: 68 times
- Been thanked: 23 times
Thanks for the reply. I think you misunderstood me.
I didn't write a database myself, so the error message surprises me.
I thought that might be the internal database, for example. meant by the quote manager, to which I don't have direct access.
Accordingly, I don't know how I could implement your suggested solution.
Is there perhaps the possibility of downloading the original Multicharts project file with the indicators, functions and signals etc. individually without having to reinstall Multicharts directly? Then I could gradually rule out errors that may have arisen from my code.
I didn't write a database myself, so the error message surprises me.
I thought that might be the internal database, for example. meant by the quote manager, to which I don't have direct access.
Accordingly, I don't know how I could implement your suggested solution.
Is there perhaps the possibility of downloading the original Multicharts project file with the indicators, functions and signals etc. individually without having to reinstall Multicharts directly? Then I could gradually rule out errors that may have arisen from my code.
- Polly MultiCharts
- Posts: 281
- Joined: Jul 20 2022
- Has thanked: 2 times
- Been thanked: 68 times
HellGhostEvocatorX,
If you’re saying that you didn't write the database, but you’re connecting to it, please specify how you connect to it. Are you doing it from the indicator? Did you write the indicator?
Please note that the QM database is not a SQL database, but FireBird.
If you’re saying that you didn't write the database, but you’re connecting to it, please specify how you connect to it. Are you doing it from the indicator? Did you write the indicator?
Please note that the QM database is not a SQL database, but FireBird.
-
- Posts: 144
- Joined: Feb 10 2022
- Has thanked: 68 times
- Been thanked: 23 times
I don't connect to a database anywhere, that's the strange thing.
I go to some indicator and then to show code map. This is then created briefly and after a few seconds the above-mentioned error message appears.
What I actually haven't noticed so far is that it also reports that the project folder can't be created. I actually hadn't noticed that until now.
I also searched the solution for relevant keywords that could point to a database, but couldn't find anything!
Since there is no exact path information in the error message, I'm a bit confused
I go to some indicator and then to show code map. This is then created briefly and after a few seconds the above-mentioned error message appears.
What I actually haven't noticed so far is that it also reports that the project folder can't be created. I actually hadn't noticed that until now.
I also searched the solution for relevant keywords that could point to a database, but couldn't find anything!
Since there is no exact path information in the error message, I'm a bit confused
- Polly MultiCharts
- Posts: 281
- Joined: Jul 20 2022
- Has thanked: 2 times
- Been thanked: 68 times
HellGhostEvocatorX,
Please send us the following files to our support email so that we would be able to investigate the issue:
Please send us the following files to our support email so that we would be able to investigate the issue:
- The exported scripts of the problematic indicator with all dependent functions that are used on the workspace.
- The screenshot demonstrating the error message.
- Step-by-step instruction on how to reproduce the issue.
-
- Posts: 144
- Joined: Feb 10 2022
- Has thanked: 68 times
- Been thanked: 23 times
This is not a single indicator problem, it occurs with all indicators.
Do you still need a single indicator file or all of them?
Is it possibly because of one of the references?
I have attached pictures to help you understand what I am doing.
Do you still need a single indicator file or all of them?
Is it possibly because of one of the references?
I have attached pictures to help you understand what I am doing.
- Attachments
-
- 3 a few seconds later.png
- (70.08 KiB) Not downloaded yet
-
- 2.png
- (256.45 KiB) Not downloaded yet
-
- 1.png
- (240.22 KiB) Not downloaded yet
- Polly MultiCharts
- Posts: 281
- Joined: Jul 20 2022
- Has thanked: 2 times
- Been thanked: 68 times
HellGhostEvocatorX,
Please specify the steps taken before the issue appeared. Did you use some 3rd party indicators?
You can come to our live chat MON-FRI from 6:00 AM till 1:00 PM EST so that we can study this behavior remotely.
Live Chat is accessible from our web site.
Please specify the steps taken before the issue appeared. Did you use some 3rd party indicators?
You can come to our live chat MON-FRI from 6:00 AM till 1:00 PM EST so that we can study this behavior remotely.
Live Chat is accessible from our web site.
-
- Posts: 144
- Joined: Feb 10 2022
- Has thanked: 68 times
- Been thanked: 23 times
Conclusion from the Multicharts remote maintenance support is that it is fundamentally not possible to use the codemap (only available in the VS Enterprise version) because - as I almost suspected - it tries to access locked Multicharts files.
Multicharts itself does not offer support for VisualStudio and still uses the 2010 version.
Therefore it will probably never be possible to use it. It's a shame, because this would have given us a little more overview of the built-in classes, methods, etc. in Multicharts. Unfortunately, the help file itself does not offer mega help...
Multicharts itself does not offer support for VisualStudio and still uses the 2010 version.
Therefore it will probably never be possible to use it. It's a shame, because this would have given us a little more overview of the built-in classes, methods, etc. in Multicharts. Unfortunately, the help file itself does not offer mega help...