locked
Message: Procedure or function 'WriteLog' expects parameter '@corporateId', which was not supplied. RRS feed

  • Question

  • User-381654253 posted

    I have converted WebSite from Asp.net 2.0 to Asp.Net 4.0  as well updated the Enterprise library from v2.0.. to 5.0....

    but now it failing while writing the exception log in db getting error as

    Message

    : Procedure or function 'WriteLog' expects parameter '@corporateId', which was not supplied

     

    Category

    : DatabaseLogging

    Priority

    : 0

    EventId

    : 100

    Severity

    : Error

    Title

    :Enterprise Library Exception Handling

    Machine

    : DTCJDF6V7BM1

    App Domain

    : bbfa66ff-1-130120770422527923

    ProcessId

    : 8268

    Process

    Name: C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.exe

    Thread

    Name:

    Win32 ThreadId

    :6988

    Extended Properties

    :

    --> MachineName: DTCJDF6V7BM1

    --> TimeStamp: 5/3/2013 5:51:14 PM

    --> FullName: Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35

    --> AppDomainName: bbfa66ff-1-130120770422527923

    --> WindowsIdentity: AD-ENT\u189694

    Exception Information Details

    :

    ======================================

    Exception

    Type: System.Data.SqlClient.SqlException

    Errors

    : System.Data.SqlClient.SqlErrorCollection

    Class

    : 16

    LineNumber

    : 0

    Number

    : 201

    Procedure

    : WriteLog

    Server

    : MWEC9D0057\IBT2K5DEV,11003

    State

    : 4

    Source

    : .Net SqlClient Data Provider

    ErrorCode

    : -2146232060

    Message

    : Procedure or function 'WriteLog' expects parameter '@corporateId', which was not supplied

    What could be the problem  ?

    Friday, May 3, 2013 2:54 PM

All replies