How to solve the problem that the system can not find the file in ASP.NET
Today, I will talk to you about how to solve the problem that the system can not find files in ASP.NET. Many people may not know much about it. In order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.
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 of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ComponentModel.Win32Exception: The system cannot find the file specified
When Insus.NET was developed, the database used Enterprise Edition, so the connection string was written as the default implementation, while the deployed database is now\ SQLEXPRESS. So let's modify the connection string:
Directly change 127.0.0.1 to: "SVR1\ SQLEXPRESS"
You can also use the following Server string:
Instead, use the English character point ".\ SQLEXPRESS":
Or use "localhost\ SQLEXPRESS":
Or use the IP address:
After reading the above, do you have any further understanding of how to solve the problem that the system can not find files in ASP.NET? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.