Web Part Security
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Web Part Security

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
Joey Mack
Guest





Posted: Tue Jan 18, 2005 9:37 pm    Post subject: Web Part Security Reply with 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
Back to top
Don Shults
Guest





Posted: Tue Jan 18, 2005 11:27 pm    Post subject: RE: Web Part Security Reply with quote

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
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB