NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 23 24 25 26 27 … 56 Next »
ZapTools Update

 
  • 0 Vote(s) - 0 Average
ZapTools Update
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#41
2006-06-02, 06:40 PM
UncleJohnsBand Wrote:Interesting....are you running zapimport from within the GBPVR directory?
Is there a system.data.sqlite.dll file in the directory? What is the date on the file and version(right-click and select properties and then version tab).
You can probably only rely on that DbProviderFactories.GetFactory method if the user has added SQLite to the machine.config file, or if there is a specific zaptools.config that explicitly defines SQLite as an additional DBProvider. Having the SQLite DLL in the same directory is not enough to make it seen as a DBProviderFactory. GB-PVR doesnt use this method, so doesnt have this same problem.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#42
2006-06-03, 04:49 PM
sub Wrote:You can probably only rely on that DbProviderFactories.GetFactory method if the user has added SQLite to the machine.config file, or if there is a specific zaptools.config that explicitly defines SQLite as an additional DBProvider. Having the SQLite DLL in the same directory is not enough to make it seen as a DBProviderFactory. GB-PVR doesnt use this method, so doesnt have this same problem.

Thanks sub.....I have the following loaded on my machine.

xHerbiex and ydekmekji try loading the ADO.Net 2.0 provider.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
xHerbiex
Offline

Junior Member

Posts: 36
Threads: 4
Joined: May 2006
#43
2006-06-03, 07:02 PM
downloaded and installed ADO v1.0.29 but still getting same error. system.data.sqlite.dll is version 1.0.27.1 dated 28 feb @ 10am

I noticed the gui for the ado doesn't show any supported environments. Is this correct? .net 2.0 framework is installed.
[SIZE="1"]Intel P4-3.0GHz
Windows XP Pro SP2 (32 Bit)
GBPVR v1.3.7 ATI550pro & DCT6200
3 GB RAM
2x320 SATA HD mirrorred
10/100 LAN 802.11 Network[/SIZE]
bmountney
Offline

Junior Member

Posts: 1
Threads: 0
Joined: May 2006
#44
2006-06-03, 07:28 PM
I found that I was able to solve this error by adding the follwing lines to the zapimport.exe.config file:

<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SQLite"/>
<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
</DbProviderFactories>
</system.data>

I also had to add those lines to the Web.config file for the WebAdmin because I was getting a similar error when I attempted to use that with the zapdb.db3 database file present.

I took those configuration lines from the test.exe.config that was included with the "ADO.NET 2.0 Provider" package.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#45
2006-06-03, 07:34 PM
I got some code from sub that should resolve this issue so that you don't need to load anything or modify the config.....I'll post shortly.....
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#46
2006-06-03, 08:55 PM
Give this version a try......it seems to resolve the issue.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
xHerbiex
Offline

Junior Member

Posts: 36
Threads: 4
Joined: May 2006
#47
2006-06-03, 10:44 PM
zapimport seems to work with the new version. Thank youSmile .

Now when I go to the web admin I'm getting a similar error:

Server Error in '/gbpvr' Application.
Unable to find the requested .Net Framework Data Provider. It may not be installed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.

Source Error:

Line 76: if (File.Exists(Path.Combine(Global.Settings.GetInstallDir(), "zapdb.db3")))
Line 77: {
Line 78: DbProviderFactory zapFactory = DbProviderFactories.GetFactory("System.Data.SQLite");
Line 79: zapConnection = zapFactory.CreateConnection();
Line 80: zapConnection.ConnectionString = "Data Source=" + databaseFileName + ";Version=3;New=True";


Source File: c:\Program Files\devnz\gbpvr\web\App_Code\classes\ZapTools.cs Line: 78

Stack Trace:

[ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.]
System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName) +102
gbweb.ZapTools.OpenZapDB() in c:\Program Files\devnz\gbpvr\web\App_Code\classes\ZapTools.cs:78
gbweb.classes.ProgrammeDisplay..ctor() in c:\Program Files\devnz\gbpvr\web\App_Code\classes\ProgrammeDisplay.cs:19
gbweb.guide.Page_PreRender(Object sender, EventArgs e) in c:\Program Files\devnz\gbpvr\web\Guide.aspx.cs:108
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +13
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +45
System.Web.UI.Control.OnPreRender(EventArgs e) +80
System.Web.UI.Control.PreRenderRecursiveInternal() +88
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5731


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
[SIZE="1"]Intel P4-3.0GHz
Windows XP Pro SP2 (32 Bit)
GBPVR v1.3.7 ATI550pro & DCT6200
3 GB RAM
2x320 SATA HD mirrorred
10/100 LAN 802.11 Network[/SIZE]
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#48
2006-06-03, 10:58 PM
xHerbiex Wrote:zapimport seems to work with the new version. Thank youSmile .

Now when I go to the web admin I'm getting a similar error:

Server Error in '/gbpvr' Application.
Unable to find the requested .Net Framework Data Provider. It may not be installed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.

Source Error:

Line 76: if (File.Exists(Path.Combine(Global.Settings.GetInstallDir(), "zapdb.db3")))
Line 77: {
Line 78: DbProviderFactory zapFactory = DbProviderFactories.GetFactory("System.Data.SQLite");
Line 79: zapConnection = zapFactory.CreateConnection();
Line 80: zapConnection.ConnectionString = "Data Source=" + databaseFileName + ";Version=3;New=True";


Source File: c:\Program Files\devnz\gbpvr\web\App_Code\classes\ZapTools.cs Line: 78

Stack Trace:

[ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.]
System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName) +102
gbweb.ZapTools.OpenZapDB() in c:\Program Files\devnz\gbpvr\web\App_Code\classes\ZapTools.cs:78
gbweb.classes.ProgrammeDisplay..ctor() in c:\Program Files\devnz\gbpvr\web\App_Code\classes\ProgrammeDisplay.cs:19
gbweb.guide.Page_PreRender(Object sender, EventArgs e) in c:\Program Files\devnz\gbpvr\web\Guide.aspx.cs:108
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +13
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +45
System.Web.UI.Control.OnPreRender(EventArgs e) +80
System.Web.UI.Control.PreRenderRecursiveInternal() +88
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5731


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

Yep...that fix is coming tonight as well....visit the EWA thread for the release. Big Grin
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
xHerbiex
Offline

Junior Member

Posts: 36
Threads: 4
Joined: May 2006
#49
2006-06-03, 11:09 PM
OK. Thanks for your efforts.
[SIZE="1"]Intel P4-3.0GHz
Windows XP Pro SP2 (32 Bit)
GBPVR v1.3.7 ATI550pro & DCT6200
3 GB RAM
2x320 SATA HD mirrorred
10/100 LAN 802.11 Network[/SIZE]
ww4397
Offline

Senior Member

Posts: 382
Threads: 47
Joined: Oct 2005
#50
2006-06-04, 11:31 PM
xHerbiex Wrote:zapimport seems to work with the new version. Thank youSmile .

Now when I go to the web admin I'm getting a similar error:

Server Error in '/gbpvr' Application.
Unable to find the requested .Net Framework Data Provider. It may not be installed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.

Source Error:

Line 76: if (File.Exists(Path.Combine(Global.Settings.GetInstallDir(), "zapdb.db3")))
Line 77: {
Line 78: DbProviderFactory zapFactory = DbProviderFactories.GetFactory("System.Data.SQLite");
Line 79: zapConnection = zapFactory.CreateConnection();
Line 80: zapConnection.ConnectionString = "Data Source=" + databaseFileName + ";Version=3;New=True";


Source File: c:\Program Files\devnz\gbpvr\web\App_Code\classes\ZapTools.cs Line: 78

...





I'm getting this error also.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (7): « Previous 1 … 3 4 5 6 7 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  JustRetro skin update Jaggy 0 2,010 2015-09-14, 12:37 AM
Last Post: Jaggy
  JustRetro skin update Jaggy 0 2,240 2014-04-12, 01:11 AM
Last Post: Jaggy
  RT_FilmFix update bgowland 0 1,586 2012-03-01, 07:45 PM
Last Post: bgowland
  SearchLite Update 1.3 mvallevand 23 6,312 2011-03-20, 10:26 PM
Last Post: mvallevand
  WebRadio Update MixMan 16 5,723 2009-08-14, 11:47 AM
Last Post: mvallevand
  Quartz update dfdario 0 1,514 2009-05-06, 05:50 AM
Last Post: dfdario
  EPG Update: ChangeEPGSource and FixChannels zehd 4 2,749 2008-09-21, 12:25 AM
Last Post: zehd
  disk update garymeds 1 1,745 2008-07-11, 01:42 PM
Last Post: crossnet
  Wednesday will be CS3 gbpvr 1.2.13 update. Fatman_do 26 7,628 2008-05-30, 10:29 AM
Last Post: nemulate
  change win32time update interval pBS 0 1,811 2008-05-30, 04:27 AM
Last Post: pBS

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode