The compiler failed with error code 1.

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
7/23/2013 2:09:37 PM
Gravatar
Total Posts 9

Re: The compiler failed with error code 1.

Hello Lived,

I'm about to send you an email so I can get some of your details at Arvixe. I'll get this handled for you right away.

Best Regards,

Avesta from Arvixe

2/15/2014 9:54:43 AM
Gravatar
Total Posts 7

Re: The compiler failed with error code 1.

I'm having the same problem and neither I can upgrade MojoPortal files.

I have been chatting with support online and this is a compilation they gave me:

Event code: 3007 Event message: A compilation error has occurred. Event 

time: 2/13/2014 9:18:25 PM Event time (UTC): 2/14/2014 3:18:25 AM Event 

ID: 9c133895caa64cf59e708fe42fb502da Event sequence: 5 Event occurrence: 

1 Event detail code: 0 Application information: Application domain: 

/LM/W3SVC/1792/ROOT-3-130368214984549898 Trust level: Full Application 

Virtual Path: / Application Path: C:\HostingSpaces\(Removed)\4para1.com

\wwwroot\ Machine name: LOTUS Process information: Process ID: 1488 

Process name: w3wp.exe Account name: LOTUS\4para1com_web3 Exception 

information: Exception type: HttpCompileException Exception message: 

External component has thrown an exception. at 

System.Web.Compilation.AssemblyBuilder.Compile() at 

System.Web.Compilation.BuildProvidersCompiler.<PerformBuild>b__0

(AssemblyBuilder assemblyBuilder) at 

System.Web.Compilation.CompilationUtil.CompileParallel(ICollection 

assemblyBuilders, Action`1 action) at 

System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at 

System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly

(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, 

StringSet excludedSubdirectories, Boolean isDirectoryAllowed) at 

System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath 

virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet 

excludedSubdirectories) at 

System.Web.Compilation.BuildManager.CompileResourcesDirectory() at 

System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() at 

System.Web.Compilation.BuildManager.CallAppInitializeMethod() at 

System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager 

appManager, IApplicationHost appHost, IConfigMapPathFactory 

configMapPathFactory, HostingEnvironmentParameters hostingParameters, 

PolicyLevel policyLevel, Exception appDomainCreationException) Request 

information: Request URL: http://www.4para1.com/Setup/Default.aspx 

Request path: /Setup/Default.aspx User host address: 70.104.XXX.XX User: 

Is authenticated: False Authentication Type: Thread account name: LOTUS

\4para1com_web3 Thread information: Thread ID: 15 Thread account name: 

LOTUS\4para1com_web3 Is impersonating: False Stack trace: at 

System.Web.Compilation.AssemblyBuilder.Compile() at 

System.Web.Compilation.BuildProvidersCompiler.<PerformBuild>b__0

(AssemblyBuilder assemblyBuilder) at 

System.Web.Compilation.CompilationUtil.CompileParallel(ICollection 

assemblyBuilders, Action`1 action) at 

System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at 

System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly

(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, 

StringSet excludedSubdirectories, Boolean isDirectoryAllowed) at 

System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath 

virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet 

excludedSubdirectories) at 

System.Web.Compilation.BuildManager.CompileResourcesDirectory() at 

System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() at 

System.Web.Compilation.BuildManager.CallAppInitializeMethod() at 

System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager 

appManager, IApplicationHost appHost, IConfigMapPathFactory 

configMapPathFactory, HostingEnvironmentParameters hostingParameters, 

PolicyLevel policyLevel, Exception appDomainCreationException) Custom 

event details:

 

my site 4para1.com been runnig for long time and now it been down with Generic 500 for 4 days.

 

Any help? 

 

2/15/2014 10:21:22 AM
Gravatar
Total Posts 18439

Re: The compiler failed with error code 1.

I suggest try uploading the files again. Then if the problem continues I would try recycle the application pool. Then if that fails to solve it I would ask the host to either move your site to another server or re-install/repair the .net framework.

If you google the error:

"Exception type: HttpCompileException Exception message:   External component has thrown an exception. at   System.Web.Compilation.AssemblyBuilder.Compile()"

you will find advice like what I have suggested

2/15/2014 11:35:45 AM
Gravatar
Total Posts 7

Re: The compiler failed with error code 1.

Thanks Joe, 

I did what you wrote before came here and post for help. I this point I have requested Arvixe to assist me, because all the researches and comments found about this scenario indicated that issue has to be in the server at Arvixe. hope they can fix it, but I did asked if they can move to another server. 

I will let you the outcome. Again thank you for taking time to revise this post.

 

2/15/2014 2:14:02 PM
Gravatar
Total Posts 7

Re: The compiler failed with error code 1.

Ok, Arvixe found the issue and fix it. I posting here for anyone who encounter this issue. 

According to Arvixe support they found the site site was forced to run 32-bit applications.
so they has changed the site to only run 64-bit applications. 

Thanks Arvixe for fixing it,

Joe... got you cover on the beer :)

2/16/2014 8:57:58 AM
Gravatar
Total Posts 18439

Re: The compiler failed with error code 1.

Hi Fernando,

Thanks very much for the beer! It is very appreciated.

Glad to hear your site is working again.

Cheers,

Joe

3/1/2014 5:23:29 AM
Gravatar
Total Posts 50

Re: The compiler failed with error code 1.

This issue is like a nightmare in arvixe server. i upload my custom mojo into the server just now and facing this problem again.

My God , i need to call help from arvixe support again.  Any one who using arvixe server and facing this problem, pls ask them to fix it according to the solution provided in this post. 

Thanks  

3/1/2014 1:20:49 PM
Gravatar
Total Posts 9

Re: The compiler failed with error code 1.

Hello Lived,

 

Is this related to Fernando's issue? If so, please note switching to 64 bit is a very quick fix. Please send me your ticket number and I'll see what I can do. With some more information, I think we can help. If you ever feel you aren't receiving the quality of service you deserve, then please feel free to contact our quality assurance department. They are very responsive and want to know of any issues.

 

Thank you

--

Avesta, Arvixe Representative

3/1/2014 11:53:22 PM
Gravatar
Total Posts 50

Re: The compiler failed with error code 1.

Hi Avesta, Arvixe

This problem was solved by your technical support person . thanks 

You must sign in to post in the forums. This thread is closed to new posts.