Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am getting the message "fatal error C1085: Cannot write compiler generated file: '<path>\msado15.tlh': The network BIOS command limit has been reached." when I try to build using DevStudio 2008 V9.0 on Windows XP. I've Googled this and there have been a variety of suggestions regarding setting MaxCmds and MaxMpxCt in the registry. In my case, I did not find these values at the location most if not all of the articles said I would so I added them and set their values at 65535. Unfortunately these steps did not have any noticeable effect.

This seems to be the offending line of code:

#import "C:\Program Files\Common Files\System\ADO\msado15.dll" no_namespace rename( "EOF", "adoEOF" )

The file msado15.dll exists at that location. Originally I reported that other projects do not have this problem. However, any project that has an #import statement seems to have this problem (and a further hint may be that the only projects that have an #import statement also interface with SQL). This problem surfaced when the company upgraded from Visual Studio 2003 to Visual Studio 2008. Since I no longer have access to Visual Studio 2003, I have tried looking at the vcproj files of old projects to see if there is something that jumps out at me. Having no idea of what it is I am looking for makes that effort a bit senseless but it was the only straw left to grab.

Any ideas?
Posted
Updated 9-Dec-11 7:59am
v4

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900