WIN7 64-bit system VS2010 Connection Oracle Error problem

Source: Internet
Author: User

1, abnormal phenomenon: TNS is not recognized

2, exception Analysis: VS2010 start Debugging, an exception occurs. However, when using IIS as a server, there is no exception, that is, normal access to the database, and later analysis is due to VS comes with the server ASP. Development Server corresponding program in C:\Program Files (X86) \ Microsoft Visual Studio 10.0 under a WebDev.WebServer40.EXE, according to Baidu Online is due to the path of program Files (X86), can not be identified, resulting in a database connection is not

3, solution (three kinds)

1, install IIS, put the site on IIS, debug, use the VS attachment process (W3WP.exe)

2, install IIS, when using VS debugging, first right-click the Web Project--"Properties--" web--"using the local IIS server,

3, is to start an ASP. Development server, and then modify the VS start-up using the custom Web server,

Action: Put WebDev.WebServer40.EXE in the D packing directory, and then execute the following name in CMD, where port can be set, path is the file corresponding to the Web project

D:\webdev.webserver40.exe/port:5970/path: "D:\WebSite"

First right-click the Web Project--"Properties--" web--"Use the custom Web server, set the server URL to localhost+ just set the port number."

WIN7 64-bit system VS2010 Connection Oracle Error problem

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.