1
Compiler Error Message: CS0103
Problem reported by Joe Goldsmith - 11/23/2013 at 10:40 AM
Resolved

I just started receiving the following error. Anyone know how to fix this error?

Compiler Error Message: CS0103: The name 'ContentStylesheetUrl' does not exist in the current context

Source Error:


 

 
Line 154:                var doc = scroll, html = $("<iframe id='htmlViewFrame' frameborder='0' scrolling='yes' style='width: 100%; border: none'></iframe>").appendTo(scroll), htmlFrame = $('#htmlViewFrame');
Line 155:                var codestylesheet = '<%= CodeStylesheetUrl %>';
Line 156:                var contentCss = '<%= ContentStylesheetUrl %>';
Line 157:
Line 158:                doc = html.contents()[0];


Source File: c:\Program Files (x86)\SmarterTools\SmarterMail\MRS\Main\frmMessage.aspx    Line: 156

c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\assembly\dl3\837ad88b\00e8bc8d_0f48ce01\SmarterTools.LicensingEx.XmlSerializers.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\assembly\dl3\39dd5e23\008e5a8b_0f48ce01\Newtonsoft.Json.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\assembly\dl3\535a3e6b\008e5a8b_0f48ce01\SmarterMail.RemoteInterface.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\assembly\dl3\8d73d742\008e5a8b_0f48ce01\SmarterMail.Config.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\assembly\dl3\70a74b11\00bb8b8c_0f48ce01\SmarterTools.Common.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\assembly\dl3\74810cd1\00e8bc8d_0f48ce01\SmarterTools.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_global.asax.vk6d0imy.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_qngvszf2.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\assembly\dl3\7982a5dc\00bb8b8c_0f48ce01\SmarterNotify.Connector.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_cajsmtd5.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_44irwdns.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\assembly\dl3\19aaf03f\00bb8b8c_0f48ce01\SmarterTools.LicensingEx.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\assembly\dl3\47f3a1b1\008e5a8b_0f48ce01\Keyoti.RapidSpellWeb.ASP.NETv4.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\assembly\dl3\e21378da\00bb8b8c_0f48ce01\SmarterTools.Events.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\assembly\dl3\5d76c566\00e8bc8d_0f48ce01\SmarterTools.MailSigning.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\assembly\dl3\2cd52a02\008e5a8b_0f48ce01\SmarterMail.ActiveSync.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\assembly\dl3\124a88d0\0061298a_0f48ce01\dotless.Core.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\assembly\dl3\9098ce4d\0061298a_0f48ce01\Keyoti.RapidSpellMDict.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\assembly\dl3\be972f35\00e8bc8d_0f48ce01\SmarterTools.ReportEngine.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_thbu5pck.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Entity\v4.0_4.0.0.0__b77a5c561934e089\System.Web.Entity.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_ckrrx1k4.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\assembly\dl3\ca871883\00e8bc8d_0f48ce01\SMWeb.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /out:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.dll" /debug- /optimize+ /win32res:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\0ihgrni0.res" /w:4 /nowarn:1659;1699;1701 /warnaserror-  "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.16.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.1.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.3.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.8.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.6.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.18.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.14.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.2.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.10.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.9.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.12.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.11.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.4.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.19.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.15.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.0.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.17.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.5.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.7.cs" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a72aeeb0\3ea58cb1\App_Web_0ihgrni0.13.cs"


Microsoft (R) Visual C# 2010 Compiler version 4.0.30319.1
Copyright (C) Microsoft Corporation. All rights reserved.

c:\Program Files (x86)\SmarterTools\SmarterMail\MRS\Main\frmMessage.aspx(156,39): error CS0103: The name 'ContentStylesheetUrl' does not exist in the current context

 

Joe

1 Reply

Reply to Thread
2
Joe Goldsmith Replied
Marked As Resolution
I fixed the problem by just reinstalling SM.
 
Joe

Reply to Thread