Forum Themes:
Welcome !

 Error on admin_stats.asp, line 84 : Microsoft OLE DB Provider for SQL Server error '80040e2f'

Author Message
nik

  • Total Posts : 3
  • Reward points : 0
  • Joined: Jul 09 '03
  • Status: offline
Error on admin_stats.asp, line 84 : Microsoft OLE DB Provider for SQL Wed. Aug 20, '03 10:56 AM (permalink)
Hey Guys,

I'm getting the following error:
-----------------------
Microsoft OLE DB Provider for SQL Server error '80040e2f'
Cannot insert the value NULL into column '', table ''; column does not allow nulls. INSERT fails.
/admin_stats.asp, line 84
-----------------------

It was working fine before. I have not changed anything.

I have logged in as Admin and the "General Stats and Information" page is showing an error.

The rest of the forum is working fine.

Any ideas why this error might be occuring?

Thank you for your help.

Regards
nik
<message edited by Samuel on Fri. Jul 4, '08 12:04 AM>
 
#1
    Samuel

    • Total Posts : 11786
    • Reward points : 168350
    • Joined: May 23 '01
    • Status: offline
    RE: Error on admin_stats.asp, line 84 : Microsoft OLE DB Provider for Wed. Aug 20, '03 1:45 PM (permalink)
    This has something to do with the database server: You currently do not have a owner on your database. sp_helpdb system stored procedure requires a valid owner on the database in order to run.

    Someone on the server side must have removed the owner for some reason. Please ask your server admin to check on it.
    ASPPlayground.NET
    ~ see our Version 4 plans here

     
    #2
      nik

      • Total Posts : 3
      • Reward points : 0
      • Joined: Jul 09 '03
      • Status: offline
      RE: Error on admin_stats.asp, line 84 : Microsoft OLE DB Provider for Thu. Aug 21, '03 10:19 AM (permalink)
      Samuel,

      I am my own server Admin.

      I did some changes to the PDC of the server. I changed the Server Domain.
      Would this have affected it?

      How do I add a valid "Owner" to the Database?

      Thank you for your help.

      Regards
      nik
       
      #3
        Samuel

        • Total Posts : 11786
        • Reward points : 168350
        • Joined: May 23 '01
        • Status: offline
        RE: Error on admin_stats.asp, line 84 : Microsoft OLE DB Provider for Thu. Aug 21, '03 12:49 PM (permalink)
        You should see that the Owner is listed as (unknown) on your database. To see the owner of the database, right click on your database in enterprise manager, and then select properties.

        If the owner is indeed unknown,

        1.
        =======================================================
        EXEC sp_changedbowner 'a username not in your database'
        =======================================================

        And then

        2.
        ================================
        EXEC sp_changedbowner 'sa'
        ================================
        ASPPlayground.NET
        ~ see our Version 4 plans here

         
        #4
          nik

          • Total Posts : 3
          • Reward points : 0
          • Joined: Jul 09 '03
          • Status: offline
          RE: Error on admin_stats.asp, line 84 : Microsoft OLE DB Provider for Thu. Aug 21, '03 8:53 PM (permalink)
          That worked.
          Thank you.

          Regards
          Nik
           
          #5
            Online Bookmarks Sharing: Share/Bookmark

            Jump to:

            Current active users

            There are 0 members and 1 guests.

            Icon Legend and Permission

            • New Messages
            • No New Messages
            • Hot Topic w/ New Messages
            • Hot Topic w/o New Messages
            • Locked w/ New Messages
            • Locked w/o New Messages
            • Read Message
            • Post New Thread
            • Reply to message
            • Post New Poll
            • Submit Vote
            • Post reward post
            • Delete my own posts
            • Delete my own threads
            • Rate post

            2000-2012 ASPPlayground.NET Forum Version 3.9