Re: Web Part w/ IE Treeview reference throwing error
From: Jeremy (jmaddreysp_at_cox.net)
Date: 07/08/04
- Next message: Mikelb63: "Customizing e-mail Alerts"
- Previous message: Gary A. Bushey: "Re: Managing user profiles"
- In reply to: Gary A. Bushey: "Re: Web Part w/ IE Treeview reference throwing error"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 8 Jul 2004 15:11:53 -0400
I'm loading the dll and writing out the error in trace information. The
line that is causing the problem is without a doubt when I instantiate the
treeview. Leaving that one line in vs. commenting it out makes the
difference. All code that executes after that line has been commented out.
"Gary A. Bushey" <bushey@mindspring.com.REMOVETOSEND> wrote in message
news:O7p8UuRZEHA.3368@TK2MSFTNGP12.phx.gbl...
> Are you actually stepping through the program or just loading it and
writing
> out the error somewhere? Sounds like the former. Can't say I have used
> the control but what I have done is to "borrow" the code that the SPS help
> file uses in my web parts.
>
> --
>
> Gary A. Bushey
> SPS MVP
> bushey@mindspring.com
>
> "Jeremy" <jmaddreysp@cox.net> wrote in message
> news:OJ%23hgFQZEHA.2576@TK2MSFTNGP10.phx.gbl...
> > I'm developing a navigational web part that uses the IE treeview
assembly.
> > Everything compiles fine. When I add the web part to a page, I receive
> "The
> > "xyz" Web Part appears to be causing a problem." I traced the error
down
> > to a line where I instantiate the treeview. If I comment out that line,
> no
> > error, however with the line, I receive the error. I have a try/catch
> block
> > around the line as well, however the error still doesn't seem to be
caught
> > since I'm receiving the sharepoint error page. I have both the custom
> > assembly as well as the treeview assembly registered as safe. Any
ideas?
> >
> >
>
>
- Next message: Mikelb63: "Customizing e-mail Alerts"
- Previous message: Gary A. Bushey: "Re: Managing user profiles"
- In reply to: Gary A. Bushey: "Re: Web Part w/ IE Treeview reference throwing error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|