Hi,

I have a problem of deploying the webpart treeview control on GAC. I am able
to deploy the webpart treeview by placing the
assemblies on Bin directory.

Now when I compiled the webpart with strong name keys(for treeview control
project and webpart) I did not get an error and
deployed with globalinstall parameter successully. When I drag and drop the
webpart on the SPPS page, its giving error as

'The "treeviewWebPart" Web Part appears to be causing a problem.'

I have verified the assebly folder and
1.its deployed all the dependent assemblies and webpart assemblies.
2.I have verified the web.config file its written the safecontrol with
publictokenkeys.
3.Trust level is changed to full.
4.IIS reset done.

its added to vertual server gallery when I drag and drop gives error as above.

Note that bin directory is not created on portal site as it is deployed in
GAC.

Please give me the suggestion to correct the webpart?

Thanks,
Shridhar

RE: webpart GAC gives error... by tedteng

tedteng
Sat Jan 29 21:31:02 CST 2005

Maybe it is not gac error. It just says the treeView webpart causing problem.
so it must be related to the codes inline. how about checking the orginal
codes and see what is going wrong?

br

ted

"Shridhar" wrote:

> Hi,
>
> I have a problem of deploying the webpart treeview control on GAC. I am able
> to deploy the webpart treeview by placing the
> assemblies on Bin directory.
>
> Now when I compiled the webpart with strong name keys(for treeview control
> project and webpart) I did not get an error and
> deployed with globalinstall parameter successully. When I drag and drop the
> webpart on the SPPS page, its giving error as
>
> 'The "treeviewWebPart" Web Part appears to be causing a problem.'
>
> I have verified the assebly folder and
> 1.its deployed all the dependent assemblies and webpart assemblies.
> 2.I have verified the web.config file its written the safecontrol with
> publictokenkeys.
> 3.Trust level is changed to full.
> 4.IIS reset done.
>
> its added to vertual server gallery when I drag and drop gives error as above.
>
> Note that bin directory is not created on portal site as it is deployed in
> GAC.
>
> Please give me the suggestion to correct the webpart?
>
> Thanks,
> Shridhar