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
43
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,560
312
55
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
37
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,560
312
55
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

The problem with MP 1.32 was that the TV Server component was still 32-bit, even when you installed the 64-bit version of the MP client. MP 1.33 will have 32-bit and 64-bit versions of both the MP client and TV Server. My understanding is that it will not be possible to perform an upgrade install from a 64-bit client + 32-bit TV...
The problem with MP 1.32 was that the TV Server component was still 32-bit, even when you installed the 64-bit version of the MP...
This is on a windows 11 latest rev OS: This particular component has been very frustrating. I'm a new potential user, trying to...
Replies
7
Views
621
(egg in face) I had to dnld SD plugin mpe1 to re install. trying again Thnx
(egg in face) I had to dnld SD plugin mpe1 to re install. trying again Thnx
Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
Replies
40
Views
4K
  • Sticky
Your log clearly reports: [2024-03-03 18:26:58,258] [Log ] [MPMain ] [DEBUG] - Main: Wait for TV service requested [2024-03-03 18:26:58,262] [Log ] [MPMain ] [DEBUG] - Main: TV service found. Checking status... [2024-03-03 18:26:58,263] [Log ] [MPMain ] [INFO ] - Main: TV service is in status Running - proceeding...
Your log clearly reports: [2024-03-03 18:26:58,258] [Log ] [MPMain ] [DEBUG] - Main: Wait for TV service requested...
MediaPortal 1.33 Release Written by Team-MediaPortal. We have just released MediaPortal 1.33 - Springtime / 20th Anniversary...
Replies
7
Views
766
You are right, the one on the repository is correct, not sure how I ended up with a different version. See attached the incorrect version I ended up with.
You are right, the one on the repository is correct, not sure how I ended up with a different version. See attached the incorrect...
We have just released MediaPortal 1.32 Halloween Thanks to the great work of our new developer Pablik we are now able to present...
Replies
33
Views
4K
Decided to try installing x64 v1.33 after seeing this post. I had x86 1.32 installed. Installed x64 first without deleting the x86 version to check it was working. Then deleted x86 version. Then reinstalled x64 as it didn't like it. Anyway streamedMP is working perfectly for me.
Decided to try installing x64 v1.33 after seeing this post. I had x86 1.32 installed. Installed x64 first without deleting the x86...
Not for me... So, I've uninstalled MP (full cleanup), then I've installed MP x64 1.33 only. But, when I've tried to install...
Replies
12
Views
783
Top Bottom