I am trying to remove database connections from the Database Expert of Crystal Reports in VS but the option is grayed out...
I made a lot of connections and now I want to delete them to avoid confusion in My Connections.
Even referred to the following link but it is useless..
Open the .rpt file in Visual Studio, and don't do anything, just open data expert and d, then try to delete the connections by Right Click → Remove Connection, under My Connections, in Database Expert. All connections can be removed, except for those currently used in report.
open windows explorer and navigate to C:\Users\yourusername\Documents\History
make sure you can view hidden files
open each DataSource#.xml file to see which one you want to remove
move that file to a different folder (to test)
close and reopen your crystal reports application (currently 2016) and check if that removed the expected data source
Related
I noticed that in the context menu of any connection in Azure Data Studio, there is no rename option. Also, you cannot rename the connection in the Dashboard that opens when you click "Manage" in the mentioned above context menu.
Is there any way to rename a connection created in Azure Data Studio?
Dark Templar's answer works. But you can do it inside of Azure Data Studio by adding New Connection. That opens a sidebar on the right where you can select the connection and change the any of the fields down in Connection Details. Seems like you have to press Connect to save it.
Figured out the solution. I'm on Ubuntu, and the file, where the information about connections is stored, is found in:
~/.config/azuredatastudio/User~/settings.json
Just edit the entries located in the "datasource.connections".
On Windows 10 it is under the following path:
C:\Users\<User>\AppData\Roaming\azuredatastudio\settings.json
I'm new to Aptana 3. I recently switched from using an FTP (Filezilla) and text editor just to speed the file editing process up a bit.
I'm dealing mainly with Wordpress sites on a shared Godaddy hosting account, and am having some trouble uploading the files I have edited via Aptana to my live site.
i.e. I've edited several lines in my "main.css" file. I save it in my "Project Explorer" window in Aptana, have my FTP connection all set up and working, and click the "Upload" icon. I refresh my browser and nothing has changed, and I can see the website is still pulling in the old css. I've also tried "synchronizing" my files and hitting the "Publish" button, but that doesn't work either?
I've also tried just editing the file in a new Remote Connection tab, but no joy either.
I've hunted all over for simple walkthrough for deployment or file sync guides for Aptana, and watched a few video tutorials but nothing has worked so far.
Hold Control+F5 for a few seconds in your browser. You probably are just running a cached version of the CSS in your browser. That should prune it.
I had the same problem. What I found I had to do was an initial synchronization, I know you mention that you did this but it may be that it didn't fully sync as its not always clear what is going on with the Aptana sync.
What I did:
Make sure your Project has a connection in it and that it points to the server location that you want to sync with
Select the Remote tab and right-click on a file within the chosen connection, choose File Transfer...
This will open the sync window and it will initiate a compare, this is where confusion set in for me, if the folder structure is not identical it will propose to create and delete lots of files. I found I was deselecting items to be safe but meant that it did not correctly sync. Make sure you are syncing from the same root level and then let it do a full sync, this seems to register or record a link between the local and remote files.
Run the sync. when it is complete you will now be able to upload individual files successfully from the Project tab using the upload icon (before a successful sync this will not work - even though it looks like it is doing an upload).
Hope this helps.
Why would my VS solution lose its TFS bindings suddenly? I have been working on a project for six months and this never happened. As soon as I opened a VS project/solution, I could check in/out, view history by right clicking on any given file. But suddenly, I dont see those options to checkin checkout etc any more when I right click on a file in VS studio solution explorer.
The team explorer window still brings up the source folder structure and I can get latest or get specific from there but did any one see this kind of behavior? Please let me know what I can do to avoid these situations in future.
Did you lose connection to the TFS server any time recently? I've had this happen in the past on unreliable network connections when working via TFS remotely. The solution and all projects therein would "go offline" and would appear to lose their bindings. This made it particularly unintuitive when the connection was re-established because changes made while "offline" weren't always found.
If you right-click on the solution or the projects, is there an option to "go online"? You might check the various menus for such an option as well.
Did you move the source files to a different location on your harddrive, or change your workspace mappings?
Try opening the solution/project by double-clicking the .sln file in Source Control Explorer instead of opening it from windows explorer.
You can also try bringing up the Bindings dialog by going File -> Source Control -> Change Source Control
I recently had a very similar experience. I had made several changes which I thought may have influenced my connection resilience. After reversing out of 2 of them and the problem persisted, I finally clocked what it was.
One of the new extensions I am using is NuGet (http://nuget.codeplex.com/). Every time I attempt to add a library my TFS connection fails and is unrecoverable till a restart of VS 2010.
See: http://nuget.codeplex.com/workitem/725
There is a work around that has been reported and working which may help you even if this is not your problem.
see http://blog.rthand.com/post/2011/08/26/Fixing-combination-of-NuGet-and-Team-Foundation-in-workgroup-configuration-401-Unauthorized.aspx
Happened to me also. I was removing a whole bunch of mappings for old releases under the local workspace. It was taking over 40 minutes so I killed it. The mapping has been removed to the older branches but the branch left behind had been disconnected from TFS.
When I try to update the existing edmx Model while connected to TFS i receive an error:
"XmlModels involved in this transasction are not editable".
What's even worse, is that when I try to generate a new model, Visual Studio just crashes out.
It happens only when I'm working online on a project, being connected to team foundation server.
So far the only solution I've found was to edit .edmx file using text editor...
Thanks in advance for any responses.
From: http://connect.microsoft.com/VisualStudio/feedback/details/299134/vs2008-beta2-ado-net-entity-data-model-and-wpf-app-issues
Please make a copy of your edmx file before you attempt this action.!
For ADO.NET: Duplicate InheritanceConnectors and/or AssociationConnector seems to be the problem, so deleting everything in the edmx:Diagram tag except entitytypeshape fixes the problem when you save and open again.
Other people indicate that closing and re-opening the solution or rebinding to the source control system completely could have a positive effect.
I am using VS 2010 and recently I moved some files around and changed paths etc.
The solution still compiles correctly and all files are able to be loaded/compiled without error however just about every time I go to compile after a change it gives me the save as dialog and asks me to save one of the projects, if I try to give it a new name or something the dialog does not exist nothing I do can make it exit apart from pressing cancel.
If I do a build straight after cancelling it works fine and I'm not presented with the save as dialog. I have verified that the project file is not read only.
Any ideas as to whats going on here.
The solution is stored in TFS 2008
You need to do 2 things
1- remove the read-only tick from the project folder
2- when a save-as window prompts at build, just overwrite the project
next time you build, the window won't pop up
You need to run VS as administrator. (right click on VS Icon- Run as administrator)
I solved the issue. When I try to save as this time it gives the error that file is being used by another process. Google Sync prevents to save so it opens save as dialog.
You should put your project under a folder not sync while working.
Are the bindings in TFS set up correctly with the new location? TFS will mark files as read only unless they get checked in. It might have been marked as such before you moved everything around, and now, isn't being checked out properly.
Also, try closing sync. files tools like google backup and sync.