CFF KB - Carrz-Fox-Fire Promotions Knowledge Base
CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.Knowledge Base
- Breadrumbs:
Type 'FFProbe' is not defined
- Article ID:
7283 - Date Created
Thursday, February 20, 2025 - Last Updated
Thursday, February 20, 2025 - This Article Has been Viewed
32 times - Short Desc
Using the NReco.VideoInfo.dll on a website without a reference to the DLL library, you will receive Type 'FFProbe' is not defined. - Details
When using Visual Studio, you add a reference to the NReco.VideoInfo.dll, which will add files to the /bin folder within your website directory. You can then make references to the Library using simple code like this.
Dim theFilePath As File = File.Create("G:\WebSite1\01Fantasy.mp3")
Dim ffprobe As New FFProbe
Dim videoInfo = ffprobe.GetMediaInfo(theFilePath)
Dim strArtist As String = videoInfo.FormatTags.Where(Function(t) t.Key = "artist").[Select](Function(t) t.Value).FirstOrDefault()
LabelArtist.text = strArtist - Recreate Issue
To Reproduce this issue.
Using the code above that works within Visual Studio does not work in a website under IIS without referencing the DLL file within your project. - Resolve Issue
There are two ways to perform this action.
section 1: (With Visual Studio Installation)
Using the Visual Basic Developer Command Prompt.
Click on your [Start] Menu.
Choose [Programs]
Scroll down to the [Visual Studio 2022] (Or installed version)
Choose [Developer Command Prompt for VS2022] (your Version number here)
When the window opens, do the following commands.
C:\Windows\system32>
::type in
cd G:\ (Replacing the G with the drive you have your DLL files at)
G:\>
::Copy and paste in
cd G:\InetPub\wwwroot\MyWebSite\Upload\Bin\
G:\InetPub\wwwroot\MyWebSite\Upload\Bin>gacutil -i NReco.VideoInfo.dll
(Skip to section 3 once done.)
section 2 (Microsoft SDK installation)
View video here.)
In the CMD (Windows Command Prompt)
Type in the following to put yourself in the C Folder.
cd\
Then to navigate to Microsoft SDKs
cd "Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools"
Next, type each line.
gacutil -i G:\InetPub\wwwroot\MyWebSite\Upload\Bin\NReco.VideoInfo.dll
(Skip to section 3 once done.)
section 3gacutil -l NReco.VideoInfo
If successful, you will receive this message.[Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.0
Copyright (c) Microsoft Corporation. All rights reserved.
The Global Assembly Cache contains the following assemblies:
NReco.VideoInfo, Version=1.2.0.0, Culture=neutral, PublicKeyToken=8f59ee36d2987295, processorArchitecture=MSIL
Number of items = 1
The above string you will need.
>> NReco.VideoInfo, Version=1.2.0.0, Culture=neutral, PublicKeyToken=8f59ee36d2987295
Next, place the code inside your web.config file.
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" strict="false" explicit="true" targetFramework="4.5">
<assemblies>
<add assembly="NReco.VideoInfo, Version=1.2.0.0, Culture=neutral, PublicKeyToken=8f59ee36d2987295"/>
</assemblies>
</compilation>
</system.web>
</configuration>
how-to-get-your-publickeytoken«
--------
Related Articles
TYPE 'TagLib.File' IS NOT DEFINED«
TYPE 'EXIFREADER' IS NOT DEFINED«






Share With Friends (Updated 6-8-2010)
Recent Articles
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24855
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21571
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19712
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 18130
- The backup set holds a backup of a database other than the existing 17005