[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1232
  • Last Modified:

Public Folder Db Mounted??

Hi All,

I've got an odd problem, im building a front end for a client to be able to manage mailboxes, public folders and so on..

in powershell i can execute the command "Get-PublicFolder \ -recurse" and see all of the folders

however.. when i try to fire the command from asp.net i get the following message:

"You can't perform this operation because public folder database 'PublicFolders' isn't mounted. Please mount it and try again."

The DB is Definately mounted!!!

Anyone seen this before?
0
Chrissalter
Asked:
Chrissalter
1 Solution
 
smartsidCommented:
It seemd that account used to run asp.net commands does not have sufficient rights on the server/databse or server is not reachable from the system where command was run.
0
 
ChrissalterAuthor Commented:
OMG HOW STUPID AM I?!?!?!

i didnt realise the app pool was still using network service as its credential, works fine now,

Thankyou so much, was startin to sweat a little ha ha
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now