In Visual Studio 2012 I try clicking the "Manage NuGet Packages..." option on a project and when the package manager opens it tries to load for a while before giving me "Unable to connect to remote server".
There is a similar question here: Visual Studio/C#: Nuget Unable to connect to remote server
but it doesn't appear to have any answer that I can see.
I have tried updating Visual Studio 2012 as well as updating NuGet (the "Extensions and Updates" option still works just fine) and then restarting but no such luck. It was working earlier, but I have since created a new database connection using the Database Explorer. I don't know if that would affect anything but that's the only change I could think of that I've made since it was working.
Please let me know if you need any other information.
Edit: Okay so apparently this fixes itself after a while. But only AFTER you've submitted a question about it... sigh. I'd still like to know what the issue is if anyone has any idea, but at least it's working now.
While you could certainly access the cached packages on your own machine, if you're working in a team you could install ProGet as an intermediary NuGet server, and it will automatically cache the remote packages on your network for your team.
Related
I've had an instance of SQL Server (Express) installed on a local CPU, working fine, that today suddenly is encountering an error during connection in SSMS to the server.
In following the steps from some discussions about this, in config manager, I see nothing showing for Services.
Discovery report shows this installed.
Any ideas on what I need to do in order to link back again to the server?
I was able to resolve the issue by running the Maintenance-Repair feature with the installation center and then I ran repair for SSMS on top of that. Not sure what happened still and am interested if anyone has any ideas.
I have seen almost every youtube video and also searched on Google but cant find a SOLUTION.
I have SQL Server Management Studio 18.4 installed and I cant find its Configuration Manager and in Services.msc I cant find its services.
EDIT: Thanks for all the support and answers, I got the solution 🙂
The Configuration Manager is a Microsoft Management Console Plug-in. To start it, run mmc.exe, click "Add or Remove Snap-ins", select "SQL Server Configuration manager", click "Add", and OK.
Don't forget to save the MMC configuration.
Instructions with images are here. I just looked it up recently ;)
Be aware that if you have several versions of SQL Server installed, selecting the "correct" (i.e. most recent) one, seems to be a matter of good luck.
I'm trying to get data from a PostgreSQL database into PowerBI Desktop but it doesn't seem to work. I think the problem is with the installation with npgsql. When trying to setup a new database connection in PowerBI I type in the database and server, and this is the error message I get:
"Unable to connect
Details: "PostgreSQL: We were unable to find a database provider with invariant name 'Npgsql'.
This error could've been the result of provider-specific client software being required, but missing on this computer. To download client software for this provider, visit the following site and choose the 64-bit (x64) version of, at minimum, 'Npgsql version 2.0.12': https://go.microsoft.com/fwlink/?LinkID=282716""
I've tried going npgsql website and install the required components but I can't seem to get it working. I'm not a developer so this is a bit complicated for me. Does anyone know how to get these components installed? I very much appreciate your help!
I'm using Windows 10 on a Surface Pro 3 if this helps. And I do have Visual Studio Community installed as well.
Best,
Bruno.
I have downloaded and tried it with version 3.6.6
Install npgsql
During the installation stage, enabled "Npgsql GAC Installation" as GAC requires Npgsql.
Restart the PC.
It should work now.
The solution from this page helped me: https://community.powerbi.com/t5/Community-Blog/Configuring-Power-BI-Connectivity-to-PostgreSQL-Database/ba-p/12567
Select the option to install to the GAC during install of the program npgsql v3.x.x downloaded from this page https://github.com/npgsql/Npgsql/releases
It worked for me (although I do not know why:-)
When you install Npgsql you should enable installation into the GAC.
Otherwise component will not be automatically detectable to other programs.
Ever since yesterday, in spite of not having installed any new applications or updates, I started getting connection problems upon locally debugging/running pretty much all of my websites that make use of an external SQL Server. Connecting with the concerning database server through SQL Server Management Studio is working as normal, and all databases are running and accessible. These same websites are also running on a separate production server (using the same code and external SQL Server databases).
Upon further investigation, I found that Visual Studio 2013 is the culprit. After debugging one of the concerning websites, the web site completely freezes at the following code:
using (SqlConnection QueryConnection = new SqlConnection(SomeConnectionString))
{
// This takes forever to reach
}
A breakpoint on the 'using' line is the last point reached upon debugging. My webbrowser will open but the website will keep loading forever. After literally about 10 minutes the website will finally show up and I can use it as normal, until I do something that requires recompilation and the same things happens again.
Even explicitly stating a 'Connection Timeout' in the connection string doesn't seem to be doing anything.
It seems that my VS2013 is all of a sudden unable to establish a simple SqlConnection. I already tried repairing both my .NET 4.5.2 installation and Visual Studio, I reset my VS2013 settings and deleted everything VS2013 related in the AppData folder, to no avail...
Anyone else experiencing this? Or even better, anybody have a clue on how to fix this?
This mystery had me baffled and I STILL don't quite know what happened. In the end I did a VS2013 reinstall which solved this issue.
I want to know how to fully uninstall MSSQL 2005.
I've been using the Trial version of SQL Server Reporting Services for a while now. My company finally purchased the software from an online distributor, and for support of Oracle, we needed to upgrade to MSSQL 2005 SP2. Anyway, the "full" version of the software would not install, as it was already installed (It seems the installer doesn't recognize what was installed was the trial version). So I tried uninstalling MSSQL 2005, and everything related (including visual studio), I can not seem to get it reinstalled. The error is a vague error message, and when i click the link to get more information, the usual "no information about this error was found" error.
Microsoft SQL Server 2005 Setup
There was an unexpected failure during
the setup wizard. You may review the
setup logs and/or click the help
button for more information.
For help, click:
http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.06&EvtSrc=setup.rll&EvtID=50000&EvtType=packageengine%5cinstallpackageaction.cpp%40InstallToolsAction.11%40sqls%3a%3aInstallPackageAction%3a%3aperform%400x643
BUTTONS:
OK
#Mark Struzinski
I actually discovered that it was a problem with the installer, when installing the "Full Version". I discovered, since the product was downloaded, instead of delivered on CD/DVD, that the installer was looking for information in a path that was not correct. There was a MS Knowledge Base article on the topic. Thanks for your reply, tho
I had the exact same problem, and this article helped me clean up all the related files from my system and do a fresh install of both Visual Studio and the SQL client components. Give it a try and let me know if it helps you out:
http://support.citrix.com/article/CTX115270