NETWORK SERVICE as insufficient permission???

From: Charley Jones (newsgroup_at_nospam)
Date: 09/21/05

  • Next message: Thaobig: "windows authentication using DirectoryServices"
    Date: Wed, 21 Sep 2005 08:39:06 -0700
    
    

    Have tried to deploy a .Net 2.0 app to a server,
    App makes a call to 2005 Report Server to get a list of reports.
    App is crashing at:

    System.Web.Services.Protocols.SoapException: The permissions granted to user
    'NT AUTHORITY\NETWORK SERVICE' are insufficient for performing this
    operation. --->
    Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The
    permissions granted to user 'NT AUTHORITY\NETWORK SERVICE' are insufficient
    for performing this operation.
      at Microsoft.ReportingServices.Library.ListChildrenAction.PerformActionNow()
      at Microsoft.ReportingServices.Library.RSSoapAction.Execute()
      at
    Microsoft.ReportingServices.WebServer.ReportingService.ListChildren(String
    Item, Boolean Recursive, CatalogItem[]& CatalogItems)
      --- End of inner exception stack trace ---
      at
    Microsoft.ReportingServices.WebServer.ReportingService.ListChildren(String
    Item, Boolean Recursive, CatalogItem[]& CatalogItems)
    Description: An unhandled exception occurred during the execution of the
    current web request. Please review the stack trace for more information about
    the error and where it originated in the code.

    Exception Details: System.Web.Services.Protocols.SoapException:
    System.Web.Services.Protocols.SoapException: The permissions granted to user
    'NT AUTHORITY\NETWORK SERVICE' are insufficient for performing this
    operation. --->
    Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The
    permissions granted to user 'NT AUTHORITY\NETWORK SERVICE' are insufficient
    for performing this operation.
      at Microsoft.ReportingServices.Library.ListChildrenAction.PerformActionNow()
      at Microsoft.ReportingServices.Library.RSSoapAction.Execute()
      at
    Microsoft.ReportingServices.WebServer.ReportingService.ListChildren(String
    Item, Boolean Recursive, CatalogItem[]& CatalogItems)
      --- End of inner exception stack trace ---
      at
    Microsoft.ReportingServices.WebServer.ReportingService.ListChildren(String
    Item, Boolean Recursive, CatalogItem[]& CatalogItems)

    Source Error:

    Line 12: oRs.Credentials =
    System.Net.CredentialCache.DefaultCredentials
    Line 13: Dim sPath As String =
    ConfigurationManager.AppSettings("ReportPath").ToString
    Line 14: Dim oCatalog As wsRS.CatalogItem() =
    oRs.ListChildren(sPath, True)
    Line 15: For Each oItem As wsRS.CatalogItem In oCatalog
    Line 16: If oItem.Type = wsRS.ItemTypeEnum.Report Then _
     
    So it looks like I have two problems.
    Any responses greatly appreciated!!!

    (Note, you're not seeing double,
    I posted this as a 2nd half of another problem,
    No response to either yet, so I thought I'd try a separate post...)

    -- 
    CRJ
    A+, MOUS, MCP, MCSA, MCSE, MCDBA, MCAD
    

  • Next message: Thaobig: "windows authentication using DirectoryServices"

    Relevant Pages

    • Re: SqlConnection and DB connection failures detection
      ... Now question - after performing insert query I'm closing connection, ... but my process still exists in SQL Server Activity Monitor (even if i ... close my app) with "Sleeping" status. ... Then second question - I'm using SQL Server authentication instead of ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: SqlConnection and DB connection failures detection
      ... | Now question - after performing insert query I'm closing connection, ... | but my process still exists in SQL Server Activity Monitor (even if i ... | close my app) with "Sleeping" status. ... Authentication is all about security, ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: VS2003 - VS2005
      ... We also upgraded without much trouble. ... indeed seems the new feature might be the problem; how was the app ... performing when you had just upgraded? ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: cast type check performance
      ... I'm actually 10% faster with the method # 1 in my app! ... you would have a gut feeling on how the method # 1 would be performing ... Do you think it has anything to do with the affectation before ...
      (microsoft.public.dotnet.framework.performance)