Last post Apr 10, 2013 06:33 PM by furkanfindik
Apr 09, 2013 05:19 PM|Franke-G|LINK
I am recieving this Parser error message: Reference.svcmap Could not load file or assembly 'Castle.DynamicProxy2', version = 188.8.131.52, Culture=neutral, PublicToken=407dd0808d44fb.. or one of it's dependencies. The system cannot find the file specified.
I am using WebMatrix 2.0 and Visual Studio Express 2010 (pretty light on the VS too). About 6 months ago I added a service reference to the Microsoft Tag service as we are making calls to create QRCodes. (The error is pointing to /App_WebReferences/MyService/
so I figured it had something to do with the service call). But I can execute the service and everything else in my dev environment just fine. When I opened the prod website this weekend every cshtml page I tried to go to gave me the error above. The only
thing I can get to is graphic files and / or text files from the url. The current hosting service is GoDaddy, for now. I figured it was something on their end since I had not made any changes in prod since 6 days before but they are tellng me it's a script
error, which I'm sure it is something I have done that has caught up with me. After many hours of trying anything I could (also referenced a completely different service) I ended up renaming the App_WebReferences folder in prod to App_WebReferences_TEMP and
the site started working, all but the service I am calling of course. I downloaded the Castle.Core and Castle.DynamicProxy2 .dlls and added them to my WebMatrix solution, the bin dir, packages, etc to prod and then renamed the App folder back and nothing
is helping (I've done about 20 more things that will just take too long to explain in one post). I'm hoping someone a lot smarter than me can give me a couple ideas. I would really appreciate it!!
Apr 10, 2013 04:54 AM|furkanfindik|LINK
Did you add the dll from visual studio or just copy the file to folder? If you directly copy file to folder, you must add dlls to solution and rebuild main dll.
Have a nice day.
Apr 10, 2013 09:01 AM|Franke-G|LINK
The problem is that I am not directly using this DLL at all. I know I would have to add it as a reference if I was but I have no idea what it even is.
Apr 10, 2013 06:33 PM|furkanfindik|LINK
In your local, you installed the package your system but in hosting it's not installed. So you must take the using dll to your bin folder and add the dll as a reference or you must install package on your hosting.