BV Commerce Forum
»
BV Commerce Support
»
General Support
»
Object reference not set to an instance of an object.
Rank: Member
Joined: 9/24/2008(UTC) Posts: 14
|
Anyone have any ideas how to fix this? The only changes I made were to theme files -- no core software files. Code:Object reference not set to an instance of an object. 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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 9: BVSoftware.Bvc5.Core.Orders.OrderNumberGenerator.LoadSeed() Line 10: Catch ex As Exception Line 11: BVSoftware.Bvc5.Core.EventLog.LogEvent(ex) Line 12: End Try Line 13:
Source File: D:\Domains\dev.envoguelashes.com\wwwroot\global.asax Line: 11
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] BVSoftware.Bvc5.Core.WebAppSettings.get_ConnectionString() +59 BVSoftware.Bvc5.Core.Datalayer.DataRequest..ctor() +94 BVSoftware.Bvc5.Core.Mapper.Insert(EventLogEntry e) +60 BVSoftware.Bvc5.Core.EventLog.LogEvent(Exception ex) +36 ASP.global_asax.Application_Start(Object sender, EventArgs e) in D:\Domains\dev.envoguelashes.com\wwwroot\global.asax:11
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053 Thanks, Jen
|
|
|
|
Rank: Member
Joined: 9/24/2008(UTC) Posts: 14
|
I'm going to answer my own post in the event that someone else makes the same and very idiotic error. ;>
Check to make sure your web.config file is fully populated. When turning on debugging to trouble-shoot a separate runtime error, I over-wrote my web.config file with just the debugging statement, thus eliminating the database connection instructions which resulted in a lost connection.
web.config - Very important file!
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.