51度未激活

时间:2014-10-29 10:52:28

标签: vb.net 51degrees

我正在使用51degrees高级版。我已经支付了2个许可证,可以在多个主机(网站)上使用两个生产服务器。

服务器是IIS6 Web服务器 我有root有App_Data文件夹(网络上有完整的persmisions)。 我在bin文件夹上有FiftyOne.Foundation.dll,从https://51degrees.codeplex.com/releases/view/133106下载

我的网站

上有51Degrees.config(上面部分)
  <configSections>
    <sectionGroup name="fiftyOne">
      <section name="log" type="FiftyOne.Foundation.Mobile.Configuration.LogSection, FiftyOne.Foundation" requirePermission="false" allowDefinition="Everywhere" restartOnExternalChanges="false" allowExeDefinition="MachineToApplication"/>
      <section name="redirect" type="FiftyOne.Foundation.Mobile.Configuration.RedirectSection, FiftyOne.Foundation" requirePermission="false" allowDefinition="Everywhere" restartOnExternalChanges="false" allowExeDefinition="MachineToApplication"/>
      <section name="detection"  type="FiftyOne.Foundation.Mobile.Detection.Configuration.DetectionSection, FiftyOne.Foundation" requirePermission="false" allowDefinition="Everywhere" restartOnExternalChanges="false" allowExeDefinition="MachineToApplication"/>
      <section name="imageOptimisation" type="FiftyOne.Foundation.Mobile.Configuration.ImageOptimisationSection, FiftyOne.Foundation" requirePermission="false" allowDefinition="Everywhere" restartOnExternalChanges="false" allowExeDefinition="MachineToApplication"/>
    </sectionGroup>
  </configSections> 
  <fiftyOne>
<log logFile="~/App_Data/Log.txt" logLevel="Debug"/> 
   <detection binaryFilePath="~/App_Data/51Degrees-Premium.dat"/>
   <imageOptimisation enabled="false" maxWidth="1000" maxHeight="1000" widthParam="width" heightParam="height" factor="1" />

web-config有这个:

  <httpModules>   
  <add name="Detector" type="FiftyOne.Foundation.Mobile.Detection.DetectorModule, FiftyOne.Foundation"/>    
</httpModules>

我在bin文件夹上有lic文件,上面有我的lisence文件。

问题是我无法获取任何错误日志(log.txt)文件甚至不存在。我无法将51Degrees-Premium.dat下载到app_data目录。

我在同一台服务器上有另一个站点(用户数量要多得多),它与此站点具有相同的设置,该站点是donwnloadin新的dat文件并生成日志文件。

我在哪里出错了?

工作人员有这样的日志:

2014-10-29T10:39:26.1560896Z - 6392 - Debug - Initialising redirection module
2014-10-29T10:39:57.0154646Z - 3012 - Debug - Disposing Redirection Module
2014-10-29T10:39:57.2967146Z - 3012 - Debug - Disposing Detector Module
2014-10-29T10:39:59.8904646Z - 6392 - Debug - Disposing Redirection Module
2014-10-29T10:39:59.8904646Z - 6392 - Debug - Disposing Detector Module
2014-10-29T10:40:07.4373396Z - 3012 - Debug - Bandwidth monitoring 'False'
2014-10-29T10:40:07.4373396Z - 3012 - Debug - Image Optimisation 'False'
2014-10-29T10:40:07.4373396Z - 3012 - Debug - Profile Override 'False'
2014-10-29T10:40:07.4373396Z - 3012 - Debug - Initialising redirection module
2014-10-29T10:41:27.0184008Z - 3012 - Debug - Disposing Redirection Module
2014-10-29T10:41:27.2996526Z - 3012 - Debug - Disposing Detector Module
2014-10-29T10:43:49.0965464Z - 3012 - Debug - Could not write device information to URL 'http://devices.51degrees.mobi/new.ashx'. Exception 'The request was aborted: The operation has timed out.'
2014-10-29T10:45:37.5685412Z - 3012 - Debug - Bandwidth monitoring 'False'
2014-10-29T10:45:37.5685412Z - 3012 - Debug - Image Optimisation 'False'
2014-10-29T10:45:37.5685412Z - 3012 - Debug - Profile Override 'False'
2014-10-29T10:45:37.5685412Z - 3012 - Debug - Initialising redirection module
2014-10-29T10:45:37.6154162Z - 3012 - Debug - Bandwidth monitoring 'False'
2014-10-29T10:45:37.6154162Z - 3012 - Debug - Image Optimisation 'False'
2014-10-29T10:45:37.6154162Z - 3012 - Debug - Profile Override 'False'
2014-10-29T10:45:37.6154162Z - 3012 - Debug - Initialising redirection module

但即使是工作的人也有点奇怪。如果我这样做: Request.Browser(“IsMobile”)它只返回空值,而不是true或false

出了什么问题以及如何解决这个问题?

0 个答案:

没有答案