M
Monty
Hello,
[VS 2005, Web Application Projects, VB.Net, XP Pro SP2]
I have created a solution which has both a web UI and a winform UI, the
latter is just for administrators. The Web UI (a Web Application Project)
and the winform project both reference the same BLL in a separate assembly,
and I have all three projects in a single solution file for development,
with the two UI's each having a project reference to the BLL assembly. I
created a Setup and Deployment package for the winform app where I add the
BLL assembly to the GAC. When I run this setup application on my development
machine, I begin to experience issues debugging my web app. Specifically, on
a page where I bind a grid to an ObjectDataSource (where the object class is
in my BLL), I get this error message:
The type specified in the TypeName property of ObjectDataSource 'odsItems'
could not be found.
However, it can successfully do plenty of things that depend on calling the
BLL assembly, so it's not like it can't find it. If I uninstall my winform
UI setup package, it begins working fine again. In production, the web
server for the app will have both the Web UI and winform UI installed on it,
and I would like them to both share the BLL assembly in the GAC. Can anyone
point out the error of my ways here? Also, side question, when I've run the
install package and my BLL assembly is in the GAC (and I started having
these issues) I thought "Ah, I'll just remove the 'project reference' to the
BLL from the web app and add a reference to the assembly registered with the
GAC." So I clicked Add Reference --> .Net tab, and I expected that I would
see the BLL assembly listed here, but it is not. What does it take to get a
GAC reg'd assembly to show up here?
TIA,
Monty
[VS 2005, Web Application Projects, VB.Net, XP Pro SP2]
I have created a solution which has both a web UI and a winform UI, the
latter is just for administrators. The Web UI (a Web Application Project)
and the winform project both reference the same BLL in a separate assembly,
and I have all three projects in a single solution file for development,
with the two UI's each having a project reference to the BLL assembly. I
created a Setup and Deployment package for the winform app where I add the
BLL assembly to the GAC. When I run this setup application on my development
machine, I begin to experience issues debugging my web app. Specifically, on
a page where I bind a grid to an ObjectDataSource (where the object class is
in my BLL), I get this error message:
The type specified in the TypeName property of ObjectDataSource 'odsItems'
could not be found.
However, it can successfully do plenty of things that depend on calling the
BLL assembly, so it's not like it can't find it. If I uninstall my winform
UI setup package, it begins working fine again. In production, the web
server for the app will have both the Web UI and winform UI installed on it,
and I would like them to both share the BLL assembly in the GAC. Can anyone
point out the error of my ways here? Also, side question, when I've run the
install package and my BLL assembly is in the GAC (and I started having
these issues) I thought "Ah, I'll just remove the 'project reference' to the
BLL from the web app and add a reference to the assembly registered with the
GAC." So I clicked Add Reference --> .Net tab, and I expected that I would
see the BLL assembly listed here, but it is not. What does it take to get a
GAC reg'd assembly to show up here?
TIA,
Monty