asp.net the system cannot find the file specified solution
Server Error in '/' Application.
The system cannot find the file specified
Description: An unhandled exception occurred during the execution to the current Web request. Please review the "stack Trace for" Information about the error and where it originated in the code.
Exception Details: System.ComponentModel.Win32Exception:The system cannot find the file specified
Insus.net development, the database uses the Enterprise Edition, so the connection string is written as the default implementation, and the database now deployed is \sqlexpress. So let's modify the connection string:
Change the 127.0.0.1 directly to: "svr1\sqlexpress"
In fact, you can also use the following server string:
Instead, use English character points. \SQLExpress":
or use "localhost\sqlexpress":
Or use an IP address:
Thank you for reading, I hope to help you, thank you for your support for this site!