[英]The system can't find specify file when using iis to broswer home.aspx file?
我写了一个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
这是我Aready所做的:
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.
PS:昨天我的网站是正确的,可以正常浏览。
w3wp.exe
离开了显示表单,并需要可视化2010来调试。
当我使用以下用户名检查w3wp.exe
进程时: Default app pool
,是否正常?
为什么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))
并且您一定会摆脱该错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.