in

Dotnetpanel Forums

Community support forums for DotNetPanel products

SqlException: You are not allowed to access the contract

Last post 06-23-2008 7:52 AM by jb121. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-23-2008 7:44 AM

    • jb121
    • Top 150 Contributor
    • Joined on 06-20-2008
    • OwnedHost.com
    • Posts 29

    SqlException: You are not allowed to access the contract

    Running:
       - Windows Server 2008 Web Edition
       - SQL Server 2005 Express
       - MailEnable Professional
       - Simple DNS Plus



    I get the following when I attempt to click an invoice ID ...

    http://www.myportalwebsite.com:9001/Default.aspx?pid=ecCustomersInvoices&mid=120&ctl=view_invoice&InvoiceId=1&UserId=1

    Server Error in '/' Application.

    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: You are not allowed to access the contract
      at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
      at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
      at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
      at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, TdsParserStateObject stateObj)
      at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
      at System.Data.SqlClient.SqlDataReader.get_MetaData()
      at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
      at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
      at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
      at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
      at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
      at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
      at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[ commandParameters, SqlConnectionOwnership connectionOwnership)
      at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[ commandParameters)
      at DotNetPanel.Ecommerce.EnterpriseServer.EcommerceProvider.GetCustomerInvoice(Int32 actorId, Int32 invoiceId)
      at DotNetPanel.Ecommerce.EnterpriseServer.InvoiceController.GetCustomerInvoiceInternally(Int32 invoiceId)
      at DotNetPanel.Ecommerce.EnterpriseServer.ecStorehouse.GetCustomerInvoice(Int32 invoiceId)
      --- End of inner exception stack trace ---

    Owned Host.com

    OS Windows Server 2008 Web Edition (x86)

    Running:
    ICS Bind 9.5.0
    MailEnable Professional 3.x
    MySQL 5
    PHP 5
  • 06-23-2008 7:52 AM In reply to

    • jb121
    • Top 150 Contributor
    • Joined on 06-20-2008
    • OwnedHost.com
    • Posts 29

    Re: SqlException: You are not allowed to access the contract

    Just a mental note; Its a user I deleted (old invoice); So just void that and its fine ;-)

     

    ---- no need for support on this item anymore, its fixed ;-)

    Owned Host.com

    OS Windows Server 2008 Web Edition (x86)

    Running:
    ICS Bind 9.5.0
    MailEnable Professional 3.x
    MySQL 5
    PHP 5
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems