Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Secuirty Issue

Status
Not open for further replies.

Kalisto

Programmer
Feb 18, 2003
997
GB
On an old site Ive got a Com component from a 3rd party that allows me to save various image types to the hard disk (as well as doing other things).

Having upgraded the whole site to asp.net 2.0 the site gets to where the component is invoked, and throws up an error

"The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. "

I have tried changing the trust level of the component in the config file to no avail.

I cant add the dll to the GAC as it isnt strongly named, and so I cant grant it full trust. (Im reluctant to spend time doing this unless Im sure it would help anyway.)

So, can anyone suggest other things I can try to solve this issue ?

Thanks

K

 
I would contact the vendor of the object and see if it is compatable with 2.0, and if not, see if they have an updated version.
 
If the COM component was registered on server using regsvr32, you could change the Launch and Activation Permissions and Access Permisions by adding the account on which IIS is running (ASPNET or Network Service).
For that you need to start mmc.exe, add the Component Services snap-in, then, in the left tree, go to Computers -> [SERVERNAME] -> DCOM Config -> [find your component between the child nodes] -> right-click - Properties -> Security tab and then customize & edit first 2 security zones.
Hope this helps!

[morning]
 
Jbenson, the vendor is the other side of the world, and hasnt answered any of my emails in over 3 weeks, and their online support chatroom never has anyone in it.

It seems that either they arent interested or have serious support issues. (and a captive market :-/)

Joulius. thanks, I'll try that tomorrow.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top