PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : مشکل Server Error in '/' Application.



SHAHAB1992
August 7th, 2013, 10:11
سلام
من یک سرور مجازی دارم ، و سایتم تا چند وقت پیش سالم بود ، اما ناگهان دچار این مشکل شد ، چه کار باید بکنم ، ممنون میشم کمک کنید
Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".




<!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration>




Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.




<!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web> </configuration>

Creepy
August 8th, 2013, 06:18
سایت رو از داخل VPS ببینید تا Error اصلی رو نشون بده.

SHAHAB1992
August 12th, 2013, 11:25
این ارور رو هم از داخل وی پی اس گرفتم ، وقتی سایت رو می بینم ، شما رو بخدا یکی کمک کنه
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

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[Win32Exception (0x80004005): The system cannot find the file specified]

[SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5296071
System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +558
System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover) +5308555
System.Data.SqlClient.SqlInternalConnectionTds.Att emptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover) +145
System.Data.SqlClient.SqlInternalConnectionTds.Log inNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) +889
System.Data.SqlClient.SqlInternalConnectionTds.Ope nLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) +307
System.Data.SqlClient.SqlInternalConnectionTds..ct or(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions) +434
System.Data.SqlClient.SqlConnectionFactory.CreateC onnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) +225
System.Data.ProviderBase.DbConnectionFactory.Creat ePooledConnection(DbConnectionPool pool, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) +37
System.Data.ProviderBase.DbConnectionPool.CreateOb ject(DbConnectionOptions userOptions) +558
System.Data.ProviderBase.DbConnectionPool.UserCrea teRequest(DbConnectionOptions userOptions) +67
System.Data.ProviderBase.DbConnectionPool.TryGetCo nnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1052
System.Data.ProviderBase.DbConnectionPool.TryGetCo nnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +78
System.Data.ProviderBase.DbConnectionFactory.TryGe tConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +167
System.Data.ProviderBase.DbConnectionClosed.TryOpe nConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +143
System.Data.SqlClient.SqlConnection.TryOpen(TaskCo mpletionSource`1 retry) +83
System.Data.SqlClient.SqlConnection.Open() +96
Microsoft.ApplicationBlocks.Data.SqlHelperParamete rCache.DiscoverSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) in e:\MB_Documents\WebSites\mysite\library\DAL\SQLHel per.cs:1362
Microsoft.ApplicationBlocks.Data.SqlHelperParamete rCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) in e:\MB_Documents\WebSites\mysite\library\DAL\SQLHel per.cs:1471
Microsoft.ApplicationBlocks.Data.SqlHelperParamete rCache.GetSpParameterSet(String connectionString, String spName) in e:\MB_Documents\WebSites\mysite\library\DAL\SQLHel per.cs:1448
Microsoft.ApplicationBlocks.Data.SqlHelper.Execute Dataset(String connectionString, String spName, Object[] parameterValues) in e:\MB_Documents\WebSites\mysite\library\DAL\SQLHel per.cs:454
ContentEnt.LoadContent(Nullable`1 pageIndex, Nullable`1 pageSize, Nullable`1 ID, Nullable`1 catID, String keyword, List`1 typeIDs, String culture, Nullable`1 activity, Nullable`1 startDate, Nullable`1 endDate, Nullable`1 registerDate1, Nullable`1 registerDate2, String persianYear, Nullable`1 status, Nullable`1 searchable, String sortBy, Nullable`1 ExceptTopCount) in e:\MB_Documents\WebSites\mysite\library\DAL\Conten tEnt.cs:100
BLL.ContentSystem.LoadContent(Nullable`1 pageIndex, Nullable`1 pageSize, Nullable`1 ID, Nullable`1 catID, String keyword, List`1 typeIDs, String culture, Nullable`1 activity, Nullable`1 startDate, Nullable`1 endDate, Nullable`1 registerDate1, Nullable`1 registerDate2, String persianYear, Nullable`1 status, Nullable`1 searchable, String sortBy, Nullable`1 ExceptTopCount) in e:\MB_Documents\WebSites\mysite\library\BLL\Conten tSystem.cs:64
BLL.ContentSystem.LoadContent(Nullable`1 pageIndex, Nullable`1 pageSize, Nullable`1 ID, Nullable`1 catID, String keyword, Nullable`1 typeID, String culture, Nullable`1 activity, Nullable`1 startDate, Nullable`1 endDate, Nullable`1 registerDate1, Nullable`1 registerDate2, String persianYear, Nullable`1 status, Nullable`1 searchable, String sortBy, Nullable`1 ExceptTopCount) in e:\MB_Documents\WebSites\mysite\library\BLL\Conten tSystem.cs:109
userControls_default_NewsRotator.LoadData() in e:\SVN\mysite_4Dev\web\userControls\default\NewsRo tator.ascx.cs:32
userControls_default_NewsRotator.Initialize() in e:\SVN\mysite_4Dev\web\userControls\default\NewsRo tator.ascx.cs:27
userControls_default_NewsRotator.Page_Load(Object sender, EventArgs e) in e:\SVN\mysite_4Dev\web\userControls\default\NewsRo tator.ascx.cs:21
System.Web.Util.CalliEventHandlerDelegate*****.Cal lback(Object sender, EventArgs e) +51
System.Web.UI.Control.OnLoad(EventArgs e) +92
System.Web.UI.Control.LoadRecursive() +54
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18034