Last post Jul 24, 2013 04:03 PM by lei_11355
Jul 24, 2013 11:35 AM|lei_11355|LINK
error: Error 1 Reference.svcmap: Could not load file or assembly 'office, Version=188.8.131.52, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified. App_WebReferences/ServiceReference1/
I'm using visual studio 2012, the project created in 2010, I have no compile error before I add service reference, after I add service reference, this error message come up. could anyone help me with this?
Jul 24, 2013 11:38 AM|sridhar_rs|LINK
The error message explains that the assembly file does not exists in the /Bin folder in your current application. Check your /Bin folder and make sure the assembly file exists.
Jul 24, 2013 11:58 AM|AidyF|LINK
It looks like you are trying to pass Office types (Word documents, Excel sheets etc) through your webservice. This isn't really going to work.
Jul 24, 2013 01:38 PM|vckreddyece|LINK
Jul 24, 2013 02:45 PM|lei_11355|LINK
After I added service reference that 's only one of the error message, all the namespace gone either.
Error 2 'ConfigurationManager' is not declared. It may be inaccessible due to its protection level.
Error 3 Type 'Exception' is not defined.
Error 8 Type 'Data.DataTable' is not defined. .........
if I deleted the service reference, no error at all. Is it visual studio 2012 bugs. All the other team members don't get errors, except me. I'm the only person in the team use visual studio 2012.
Jul 24, 2013 03:35 PM|AidyF|LINK
Try copying the contents of the bin folder from a colleague that has the solution working, into your bin folder. They probably have certain things on their machine that you don't.
Jul 24, 2013 04:03 PM|lei_11355|LINK
solved the problem, by looking at one of the web site
1) Right click on Service Reference 2) Select Configure Service Reference 3) Uncheck "Reuse types in referenced assemblies"
Thank you all.