Hi Greg, The most obvious question would be whether Google.AdWords.dll and Google.Ads.Common.dll are in the same folder as your vb.net application. There's a chance that they aren't, but the application is loading up anyway because these assemblies got resolved from another installation you have on the server somehow. May be that library version doesn't have v201506 supported.
You can use the fuslogvw application from the .NET SDK to troubleshoot assembly binding issues. See https://msdn.microsoft.com/en-us/library/e74a18c4(v=vs.110).aspx for details. Let me know if this works for you. Cheers, Anash P. Oommen, AdWords API Advisor. On Wednesday, September 9, 2015 at 11:56:50 AM UTC-4, Greg Wilborn wrote: > > I am continuing the development of an application in VB.Net that uses > v201506 of the AdWords API. I have written a page that works perfectly on > my Dev box(Windows 10) and now I am trying to deploy it to a Windows > Server 2008 R2 Server that already has numerous websites running that use > this same version of the API. However, when I deploy to the server and try > to run the page I get the following error: > > Type 'Google.Api.Ads.AdWords.v201506.CampaignService' is not defined. > > Here is the line of code that is throwing this exception: > > Dim objService As Google.Api.Ads.AdWords.v201506.CampaignService = > CType(objAdWordsUser.GetService(AdWordsService.v201506.CampaignService), > CampaignService) > > I also tried this line first > > Dim objService As CampaignService = > objAdWordsUser.GetService(AdWordsService.v201506.CampaignService) > > These are the imports I am using on the page: > > Imports Google.Api.Ads.AdWords.v201506 > Imports Google.Api.Ads.AdWords.Lib > Imports Google.Api.Ads.Common.Lib > > > Any ideas to point me in the right direction would be greatly appreciated. > > Greg > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/24455499-a1b1-42e7-8b7d-1bab8d0724ac%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.