473,799 Members | 3,422 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

won't compile projects stored over network

I just installed VC++.NET and haven't had much luck. It just won't
compile anything that isn't stored on a local hard drive. Local
projects are fine (well, other than my stupid mistakes) and compile
without a problem.

Below is the error log generated from a wizard-created project -- I
didn't add any code myself. It was created in a folder accessed from
browsing through the network neighborhood, but I've also tried it
using mapped network drives.

Can anybody give me any pointers? Is there some obvious setup step I
didn't do that would help?

thanks
david

ERROR LOG:
----------------------
Command Lines
This edition of Visual C++ does not support the optimizing compiler.
This edition of Visual C++ does not support the optimizing compiler.
Creating temporary file "
\\mobilelabs\pr ojects\c\tests\ nettest\nettest \Debug\RSP00000 1.rsp"
with contents
[
/D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "_MBCS" /Gm /EHsc /RTC1 /MTd
/Zc:wchar_t /Yu"stdafx.h" /Fp"Debug/nettest.pch" /Fo"Debug/"
/Fd"Debug/vc70.pdb" /W3 /c /Wp64 /ZI /TP
..\nettestView. cpp
..\nettestDoc.c pp
..\ChildFrm.cpp
..\MainFrm.cpp
..\nettest.cpp
]
Creating command line "cl.exe
@\\mobilelabs\p rojects\c\tests \nettest\nettes t\Debug\RSP0000 01.rsp
/nologo"
Creating temporary file "
\\mobilelabs\pr ojects\c\tests\ nettest\nettest \Debug\RSP00000 2.rsp"
with contents
[
/D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "_MBCS" /Gm /EHsc /RTC1 /MTd
/Zc:wchar_t /Yc"stdafx.h" /Fp"Debug/nettest.pch" /Fo"Debug/"
/Fd"Debug/vc70.pdb" /W3 /c /Wp64 /ZI /TP
..\stdafx.cpp
]
Creating command line "cl.exe
@\\mobilelabs\p rojects\c\tests \nettest\nettes t\Debug\RSP0000 02.rsp
/nologo"

Output Window
Compiling...
cl : Command line error D2022 : cannot open
'\\mobilelabs\p rojects\c\tests \nettest\nettes t\Debug\RSP0000 02.rsp'
Nov 16 '05 #1
4 2632
Could you use a tool like ntfilemon to see what faillure code the open gets?

http://www.sysinternals.com/ntw2k/source/filemon.shtml

Ronald Laeremans
Visual C++ team

"David Killian Woods" <da***@dreamdyn amics.com> wrote in message
news:ee******** *************** ***@posting.goo gle.com...
I just installed VC++.NET and haven't had much luck. It just won't
compile anything that isn't stored on a local hard drive. Local
projects are fine (well, other than my stupid mistakes) and compile
without a problem.

Below is the error log generated from a wizard-created project -- I
didn't add any code myself. It was created in a folder accessed from
browsing through the network neighborhood, but I've also tried it
using mapped network drives.

Can anybody give me any pointers? Is there some obvious setup step I
didn't do that would help?

thanks
david

ERROR LOG:
----------------------
Command Lines
This edition of Visual C++ does not support the optimizing compiler.
This edition of Visual C++ does not support the optimizing compiler.
Creating temporary file "
\\mobilelabs\pr ojects\c\tests\ nettest\nettest \Debug\RSP00000 1.rsp"
with contents
[
/D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "_MBCS" /Gm /EHsc /RTC1 /MTd
/Zc:wchar_t /Yu"stdafx.h" /Fp"Debug/nettest.pch" /Fo"Debug/"
/Fd"Debug/vc70.pdb" /W3 /c /Wp64 /ZI /TP
.\nettestView.c pp
.\nettestDoc.cp p
.\ChildFrm.cpp
.\MainFrm.cpp
.\nettest.cpp
]
Creating command line "cl.exe
@\\mobilelabs\p rojects\c\tests \nettest\nettes t\Debug\RSP0000 01.rsp
/nologo"
Creating temporary file "
\\mobilelabs\pr ojects\c\tests\ nettest\nettest \Debug\RSP00000 2.rsp"
with contents
[
/D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "_MBCS" /Gm /EHsc /RTC1 /MTd
/Zc:wchar_t /Yc"stdafx.h" /Fp"Debug/nettest.pch" /Fo"Debug/"
/Fd"Debug/vc70.pdb" /W3 /c /Wp64 /ZI /TP
.\stdafx.cpp
]
Creating command line "cl.exe
@\\mobilelabs\p rojects\c\tests \nettest\nettes t\Debug\RSP0000 02.rsp
/nologo"

Output Window
Compiling...
cl : Command line error D2022 : cannot open
'\\mobilelabs\p rojects\c\tests \nettest\nettes t\Debug\RSP0000 02.rsp'

Nov 16 '05 #2
"Ronald Laeremans [MSFT]" <ro*****@online .microsoft.com> wrote in message news:<e6******* *******@TK2MSFT NGP09.phx.gbl>. ..
Could you use a tool like ntfilemon to see what faillure code the open gets?

http://www.sysinternals.com/ntw2k/source/filemon.shtml

Ronald Laeremans
Visual C++ team

process "cl.exe" tries to OPEN RSP000002.rsp and gets an "ACCESS
DENIED" error, the 'other' field lists my current COMPUTER/Account. It
does this seven times.

(I am on a W2K machine, accessing a WXP machine)

Earlier in the FileMon log, devenv.exe did CREATE, WRITE, and CLOSE on
the same file with no problem. Later in the FileMon long, devenv.exe
does OPEN, DELETE, and CLOSE again on the same file with no problem.

Does this help?
Nov 16 '05 #3
Sadly it doesn't really. This would seem to indicate an intermittent problem
with the security over the network. Is there anything in the open
mask/parameters that is different between the opens that fail and the ones
that succeed?

Ronald

"David Killian Woods" <da***@dreamdyn amics.com> wrote in message
news:ee******** *************** ***@posting.goo gle.com...
"Ronald Laeremans [MSFT]" <ro*****@online .microsoft.com> wrote in message

news:<e6******* *******@TK2MSFT NGP09.phx.gbl>. ..
Could you use a tool like ntfilemon to see what faillure code the open gets?
http://www.sysinternals.com/ntw2k/source/filemon.shtml

Ronald Laeremans
Visual C++ team

process "cl.exe" tries to OPEN RSP000002.rsp and gets an "ACCESS
DENIED" error, the 'other' field lists my current COMPUTER/Account. It
does this seven times.

(I am on a W2K machine, accessing a WXP machine)

Earlier in the FileMon log, devenv.exe did CREATE, WRITE, and CLOSE on
the same file with no problem. Later in the FileMon long, devenv.exe
does OPEN, DELETE, and CLOSE again on the same file with no problem.

Does this help?

Nov 16 '05 #4
"Ronald Laeremans [MSFT]" <ro*****@online .microsoft.com> wrote in message news:<ua******* *******@TK2MSFT NGP09.phx.gbl>. ..
Sadly it doesn't really. This would seem to indicate an intermittent problem
with the security over the network. Is there anything in the open
mask/parameters that is different between the opens that fail and the ones
that succeed?

Ronald


The only real difference seems to be the process that's calling it.
devenv.exe succeeds where cl.exe fails. The only other data I could
find via filemon was that the failing attempt are flagging
IRP_MJ_CREATE, but I don't recognize that (an interrupt?). But again,
devenv.exe is having the easy time of it, and also has IRP_MJ_CREATE,
but successfully. Both before and after cl.exe is having trouble. I
don't know how to view any other mask/parameters though.

It gets more interesting. I tried installing VC++.NET on the XP
machine and tried it backwards--compiling a project located on the 2K
machine. Same problem. Then I tried compiling a project from the 2K
machine, that was located on another 2K machine in the network --
success! (while trying to compile the same project [the one on the
other 2K machine], from the XP machine, failed)

My XP machine is running home edition. I feel like this is somehow an
access problem. Do I need to create a matching account on the XP
machine? But that still doesn't explain why devenv.exe can succeed, I
don't see how they would be running as different owners. Or why XP
would allow one and deny the other, I didn't think the Home Edition
could specify access that way.

Thanks for your help so far,
david
Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4476
by: Mario T. Lanza | last post by:
I am working with Visual Studio. The solution I am developing is composed of about 8 separate projects. Some of these projects represent different tiers in the N-tiered architecture (data, business logic, presentation, etc.). Right now, some of the projects are inter-related and reference each other using Project References. When I select "Rebuild Solution" to compile, each project is successfully compiled into its own directory (and...
5
3823
by: Brice Prunier | last post by:
Here under 4 schemas i'm working with ( it may be long: sorry...) The context is the following : Resident.xsd imports Person.xsd and includes Common.xsd ( anonimous schema: no TargetNamespace ) Person.xsd includes Common-Naming.xsd ( anonimous schemas ) Common-Naming.xsd includes common.xsd ( both are anonimous schemas ) Compilation of Resident.xsd raise the following exception: "System.Xml.Schema.XmlSchemaException: The attribute 'oid'...
4
2784
by: John F | last post by:
Currently I'm working on a C# app for a large organization (700 users nationwide). This App is still under development. I have setup code in my App to pull C# source code from a database and dynamically compile it at runtime. All source code stored in the database will be of Type Form and all forms will load as children of an MDI. Once I compile the code I store it on the local machine as a DLL. I do this so that the next time a user...
10
1674
by: PeterW | last post by:
I find in the last 3/4 days that I can't open web applications using VS.net 1.1 for enterprise architiect. The project I am currently working on just refuses to open and hangs. I try using IIS to browse the asmx file and that also hangs. I try to see the files using Windows Explorer via My Network Places\localhost and no files or sites are visible at all. IIS shows anonymous access allowed plus also have tried to get in with...
10
1794
by: Conan | last post by:
Hi, I am having a problem with .Net / Visual Studio that I can't find the cause of. I have searched newsgroups and the web and find people with similar but different (I think) problems. Here's the issue and some of what I've found out - I really hope it's familiar to someone and there's an answer! I have a solution with about a dozen projects, including 2 asp.net web applications and 1 asp.net web service project. Having migrated to...
0
1070
by: Justin Braun | last post by:
I have a solution with 4 vb.net projects in it. They are a Windows class, a service, a console app, and a Windows forms app. All of them have the class as a dependency. The currently project I am working on is the Windows Forms app and I don't want to the build the rest of the projects when I go to compile the WinForms app, but the Configuration Manager won't let me uncheck the 'Build' option for the other projects. I click on the...
5
1397
by: Bruce D | last post by:
I'm wondering why I cannot compile a co-workers project from my PC? Here's the situation: We both have WinXP. We both have VS .NET 2003 installed. I can open her project and make changes to the code...she can open my project and make changes to my project...but if either of us try to compile and run the app (through .NET) we get the "Could not copy temporary files to the output directory." errors. Our projects are stored on a shared unix...
27
1944
by: Rene | last post by:
I keep getting the following error every time I compile the solution under VS 2005: ---------------- Error 5 Unable to copy file "obj\Debug\xyz.dll" to "bin\Debug\xyz.dll". The process cannot access the file 'bin\Debug\xyz.dll' because it is being used by another process. ----------------
3
5058
by: musosdev | last post by:
Hi guys Okay, I've setup my projects to open and compile fine in VS2005 using FPSE and remote web, but it's *really* slow. So I thought I'd have a go at doing it the normal way, by loading from the network share. It loads in VS2005 fine, and I can edit and save code changes etc, but when I try and Build the solution, I get the following error... An error occured loading a configuration file: Failed to start monitoring
0
9688
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9544
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10490
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10259
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5589
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4145
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3761
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.