Rank: Member
Joined: 2/28/2008(UTC) Posts: 36
|
Hello Everyone,
I'm trying to set up my live/production store. I've copied all the files and set up the db. The site was working for a second until I realized that my web.config was pointing to my testdb. When I changed to the correct DB I get the following error. I tried putting the old web.config back and restarted the web server and I still have the error.
I've never been very good at reading the stack info and this doesn't give a file name where the error's happening.
Can someone please help? Thanks in advance!
<H1>Server Error in '/' Application. <HR width="100%" color=silver SIZE=1> </H1> <H2>Object reference not set to an instance of an object. </H2> [color=#ffffcc>
[tr ][td ]<CODE>An]</b>location of the exception can be identified using the exception stack trace below.[/code] [/td][/tr]</TABLE>
Stack Trace:[/color]
[table width="100%" bgColor=#ffffcc][tr ][td ]<CODE> [NullReferenceException: Object reference not set to an instance of an object.] BVSoftware.Bvc5.Core.Utilities.UrlRewriter.RewritePath(HttpApplication& app, Uri sourceUrl) +311 BVSoftware.Bvc5.Core.Utilities.UrlRewriter.app_BeginRequest(Object sender, EventArgs e) +69 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64 </PRE>[/code][/td][/tr][/table]
|
|
|
|
Rank: Member
Joined: 2/28/2008(UTC) Posts: 36
|
SOLVED
It sorted itself out somehow. That's spooky, but I think the host we're using is doing some funky server caching or something.
|
|
|
|
Rank: Member
Joined: 6/17/2008(UTC) Posts: 2
|
I have the same issue with demo install.
|
|
|
|
Rank: Member
Joined: 10/24/2007(UTC) Posts: 10
|
We get the same error occasionally. It is always due to the site not being able to communicate with the database. Therefore check the database is actually running and test that the credentials with which you are accessing the database can actually access the database. I usually do this by trying to connect using the credentials through Management Studio.
|
|
|
|
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.