PDA

View Full Version : سوال: The system cannot find the file specified



hhhhaaaa
چهارشنبه 07 بهمن 1394, 21:26 عصر
سلام
دوستان مشکل ارور زیر از چی میتونه باشه؟

http://zasco90.ir/
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:




Line 28: select q;
Line 29:
Line 30: Menu _Menu = db.Menus.SingleOrDefault(p => p.MenuID == Convert.ToInt32(Request.QueryString["p"]));
Line 31:
Line 32: HtmlMeta meta = new HtmlMeta();


Source File: c:\inetpub\vhosts\zasco90.ir\httpdocs\Fa\Default.a spx.cs Line: 30


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.ProviderBase.DbConnectionPool.TryGetCo nnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +414
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 oldConnection, DbConnectionInternal& connection) +196
System.Data.ProviderBase.DbConnectionInternal.TryO penConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +146
System.Data.ProviderBase.DbConnectionClosed.TryOpe nConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +16
System.Data.SqlClient.SqlConnection.TryOpenInner(T askCompletionSource`1 retry) +94
System.Data.SqlClient.SqlConnection.TryOpen(TaskCo mpletionSource`1 retry) +110
System.Data.SqlClient.SqlConnection.Open() +96
System.Data.Linq.SqlClient.SqlConnectionManager.Us eConnection(IConnectionUser user) +43
System.Data.Linq.SqlClient.SqlProvider.get_IsSqlCe () +41
System.Data.Linq.SqlClient.SqlProvider.InitializeP roviderMode() +21
System.Data.Linq.SqlClient.SqlProvider.System.Data .Linq.Provider.IProvider.Execute(Expression query) +57
System.Data.Linq.Table`1.System.Linq.IQueryProvide r.Execute(Expression expression) +58
System.Linq.Queryable.SingleOrDefault(IQueryable`1 source, Expression`1 predicate) +287
Fa_Default.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\zasco90.ir\httpdocs\Fa\Default.a spx.cs:30
System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender, EventArgs e) +51
System.Web.UI.Control.OnLoad(EventArgs e) +92
System.Web.UI.Control.LoadRecursive() +54
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.34009


ممنون میشم راهنمایی کنید