iPiMP on Windows Server 2008 and IIS (1 Viewer)

ulischultz

Portal Pro
September 16, 2009
156
8
Munich
Home Country
Germany Germany

I did everything, like you described it there.
However, if I access the ipimp-website, I get the following error:


Serverfehler in der Anwendung /iPimP.
Die Datei oder Assembly "DirectShowLib" oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.
Beschreibung: Unbehandelte Ausnahme beim Ausführen der aktuellen Webanforderung. Überprüfen Sie die Stapelüberwachung, um weitere Informationen über diesen Fehler anzuzeigen und festzustellen, wo der Fehler im Code verursacht wurde.

Ausnahmedetails: System.BadImageFormatException: Die Datei oder Assembly "DirectShowLib" oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.

Quellfehler:

Beim Ausführen der aktuellen Webanforderung wurde einen unbehandelte Ausnahme generiert. Informationen über den Ursprung und die Position der Ausnahme können mit der Ausnahmestapelüberwachung angezeigt werden.

Überwachung beim Laden der Assembly: Mit folgenden Informationen kann bestimmt werden, warum die Assembly DirectShowLib nicht geladen werden konnte.

WRN: Protokollierung der Assemblybindung ist AUS.
Sie können die Protokollierung der Assemblybindungsfehler aktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) auf 1 festlegen.
Hinweis: Die Protokollierung der Assemblybindungsfehler führt zu einer gewissen Leistungseinbuße.
Sie können dieses Feature deaktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] entfernen.


Stapelüberwachung:

[BadImageFormatException: Die Datei oder Assembly "DirectShowLib" oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +416
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166
System.Reflection.Assembly.Load(String assemblyString) +35
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +190

[ConfigurationErrorsException: Die Datei oder Assembly "DirectShowLib" oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +11211672
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +388
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +232
System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +48
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +210
System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +76
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +11200850
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +185
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +551

[HttpException (0x80004005): Die Datei oder Assembly "DirectShowLib" oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +76
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +1012
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +1025

[HttpException (0x80004005): Die Datei oder Assembly "DirectShowLib" oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11305670
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4342340


Versionsinformationen: Microsoft .NET Framework-Version:2.0.50727.4952; ASP.NET-Version:2.0.50727.4955
 

BoelShit

Portal Pro
November 6, 2005
235
8
45
Home Country
Netherlands Netherlands
I haven't tried this myself with IIS Media Services 4 yet - but it *should* work. I'll look at testing it out when I get a chance.

Did you ever get the chance on testing it with IIS media service 4 yet? Reason why i'm asking is cause im planning to install WHS 2011 with tv server and ipimp interface and wanted to use the IIS on the WHS instead of Apache...
 

cheezey

Community Plugin Dev
August 26, 2004
1,559
312
57
West Yorks, UK
Home Country
United Kingdom United Kingdom
Not yet - it's a low priority really as using IIS media 4 would not provide a flash compatible stream as the current USP solution does.
 

edsche

Community Plugin Dev
January 7, 2007
606
360
39
Ulm
Home Country
Germany Germany
AW: iPiMP on Windows Server 2008 and IIS

Hey cheezey,

i followed your little tutorial, but without success.

I tried first to create a new application in the default site. That didn't worked:

Serverfehler in der Anwendung /iPiMP.
--------------------------------------------------------------------------------

Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden
Beschreibung: Unbehandelte Ausnahme beim Ausführen der aktuellen Webanforderung. Überprüfen Sie die Stapelüberwachung, um weitere Informationen über diesen Fehler anzuzeigen und festzustellen, wo der Fehler im Code verursacht wurde.

Ausnahmedetails: System.Net.Sockets.SocketException: Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden

Quellfehler:

Beim Ausführen der aktuellen Webanforderung wurde einen unbehandelte Ausnahme generiert. Informationen über den Ursprung und die Position der Ausnahme können mit der Ausnahmestapelüberwachung angezeigt werden.

Stapelüberwachung:


[SocketException (0x2740): Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden]
System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) +5400502
System.Net.Sockets.Socket.Bind(EndPoint localEP) +205
System.Net.Sockets.UdpClient..ctor(Int32 port, AddressFamily family) +190
System.Net.Sockets.UdpClient..ctor(Int32 port) +6
Website.Global_asax.Application_Start(Object sender, EventArgs e) in D:\Dev\vs2008\MediaPortal Universal Web Interface\Website\Global.asax.vb:19

[HttpException (0x80004005): Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +2724290
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +128
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +188
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +295
System.Web.HttpApplicationFactory.GetPipelineApplicationInstance(IntPtr appContext, HttpContext context) +56
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +231

[HttpException (0x80004005): Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8909915
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +333

Then i tried to create a new site on port 81 with the iPiMP files. But i get the same error message. I've created for both, a new App pool and enabled the 32-Bit mode.

As i'm totally new in the ISS-World, i have no idea where to look :(

I'm using WHS2011 RTM with the preinstalled ISS.

Please have a look at the screenshot. Can you give me some advice?
 

Attachments

  • iss.png
    iss.png
    99.6 KB

cheezey

Community Plugin Dev
August 26, 2004
1,559
312
57
West Yorks, UK
Home Country
United Kingdom United Kingdom
Try this...

  1. Delete your existing iPiMP web site and app pool
  2. Unzip the attached file into C:\Program Files\iPiMP
  3. Run C:\Program Files\iPiMP\IIS7.CMD

This is a simple script to install or remove iPiMP as an IIS7 website, it will create the site, app pool & vdirs and set required permissions.

I've successfully tested it on my machine here, let me know if this works for you.
 

Attachments

  • IIS7.zip
    732 bytes

Users who are viewing this thread

Similar threads

MP1 MP2 MP2 - V2.5 MP2 - V2.5 Server on Windows 11 Pro DE
Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working after changing EPG from EPG Buddie to Clickfinder (TV Movie). The OS and the MP2.5 Server Software were installed several times new, but in general nothing changed. Are there any changes or setting needed for...
Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working...
Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working...
Replies
0
Views
880
I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
This happened immediately after my Windows 11 x64 monthly update for November. The update included also cumulative update to .NET...
Replies
9
Views
1K
Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
I used to run the TVService under the "NT Service\TVService" account to follow least privileges principal (not exposing my whole...
Replies
3
Views
1K
It should work, but the error is in something else, but it is not yet clear what.
It should work, but the error is in something else, but it is not yet clear what.
I have MP1 TV Server 1.30 installed on Windows Server 2012R2 (with some bits added for tuner support). MP Server versions have...
Replies
5
Views
2K
All good now!!
All good now!!
We have just released MediaPortal 1.36 - Polar Express x86 and x64 version. Highlights of this release Bugfixes: [MP1-5229] -...
Replies
2
Views
2K
Top Bottom