Amteam website error page and Discussion of large website architecture

Source: Internet
Author: User

 

I often tell myself that only 30% of the technologies are in the contract, and others need relationship and eloquence.

Visit the amteam website frequently to urge improvement. We also hope that more outsourcing owners can choose "developers" more rationally"

 

D: \ AMTeamV3 \ Web. Org \ App_Code \ Art \ ArticlesHelper. csRow:1744
It can be seen from the number of rows that the architecture and development specifications have great problems .. Net is very powerful, and I am afraid there are not many ideas.
For such large websites, the use of. net Remoting and COM + technology is inevitable, and Server Load balancer must also be considered to ensure the service quality of 99.99% and.
The server should at least include: user and access record database server, article database server,

Ad database server, report analysis database server, Web server * 2. Application Server * N (configured based on the load ),

Resource servers (images, attachments, etc.) and other server configurations, some servers can be physically integrated, but must be logically separated.

"/" Indicates a server error in the application.

An error occurred while establishing a connection with the server. When you connect to SQL Server 2005, the default setting does not allow remote connection to SQL Server may cause this failure. (Provider: named pipeline provider, error: 40-unable to open the connection to SQL Server)

Note:An error occurred while executing the current Web request. Check the stack trace information for details about the error and the source of the error in the code.

Exception details:System. Data. SqlClient. SqlException: An error occurred while establishing a connection with the server. When you connect to SQL Server 2005, the default setting does not allow remote connection to SQL Server may cause this failure. (Provider: named pipeline provider, error: 40-unable to open the connection to SQL Server)

Source error:

Row 1742: public static Article Get (int ID) Row 1743: {row 1744: SqlDataReader dr = SqlHelper. executeReader (ConfigHelper. performance2, CommandType. text, "select * from Articles where ID =" + ID); row 1745: Article ar = new Article (); row 1746: if (dr. read ())

Source file:D: \ AMTeamV3 \ Web. Org \ App_Code \ Art \ ArticlesHelper. csRow:1744

Stack trace:

[SqlException (0x80131904): An error occurred while establishing a connection with the server. When you connect to SQL Server 2005, the default setting does not allow remote connection to SQL Server may cause this failure. (Provider: named pipeline provider, error: 40-unable to open the connection to SQL Server)] System. data. providerBase. dbConnectionPool. getConnection (DbConnection owningObject) + 454 System. data. providerBase. dbConnectionFactory. getConnection (DbConnection owningConnection) + 85 System. data. providerBase. dbConnectionClosed. open connection (DbConnection outerConnection, DbConnectionFactory connectionFactory) + 104 System. data. sqlClient. sqlConnection. open () + 177 AMT. sharing. common. sqlHelper. prepareCommand (SqlCommand cmd, SqlConnection conn, SqlTransaction trans, CommandType primitive type, String plain text, SqlParameter [] partition parms) in D: \ Projects \ AMTSharingV3 \ AMT. sharing. common \ SqlHelper. cs: 194 AMT. sharing. common. sqlHelper. executeReader (String connectionString, CommandType struct type, String plain text, SqlParameter [] commandParameters) in D: \ Projects \ AMTSharingV3 \ AMT. sharing. common \ SqlHelper. cs: 107 System. data. providerBase. dbConnectionClosed. openConnection (DbConnection outerConnection, DbConnectionFactory connectionFactory) + 104 ArticlesHelper. get (Int32 ID) in d: \ AMTeamV3 \ Web. org \ App_Code \ Art \ ArticlesHelper. cs: 1744 System. data. sqlClient. sqlConnection. open () + 177 ShowArticle. page_Load (Object sender, EventArgs e) in d: \ AMTeamV3 \ Web. org \ ShowArticle. aspx. cs: 33 AMT. sharing. common. sqlHelper. prepareCommand (SqlCommand cmd, SqlConnection conn, SqlTransaction trans, CommandType primitive type, String plain text, SqlParameter [] partition parms) in D: \ Projects \ AMTSharingV3 \ AMT. sharing. common \ SqlHelper. cs: 194 System. web. util. calliHelper. eventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) + 13 AMT. sharing. common. sqlHelper. executeDataTable (String connectionString, CommandType cmdType, String cmdText, SqlParameter [] commandParameters) in D: \ Projects \ AMTSharingV3 \ AMT. sharing. common \ SqlHelper. cs: 74 System. web. util. calliEventHandlerDelegateProxy. callback (Object sender, EventArgs e) + 43 AMT. sharing. common. sqlHelper. executeDataTable (String connectionString, CommandType cmdType, String cmdText) in D: \ Projects \ AMTSharingV3 \ AMT. sharing. common \ SqlHelper. cs: 83 System. web. UI. control. onLoad (EventArgs e) + 98 _ Default. page_Load (Object sender, EventArgs e) in d: \ AMTeamV3 \ Web. org \ Default. aspx. cs: 31 System. web. UI. control. loadRecursive () + 71 System. web. UI. page. processRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 4305 System. web. util. calliHelper. eventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) + 13 System. web. util. calliEventHandlerDelegateProxy. callback (Object sender, EventArgs e) + 43 AMT. sharing. common. sqlHelper. executeReader (String connectionString, CommandType publish type, String publish text) in D: \ Projects \ AMTSharingV3 \ AMT. sharing. common \ SqlHelper. cs: 113 System. web. UI. control. onLoad (EventArgs e) + 98 AMT. orgDBHelper. module. loadModule (Int32 id) in D: \ Projects \ AMTeamV3 \ AMT. org. DBHelper \ ModuleHelper. cs: 222 System. web. UI. page. processRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 4305 AMT. orgDBHelper. moduleHelper. loadModule (Int32 type, Int32 id) in D: \ Projects \ AMTeamV3 \ AMT. org. DBHelper \ ModuleHelper. cs: 88 ShowModuleMore. page_Load (Object sender, EventArgs e) in d: \ AMTeamV3 \ Web. org \ ShowModuleMore. aspx. cs: 27 System. web. util. calliHelper. eventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) + 13 System. web. util. calliEventHandlerDelegateProxy. callback (Object sender, EventArgs e) + 43 System. web. UI. control. onLoad (EventArgs e) + 98 System. web. UI. control. loadRecursive () + 71 System. web. UI. page. processRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 4305

Version:Microsoft. NET Framework Version: 2.0.50727.1433; ASP. NET version: 2.0.50727.1433

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.