Apex Sql Complete Locks Up SSMS - ssms-2016

I recently installed the latest version of Apex Complete on SSMS 2016. When I installed it, ssms would not start. It would open the window and get to the point where you normally be greeted with the prompt to connect to a db server, but would not open that prompt and not respond. Also the memory usage went up close to 1GB for SSMS. I then uninstalled the Apex Complete application and everything is working as it should.
I do have RedGate Sql Source control installed in SSMS, and I am curious if that could be the issue. Has anyone else ran into this issue? As I hadn't even connected to the db server, it shouldn't have any work to do at that point as far as parsing databases, so I'm not sure what the issue may be.

From a Support Engineer at Apex Sql:
I’d suggest that you perform a few steps to install a clean copy (remove leftovers) of ApexSQL Complete as it might solve the issue. Before you start, all running instances of SSMS and VS must be closed:
Uninstall ApexSQL Complete from Program and Features in Control Panel
Go to this location: %SystemDrive%\Program Files\ApexSQL and, if exists, delete the ApexSQL Complete folder
Go to this location: %UserProfile%\AppData\Local\ApexSQL and delete the ApexSQL Complete and ApexSQLAddinsLogs folders
After the 3rd step, download and install ApexSQL Complete from this link.
With this, my system is now working, but I do have a battle between the ssms code completion and the Apex, which I never had to deal with using the RedGate tools.

Related

Visual Studio Will Not Edit Script Task

I've had trouble trying to get an Excel file to connect to this SSIS package so I've uninstalled and reinstalled VS2019, Integration Services, and Access Server 64bit a half dozen times.
This most recent time I opened the SSIS package I created that started this whole mess and I got an error that it was incompatible. Not sure how as I created it using the exact same packages!
Now it will not allow me to Edit Script on any Script Tasks, even new Script Tasks in a completely new file!
After some time on Google I found some older posts with similar issues where Miscrosoft Visual Studio Tools for XXXX didn't uninstall properly and wasn't registered properly upon reinstall.
I went into Add/Remove Programs found I had tools for 2017 and 2019. I clicked Modify on them, and select Repair. Upon repairing them both the scripts could then be edited again.

Installing update2 for VS2015

I installed update2 for VS2015. This took a long time. Eventually I had to go home with my PC and decided to hibernate my PC. When I got I home I continued the installation. The install seemed to be fine but at the very end listed a whole bunch of errors, all about not being able to find a file (no file name provided). I can see that the install did install a whole bunch of stuff, but now I need to worry about what did not install.
When I attempt to re-run vs2015.2.exe it states that there is nothing to do and will do nothing even when I select either the 'Reset defaults' or 'Select All' options.
How can I re-install for my peace of mind?
My pc once crashed while installing Updates from VS2015 and it left some critical damage... I backed up my projects and reïnstalled VS, For me this was the easiest and fastest way to solve the problem, other wise it would probably be an almost impossible job to revert everything back
When the installation was finished i tried again, this time watching over my pc to insure nothing bad would happen again. This solved it on my pc and it Updated just fine!
Just open Control Panel, then click at Uninstall program and select Microsoft Visual Studio 2015.
Select Change and then click on repair.. Visual studio will repair itself and then you can install your update 2 again.
During repair you won't lost projects..

Missing Server Explorer right-click menu options in Visual Studio 2010

I've searched high and low for the answer to this and can find nothing on it. I have installed VS 2010 pro edition on a virtual machine running MS XP Pro. After connecting to my database, I can see all the tables, stored procedures, and functions just fine in the list. However, when I rick-click on any of them, the options to create new/edit/run any of them are missing.
This is not the first time I've set up VS 2010. I got a new laptop so reinstalled everything. I changed no settings the first time I've set this up, and none this time. I set up the connection to the databases the same way each time, and even looked at my old connection settings while I set up this installation. The old installation had all of the right-click options, but this one does not. I have tried going to Tools -> Import and Export Settings -> Reset all settings and tried General Development Settings, Visual C# Development Settings, and Web Development as the default collection of settings. None of these worked.
I've looked through the settings and found nothing for the right-click menu. It almost seems as if the database connection is open in a "read only" mode, but there doesn't seem to be a setting for that, so I don't think that is the case. If anyone knows of any way to get these options to show up, I would greatly appreciate the input. Thanks in advance.
After I installed Visual Studio 2010 (Ultimate), I accidentally uninstalled the SQL Server Data Tools which were installed together with VS, and after reinstalling them (by repairing the VS installation) the missing context menue options were back again.
Desperate to resolve this, I played around with the connection more. I had originally chosen Microsoft SQL Server as the data source, and .NET Framework Data Provider for OLE DB as the Data Provider. Evidently, the data provider was wrong. After choosing .NET Framework Data Provider for SQL Server, it worked and I could see all of my right-click menu options.
I have VS 2013 Ultimate installation. Along this version I installed SSTD BI. Everything was working perfect until I got the same issue. Right-click on tables or other folders displays only three options: copy, refresh, property. The tricky thing is that it's impossible to uninstall SSTD BI in Control Panel or install SSTD BI on top of previous installation. What helped me is repair installation of VS2013. Start your installation file and chose repair instead of installation. Couple hours and it's back to work.
I downloaded SSTD from here and it fixed my missing context menus
https://msdn.microsoft.com/en-us/mt186501

Debugging in SSMS exits without stepping in to code

I've recently put Windows 7 on my development PC, and I have Visual Studio 2008 Team System Development Edition, and SQL Server Management Studio 2008, and for some reason I can't seem to step in to any SQL code for debugging in SSMS.
Before I formatted in favour of Windows 7, I was able to debug on the same two SQL servers I'm trying now with the same software, so I'm guessing it's something to do with client configurations. Regardless, I tried all the steps I could find to enable SQL remote debugging but nothing has worked.
When I attempt to debug or step into the active query window, the debugger simply runs the code without stopping at the start or any breakpoints.
If I try use Visual Studio (running as Administrator) I get the following error:
T-SQL execution ended without
debugging. You may not have sufficient
permissions to debug.
Anyone got a clue what to do here?
EDIT
I'm still having this problem. I re-installed the latest SQL Server Management Studio from MSDN's latest SQL Server 2008 download available, and patched it with SP1, but this same problem still happens. Other people in my office are able to debug code with the same version client, and same permissions (set using group permissions) so I'm at a loss as to what is causing this.
FINAL EDIT
Solved! The issue was simply a domain authentication issue. See my answer for a larger explanation.
Have you made sure that in Server Explorer (In Visual Studio), if you right click on your connection that you have "Allow SQL/CLR Debugging" and "Application Debugging" checked?
Today, I finally solved this.
I was writing an ASP.NET application that included the line:
User.IsInRole("DOMAIN\\Administrators");
And this was throwing the following exception:
The trust relationship between this
workstation and the primary domain
failed
I wasted a little time applying the KB976494 hotfix, which I soon discovered didn't work. During my developer rage I looked in my local "Administrators" account and noticed it listed almost all members by their S-ID, so figured there may have been a domain problem.
Then it came to me... I remembered I joined the domain with my personal (non-administrator) account, instead of using the domain administrator account.
These were the ultimate steps to fix this issue:
Leave your domain (and join an arbitrary workgroup, such as "WORK")
Reboot.
Join your domain with your "DOMAIN\Administrator" account
User.IsInRole() now worked, so out of curiosity I checked this problem, and it was also fixed.
This is a great Friday so far!

Visual Studio setup problem - 'A problem has been encountered while loading the setup components. Canceling setup.'

I've had a serious issue with my Visual Studio 2008 setup. I receive the ever-so-useful error 'A problem has been encountered while loading the setup components. Canceling setup.' whenever I try to uninstall, reinstall or repair Visual Studio 2008 (team system version). If I can't resolve this issue I have no choice but to completely wipe my computer and start again which will take all day long! I've recently received very strange errors when trying to build projects regarding components running out of memory (despite having ~2gb physical memory free at the time) which has rendered my current VS install useless.
Note I installed VS2005 shell version using the vs_setup.msi file in the SQL Server folder after I had installed VS2008, in order to gain access to the SQL Server 2005 Reporting Services designer in Business Intelligence Development Studio (this is inexplicably unavailable in VS2008).
Does anyone have any solutions to this problem?
P.S.: I know this isn't directly related to programming, however I feel this is appropriate to SO as it is directly related to my ability to program at all!
Note: A colleague found a solution to this problem, hopefully this should help others with this problem.
A colleague found this MS auto-uninstall tool which has successfully uninstalled VS2008 for me and saved me hours of work!!
Hopefully this might be useful to others. Doesn't speak highly of MS's faith in their usual VS maintenance tools that they have to provide this as well!
I had the same error message. For me it was happening because I was trying to run the installer from the DVD rather than running the installer from Add/Remove programs.
In my case, uninstalling from Add&Remove Programs didn't work. Instead, the problem was due to a recently hotfix installed through automatic updates. The hotfix to VS 2008 (in my case) has the number KB952241, so I uninstalled it using Add/Remove Programs checking on the show updates option. After it was unistalled the problem was gone.
I encountered the same problem and found a very easy solution.Go to the following Link:
http://msdn.microsoft.com/en-us/vs2008/bb968856.aspx
and run VS AutoUninstall tool .This will automatically remove all the components of VS 2008.
Cheers
Sure enough, for me, it was the hotfixes. In Add/Remove Programs, check the "Show Updates" box, and remove ALL of the Hotfixes associated with your version of VS2008. Then try the "Change/Remove" button - it should now proceed without a hitch.
Well, it did for me, anyway... ;-)
I have Visual Studio Team System 2008 Development Edition, and had to remove all updates and Hotfixes:
Update KB972221
Hotfix KB973674
Hotfix KB971091
Reboot, then the following Hotfix appeared, which I then removed as per #riaraos' answer:
Hotfix KB952241
Before the Change/Remove would work!
Hope that helps someone else.
Uninstall hotfixes installed in related to vs2008 and then try again.
It worked for me and hopefully it will for you as well.
Thanks,
Zelalem
Remove the following hot fixes and updates
Update KB972221
Hotfix KB973674
Hotfix KB971091
Restart the PC and try to uninstall now. This worked for me without problems.
Microsoft itself posted a KB article about this, and that article has a service pack that they claim fixes the problem. See below.
http://support.microsoft.com/kb/959417/
It took a while for the associated update to install itself, but once it did, I was able to run the Visual Studio setup successfully from the Add/Remove Programs control panel.
You should look for the MSI setup logs in the temp directory of your system. They will contain detailed inforamtion about why the setup failed.
I had a similar installation problem with Visual Studio 2008 which I was able to resolve by studying the logs.
I think this sort of question is entirely appropriate to the forum, especially if an easy solution can be found, as would save others hours of pain.
Unfortunately I dont have the solution, but would suggest (if you haven't already)
Run FileMon to see if the
installer is looking for specific
files which are no longer there -
this may give some clues.
Painful, but try uninstalling other apps based upon the VS shell (eg 2005) first.
Thanks, riaraos, uninstalling KB952241 was the solution for me, too. Before doing that I tried to run the installer from "Programs and Features" and from the installation DVD without success. I did not want to completely remove the VS 2008 installation but only add a few components.
Notes on my system:
Windows 7 Beta 1
Visual Studio 2008 SP1
Okay I had the same issues first my VS2008 was acting up so i tried to uninstall it and it didn't work...I read online that using an AutoUninstall by MS will do the trick it did just that , but left a lot of nasty files behind..
So i used "Windows Install Clean Up" and cleaned up more stuff that had to do with VS..
then went back into Add and remove in control panel Removed the KB952241...
then opened up Ccleaner and scanned the registry found a lot of left behind crap from VB2008 removed all that once that was done.
I went ahead and launch the installed back from the CD again and BAM its working.
I did all this without having to restart my PC..
Hope this helps people who are stuck..like i was
In my case, installing visual studio SP1 unbroke the uninstall/repair functionality.
Windows 7 suggested to "Uninstall using recommended settings" after hitting OK in the error message. It solved the problem.
Solution to this is
http://www.dotnetzone.gr/cs/forums/48758/ShowThread.aspx#48758

Resources