|
|
||||||
|
#1
|
|
|
|
|
I have a web part and cab project. When I install it using stsadm without the
-globalinstall flag, I can add the web part to a page but it cannot get all of the permissions it needs. When I install the assembly using the -globalinstall flag I get the "...cannot be displayed or imported because it is not registered on this site as safe" error. What additional steps do I need to take to get the assembly to install correctly using the -globalinstall flag? I've googled and fiddled but I can't seem to find the answer. |
|
|
|
#2
|
|
|
|
|
Hi Preston,
When I met such problem, I always use the IntallAssemblies utility to test the installation. This utility will generate one CAB for the web part deployment according to your scenario (GAC or bin ). And you can save the CAB file to analyse the configurtion files. Most important, this utility can use the flag -glocalinstall to deploy the web part assembly. So for your issue, I'd strongly suggest you can troubleshoot your issue with this utility, which will be very helpful. InstallAssemblies http://www.microsoft.com/sharepoint/...tail.asp?a=431 Please feel free to let me know if you have any question. Best Regards, Wei-Dong XU Microsoft Product Support Services When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== === Business-Critical Phone Support (BCPS) provides you with technical phone support at no charge during critical LAN outages or "business down" situations. This benefit is available 24 hours a day, 7 days a week to all Microsoft technology partners in the United States and Canada. This and other support options are available here: BCPS: https://partner.microsoft.com/US/tec...rview/40010469 Others: https://partner.microsoft.com/US/tec...pportoverview/ If you are outside the United States, please visit our International Support page: http://support.microsoft.com/default...rnational.aspx. ================================================== === Get Secure! - www.microsoft.com/security This posting is provided "AS IS" with no warranties, and confers no rights. |
|
#3
|
|
|
|
|
Make sure you have strong named your web part. GAC needs all assemblies to
be strongly named. |
|
#4
|
|
|
|
|
Just what I needed. Again, thanks.
pjp "Wei-Dong XU [MSFT]" wrote: [..] |
|
|
| Similar Threads | |
| A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is not registered on this site as safe. I get this error when I open a list view in Sharepoint portal server 2003: "A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it... |
|
| A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is not registered on this site as safe. Development Environment: I am developing using Visual Studio 2005 .NET 2.0. Sharepoint portal server 2003 is sitting on a different box. I'm starting simple and have a Wep... |
|
| Trying to register a Web Part as safe when my Project Server resides on a different server I keep getting the Web Part is not registered as Safe message when trying to drag and drop my web part on my web part page and I have tried everything from all the articles. ... |
|
| Register web part as safe I'm getting the "A Web Part ... cannot be displayed or imported because it is not registered on this site as safe." error when trying to add a web part I developed and I'm... |
|
| a web part of web form control on this web part page ...is not registered on this site as safe Hi All I followed these steps to ensure the web part is safe: 1. The assembly has to have a strong name. You need the strong name tool (sn.exe), which you can find... |
|
|
All times are GMT. The time now is 06:50 PM. | Privacy Policy
|