Hello Everyone, anyone ever see this?

When we attempt to Define a A/V Profile we Get
Server Error in '/' 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: CS0266: Cannot implicitly convert type 'KEngine.Service.Impl.AVProfileService.ProfileShareRole' to 'int'. An explicit conversion exists (are you missing a cast?)

Source Error:



Line 429: {
Line 430: IAVProfileService service = ServiceLocator.Instance.GetService(KSessionDS.KEngineSession);
Line 431: int role = service.GetProfileRole(Convert.ToInt32(ProfileSelector.SelectedValue));
Line 432: SaveButton.Visible = true;
Line 433: SaveAsButton.Visible = true;


Source File: c:\Kaseya\WebPages\AntivirusTab\ManageProfiles.aspx.cs Line: 431



Show Detailed Compiler Output:


c:\windows\system32\inetsrv> "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\9a69ab49\007c5586_a3aec701\RadToolbar.Net2.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\60937fd2\007c5586_a3aec701\log4net.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\d911de6f\007c5586_a3aec701\RadSplitter.Net2.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\60a3f530\007c5586_a3aec701\Iesi.Collections.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\App_Code.iakokypf.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\ad30b3e5\007c5586_a3aec701\RadWindow.Net2.DLL" /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\root\7633c9fe\18f9e3f9\assembly\dl3\bd6db26e\007c5586_a3aec701\RadRotator.Net2.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\40f78833\007c5586_a3aec701\RadGrid.Net2.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\00018d90\007c5586_a3aec701\RadTabStrip.Net2.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\5e90c99a\007c5586_a3aec701\SessionDataSource.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\App_global.asax.tm6dr6e_.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\58351c0c\007c5586_a3aec701\DictionaryConfiguration.NET2.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\1de037f3\007c5586_a3aec701\RadTreeView.Net2.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\79ce0c6f\007c5586_a3aec701\RadDock.Net2.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\09a28d1c\00b015ff_e8b5c701\Kaseya.Web.Controls.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\2dce2b71\007c5586_a3aec701\RadChart.Net2.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\4606cbc4\007c5586_a3aec701\RadMenu.Net2.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\454c1130\007c5586_a3aec701\RadCalendar.Net2.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\59bfe276\007c5586_a3aec701\RadPanelbar.Net2.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\95f61f6f\007c5586_a3aec701\RadComboBox.Net2.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\6e304847\007c5586_a3aec701\Castle.DynamicProxy.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\ac021980\007c5586_a3aec701\RadAjax.Net2.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\2f043d3c\007c5586_a3aec701\NHibernate.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\e504fbde\007c5586_a3aec701\RadInput.Net2.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\843153fc\007c5586_a3aec701\RadUpload.Net2.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\assembly\dl3\4dd35e01\270a36d6_998fc801\KEngine.DLL" /out:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\App_Web_manageprofiles.aspx.441a38b0.1apawpmb.dll" /debug- /optimize+ /win32res:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\_d_bl5hy.res" /warnaserror /w:1 /nowarn:1659;1699;1701 "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\App_Web_manageprofiles.aspx.441a38b0.1apawpmb.0.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\App_Web_manageprofiles.aspx.441a38b0.1apawpmb.1.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7633c9fe\18f9e3f9\App_Web_manageprofiles.aspx.441a38b0.1apawpmb.2.cs"


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

c:\Kaseya\WebPages\AntivirusTab\ManageProfiles.aspx.cs(431,20): error CS0266: Cannot implicitly convert type 'KEngine.Service.Impl.AVProfileService.ProfileShareRole' to 'int'. An explicit conversion exists (are you missing a cast?)






--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

Legacy Forum Name: .NET Errors in KES V4.8.1,
Legacy Posted By Username: LofflerVision