Bogdan Nedelcu
Guest
|
Posted:
Sat Jan 29, 2005 6:48 am Post subject:
Re: Webpart installed on GAC gives error! |
|
|
While I had the same problem, I can't explain this phenomena. If you follow
the trace log you can see it doesn't search for the assembly in gac, but
only in some bin folders. Strange.
Try copying the DLL in the bin folder of the web site, if it does not exist,
create one.
Hope it helps.
"Shridhar" <Shridhar@discussions.microsoft.com> wrote in message
news:AE6F7110-ADFF-4884-9BCB-B062A24ED475@microsoft.com...
| Quote: | 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 |
|
|