Unable to generate a temporary class (result=1)
Unable to generate a temporary class (result=1)
After using EVB to wrap my program
it show such message
"Unable to generate a temporary class (result=1). error CS0009..."
any idea?
it show such message
"Unable to generate a temporary class (result=1). error CS0009..."
any idea?
Last edited by ericwu on Sun Nov 25, 2012 10:49 am, edited 1 time in total.
Re: Unable to generate a temporary class (result=1)
Hi ericwu,
The most common reason of such error could be a name of the packed file, that is often happen for .net applications. For example, if your file is named as product.exe, it may have a configuration file product.exe.config. After you pack the file, it is being automatically named as product_packed.exe, and it is unable to find own config file and error appears.
Try to rename your packed file to original.
Probably, your problem may appear due to same problem of Enigma Protector that can be solved using this way:
http://forum.enigmaprotector.com/viewto ... f=6&t=1789
Otherwise, if this won't fix the problem, can you please send us non packed sample of your exe (and all related files that are needed to run it) so we check it out and will try to fix the problem at support@enigmaprotector.com?
The most common reason of such error could be a name of the packed file, that is often happen for .net applications. For example, if your file is named as product.exe, it may have a configuration file product.exe.config. After you pack the file, it is being automatically named as product_packed.exe, and it is unable to find own config file and error appears.
Try to rename your packed file to original.
Probably, your problem may appear due to same problem of Enigma Protector that can be solved using this way:
http://forum.enigmaprotector.com/viewto ... f=6&t=1789
Otherwise, if this won't fix the problem, can you please send us non packed sample of your exe (and all related files that are needed to run it) so we check it out and will try to fix the problem at support@enigmaprotector.com?
Re: Unable to generate a temporary class (result=1)
hi
Here is the client side program and server side web service code that can represent such condition
Thanks
Here is the client side program and server side web service code that can represent such condition
Thanks
Last edited by ericwu on Sun Nov 25, 2012 10:50 am, edited 1 time in total.
Re: Unable to generate a temporary class (result=1)
In your case, you should enable the option Share Virtual System To Child Processes. This will help you.
Re: Unable to generate a temporary class (result=1)
It don't work
Last edited by ericwu on Sun Nov 25, 2012 10:51 am, edited 2 times in total.
Re: Unable to generate a temporary class (result=1)
Can you please let me know the version of Windows you are using?
And also make sure you are using latest version of EVB.
And also make sure you are using latest version of EVB.
Re: Unable to generate a temporary class (result=1)
Windows OS: Windows 7 Home Edition
EVB : 5.70 Build 20121113
EVB : 5.70 Build 20121113
Last edited by ericwu on Sun Nov 25, 2012 10:52 am, edited 2 times in total.
Re: Unable to generate a temporary class (result=1)
Can you please also try attached version?
This one had been successfully tested on Windows 7 x86 and x64, and there had not been found any error.
Except these errors, but I think they do not relate to files virtualization: Also, please try thw following:
- copy packed file to a simpler folder, like "C:\Test" and check if it will be working
- try to disable your antivirus, to check if it may cause problems.
If nothing of this helps, I could send you a debug version of EVB that may tell us more about problem or incompatibility.
This one had been successfully tested on Windows 7 x86 and x64, and there had not been found any error.
Except these errors, but I think they do not relate to files virtualization: Also, please try thw following:
- copy packed file to a simpler folder, like "C:\Test" and check if it will be working
- try to disable your antivirus, to check if it may cause problems.
If nothing of this helps, I could send you a debug version of EVB that may tell us more about problem or incompatibility.
You do not have the required permissions to view the files attached to this post.
Re: Unable to generate a temporary class (result=1)
this attached version work fine.
and run test at other folder also work fine.
I turn on the test server now.
you can try again.
I am glad to be the beta EVB tester.
and run test at other folder also work fine.
I turn on the test server now.
you can try again.
I am glad to be the beta EVB tester.
Re: Unable to generate a temporary class (result=1)
Really, I have packed it with usual version of EVB, there were nothing special.
Probably, some intermediate problems had been recently fixed...
Please try this version, packed file with this version also works fine for me:
http://enigmaprotector.com/assets/files ... 121126.exe
Probably, some intermediate problems had been recently fixed...
Please try this version, packed file with this version also works fine for me:
http://enigmaprotector.com/assets/files ... 121126.exe
