Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

"Error accessing database. Verify that the database server name and the instance name (if prese

  Asked By: Nicole    Date: Jan 06    Category: Sharepoint    Views: 1489

While specifying configuration data base name in central administration
i am getting following error.

"Error accessing database. Verify that the database server name and
the instance name (if present) are correct. Also, ensure the
configuration database administration account has sufficient
permissions on the server or instance and the service corresponding to
your SQL Server instance is running."



8 Answers Found

Answer #1    Answered By: Yogendra Zarapkar     Answered On: Jan 06

Assuming that the database  server name and configuration  database names are
correctly entered and can be accessed over the network, I would check
permissions in the database for the administrative account  you are using for the
SharePoint admin application pool in IIS.

Answer #2    Answered By: Jerad Mercado     Answered On: Jan 06

I am selecting one of the items inserted in " I need to" drodown. But when
i click on "Go" or "Enter" button it doesn't go to any page.But instead i get
the error  on status bar " error on the page" When i click on that to see what's
the error it gives Error:object expected,code:0,

can anyone tellme how to resolve this error?

Answer #3    Answered By: Riley Scott     Answered On: Jan 06

i had created a web application, and when i tried to change the title of
application using object model. Now when i opened my site am getting the
following msg like

"Directory Listing Denied" This Virtual Directory does not allow contents to
be listed.

i write the simple code lyk this...
SPSite site = new SPSite("http://microsoft:xxxxxxx");
SPWeb web = site.OpenWeb();
web.Title = "Learning MOSS 2007";

Answer #4    Answered By: Adya Khavatekar     Answered On: Jan 06

Please try using web.AllowUnsafeUpdates=true

Answer #5    Answered By: Trupti Patil     Answered On: Jan 06

I did it already.....................

Answer #6    Answered By: Marlena Noble     Answered On: Jan 06

Sounds like an HTTP error  (which usually is an IIS issue). Normally you
would solve this by checking "Allow Directory Browsing" in the MMC for that
site or directory.

Which line of code is throwing the error?

Also, is your sample code accurate, i.e. are you really starting your URL
with "microsoft:"?

Answer #7    Answered By: Juan Davis     Answered On: Jan 06

As u informed i did the same, still the problem was not resolved and getting
the folowing msg.

friday,December 11,200912:48AM <dir> *vti_cnf*
friday,December 11,200912:48AM <dir> *vti_cnf*

My url starts vth the same as Http://microsoft:2009 <http://microsoft:2009/>

Answer #8    Answered By: Jason Anderson     Answered On: Jan 06

That's odd; why would your request be trying to browse a vti_cnf directory?
There should be a page name (like aspx, or asmx in the case of a web service