• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

spt251067
#1 Posted : Saturday, April 14, 2007 5:22:40 PM(UTC)
spt251067

Rank: Member

Joined: 7/27/2005(UTC)
Posts: 40

Hi


I'm trying to deploy to a live server. Everything works fine on my development machine (XPPro, IIS 5). I'm deploying to a new dedicated server running Windows 2003 Server, IIS 6. The live site has been configured to run in its own application pool and I have set the necessary folder permissions.



On attempting to log into the admin area I get an Object reference not set to an instance of an object error as in the attached file. I've posted this as a support case but if anyone can help in the meantime I would be most grateful.



thanks



Simon
File Attachment(s):
Err.txt (4kb) downloaded 72 time(s).

You cannot view/download attachments. Try to login or register.
ChristianMoments
#2 Posted : Sunday, April 15, 2007 1:03:59 PM(UTC)
ChristianMoments

Rank: Member

Joined: 1/23/2006(UTC)
Posts: 103

It's frustrating when everything works on your test machine but doesn't on your host. I'm thinking that you should make sure the connection string in your web.config works. Most deployment errors I've run into are due to the connection string not being set up right. The most common error I've run into due to connection string is "cannot find table 0"
spt251067
#3 Posted : Monday, April 16, 2007 4:59:55 PM(UTC)
spt251067

Rank: Member

Joined: 7/27/2005(UTC)
Posts: 40

Thanks Christian

I updated to SP2 but that was not the problem. Oh - beware of us amateurs - a little knowledge is a dangerous thing. I had for some unknown reason changed the name value of the Bvc5Database in the web.config file on the live site to [MyDatabaseName]Database. Changed it back and all is well. Sorry to waste your time

Simon
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.

©2025 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012