Visual Studio - can't build anything - visual-studio

I worked arround with visual studio and cordova every thing was fine but suddenly when i want to build the app for iOS (doesn't matter if ripple or remote device) after a abouut two seconds I get the following error message.
It really appeared from one to another second... I did nothing special.
Also when i create a blank project it doesn't work - same issue!
Error - Cannot load global packages. System.AggregateException:
Mindestens ein Fehler ist aufgetreten. --->
Microsoft.NodejsTools.Npm.PackageJsonException: Error reading
package.json at
'C:\Users\m.hüttl\AppData\Roaming\npm\node_modules\phonegap\node_modules\cordova\node_modules\cordova-lib\node_modules\npm\node_modules\graceful-fs\package.json':
Error reading package.json. The file may be parseable JSON but may
contain objects with duplicate properties.
The following error occurred:
Can not add Newtonsoft.Json.Linq.JValue to
Newtonsoft.Json.Linq.JObject. --->
Microsoft.NodejsTools.Npm.PackageJsonException: Error reading
package.json. The file may be parseable JSON but may contain objects
with duplicate properties.
The following error occurred:
Can not add Newtonsoft.Json.Linq.JValue to
Newtonsoft.Json.Linq.JObject. ---> System.ArgumentException: Can not
add Newtonsoft.Json.Linq.JValue to Newtonsoft.Json.Linq.JObject.
bei Newtonsoft.Json.Linq.JObject.ValidateToken(JToken o, JToken
existing) bei Newtonsoft.Json.Linq.JContainer.InsertItem(Int32
index, JToken item, Boolean skipParentCheck) bei
Newtonsoft.Json.Linq.JObject.InsertItem(Int32 index, JToken item,
Boolean skipParentCheck) bei
Newtonsoft.Json.Linq.JContainer.AddInternal(Int32 index, Object
content, Boolean skipParentCheck) bei
Newtonsoft.Json.Linq.JContainer.Add(Object content) bei
Newtonsoft.Json.Linq.JTokenWriter.AddValue(JValue value, JsonToken
token) bei Newtonsoft.Json.Linq.JTokenWriter.WriteNull() bei
Newtonsoft.Json.JsonWriter.AutoCompleteClose(JsonContainerType type)
bei Newtonsoft.Json.JsonWriter.WriteEndObject() bei
Newtonsoft.Json.JsonWriter.WriteEnd(JsonContainerType type) bei
Newtonsoft.Json.JsonWriter.WriteEnd() bei
Newtonsoft.Json.JsonWriter.AutoCompleteAll() bei
Newtonsoft.Json.Linq.JTokenWriter.Close() bei
Newtonsoft.Json.JsonWriter.System.IDisposable.Dispose() bei
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateJObject(JsonReader
reader) bei
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader
reader, Type objectType, JsonContract contract, JsonProperty member,
JsonContainerContract containerContract, JsonProperty containerMember,
Object existingValue) bei
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader
reader, Type objectType, JsonContract contract, JsonProperty member,
JsonContainerContract containerContract, JsonProperty containerMember,
Object existingValue) bei
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader
reader, Type objectType, Boolean checkAdditionalContent) bei
Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader,
Type objectType) bei
Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type,
JsonSerializerSettings settings) bei
Microsoft.NodejsTools.Npm.ReaderPackageJsonSource..ctor(TextReader
reader) --- Ende der internen Ausnahmestapelüberwachung --- bei
Microsoft.NodejsTools.Npm.ReaderPackageJsonSource..ctor(TextReader
reader) bei
Microsoft.NodejsTools.Npm.FilePackageJsonSource..ctor(String
fullPathToFile) --- Ende der internen Ausnahmestapelüberwachung ---
bei
Microsoft.NodejsTools.Npm.FilePackageJsonSource.WrapExceptionAndRethrow(String
fullPathToFile, Exception ex) bei
Microsoft.NodejsTools.Npm.FilePackageJsonSource..ctor(String
fullPathToFile) bei
Microsoft.NodejsTools.Npm.DirectoryPackageJsonSource..ctor(String
fullDirectoryPath) bei
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
bei Microsoft.NodejsTools.Npm.SPI.NodeModules..ctor(IRootPackage
parent, Boolean showMissingDevOptionalSubPackages) bei
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
bei Microsoft.NodejsTools.Npm.SPI.NodeModules..ctor(IRootPackage
parent, Boolean showMissingDevOptionalSubPackages) bei
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
bei Microsoft.NodejsTools.Npm.SPI.NodeModules..ctor(IRootPackage
parent, Boolean showMissingDevOptionalSubPackages) bei
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
bei Microsoft.NodejsTools.Npm.SPI.NodeModules..ctor(IRootPackage
parent, Boolean showMissingDevOptionalSubPackages) bei
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
bei Microsoft.NodejsTools.Npm.SPI.NodeModules..ctor(IRootPackage
parent, Boolean showMissingDevOptionalSubPackages) bei
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
bei
Microsoft.NodejsTools.Npm.SPI.NpmController.d__1.MoveNext()
--- Ende der internen Ausnahmestapelüberwachung ---
---> (Interne Ausnahme #0) Microsoft.NodejsTools.Npm.PackageJsonException: Error reading
package.json at
'C:\Users\m.hüttl\AppData\Roaming\npm\node_modules\phonegap\node_modules\cordova\node_modules\cordova-lib\node_modules\npm\node_modules\graceful-fs\package.json':
Error reading package.json. The file may be parseable JSON but may
contain objects with duplicate properties.
The following error occurred:
Can not add Newtonsoft.Json.Linq.JValue to
Newtonsoft.Json.Linq.JObject. --->
Microsoft.NodejsTools.Npm.PackageJsonException: Error reading
package.json. The file may be parseable JSON but may contain objects
with duplicate properties.
The following error occurred:
Can not add Newtonsoft.Json.Linq.JValue to
Newtonsoft.Json.Linq.JObject. ---> System.ArgumentException: Can not
add Newtonsoft.Json.Linq.JValue to Newtonsoft.Json.Linq.JObject.
bei Newtonsoft.Json.Linq.JObject.ValidateToken(JToken o, JToken
existing) bei Newtonsoft.Json.Linq.JContainer.InsertItem(Int32
index, JToken item, Boolean skipParentCheck) bei
Newtonsoft.Json.Linq.JObject.InsertItem(Int32 index, JToken item,
Boolean skipParentCheck) bei
Newtonsoft.Json.Linq.JContainer.AddInternal(Int32 index, Object
content, Boolean skipParentCheck) bei
Newtonsoft.Json.Linq.JContainer.Add(Object content) bei
Newtonsoft.Json.Linq.JTokenWriter.AddValue(JValue value, JsonToken
token) bei Newtonsoft.Json.Linq.JTokenWriter.WriteNull() bei
Newtonsoft.Json.JsonWriter.AutoCompleteClose(JsonContainerType type)
bei Newtonsoft.Json.JsonWriter.WriteEndObject() bei
Newtonsoft.Json.JsonWriter.WriteEnd(JsonContainerType type) bei
Newtonsoft.Json.JsonWriter.WriteEnd() bei
Newtonsoft.Json.JsonWriter.AutoCompleteAll() bei
Newtonsoft.Json.Linq.JTokenWriter.Close() bei
Newtonsoft.Json.JsonWriter.System.IDisposable.Dispose() bei
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateJObject(JsonReader
reader) bei
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader
reader, Type objectType, JsonContract contract, JsonProperty member,
JsonContainerContract containerContract, JsonProperty containerMember,
Object existingValue) bei
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader
reader, Type objectType, JsonContract contract, JsonProperty member,
JsonContainerContract containerContract, JsonProperty containerMember,
Object existingValue) bei
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader
reader, Type objectType, Boolean checkAdditionalContent) bei
Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader,
Type objectType) bei
Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type,
JsonSerializerSettings settings) bei
Microsoft.NodejsTools.Npm.ReaderPackageJsonSource..ctor(TextReader
reader) --- Ende der internen Ausnahmestapelüberwachung --- bei
Microsoft.NodejsTools.Npm.ReaderPackageJsonSource..ctor(TextReader
reader) bei
Microsoft.NodejsTools.Npm.FilePackageJsonSource..ctor(String
fullPathToFile) --- Ende der internen Ausnahmestapelüberwachung ---
bei
Microsoft.NodejsTools.Npm.FilePackageJsonSource.WrapExceptionAndRethrow(String
fullPathToFile, Exception ex) bei
Microsoft.NodejsTools.Npm.FilePackageJsonSource..ctor(String
fullPathToFile) bei
Microsoft.NodejsTools.Npm.DirectoryPackageJsonSource..ctor(String
fullDirectoryPath) bei
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
bei Microsoft.NodejsTools.Npm.SPI.NodeModules..ctor(IRootPackage
parent, Boolean showMissingDevOptionalSubPackages) bei
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
bei Microsoft.NodejsTools.Npm.SPI.NodeModules..ctor(IRootPackage
parent, Boolean showMissingDevOptionalSubPackages) bei
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
bei Microsoft.NodejsTools.Npm.SPI.NodeModules..ctor(IRootPackage
parent, Boolean showMissingDevOptionalSubPackages) bei
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
bei Microsoft.NodejsTools.Npm.SPI.NodeModules..ctor(IRootPackage
parent, Boolean showMissingDevOptionalSubPackages) bei
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
bei Microsoft.NodejsTools.Npm.SPI.NodeModules..ctor(IRootPackage
parent, Boolean showMissingDevOptionalSubPackages) bei
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
bei
Microsoft.NodejsTools.Npm.SPI.NpmController.d__1.MoveNext()<---

Related

Uninstalling Visual Studio 2017 "Unexpected character encountered while parsing value"

I'm attempting to uninstall Visual Studio Enterprise 2017 using the Visual Studio Installer on Windows 10 Professional but when I try to do so I hit this error:
[0d1c:002d][2020-02-12T16:28:26] Error 0x80131500: Unexpected character encountered while parsing value: <. Path ''.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)
at Microsoft.VisualStudio.Setup.Serialization.ModelSerializer`1.Deserialize(TextReader reader)
at Microsoft.VisualStudio.Setup.Cache.DirectoryRepository.GetPackage(IPackageIdentity identity)
at Microsoft.VisualStudio.Setup.Cache.CacheRepository.GetPackage(IPackageIdentity identity)
at Microsoft.VisualStudio.Setup.Installer.Extensions.IsPayloadRequired(IInstallablePackage package, ExecuteAction action, IServiceProvider services, ExecuteAction bootstrapperAction)
at Microsoft.VisualStudio.Setup.InstallOperation.CreateDownloadInstallActivities(InstallablePackage installable, ExecuteAction action, Boolean isPresent)
at Microsoft.VisualStudio.Setup.InstallOperation.PlanInstallable(InstallablePackage installable, Dictionary`2 downloadLookup, PackagePlan& packagePlan, Boolean repairPackagesWithDuplicateFiles, Boolean upgradeConfigurationPackage)
at Microsoft.VisualStudio.Setup.InstallOperation.Plan()
at Microsoft.VisualStudio.Setup.InstallOperation.Schedule()
at Microsoft.VisualStudio.Setup.Engine.CreateInstallOperation(Product product, String destination, ExecuteAction action, ITelemetryOperation telemetryOperation)
at Microsoft.VisualStudio.Setup.Engine.Uninstall(CancellationToken token)
Has anyone else run into this issue and know how to successfully uninstall this application?
This same happened to me. Can not repair or update.
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: . Path '', line 1, position 146.
at Microsoft.VisualStudio.Setup.Engine.Initialize()
at Microsoft.VisualStudio.Setup.Engine.GetProducts()
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.IntializePackages()
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.GetPrerequisitesInternal(IInstallableExtension extension, ICollection`1 installedPackages, ICollection`1 installablePackages, ICollection`1 unresolvedReferences)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.GetPrerequisites(IInstallableExtension extension, IEnumerable`1& installedPackages, IEnumerable`1& installablePackages, IEnumerable`1& unresolvedReferences)
at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
To uninstall use: https://learn.microsoft.com/en-us/visualstudio/install/remove-visual-studio?view=vs-2019

could not load type 'Nancy.Hosting.Aspnet.NancyHttpRequestHandler' on apphb

That is the errormessage when I deploy a website project to appharbor.
And have no idea where to start looking...
Any push in the right direction would be great, thanks!
More details:
[HttpException (0x80004005): Could not load type 'Nancy.Hosting.Aspnet.NancyHttpRequestHandler'.]
System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +9671464
System.Web.Configuration.HandlerFactoryCache.GetTypeWithAssert(String type) +38
System.Web.Configuration.HandlerFactoryCache.GetHandlerType(String type) +13
System.Web.Configuration.HandlerFactoryCache..ctor(String type) +19
System.Web.HttpApplication.GetFactory(String type) +86
System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +262
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

TFS build controller failed

I have my own TFS build controller but it is failing build with this error any idea what issue can be?
Exception Message: The type initializer for 'Microsoft.Web.Deployment.DeploymentManager' threw an exception. (type TypeInitializationException)
Exception Stack Trace:
Server stack trace:
at Microsoft.Web.Deployment.DeploymentProviderSettingCollection..ctor(String factoryName)
at Microsoft.Web.Deployment.DeploymentProviderOptions..ctor(String factoryName)
at Microsoft.Web.Deployment.DeploymentProviderOptions..ctor(DeploymentWellKnownProvider wellKnownProvider)
at Microsoft.TeamFoundation.Deployment.Workflow.Activities.MSDeployWorker.RunCommand(String publishEndpoint, String targetSite, String userName, String password, String packagePath, String setParametersPath, Boolean allowUntrustedCertificates)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
Exception rethrown at [0]:
at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Inner Exception Details:
Exception Message: The type initializer for 'Microsoft.Web.Deployment.BuiltInTypesCache' threw an exception. (type TypeInitializationException)
Exception Stack Trace: at Microsoft.Web.Deployment.DeploymentProviderFactoryCollection.LoadFromRegistry()
at Microsoft.Web.Deployment.DeploymentManager.LoadDeploymentManagerSettings()
at Microsoft.Web.Deployment.DeploymentManager..cctor()
Inner Exception Details:
Exception Message: The provider 'Microsoft.Data.Tools.Schema.MsDeploy.MsDeployProviderFactory' could not be loaded. (type DeploymentException)
Exception Stack Trace: at Microsoft.Web.Deployment.DeploymentProviderFactory.Create(Type type)
at Microsoft.Web.Deployment.BuiltInTypesCache.InspectTypesForWebDeployAttributes(IEnumerable`1 types, String dllName)
at Microsoft.Web.Deployment.BuiltInTypesCache..cctor()
Inner Exception Details:
Exception Message: The type 'Microsoft.Data.Tools.Schema.MsDeploy.MsDeployProviderFactory' could not be loaded. The configuration settings may not be valid. (type DeploymentException)
Exception Stack Trace: at Microsoft.Web.Deployment.ReflectionHelper.CreateInstanceT
at Microsoft.Web.Deployment.DeploymentProviderFactory.Create(Type type)
Inner Exception Details:
Exception Message: The type initializer for 'Microsoft.Data.Tools.Schema.MsDeploy.MsDeployProviderBaseProviderFactory' threw an exception. (type TypeInitializationException)
Exception Stack Trace: at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)
at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType serverType)
at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj)
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at Microsoft.Web.Deployment.ReflectionHelper.CreateInstanceT
Inner Exception Details:
Exception Message: Could not load file or assembly 'Microsoft.Data.Tools.Schema.Sql, Version=10.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. (type FileNotFoundException)
Exception Stack Trace: at Microsoft.Data.Tools.Schema.MsDeploy.MsDeployProviderBaseProviderFactory..cctor()
Comment out the line following line in AssemblyInfo.cs file.
[assembly: AssemblyCulture("")]
OR
In Build definition, Change the configuration and platform according to the local machine. Try using x86 for a 32 bit CPU or according to the CPU of the machine.
try both the solutions one by one. and see if it resolves the issue.

System.BadImageFormatException in VS2010 XAML-Designer

i use SQLite 1.0.79 (64 bit Setup over "sqlite-netFx40-setup-bundle-x64-2010-1.0.79.0.exe")
in my project.
Binding the SQLite over GAC.
But in the XAML-Designer throw follow Exception:
System.BadImageFormatException
Die Datei oder Assembly "System.Data.SQLite, Version=1.0.79.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139" oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.
bei System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
bei System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
bei System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
bei System.Reflection.Assembly.Load(AssemblyName assemblyRef)
bei MS.Internal.Package.VSIsolationProviderService.RemoteReferenceProxy.VsReflectionResolver.GetRuntimeAssembly(Assembly reflectionAssembly)
bei Microsoft.Windows.Design.Metadata.ReflectionMetadataContext.CachingReflectionResolver.GetRuntimeAssembly(Assembly reflectionAssembly)
bei Microsoft.Windows.Design.Metadata.ReflectionMetadataContext.Microsoft.Windows.Design.Metadata.IReflectionResolver.GetRuntimeAssembly(Assembly reflectionAssembly)
bei MS.Internal.Metadata.ClrAssembly.GetRuntimeMetadata(Object reflectionMetadata)
bei Microsoft.Windows.Design.Metadata.AttributeTableContainer.d__c.MoveNext()
bei Microsoft.Windows.Design.Metadata.AttributeTableContainer.GetAttributes(Assembly assembly, Type attributeType, Func`2 reflectionMapper)
bei MS.Internal.Metadata.ClrAssembly.GetAttributes(ITypeMetadata attributeType)
bei MS.Internal.Design.Metadata.Xaml.XamlAssembly.get_XmlNamespaceCompatibilityMappings()
bei Microsoft.Windows.Design.Metadata.Xaml.XamlExtensionImplementations.GetXmlNamespaceCompatibilityMappings(IAssemblyMetadata sourceAssembly)
bei Microsoft.Windows.Design.Metadata.Xaml.XamlExtensions.GetXmlNamespaceCompatibilityMappings(IAssemblyMetadata source)
bei MS.Internal.Design.Metadata.ReflectionProjectNode.BuildSubsumption()
bei MS.Internal.Design.Metadata.ReflectionProjectNode.SubsumingNamespace(Identifier identifier)
bei MS.Internal.Design.Markup.XmlElement.BuildScope(PrefixScope parentScope, IParseContext context)
bei MS.Internal.Design.Markup.XmlElement.ConvertToXaml(XamlElement parent, PrefixScope parentScope, IParseContext context, IMarkupSourceProvider provider, Boolean visitCodeModel)
bei MS.Internal.Design.DocumentModel.DocumentTrees.Markup.XamlSourceDocument.FullParse(Boolean convertToXamlWithErrors)
bei MS.Internal.Design.DocumentModel.DocumentTrees.Markup.XamlSourceDocument.get_RootItem()
bei Microsoft.Windows.Design.DocumentModel.Trees.ModifiableDocumentTree.get_ModifiableRootItem()
bei Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.get_LoadState()
bei MS.Internal.Host.PersistenceSubsystem.Load()
bei MS.Internal.Host.Designer.Load()
bei MS.Internal.Designer.VSDesigner.Load()
bei MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedView.Load()
bei MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedDesignerFactory.Load(IsolatedView view)
bei MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view)
bei MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view)
bei MS.Internal.Host.Isolation.IsolatedDesigner.Load()
bei MS.Internal.Designer.DesignerPane.LoadDesignerView(Boolean isReload)
This Exception occurs on all Xaml-files.
But the program runs without error.
... EDIT ...
I have edited, because I'm not even allowed to respond
problem identified and resolved...
i had only installed the 64bit SQLite, but the VS2010 is a 32bit process.
Installing also the 32bit SQLite resolve the Problem
You only installed the 64bit SQLite, but the VS2010 is a 32bit process.
Installing also the 32bit SQLite will resolve the Problem.

WP7 AdMob SDK doesn't Work

I always get an error when I start an app with an AdMob BannerAd. I just added the control to the toolbox and copy pasted in in the form.
Here is the relevant code:
<my:BannerAd HorizontalAlignment="Left" Margin="0,522,0,0" Name="bannerAd1" VerticalAlignment="Top" />
When I run the app I get this error:
System.NullReferenceException wurde nicht behandelt.
Message=NullReferenceException
StackTrace:
bei Google.AdMob.Ads.WindowsPhone7.WPF.DisplayAdBase.<>c__DisplayClass3c.<LoadDisplay>b__38()
bei System.Reflection.RuntimeMethodInfo.InternalInvoke(RuntimeMethodInfo rtmi, Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess, StackCrawlMark& stackMark)
bei System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, StackCrawlMark& stackMark)
bei System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
bei System.Delegate.DynamicInvokeOne(Object[] args)
bei System.MulticastDelegate.DynamicInvokeImpl(Object[] args)
bei System.Delegate.DynamicInvoke(Object[] args)
bei System.Windows.Threading.DispatcherOperation.Invoke()
bei System.Windows.Threading.Dispatcher.Dispatch(DispatcherPriority priority)
bei System.Windows.Threading.Dispatcher.OnInvoke(Object context)
bei System.Windows.Hosting.CallbackCookie.Invoke(Object[] args)
bei System.Windows.Hosting.DelegateWrapper.InternalInvoke(Object[] args)
bei System.Windows.RuntimeHost.ManagedHost.InvokeDelegate(IntPtr pHandle, Int32 nParamCount, ScriptParam[] pParams, ScriptParam& pResult)
I'm using AldarIT SuperAds for three production Apps with AdMob as primary ad provider. No problems so far after 5 Months.
Im using http://wp7adrotator.codeplex.com/. Having no problems still on my app.
http://www.aldarit.com/superads.html is a good solution too. Used it before started using wp7adrotator. You might give it a try too.
Hope it helps.

Resources