Silverlight Viewer Compile Error at Startup

3329
5
05-08-2012 06:17 AM
BarryJaggernauth
Occasional Contributor
Hi

I installed ArcGIS Viewer for Silverlight but got a Compilation Error in my browser when I tried to open/run it.

Any help with this would be greatly appreciated!

Regards
Barry

P.S. The error is copied below, exactly as it appears.


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Server Error in '/Builder' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CVT1108: cannot open C:\Windows\TEMP\RES80A4.tmp for writing

Source Error:

[No relevant source lines]


Source File: CVTRES : fatal    Line: 0


Show Detailed Compiler Output:

c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\vbc.exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\builder\cd1cb5b4\cceb6353\assembly\dl3\d7b2a6c1\006296b1_fdcfcc01\ESRI.ArcGIS.Mapping.Builder.Web.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\builder\cd1cb5b4\cceb6353\assembly\dl3\c6766081\000834af_fdcfcc01\ESRI.ArcGIS.Mapping.Builder.Server.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\builder\cd1cb5b4\cceb6353\assembly\dl3\9c517171\007379a4_fdcfcc01\ESRI.ArcGIS.Mapping.Builder.Common.DLL" /R:"C:\Windows\assembly\GAC_64\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\assembly\GAC_64\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\assembly\GAC_64\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /out:"C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\builder\cd1cb5b4\cceb6353\App_Web_default.aspx.cdcab7d2.xponcmjk.dll" /D:DEBUG=1 /debug+ /win32resource:"C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\builder\cd1cb5b4\cceb6353\nuzbooo7.res" /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls  "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\builder\cd1cb5b4\cceb6353\App_Web_default.aspx.cdcab7d2.xponcmjk.0.vb" "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\builder\cd1cb5b4\cceb6353\App_Web_default.aspx.cdcab7d2.xponcmjk.1.vb"


Microsoft (R) Visual Basic Compiler version 8.0.50727.5420
for Microsoft (R) .NET Framework version 2.0.50727.5448
Copyright (c) Microsoft Corporation.  All rights reserved.

CVTRES : fatal error CVT1108: cannot open C:\Windows\TEMP\RES80A4.tmp for writing
vbc : error BC31019: Unable to write to output file 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\builder\cd1cb5b4\cceb6353\App_Web_default.aspx.cdcab7d2.xponcmjk.dll': The specified image file did not contain a resource section.



Version Information: Microsoft .NET Framework Version:2.0.50727.5448; ASP.NET Version:2.0.50727.5456

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0 Kudos
5 Replies
KatherineDalton
Esri Regular Contributor
Hi Barry,

Can you confirm your machine meets the System" rel="nofollow" target="_blank">http://help.arcgis.com/en/webapps/silverlightviewer/help/inde... Requirements? For example, .NET Framework 3.5 SP1 or .NET Framework 4.0.

Katy
Katy Dalton | Technical Consultant
THE SCIENCE OF WHERE™
0 Kudos
BarryJaggernauth
Occasional Contributor
[ATTACH=CONFIG]14178[/ATTACH]

Hi Katy

Yes, I can confirm that I meet minimum system requirements. The installation dialog also gave me "green lights" to install.

Was there something that I overlooked?

Regards
Barry
0 Kudos
KatherineDalton
Esri Regular Contributor
Hi Barry,

We haven't seen that particular error before, so I'm inclined to think it's more of an ASP.NET issue. Can you take a look at the following forum (and similar) and see if any of the solutions work for you: http://stackoverflow.com/questions/5946618/asp-net-cann-not-access-to-windows-temp-folder

Katy
Katy Dalton | Technical Consultant
THE SCIENCE OF WHERE™
0 Kudos
BarryJaggernauth
Occasional Contributor
Katy,

Thank You!

It solved the problem and the viewer now opens as outlined in the resource center help file.

I really appreciate your super quick and helpful solution!

Regards
Barry
0 Kudos
MichaelNesius
Occasional Contributor
I too am having a compilation error when trying to open a recently installed silverlight viewer. I had all the green checks for installation requirements on install and I tried the the permissions fix on the TEMP folder described on stackoverflow.

It looks like it is pointing at .NET v2.0.50727 instead of V4.0.30319

Thanks for any help, Here's my error:



Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\builder\4bd50eed\cceb6353\lt\App_GlobalResources.mkhikfrw.resources.dll' -- 'Access is denied. '

C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\builder\4bd50eed\cceb6353\assembly\dl3\747aeb23\00e6052d_34e7ce01\ESRI.ArcGIS.Mapping.Builder.Server.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\builder\4bd50eed\cceb6353\assembly\dl3\5eabe7ff\007e7c23_34e7ce01\ESRI.ArcGIS.Mapping.Builder.Common.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\builder\4bd50eed\cceb6353\assembly\dl3\7deea56c\00f17048_34e7ce01\ESRI.ArcGIS.Mapping.Builder.Web.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\builder\4bd50eed\cceb6353\lt\App_GlobalResources.mkhikfrw.resources.dll" /D:DEBUG /debug+ /optimize- /res:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\builder\4bd50eed\cceb6353\resources.strings.lt.resources" /w:4 /nowarn:1659;1699;1701  "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\builder\4bd50eed\cceb6353\App_GlobalResources.mkhikfrw.lt_0.cs"


Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.4927
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

error CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\builder\4bd50eed\cceb6353\lt\App_GlobalResources.mkhikfrw.resources.dll' -- 'Access is denied. '
0 Kudos