Joey Mack
Guest
|
Posted:
Tue Jan 18, 2005 9:37 pm Post subject:
Web Part Security |
|
|
I have a simple web part connecting to Active Directory through LDAP. It
used to work, until some of our internal IT folks had to make some
changes last week. We were having some serious issues and they actually
had to make another portal instance pointing to the same content DB. I
was not part of these discussions, so I don't know everything they did.
But I do know that they had to make a new Domain User to perform
SharePoint tasks. We have made this user a Domain Admin and that still
does not help.
Everything works perfectly except this web part.
The web part loads fine if I take out the AD stuff /
DirectoryServices.DirectoryEntry object.
Even when I attempt to try/catch what I am doing with AD, I can't get
anything to display in the debug viewer using Debug.Write.
The only indication that something is wrong is that I am getting the
generic Event ID 1000 Security error in my Application Event log.
It is kind of crucial to our business to get this web part back up, and
I am at a complete loss as to where to even begin.
Any assistance would be greatly appreciated.
Thanks in advance.
Joe |
|
Don Shults
Guest
|
Posted:
Tue Jan 18, 2005 11:27 pm Post subject:
RE: Web Part Security |
|
|
Joey,
Have you got the Code Access Security issues comprehended in your Web Part.
Here's a link that might be helpful:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/THCMCh08.asp
To test if it's a CAS issue you might change the security policy to Full,
and see if it helps.
Don Shults
"Joey Mack" wrote:
| Quote: | I have a simple web part connecting to Active Directory through LDAP. It
used to work, until some of our internal IT folks had to make some
changes last week. We were having some serious issues and they actually
had to make another portal instance pointing to the same content DB. I
was not part of these discussions, so I don't know everything they did.
But I do know that they had to make a new Domain User to perform
SharePoint tasks. We have made this user a Domain Admin and that still
does not help.
Everything works perfectly except this web part.
The web part loads fine if I take out the AD stuff /
DirectoryServices.DirectoryEntry object.
Even when I attempt to try/catch what I am doing with AD, I can't get
anything to display in the debug viewer using Debug.Write.
The only indication that something is wrong is that I am getting the
generic Event ID 1000 Security error in my Application Event log.
It is kind of crucial to our business to get this web part back up, and
I am at a complete loss as to where to even begin.
Any assistance would be greatly appreciated.
Thanks in advance.
Joe
|
|
|