Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/277.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 系统可以';在使用iis访问broswer home.aspx文件时找不到指定文件?_C# - Fatal编程技术网

C# 系统可以';在使用iis访问broswer home.aspx文件时找不到指定文件?

C# 系统可以';在使用iis访问broswer home.aspx文件时找不到指定文件?,c#,C#,我写了一个asp.net网站,但当我在iis中浏览它时,它提示: Exception: System.ComponentModel.Win32Exception: system can't find specify file。 Source error: [Win32Exception (0x80004005): The system can't find specify file.] [SqlException (0x80131904): an instance error ass

我写了一个asp.net网站,但当我在iis中浏览它时,它提示:

 Exception: System.ComponentModel.Win32Exception: system can't find specify file。

Source error: 


[Win32Exception (0x80004005): The system can't find specify file.]

[SqlException (0x80131904): an instance error associate with network occured when link to SQL Server .Can't find or access to server.Please verify instance name is correct and SQL Server aready configurationa remote link  avaliable . (provider: Named Pipes Provider, error: 40 - can't open SQL Server linker)]
   EcaClient.ECAService.EcaClientService.GetUserModulePermission(Int32 userId, String moduleType) +120
   EcaPortal.CSNavigation.GetCurrentUserModule() in E:\CucEcaPortal\CSNavigation.aspx.cs:113
   EcaPortal.CSNavigation.Page_Load(Object sender, EventArgs e) in E:\CucEcaPortal\CSNavigation.aspx.cs:26
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(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
这就是我要做的:

1.Check the connection string,it is aready correct.

2.reconfiguration  the portal in iis.

3.give the portal folder read/write privillege to everyone.  

4.restart the iis

5.Search the error from internet if has any usable suggestion.
注:昨天我的网站是正确的,可以正常运行

w3wp.exe的
w3wp.exe总是显示表单,需要visual 2010来进行调试

当我使用像:
默认应用程序池
这样的用户名检查
w3wp.exe
过程时,这正常吗

为什么iis从其他位置查找路径

我的aspx文件位置是:

E:\appserver\service\CucEcaPortal\CSNavigation.aspx.cs
但它只是从中发现的

E:\CucEcaPortal\CSNavigation.aspx.cs

只需按照以下步骤操作,即可避免此错误:

1.Reset IIS (Start>Run>IIsreset.exe)
2.Clear Cache (Ctrl+Shift+Delete Then Click Clear Now)
3.Clear Temporary File(Start>Run>%Temp% Then Enter,and Delete all Files)
4.Recycle your Website In IIs 
5.Stop/Start SQL Servies( Start>Control Panel>Administrative Panel>Services>Sql Server(Sql Express))
你一定会摆脱这个错误