Webpart installed on GAC gives error!
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
Webpart installed on GAC gives error!

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





Posted: Fri Jan 28, 2005 7:53 pm    Post subject: Webpart installed on GAC gives error! Reply with 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
Back to top
Bogdan Nedelcu
Guest





Posted: Sat Jan 29, 2005 6:48 am    Post subject: Re: Webpart installed on GAC gives error! Reply with quote

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
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