开发者

microsoft knowledge base article 810886 + Asp.net [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist

Closed 9 years ago.

Improve this question

When i run my asp.net web application i got this error,

An error occurred loading a configuration file: Failed to start monitoring 
changes to 'Z:\CR-FIRST\app_code\model' because the network BIOS command limit 
has been reached. For more information on this error, please refer to Microsoft 
knowledge base article 810886. Hosting on a UNC share is not supported for the 
Wind开发者_运维问答ows XP Platform.

Why i get this error ... Any suggestion....


You need to understand your network drive maps to a UNC path like \\computer\something. So Microsoft is describing your situation - the two concepts are one in the same. You'll have to move your website off the network drive, or put a web server on that computer instead.


Are you trying to host a on a network drive or UNC and your OS is XP?

That is not supported.


This blog post helped me. It walks you through a few different things to try...

1. Add Registry value

Locate the following key in the syustem registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET Add a DWORD FCNMode and set the value to a decimal with the value 1. Restart Visual Studio to ensure the new setting is found.

2. Add Registry value

Another registry edit here. Locate the following key in the system registry HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\ASP.NET Add a DWORD FCNMode and set the value to a decimal with the value 2. Restart Visual Studio to ensure the new setting is found.

3. The project is stored on an internal netword

Depending on how your company’s network is configured Visual Studio may store the project on a network drive. Moving the project to a local drive on your machine and trying to run it again has been known to resolve this issue.

4. MSDN Fix

This comes directly from this article on MSDN; http://support.microsoft.com/kb/810886/en-us – I’ve trimmed it down a little. Verify that the MaxCmds and MaxMpxCt registry values are set to 50 or more. To do this, follow these steps:

  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following key in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters
  3. In the right pane, double-click the MaxCmds value.
  4. In the Value data box, verify that the value is 50 or more.
  5. Locate and then click the following key in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters Note Make sure that you make this change to the lanmanserver\parameters registry key and not to the lanmanworkstation\parameters registry key mentioned in step 2.
  6. In the right-pane, double-click the MaxMpxCt value. Note On SMB servers that are running a version of Windows earlier than Windows 2000, the MaxMpxCt registry entry is named MaxMpxCount, but has the same function.
  7. In the Value data box, verify that the value is 50 or more. Note The MaxMpxCt value determines the maximum number of simultaneous, active requests that the server permits from an individual client.
  8. Quit Registry Editor.
  9. Restart the server.


Another specific case that triggers the same message is if the project is on a mapped drive that points back to the same PC.

For historic reasons, I have D: on my PC mapped to C:\D_Drive through a share on the same PC. Loading the solution from D:\Source\MyMVC\MyMVC.sln gives this error, but loading it from C:\D_Drive\Source\MyMVC\MyMVC.sln (where it "really" lives) worked fine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜