My database connection string is like this: Server = machinename \ sqlexpress; database = test; trusted_connection = true
It is strange that it is okay when you deploy and run the Web Service separately, but publish it to IIS. The access is
Server Error:
Server application unavailableThe Web application you are attempting to access on this web server is currently unavailable. Please hit the "refresh" button in your web browser to retry your request.
Administrator Note: an error
About permissions for the ASPNET user
When developing Web applications under ASP.net, especially when it comes to reading and writing files, it is often the case that the ASPNET user does not have the appropriate permissions on a directory,
Solve the first time in order to complete the symbolic operation of the use of ASP.net, asp.net ah, Khan. So immediately ran into a problem, I now write the question, for the development of ASP.net people, this question should not become a problem,
The data settings in Web. config are as follows:The following error is prompted in IE:A server error occurs in the "/ruobing" application.
User 'gnxx-zhfen \ aspnet' Login Failed.Note: An unhandled exception occurs during the execution of the
Asp.net| Control
The publication number for this article was CHS315158SymptomsAfter you install Microsoft Visual Studio. NET or the Microsoft. NET Framework on a domain controller or backup domain controller, the browser displays the following error
Asp.net| Control Symptoms
After you install Microsoft Visual Studio. NET or the Microsoft. NET Framework on a domain controller or backup domain controller, the browser displays the following error message if you try to run the asp.net application:
Symptom: Run from Visual Studio. However, if you cannot log on from IIS (or remotely log on), the system prompts "the host name \ ASPnet logon failed and the default database cannot be opened"
Solution:
1. ASP. NET user-managed data is stored in
An unhandled exception occurred during the execution of the current WEB request. Check the stack trace for more information about the error and where the error occurred in the code.
Exception Details: System.Data.SqlClient.SqlException: User '
A schematic to describe the asynchronous invocation under the ASPNET MVC {Request} / \-------ISS-------> work thread | | \ Route- aysn controller | | \ [invoke] CLR thread pool | / | / |
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.