ProxyGen Error

Hey All,

I am trying to Proxygen a library for .NET. Have done this successfully on another machine before, but am having trouble on this one and hoping someone can tell me what I am missing.

On this machine i have installed:
Progress 9.1D
OpenEdge 10.1A
Visual Studio 2005 Standard Edition
.NET SDK 1.1

My ProxyGen settings are as follows:
Compiler Options:
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe"
XSD Generator:
"C:\Program Files\Microsoft.NET\SDK\v1.1\Bin\xsd.exe"

Which is correct as you can see below:
untitledqh4.png


Here is the Proxy log:
** Generating .NET proxies ...
Creating AssemblyInfo.cs ...
Creating dsGeneralSchema.cs ...
Creating dsUsersSchema.cs ...
Creating AppMain.cs ...
Creating strongly typed dataset classes ...
csc /t:exe /out:C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsGeneral.exe C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsGeneralSchema.cs
Exception executing csc //CreateProcess: csc /t:exe /out:C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsGeneral.exe C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsGeneralSchema.cs error=2. (7246)
>>ERROR occurred trying to start executable. Its specified path is probably not correct, or its default path cannot be determined.

Deleting intermediate files ...
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsGeneral.cs
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsGeneral.exe
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsGeneral.xsd
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsUsers.cs
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsUsers.exe
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsUsers.xsd

** Generation failed
Search for '>>ERROR' and '>>WARNING' in this log to find any problems.
Any help woudl be greatly appreciated at this point,
thanx you in advance,
cya.
 

curly

New Member
Hi,

According to your log file your proxygen doesn't use correct proxygen settings.

Your log file:
...
Creating strongly typed dataset classes ...
csc /t:exe ...
Based on your setting it should be:
Creating strongly typed dataset classes ...
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe /t:exe ...
Proxygen keeps two sets of settings:
  • the first one (default one) is accessible through menu Options->Default Preferences ... .NET tab
  • the second one (this one is used to generate proxies) is stored in your *.xpxg file
    (accessible when you click generate button ... .NET tab)
Check whether your second set of settings is as it should be ...

Regards,
Marian
 
Firstly Thank you Marion for taking the time to answer.

I checked and I had already set the 2nd set, but not the defaults. So i set the default ones and still the same.

** Generating .NET proxies ...
Creating AssemblyInfo.cs ...
Creating dsGeneralSchema.cs ...
Creating dsFileSchema.cs ...
Creating dsModuleSchema.cs ...
Creating dsUsersSchema.cs ...
Creating AppMain.cs ...
Creating strongly typed dataset classes ...
csc /t:exe /out:C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsGeneral.exe C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsGeneralSchema.cs
Exception executing csc //CreateProcess: csc /t:exe /out:C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsGeneral.exe C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsGeneralSchema.cs error=2. (7246)
>>ERROR occurred trying to start executable. Its specified path is probably not correct, or its default path cannot be determined.
Deleting intermediate files ...
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsGeneral.cs
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsGeneral.exe
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsGeneral.xsd
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsFile.cs
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsFile.exe
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsFile.xsd
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsModule.cs
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsModule.exe
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsModule.xsd
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsUsers.cs
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsUsers.exe
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\PROGRESS\OpenEdge\WRK\AppMainMaint\AppMainMaintenance\StrongTypesNS\dsUsers.xsd

** Generation failed
Search for '>>ERROR' and '>>WARNING' in this log to find any problems.
When I get back to work tomorrow I will install Visual Studio 2003 and see if that helps, maybe the 1.1 SDK is not enough? A workmate proxy'd these files on his machine which has 2003 installed so that may be it, not sure??


EDIT:
LOL...sorry I found it. I put the csc path in the wrong box. Obviously was too early this morning when I was mucking around with it. Once again Marion, thank you very much, its appreciated.

untitledli5.png


Cya.
 
Top