Windows phone manifest error when trying to change manifest - windows-phone-8

I have the following error when I try to modify the manifest file of my windows phone 8 app:
Error 1 The 'ConsumerID' attribute is invalid - The value '{DFF24-AA15-4A96-8006-2BFF8122084F}' is invalid according to its datatype 'http:// WPCommontypes:ST_Guid' - The Pattern constraint failed.
Am just trying to change the lockscreen image from my app, so I just added this line under <Tokens> in the manifest:
<Extensions>
<Extension ExtensionName="LockScreenImage" ConsumerID="{111DFF24-AA15-4A96-8006-2BFF8122084F}" TaskID="_default"/>
</Extensions>

Are you using LockScreen_Background as your ExtensionName or just LockScreen? You should be using LockScreen_Background.

Related

ASP.Net Could not load file or assembly MySql.Data

I have a ASP.Net website that connects to a MySQL data base to retrieve data. I have used NuGet to install mysql.data. Doing this added a Bin folder with the sql.data dll in it to my project. It added a reference in my web config file. and it added a packages.config to my project. All of this is expected i assume ? With these resources in place my website works when i run it from visual studio. The problem is when i upload it to a server i get the following error :
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'MySql.Data, Version=6.9.8.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
Source Error:
An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Source File: d:\DZHosts\LocalUser\bman262\www.brandonsLoginTest.somee.com\riviera horticulture\web.config Line: 7
Assembly Load Trace: The following information can be helpful to determine why the assembly 'MySql.Data, Version=6.9.8.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1069.1
This is saying it cant find the mysql.data reference right ? What am i doing wrong ?
Here are some pictures of my solution in visual studio and my web.config
Solution
Web.config
I am tearing my hair out over this, any help would be VERY appreciated
→ You will have to make sure that the same version is installed on the server where you are deploying your project.
→ If the server to which you are deploying your project is on 64 bit, you can enable 32 bit support for this site's application pool, if your dll requires 32 bit architecture.
For anyone using similar or the same host as me if you have this problem the solution was to convert the project file to an application on the server.

How to setup gracenote sample app in visual studio express 2012?

Getting this error while compiling gracenote sample app for windowsphone 8 with Visual Studio Express 2012:
Error 3 Cannot resolve reference assemblies. Please check the reference assemblies. Could not find Windows Runtime type 'Gracenote.IGnMusicIdFileEvents'. D:\Downloads\gn-mobile-winphone8-1.1.5.3105\sample\MainPage.xaml GnMSDKSample
My step:
- install gn_winphone8_helper_sdk.vsix and gn_winphone8_sdk.vsix
- open sample/sample.sln file
- adding license.txt file
- change gnClientId_and gnClientIdTag_in App.xml.cs
- remove Gracenote obsolete references from project
- add Gracenote Windows Phone SDK v 1.1.5 reference
- add Gracenote Windows Phone SDK Helper v 1.1.5 reference
- compile -> error
What did i miss here?
Problem solved.
I'm not sure why, but after updating visualstudio, the error is gone.

Neodynamic Barcode Professional upload error for SSRS report server

I am Developing a SSRS Report for Displaying Barcode . I am Using Neodynamic Barcode Proffessional and the Report is Working fine in Developer Machine (MY Machine). When i try to Upload the Report into SSRS Report Server i get this Error Can any one Help on this. Thanks in Advance
Note : I am Using SSRS 2012 Version and The Report Server is also the Same
Error :
Error while loading code module: ‘Neodynamic.ReportingServices.Barcode, Version=7.0.2000.0, Culture=neutral, PublicKeyToken=c6b33c3093a0d4cd’. Details: Could not load file or assembly 'Neodynamic.ReportingServices.Barcode, Version=7.0.2000.0, Culture=neutral, PublicKeyToken=c6b33c3093a0d4cd' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (rsErrorLoadingCodeModule) Get Online HelpError in class instance declaration for class Neodynamic.ReportingServices.Barcode: [BC30002] Type 'Neodynamic.ReportingServices.Barcode' is not defined. (rsCompilerErrorInClassInstanceDeclaration) Get Online Help
There is an error on line 4 of custom code: [BC30451] Name 'Neodynamic' is not declared. (rsCompilerErrorInCode) Get Online Help
Put your dll Neodynamic.ReportingServices.Barcode in
Driver Server Location:\Program Files\Microsoft SQL Server\MSRS12.SQLLOCAL\Reporting Services\ReportServer\bin

Server Object Creation Error

I am unable to run a particular ASP page in my website. It is throwing the below error.
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/includes/conferenceRoom/init.asp, line 13
800401f3.
However my page is running well in Prod server but it is throwing error in my dev derver. I am unable to find the root cause for this error.
The line 13 is to create obj for my calender app in ASP:
set objCal= server.CreateObject("bsCal.cDate")
Any one please help me to resolve this error.
Make sure the COM object (i.e. bsCal.cDate) is registered. Find its DLL and register it using regsvr32
Assuming you copied your dll to the folder d:\objects.
In a command prompt type:
regsvr32 d:\objects\YourDll.dll

Section or group name 'cachingConfiguration' is already defined - but where?

On Windows XP I am working on a .NET 3.5 web app that's a combination of WebForms and MVC2 (The WebForms parts are legacy, and being migrated to MVC). When I run this from VS2008 using the ASP.NET web server everything works as expected.
However, when I host the app in IIS and try to use it, I see the following error
Section or group name 'cachingConfiguration' is already defined.
Updates to this may only occur at the configuration level where it is defined.
Source Error:
Line 24: </sectionGroup>
Line 25: <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
Line 26: <section name="cachingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Caching.Configuration.CacheManagerSettings,Microsoft.Practices.EnterpriseLibrary.Caching, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
Line 27: </configSections>
Line 28:
Sure enough, if I remove the offending line (line 26 in the error message) from my web.config then the app runs correctly.
However, I really need to find out where the duplicate definition of this is. It's nowhere in my solution. Where else could it be?
Edit
Some additional information:
This is the only application I'm working on, so rather than add a virtual directory in IIS I've simply repointed the local path of the Default Web Site to point at my site.
You can check the machine.config file since all settings from it are inherited by your web application. In asp.net 4.0 a lot of things were moved there in order to decrease the complexity of the web.config file. The path to it is x:\$Windows$\Microsoft.NET\Framework\$version$\config\machine.config , where x:\$Windows$ is the directory in which Windows is installed on your machine and $version$ is your .Net framework version.