Quantcast
Channel: VBForums - Application Deployment
Viewing all articles
Browse latest Browse all 254

[RESOLVED] Error after deployment

$
0
0
Hi All,

I'm using VS2010 with EF5. to an Existing DB. As usual everything works fine on my dev machine. On the server that we are deploying to it is an windows Server 2003 with IIS6. We have installed the Enitity Framework on the server as well as .Net Framework 4.1.

I am Publishing to a File System where someone then picks up the Zip file and installs. I've ensured the connection string in the Web.Config file is ok. The Install seems to work in that we receive no errors. However, when we first go to load the site in the browser, an error is produced on the first attempted call by the framework to the DB. Basically it's going to get lookup data to populate a dropdown on the first page. In Dev this all works ok, but in production we receive Object Reference not set to an instance of an object error. This suggests to me that there is an issue with connecting to the DB by EF but I dont know what to do about it.

Viewing all articles
Browse latest Browse all 254

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>