2014-06-11, 04:00 AM
Hello,
I have been battling with trying to get NPVR setup for about a week and am having trouble with the webserver. I have uninstall, reinstalled, ran as admin, disabled firewall, etc. There is no weblog because the service fails to start. Here is the section from NRecord.log. Any help is appreciated.
I have been battling with trying to get NPVR setup for about a week and am having trouble with the webserver. I have uninstall, reinstalled, ran as admin, disabled firewall, etc. There is no weblog because the service fails to start. Here is the section from NRecord.log. Any help is appreciated.
Code:
2014-06-10 23:08:57.841 [INFO][4] Web root: C:\Users\Public\NPVR\web
2014-06-10 23:08:57.842 [DEBUG][9] CancelAllWakeupRequests
2014-06-10 23:08:59.031 [ERROR][4] Unexpected error starting web server:
System.IO.FileLoadException: Could not load file or assembly 'NRecord, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
File name: 'NRecord, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName, Boolean throwOnError)
at System.Web.Hosting.HostingEnvironment.CreateInstance(String assemblyQualifiedName)
at System.Web.Hosting.HostingEnvironment.CreateInstance(String assemblyQualifiedName)
at System.Web.Hosting.ApplicationManager.CreateInstanceInNewWorkerAppDomain(Type type, String appId, VirtualPath virtualPath, String physicalPath)
at System.Web.Hosting.ApplicationHost.CreateApplicationHost(Type hostType, String virtualDir, String physicalDir)
at Cassini.Server.CreateHost()
at Cassini.Server..ctor(Int32 port, String virtualPath, String physicalPath)
at NRecord.RecordingService.OnStart(String[] args)