The source and destination of files are on file server, the compiler command runs on App Server.
We are facing the issue where the above command runs fine some times, and the other times it just fails to generate the compiled dlls without throwing any errors.
This issue is very random, and when it fails for one site, if we run the exact same command again for the same site, it goes through fine and successfully generates the compiled dlls.
This issue is very random, and when it fails for one site, if we run the exact same command again for the same site, it goes through fine and successfully generates the compiled dlls.
Member
2 Points
7 Posts
aspnet_compiler randomly fails to generate the compiled assemplies
Apr 06, 2017 09:22 PM|DeveloperAM|LINK
Hi,
We are using the following command to compile our site -
aspnet_compiler -c -v /sitenamedn -p <source of files> <destinationof files> >compilelog.txt
The source and destination of files are on file server, the compiler command runs on App Server.
We are facing the issue where the above command runs fine some times, and the other times it just fails to generate the compiled dlls without throwing any errors.
This issue is very random, and when it fails for one site, if we run the exact same command again for the same site, it goes through fine and successfully generates the compiled dlls.
Any help on this will be greatly appreciated.
Thanks Much!
All-Star
17652 Points
3510 Posts
Re: aspnet_compiler randomly fails to generate the compiled assemplies
Apr 07, 2017 05:16 AM|Chris Zhao|LINK
Hi DeveloperAM,
You could compile your application with "-errorstack", "-errorstack" will include stack trace information. For detailed information, please refer: http://msdn.microsoft.com/en-us/library/ms229863(vs.80).aspx
The following command compiles the WebApplication1 application in place, and the tool adds stack trace information if it must report errors.
Aspnet_compiler -v /WebApplication1 -errorstack
Best Regards,
Chris
Member
2 Points
7 Posts
Re: aspnet_compiler randomly fails to generate the compiled assemplies
Apr 07, 2017 01:07 PM|DeveloperAM|LINK
Thanks! Appreciate your quick response.
Will try using this option to get errors.