
Signature
HTH,
----------------------------------------------
Teo Lachev, MVP, MCSD, MCT
"Microsoft Reporting Services in Action"
"Applied Microsoft Analysis Services 2005"
Home page and blog: http://www.prologika.com/
----------------------------------------------
Thanks for your reply, and pointer to fuslogvw...
The following were the differences in the pre-bind state information,
as a result of which the assembly was loaded successfully by the web
application from Bin/, but not by the ReportViewer:
[Web application loading of assembly]
The operation was successful.
Bind result: hr = 0x0. The operation completed successfully.
=== Pre-bind state information ===
LOG: DisplayName = DataLib, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=995882a1f6986c17 (Fully-specified)
LOG: Appbase = file:///C:/projects/Test/TestWebSite/
LOG: Initial PrivatePath = C:\projects\Test\TestWebSite\bin
LOG: Dynamic Base =
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\testwebsite\12ac5c57
LOG: Cache Base =
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\testwebsite\12ac5c57
LOG: AppName = ecc6c861
Calling assembly : System.Web, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a.
[ReportViewer loading of assembly]
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file
specified.
=== Pre-bind state information ===
LOG: DisplayName = DataLib, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=995882a1f6986c17 (Fully-specified)
LOG: Appbase = file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : Microsoft.ReportViewer.Common, Version=8.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
Teo Lachev [MVP] - 30 Nov 2005 02:06 GMT
I have no explanation about why the appbase path is set to the .NET
Framework path. Try posting your question to
http://forums.microsoft.com/msdn/showforum.aspx?forumid=75&siteid=1

Signature
HTH,
----------------------------------------------
Teo Lachev, MVP, MCSD, MCT
"Microsoft Reporting Services in Action"
"Applied Microsoft Analysis Services 2005"
Home page and blog: http://www.prologika.com/
----------------------------------------------
> Thanks for your reply, and pointer to fuslogvw...
>
[quoted text clipped - 38 lines]
> Calling assembly : Microsoft.ReportViewer.Common, Version=8.0.0.0,
> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
Teo Lachev [MVP] - 30 Nov 2005 12:47 GMT
I was able to obtain more info regarding this issue. Because of a bug in the
RTM version, copying custom assemblies to the web app bin folder will not
work. This bug will be fixed in a service pack. Currently, for web, you do
have to copy custom assemblies to the GAC, unfortunately.
In the case of WinForms apps, custom assemblies can be in the same directory
as the application's .EXE file; no need to copy to GAC.

Signature
HTH,
----------------------------------------------
Teo Lachev, MVP, MCSD, MCT
"Microsoft Reporting Services in Action"
"Applied Microsoft Analysis Services 2005"
Home page and blog: http://www.prologika.com/
----------------------------------------------
>I have no explanation about why the appbase path is set to the .NET
>Framework path. Try posting your question to
[quoted text clipped - 42 lines]
>> Calling assembly : Microsoft.ReportViewer.Common, Version=8.0.0.0,
>> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
vijayan - 30 Nov 2005 20:01 GMT
Thanks for your help, Teo.
I received similar confirmation from the MS forum:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=151829&SiteID=1
/vijayan