Error Message Could not load file or assembly 'System.Web, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
I am getting this error after upgrading to VS 2010 and Crystal Reports. This is not a new project but has been in around since VB 6.0. We are currently running this on a Windows XP but migrating to Windows 7 64-bit BUT running compling as 32-bit. This is what the client is asking for. I changed my Advance Compile Options to Target CPU = x86 and Target framework to .NET Framework 4. On the Compile Configuration it is set to Release and x86 for platform.
After creating a build the executable works on a Windows XP and Windows 7 64-bit (both have VS 2010 installed). When I run on a Windows 7 64-bit PC Name Pete)I get the above error.
When I verify the programs installed I notice the "System.Web" is not on PC Pete. The DLL is on the other PC's.
What is very interesting is the error only occurs when there is a Crystal Report attahced to the form.
The application is not Web based so I do not understand why I am getting this message.
I need Help with this problem, boss is breathing down my neck. Checked on Internet but could not found a solution!!!
- 已移動 Bob_BaoMVP 2012年3月19日 上午 07:45 (From:Visual Basic Language)
Welcome to the MSDN forum.
This queue is about Visual Basic.Net. I’m afraid that your topic about can’t load the System.Web namespace is unsuitable here. For better support, I will move this thread to off topic forum.
You can post your thread to ASP.Net forum: http://forums.asp.net/
>>What is very interesting is the error only occurs when there is a Crystal Report attahced to the form.
It seems that your issue can be some relationship with Crystal Report, so you also can connect to the official website to ask for help: http://www.sdn.sap.com/irj/scn/advancedsearch?query=crystal+report .
Sorry for any inconvenience and have a nice day.
Mark Liu-lxf [MSFT]
MSDN Community Support | Feedback to us