SharePoint 2007: EXECUTE permission denied on object 'proc_putObject', database 'SharePoint_Config', schema 'dbo'.

Tuesday, 17 November 2009 15:51 by myro

If you receive the followin error:

EXECUTE permission denied on object 'proc_putObject', database 'SharePoint_Config', schema 'dbo'.
EXECUTE permission denied on object 'proc_putDependency', database 'SharePoint_Config', schema 'dbo'.
EXECUTE permission denied on object 'proc_putDependency', database 'SharePoint_Config', schema 'dbo'.
EXECUTE permission denied on object 'proc_putDependency', database 'SharePoint_Config', schema 'dbo'.
EXECUTE permission denied on object 'proc_putDependency', database 'SharePoint_Config', schema 'dbo'.

when you try to activate a SharePoint 2007 Feature through the http://yoursite/_layouts/ManageFeatures.aspx?Scope=Site url, it's probably because your user probably doesn't have enough rights on your Sql Server Database.

Try to activate the feature using the stsadm command  stsadm -o activatefeature -name yourfeaturename -url http://yourserver/

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   ,
Categories:   SharePoint 2007
Actions:   Bookmark and Share | Permalink | Comments (0) | Comment RSSRSS comment feed

How to write a byte array to a file in c#

Thursday, 5 November 2009 12:04 by myro

An another piece of code that I should always remember...

public void writeByteArrayToFile(byte[] buff, string fileName)
{
 
     try
     {
               FileStream fs = new FileStream(fileName, FileMode.Create, FileAccess.ReadWrite);
               BinaryWriter bw = new BinaryWriter(fs);
               bw.Write(buff);
               bw.Close();

      }
      catch (Exception ex)
      {
              Console.WriteLine(ex.Message);
      }
}

Currently rated 4.3 by 6 people

  • Currently 4.333333/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   .NET
Actions:   Bookmark and Share | Permalink | Comments (0) | Comment RSSRSS comment feed