Object reference not set to an instance of an object in InitConnec

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This occurs on the first attempt to connect to a database in a web
application in release mode only.

Solution:
- Click "Start."
- Right click "My Computer" and select "Manage."
- Select "Services and Applications," "Internet Information Service," "Web
Sites."
- Right click the folder for the web app and select "Properties."
- Select the "Directory Security" tab,
- Under "Anonymous access and edit..." click "Edit."
- Check "Integrated Windows authentication."
- Click "OK" several times.
 
For searching purposes, I am adding word InitConnection, because it was
truncated in the original message.
 
Back
Top