2006-01-12, 10:24 PM
I have installed the latest GBPVR on my development machine and downloaded the latest EnhancedWebAdmin, replacing the one that came with GBPVR.
I've got the project to load in ms developer studio, and built it.
But when i run it i get the following error message :-
I'm guessing it's something to do with a database connect string, but am unsure where to put it. I found some code that refers to the <settings> section of web.config. But i'm not 100% sure.
Can anyone offer any help?
I've got the project to load in ms developer studio, and built it.
But when i run it i get the following error message :-
Code:
Server Error in '/GBPVR' Application.
--------------------------------------------------------------------------------
Could not use ''; file already in use.
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.Data.OleDb.OleDbException: Could not use ''; file already in use.
Source Error:
Line 32: lock (typeof(ScheduleHelper))
Line 33: {
Line 34: ScheduleHelper.getInstance().LoadRecordingSchedule();
Line 35: }
Line 36: }
Source File: C:\Program Files\devnz\gbpvr\web\Global.asax.cs Line: 34
Stack Trace:
[OleDbException (0x80004005): Could not use ''; file already in use.]
System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr) +20
System.Data.OleDb.OleDbConnection.InitializeProvider() +57
System.Data.OleDb.OleDbConnection.Open() +203
xd426863f4d052758.xcbcfc48b9705b7a2.xa19cc1d2df8cbd74()
xd426863f4d052758.x396614b3dae3b1da.x005239145b965dc1()
GBPVR.Backend.Common.ScheduleHelper.LoadRecordingSchedule()
gbweb.Global..ctor() in C:\Program Files\devnz\gbpvr\web\Global.asax.cs:34
ASP.Global_asax..ctor() in c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\gbpvr\69d3d0b0\ce9f7029\l6nfcl6p.0.cs:32
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) +0
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +664
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +200
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +167
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +256
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
I'm guessing it's something to do with a database connect string, but am unsure where to put it. I found some code that refers to the <settings> section of web.config. But i'm not 100% sure.
Can anyone offer any help?
GBPVR: v0.99.5
Server: Athlon64 X2 3800+, 2GB Memory, 1480GB Storage, 6 DVB-T Tuners (2 x Nova-T 500 PCI, 2 x Nova-T PCI)
HTPC: Athlon64 3000+, 1GB Memory, 80GB Storage, Blackgold GDI DVB-T Tuner, Ahanix MCE-302 Case, MSI K8NGM2-FID motherboard
Main TV: Toshiba 42WLT66 LCD
Media Playback: 2 x MVP (wired)
Homepage: http://www.sixgun.co.uk/
Author of MpegImport utility
Server: Athlon64 X2 3800+, 2GB Memory, 1480GB Storage, 6 DVB-T Tuners (2 x Nova-T 500 PCI, 2 x Nova-T PCI)
HTPC: Athlon64 3000+, 1GB Memory, 80GB Storage, Blackgold GDI DVB-T Tuner, Ahanix MCE-302 Case, MSI K8NGM2-FID motherboard
Main TV: Toshiba 42WLT66 LCD
Media Playback: 2 x MVP (wired)
Homepage: http://www.sixgun.co.uk/
Author of MpegImport utility