w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
connect with oracle database through visual studio 2010
When you install, choose a new Oracle Home directory with the client. If you want a step by step guide how to do this, follow this tutorial: http://docs.oracle.com/cd/E17781_01/appdev.112/e18751/installation.htm#CACBIDHI

Categories : Visual Studio 2010

connect to mysql database using visual studio 2010 remotely
So, in order to connect to a MySql database from VS2010 see the link bellow: http://www.itcsolutions.eu/2010/09/09/how-to-connect-to-mysql-database-from-visual-studio-vs2010-problems-with-net-connectors/

Categories : Mysql

Not able to connect any remote database server after installing Visual studio 2012
Have a luck via running following command (netsh Winsock reset) from command prompt mentioned in social.msdn.microsoft.com/Forums/vstudio/en-US/2d11b6f9-3ada-4682-b643-c721a97af4ba/cant-connect-to-database-after-installing-vs-11-pro-beta

Categories : Sql Server

Having problems trying to connect to local SQL Server database in Visual Studio 2010 using C#
I think here is the problem. sConnection = "Server=(localdb)Database1;Integrated Security=true;"; Check this sConnection = "Server=(localdb)\Database1;Integrated Security=true;"; Beginning in .NET Framework 4.5, you can also connect to a LocalDB database as follows: server=(localdb)\myInstance Check this docs.

Categories : C#

Unable to connect to local database in Visual Studio 2012 express For Web: (error 26)(C#)(SQL Server 2012)
You're getting that error because the (localDB)v11.0 is already a user instance of SQL Server. When you were using the SQLEXPRESS SQL Server instance, well, it's not. So, just get rid of the User Instance=true on the connection string.

Categories : C#

Can't run my apps in Visual Studio 2012 after developer's license update
Try deleting bin and obj folders of your project as suggested here.

Categories : Visual Studio 2012

Web service can connect in IE, but can't connect by Visual studio
May be your corporate environment will block the Web Service. Can you please try the following? Add the Firewall outbound rule to allow to access the web service Add the web service as trusted URL in your anti-virus (or just pause the protection of anti virus to identify the cause of issue) Add the domain/ip address as trusted in your IE

Categories : Web Services

Unable to connect to Oracle database from SQL Developer
The SID is the name of the database instance. The error message indicates you've got it wrong. Edit the default value for the port is 1521, for the SID is ORCL. Both parameters are configured in the tnsnames.ora file on the database server.

Categories : Asp Net

How do I connect an SDK to Visual Studio?
There should be some documentation on the Leap Motion website, if it's compatible with Visual Studio. Also, check out this link, it might help: http://jviaches.blogspot.com.au/2013/02/leap-motion-development-connection-and.html

Categories : C++

Visual Studio , SQL Server can't connect properly
I seem to have solved this problem. I did the following: In the Server Explorer, I right clicked the Data Connections, chose "Add Connection..." and created a Microsoft SQL Server. I set the server name to .SQLEXPRESS and the database name to Library. I then added the following to app.config: It seems to work now. <connectionStrings> <add name="Library" providerName="System.Data.SqlClient" connectionString="Data Source=.SQLEXPRESS;Database=Library;Trusted_Connection=true;" /> </connectionStrings>

Categories : Asp Net

connect visual studio and sql express on amazon EC2
Assuming that you have a connection string (to server ec-xxxxxxx.xxx.amazon.com), your problem could be that the .Net instance (let's call it NET) and the SQL Server instance (SQL) don't have the rights to see each other. Create two instances with the different security groups On both groups, you'll like want to open RDP (you probably have that already as I can read) On the SQL instance security group create an inbound rule for port 1433 and open it only for the security group of WEB. Otherwise, the whole world can access your SQL Server Express database. Like this, only the WEB instance can access it. You need to paste the security group id of WEB into the inbound rule for SQL to do that. Good luck.

Categories : Sql Server

Visual Studio 2012: can't connect to sharepoint site
Verify that your Login is in the db_owner group on the SQL Instance. Follow this guide step by step and verify each step is true: Account Permissions and Security Settings in SharePoint 2013. This one is more detailed and maybe a little overboard for what you need, but it is the long path for access rights. Refer to #2 for a simpler path. Another good simple guide: Prepare your SharePoint 2013 farm for App development and debugging. This Guide fixed most of my local development needs.

Categories : Visual Studio 2012

How to find with lookahead in Visual studio 2012 Regex Find and Replace
You need to add a (?s), which enables multiline matching, and also escape the period in using Example.Foo. The regex should be something along the lines of: (?s)using Example.Foo;(?=.*BaseClass<SomeClass>)

Categories : Regex

Winsock "connect" hangs. Visual studio reports possible deadlock
Since you are encountering the same problem in multiple wrappers that all ultimately delegate to Winsock, its safe to assume that this is an OS issue, not a coding issue. Something on your system has hosed your Winsock installation, or the OS is having networking problems in general, especially since a simple OS reboot did not clear the issue. Try using Windows' command-line netsh tool to reset both the TCP and Winsock subsystems, the command-line ipconfig tool to flush the DNS cache, reboot, and see if the problem continues. On the coding side, you should implement a timeout on the connect() to avoid further deadlocks. There are two ways to do that: Put the socket into non-blocking mode and then call select() if connect() returns a WSAEWOULDBLOCk error. If select() times out, close

Categories : Java

How to Connect Visual Studio to Azure Website over Proxy server
The very last line of the error says it all: The remote name could not be resolved: 'management.core.windows.net' The proxy you are using blocks or has DNS resolution issues for the management.core.windows.net domain. There isn't much you can do about it, besides using another proxy or not using proxy at all.

Categories : Azure

Connect with Visual Studio 2012 and C sharp to microsoft cloud TFS server
Take a look at service credentials, or try enabling alternate credentials on your account which will then allow you to authenticate using http basic auth. You probably want service credentials for what it sounds like you are doing though.

Categories : Visual Studio 2012

Unable to connect to ASP.NET development server error visual studio 2010
Even I faced this problem. while installing the visual studio 2010 we need to install IIS component.Follow the steps for installing "IIS 6 management capability". 1.goto control panel>>Turned windows features on or OFF>> 2.Internet information services >> web management tools>> check out checkbox (IIS management console)

Categories : Asp Net

Connection error, connect from Visual Studio 2010 to SQL Server 2008 with ip, port
You need to remove the Integrated Security=SSPI; from your connection string (that's saying: use Windows Authentication). Data Source=[ip],1433;Network Library=DBMSSOCN;Initial Catalog=[db];User ID=sa; Password=[pass];MultipleActiveResultSets=True If you have both the Integrated Security= and an explicit user/password in your connection string, the integrated security wins - remove it, and you should be good. PS: I would strongly recommend to NEVER use the sa account - not even in development and testing!

Categories : Visual Studio 2010

Error debugging code in visual studio 2012 - Failed to initialize client proxy: could not connect to
It looks like this happens sometimes when the VS execution engine process is terminated. This was the case for me, since I had terminated the process manually when the process was not responding. You could check if you have "vstest.executionengine.exe" process running when you see this error message. I came across this solution at the MS forum below: Reference: http://social.msdn.microsoft.com/Forums/vstudio/en-US/997291d8-03e4-47ed-a30d-9d47550c0094/cannot-connect-to-the-testexecutor-via-named-pipes-from-vs-2012-rc

Categories : Dotnet

Visual Studio Find All Not Referenced
This is not a feature of Visual Studio in the current version. Using Roslyn you could code and Inspector yourself, but Roslyn doesn't offer one out of the box either at the moment. The walk-through on Semantic analysis should get you started. The roslyn forum is a good place to seek help or find examples, and there's a well monitored tag on StackOverflow as well of course. Productivity plugins like Resharper and Code Rush offer this for sure. There are other similar tools that might have this feature JustCode, VisualAssist, CodeItRight are likely candidates. You can also use something like Visual NDepend to detect unused methods. Their new command Linq to Code features should make it relatively easy to build a commandline tool that fishes out all unused calls.

Categories : Visual Studio

Visual Studio won't find references
The paths in the project file cannot be the same or the assemblies referenced have a different version. It might be worth unloading your project and the editing it to inspect where it's looking and for what version.

Categories : Vb.Net

Find empty methods in visual studio
In the visual studio find-tool, set it to use Regular Expressions. Use this expression to find empty methods. void .*(*)( |( ))*{( |( ))*} To find empty Page_Load methods: void (Page_Load).*(*)( |( ))*{( |( ))*} All these approaches would work for "void" methods. For other types, you can change the expression or further generalize the expression to match any kind of return type.

Categories : C#

How to find Server on the LAN - Using VB.Net [Visual Studio 2010]
SQL Server Browser is a windows service that is generally installed with SQL server. It listens for broadcast messages and provides information on the installed SQL server instances of the machine. The .NET Framework has built-in functionality to discover all SQL Servers in the local network by sending a broadcast message and listening for responses by SQL Server Browser services. See here. If you look at the example in the provided link, you will see that what you get are the hosts and instances of all SQL Servers on the local network. This can be reused as-is in a connection string. Obviously it won't return any login credentials; these will have to be hardcoded in your app.

Categories : Vb.Net

Find lines in Visual Studio which are not comments
Select "Use Regular Expressions" in the "Find in Files" window and enter the following phrase in the search box: ^(?!(s*/+)).*phrase If you want the phrase to stay as a single word: ^(?!(s*/+)).*s+phrases+ Regarding the help: in regexp mode there is a small button next to the search box: [(a)+] It opens a short list with common regexp commands. At the end of that list there is a link to the msdn documentation.

Categories : C#

The system cannot find the file specified. in Visual Studio
The system cannot find the file specified usually means the build failed (which it will for your code as you're missing a # infront of include, you have a stray >> at the end of your cout line and you need std:: infront of cout) but you have the 'run anyway' option checked which means it runs an executable that doesn't exist. Hit F7 to just do a build and make sure it says '0 errors' before you try running it. Code which builds and runs: #include <iostream> int main() { std::cout << "Hello World"; system("pause"); return 0; }

Categories : C++

Visual studio "cannot find the path specified" error
If you want to create a window then your kind of project is Windows Form Application (see picture above). The solutions are an abstract concept to get together several projects. For example you could want to have a Windows Form Application using the features of a Class Library.

Categories : C++

Visual Studio: How to find all calls to function
You can use the 'Find All References' function, highlight the method in question and press Ctrl + F12, or right click and pick Find All References. This will then show the results in the Find Symbol Results window. Please see this link for more details information. http://www.blackwasp.co.uk/VSFindAllReferences.aspx

Categories : Visual Studio 2012

Connect Solr to database managed by SQL Management Studio
I think the issue is due to integrated security mechanism.. check this link for more details:http://lucene.472066.n3.nabble.com/Solr-SQL-Express-Integrated-Security-Unable-to-execute-query-td4035758.html Try providing username and password explicitly and check if it works... The below config file works fine with sql server. Make sure you are using the correct database / server name. <dataConfig> <dataSource type="JdbcDataSource" driver="com.microsoft.sqlserver.jdbc.SQLServerDriver" url="jdbc:sqlserver://myserver;databaseName=mydb;responseBuffering=adaptive;selectMethod=cursor" user="sa" password="password"/> <document> <entity name="results" query="SELECT statements"> &

Categories : Solr

I can't see mysql database in Visual Studio
i think you are missing a using statement for some namespace (most likely mysql.data or mysql.data.client) you should have a look at http://dev.mysql.com/doc/refman/5.0/en/connector-net-ref-mysqlclient.html

Categories : C#

Visual Studio C++ local database
I added local database (@jotep comment), but when I try to add that to the project, I don't have this step: After you add the database file, the Data Source Configuration Wizard opens to the Choose your Database Objects page, and you can select the tables to use in the application.

Categories : C++

Connecting to a database in Visual Studio
Yes, the database can be remotely hosted, I'have this working on my local machine with a remote MsSql database. Make sure the remote database server accepts connections from your IP. I'm pretty sure the MsSql Server Management Studio is only for MsSql, not MySql. The server name in my case is the IP for the remote MsSql database server, further you need the login and password for your database. But if you use your remote MySql, you don't need this tool. I have no experience with MySql, but it must be possible to use the database in your Visual Studio project with the correct "connectionstring". The connectionstring contains the type of the database, where it is located, login and pasword, etc. You can find the syntax of you connectionstring here: www.connectionstrings.com/mysql/

Categories : Mysql

Can't find window "Memory" in Visual Studio 2012
You can only use the memory window while the debugger is running. So instead of clicking "Run" try clicking "Step into", or make a breakpoint somewhere so the debugger doesn't terminate automatically. Then look under Debug -> Windows -> Memory.

Categories : Visual Studio

Using Wildcard/Regex for find & replace in Visual Studio
Using the regex option... Find: <endpoint receiveTimeOut="[^"]+" Then... Replace: <endpoint receiveTimeOut="59:59:59" The [^"]+ part uses a negative character class that matches any character except for a double quote. The + will match it one or more times.

Categories : Regex

Visual studio - MVC Find usages of DisplayTemplate/EditorTemplate
There is one workaround/help. If you have Visual Studio 2013 and Web Essentials installed you can CTRL+click anywhere on the page and the menu like this pops up. If you click Inspect you can click on any element on page and then you cursor in Visual Studio moves to corresponding View/PartialView/DisplayTemplate/... Mads Kristensen post on Web essentials 2013

Categories : Asp Net Mvc

visual studio can't find unit tests in web project
Refactor the solution so that the code that you are testing is in one assembly for example Dataaccess.dll that is referenced from the web project and the test in a test project DataaccessTests that also reference the Dataaccess.dll project.

Categories : C#

Cant find the header when I linka .lib in visual studio 2012
There should be the include file that comes with the library itself, i.e. the gl/glfw.h (together with a bunch of other gl/gl...h files probably). This file (these files) needs to be placed somewhere where the compiler can find it when it encounters an #include statement, i.e. in one of the directories listed under INCLUDE in the project or compiler settings, e.g. under Tools / Options / Projects and Settings / VC++ Directories / Include files (see here)

Categories : C++

How do you find files that are not being used in Visual Studio 2012, and delete them
As far as I know it is not possible without additional software. Some times ago a used NDepend (demo is available) for this job. Worked very well. I'm sure ReSharper can also do it.

Categories : Visual Studio 2012

Turn off Visual Studio Find Default Selection
Tools -> Options -> Environment -> Find and Replace -> Automatically populate Find What with text from the editor If you uncheck this option it will default to the last thing you searched for.

Categories : Visual Studio 2010

Visual Studio 2012 unable to find my tests
Try adding a reference to Microsoft.VisualStudio.QualityTools.UnitTestFramework, which can be found in C:Program Files (x86)Microsoft Visual Studio 11.0Common7IDEPublicAssemblies Then also make sure that you are using the assemblies that you added reference to. using Microsoft.VisualStudio.TestTools.UnitTesting; and remove the old using Microsoft.VisualStudio.TestPlatform.UnitTestFramework; EDIT You could also just update your visual studio to update 3, which should solve this problem

Categories : C#

Cannot Find System.Web.Hosting in Visual Studio 2012
In references for your project, add a reference to System.Web then in your program use: using System.Web.Hosting;

Categories : C#



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.