what I have done is provisioned the license and handler using the following code:
Code: C#
var setting = webApp.IisSettings.Where(x => x.Value.ServerComment == webApp.Name)
.Select(x => x.Value)
.FirstOrDefault();
if(setting != null)
{
try
{
if (!File.Exists(setting.Path.FullName + @"\eo_web.ashx"))
{
File.Copy(SPUtility.GetGenericSetupPath(@"TEMPLATE\Layouts\EDIS\eo_web.ashx"), setting.Path.FullName + @"\eo_web.ashx", true);
}
if (!File.Exists(setting.Path.FullName + @"\eo_web.licx"))
{
File.Copy(SPUtility.GetGenericSetupPath(@"TEMPLATE\Features\EDIS Core Components\eo_web.licx"), setting.Path.FullName + @"\eo_web.licx", true);
}
}
catch (Exception ex)
{
throw new SPException(ex.Message, ex);
}
}
then using fire fox I browse to the page that hosts the eo treeview control and none of the eo scripts are loaded. I then perform a get on the file:
http://edis/eo_web.ashx?id=22664109-3e59-4919-88eb-1d1d8a94b67f
I then get the following error:
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not create type 'EO.Web.Runtime'.
Source Error:
Line 1: <%@ WebHandler Class="EO.Web.Runtime" %>
Source File: /eo_web.ashx Line: 1
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
what am i doing wrong?