CJ

The circle of life – ** .Net – Training – MOSS **

  • Past Post

  • Vistor Locations

Winforms SideBySide Error on installation

Posted by Clayton James on July 24, 2006

********************************************************************************************

UPDATE: 01/Aug/2006

I came across another SideBySide error the other day on a friends PC. Their error was a little different to the post described below.
Event Type:     Error
Event Source:   SideBySide
Event Category: None
Event ID:       9
Date:           26/07/2006
Time:           9:21:13 AM
User:           N/A
Computer:       XXXX9
Description:
Syntax error in manifest or policy file “XXXX\XXXXX.exe.Config” on line
2. The manifest file root element must be assembly.
FIX: Remove the xmlns element in the app.config file and all worked perfectly.
<configuration xmlns=”http://schemas.microsoft.com/.NetConfiguration/v2.0“>

***********************************************************************************************

I came across a very unusual error a couple of days ago when trying to install a Winform 2.0 application (previously written in 1.1) on a XP OS (W2K was fine). The error didn’t give me any real information except to check the event log (which also didn’t give me any real information).

Two event logs were written:
Event Type: Error
Event Source: SideBySide
Event Category: None
Event ID: 59
Generate Activation Context failed
Syntax error in manifest or policy file
After a fair bit of googling (sifting through crap) it was a very simple fix.

The Winform app.config file had a setting <?xml version=”1.0″ encoding=”Windows-1252″?>. I changed this to <?xml version=”1.0″ encoding=”utf-8”?> and wholla everything installed and ran.

I am not sure on the encoding differences here or why it didn’t work under the initial encoding setting.

  • Initail app Winfom .NET 1.1
  • Everything installed and ran fine
  • Upgraded Windform app to .NET 2.0
  • On installation on XP SP2 machines I was receiving a SideBySide error
  • Change encoding setting in app.config from Windows-1252 to utf-8
  • Built setup files
  • Installed fine on XP client machines

If anyone wants to eleborate in the differences between encoding’s or why there was a problem with XP encoding Windows-1252 then please do so.

Advertisements

52 Responses to “Winforms SideBySide Error on installation”

  1. fg said

    Sweet dude – thanks for the info. I got the same error installing a WinForms App on XP SP2. Followed your directions and it installed!

    Thanks again for publishing the info!

  2. CJ said

    Glad it helped you out. Thanks for the kind words.
    CJ

  3. AW said

    Thanks CJ, that fixed it

  4. MK said

    Could you explain to my how the change? I have the same problem. How do i get to app.config?
    thanks in advance

  5. CJ said

    Hi MK

    The app.config is a file that you can add/view using the Visual Studio IDE. It allows the developer to put application specific information into that file that gets injected into the application when it is complied. If a change is detected in the file at run-time the application is recomplied with the new updates.

    However, cnce an application is deployed this file’s name gets changed to myapplication.exe.config

    You may need to get a developer to change the app.config file as described above and redeploy the application.

    Note: myapplication is whatever your application name is.

    Hope this helps.
    CJ

  6. Iván said

    A couple of hours you saved of my time… thanks!!

  7. Scott said

    I’m receiving an SideBySide error under the Service Control Manager error in the Windows Event Viewer Log. I’m not sure how I proceed to make the changes in this recommended fix. Can anyone help me?

    This is my business computer, I need it fixed ASAP if I can.

    Thanks!

  8. Help! said

    It could be Adware
    Check this out:
    http://www.symantec.com/security_response/writeup.jsp?docid=2005-070514-5200-99&tabid=3

  9. Jake said

    I am recieving an sidebyside error, event 33. Here are the details. Can anyone help?
    Microsoft.VC80.CRT,processorArchitecture=”x86″,publicKeyToken=”1fc8b3b9a1e18e3b”,type=”win32″,version=”8.0.50727.762″ Could not be found.Please us sxstrace.exe for complete diagnosis.

    Thank you

  10. Brian said

    I had the exact same problem that Jake reported…after searching FOREVER on the ‘net…i finally found the suggestion to install the following:

    http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&displaylang=en

    After this was installed, the error went away and the app now works :_)

  11. Floroskop said

    Hello!
    I think this try.

  12. NSM said

    Whoa! Worked like a charm. Saw the same SxS error messages in the system log (#59), as well as #58, indicating a “Syntax error in manifest or policy file”. Changed to utf-8, everything works!

    Still a noob when it comes to this stuff. The only thing I could think of is that there may be a setting I missed either in VS it’s self, or in the code. 200K lines to go sift through.

    Thanks!

  13. Mr.x said

    I recently had to reinstall my parent’s computer, after a fresh install and reformat, I get a “Side-By-Side” Error with a code 33, I’ve been doing a lot of configuration, modifications, heck… I even updated the computer and I am currently going to update the bloody-drivers… SO far the entire system is up tp daue, except a few driver, but I will try what you said, along with doing a few anti-virus\spy scans… Hopefully this works, great bit of info too.

  14. Pogo said

    Thanks Brian!
    That link to Visual C++ 2005 SP1 Redistributable Package (x86) solves my problem also.
    Cheers.

  15. Ervin Ter said

    Thanks a lot. I have being struggling around this error for half day.

  16. Alan said

    Hi folks

    This is mostly Swahili to me but thanks Brian for the link to the Microsoft C++ patch

    http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&displaylang=en

    I needed to install the Office Live Meeting client and got this side-by-side error too, never seen it before. I’m running Vista Home Premium.

    FYI if anyone has the same problem, you may need to install the patch and then reboot before you can install Office Live Meeting, I had to.

    Cheers

  17. Mikebruce said

    very well written..cheers

  18. Hoody said

    OK don’t know if this blog is still active but here goes

    Been trying to install/run any version past 3.1.70.73 pf this Picasa program from google, NO version past the one I have will install, ie bld’s 71.28, 71.32, 71.36, and now 71.40

    I already have this vcredist file installed, it doesn’t help.

    What the hell is this mess that keeps programs from installing even on Vista Home Premium?

    Log Name: Application
    Source: SideBySide
    Date: 4/30/2009 12:08:30 PM
    Event ID: 59
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: HOODY-PC
    Description:
    Activation context generation failed for “C:\Users\HOODY\AppData\Local\Temp\PicasaUpdater_326e.exe”.Error in manifest or policy file “C:\Users\HOODY\AppData\Local\Temp\PicasaUpdater_326e.exe” on line 0. Invalid Xml syntax.
    Event Xml:

    59
    2
    0
    0x80000000000000

    87889
    Application
    HOODY-PC

    C:\Users\HOODY\AppData\Local\Temp\PicasaUpdater_326e.exe
    C:\Users\HOODY\AppData\Local\Temp\PicasaUpdater_326e.exe
    0

  19. It is good too read your blog again dude, i see some interesting updates here…

  20. kingsoft pc doctor…

    Winforms SideBySide Error on installation « CJ…

  21. Scott Teibert said

    And it’s still useful 🙂
    I only wish I Googled this two hours ago!

  22. van tai, van tai hang, thfue xe tai, thue xe cho hang, van tai hang hoa, van chuyen,thue xe tai, thfue xe tai, thue xe cau,…

    […]Winforms SideBySide Error on installation « CJ[…]…

  23. Asking questions are in fact good thing if you are not understanding
    anything fully, however this post presents nice understanding even.

  24. I am facing legal proceedings for alleged non-payment
    of a Paphos Car Hire in Nepal? One of the firm’s Rolls RoycesAs part of the fleet – a T-reg 2.

  25. When I am happy, I should thank Allah SWT for his bounties, and when the download is complete, the new phone you can see just below
    in the gallery. GSM will likely come down to which carrier you’re on, and then throw the peel over your left shoulder. Lotions and gels provide you with a quality farmacia on line technician school or training course.

  26. After looking over a few of the articles on your web page, I really like your way of blogging.
    I saved it to my bookmark website list and will be checking back soon.
    Please visit my web site as well and tell me what you think.

  27. Wilbert said

    Thanks for sharing your thoughts on website
    promotion. Regards

  28. Hey! I simply wish to give an enormous thumbs up for the
    good info you’ve gotten here on this post.
    I will likely be coming back to your blog for extra soon.

  29. Zak said

    My coder is trying to persuade me to move to .
    net from PHP. I have always disliked the idea because of the costs.
    But he’s tryiong none the less. I’ve been using WordPress on
    a variety of websites for about a year and am nervous about switching to another
    platform. I have heard fantastic things about blogengine.
    net. Is there a way I can import all my wordpress content into it?

    Any kind of help would be really appreciated!

  30. What a material of un-ambiguity and preserveness of precious know-how regarding unexpected feelings.

  31. Roslyn said

    Though the levels look really simple, they are actually
    quite challenging. This means to sell your mods would be considered the same as pirating the
    game itself. Online gaming is a popular way to spend enjoyable time at a low cost for hours on end.

  32. Marla said

    After checking out a handful of the blog articles on your website, I truly appreciate your technique of blogging.

    I bookmarked it to my bookmark webpage list and will be checking back soon.

    Take a look at my web site as well and let me know what you think.

  33. voyance said

    I don’t drop many responses, however i did a few searching and wound up here Winforms SideBySide Error on installation CJ. And I actually do have a couple of questions for you if you usually do not mind. Could it be simply me or does it look like a few of the comments come across like coming from brain dead people? 😛 And, if you are writing at other sites, I’d like to keep up with everything fresh you have to post.
    Would you make a list of every one of your communal sites like your linkedin profile, Facebook page or twitter feed?

  34. voyance said

    I know this web site gives quality depending content and extra
    data, is there any other web page which presents such data in quality?

  35. Thanks for ones marvelous posting! I definitely enjoyed reading
    it, you may be a great author. I will be sure to bookmark your
    blog and will eventually come back later in life.

    I want to encourage you continue your great work, have a nice morning!

  36. I am genuinely glad to glance at this blog posts which includes tons of helpful
    data, thanks for providing these information.

  37. Elmer said

    Improving our carbon footprints should be done in every aspect of our lives including our children’s birthday parties. The square two tier with 5 and 8″ for a serving up to 25 people range to $165; the 6 and 10″ for a serving of up to 50 people range to $275; and the 8 and 12″ for a serving up to 75 people range to $450. Next thing to do is to pour the space cake batter into the pan & put it in the oven for about 25 minutes.

  38. Even though your goal is just to lose 5 pounds in a week, you should be strict with
    what you do so as not to inadvertently undo all your hard
    work for vegetarian weight loss. Vinson had participants keep
    their normal diet and exercise routines (or lack thereof) and
    merely added the green coffee. That way, the actual process will end up
    being much less frustrating and, for the majority of people, enjoyable.

  39. Paige said

    a Bruce Lee workout includes stretching, bending, running, dipping, kicking, jumping, traditional muscle building exercises, weight lifting, rope skipping, medicine ball handling, etc.

    Authorities inside the area will need to have an intensive understanding of laboratory and labeling techniques, infection security precautions, appropriate
    blood attract approaches to the elderly and for infants and
    even more. Then leave it a while until your tummy lets you know that
    you’re hungry again before opting for a healthy snack.

  40. Dieter said

    What a data of un-ambiguity and preserveness of valuable know-how about unpredicted feelings.

  41. Pre wedding session also adds more confidence and you may feel more self-confident during photo-shoot out session in the big day.
    Wedding photographer is the most significant man in the wedding.
    Fun baby toys for sand play are perfect for children who cannot swim and play on the water.

  42. Merrill said

    I used to be able to find good advice from
    your content.

  43. Hmm it seems like your site ate my first comment (it was extremely long) so
    I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your
    blog. I as well am an aspiring blog blogger but I’m still new to the whole thing. Do you have any points for inexperienced blog writers? I’d really appreciate it.

  44. Thanks for this inspiring content. I really enjoyed it
    lots. What you have done is pretty inspirational.

    |
    This is really inspirational content. I would like to
    use your style to better my own content on my blog.

  45. The American Dental Association (ADA) provides a record of
    suggestions for folks who are selecting a dentist. It recommends that
    individuals seek advice from friends and acquaintances, including
    family doctors, when searching for a dental care provider.

  46. In fact, with the sophistication of today’s web conferencing technologies, Internet meetings can be
    just as interactive and engaging as face-to-face meetings.
    I get creative with my woodstove to save any propane that I can.
    Those of us who work from home can tell you it takes discipline to keep
    from visiting the refrigerator every half hour, to keep phoning clients instead of doing
    the laundry, to fend off friends who (for some mysterious reason) cannot understand anyone being home not being available for chit chat at
    all hours.

  47. Today, I went to the beach with my children. I found a sea shell and gave it to my
    4 year old daughter and said “You can hear the ocean if you put this to your ear.” She placed the shell to her ear and screamed.
    There was a hermit crab inside and it pinched her ear.
    She never wants to go back! LoL I know this is completely off topic but
    I had to tell someone!

  48. Make your part time online jobs. no skill necessary from your place then you can
    start now. Earn 50-1000 USD $ per day, depending on how much you want to earn!

    No need ATM card or nothing to buy Work at your favorite places, you must
    have Internet access! Start NOW then join a great community who are already working at your own home.

  49. Hmm is anyone else encountering problems with the images on this
    blog loading? I’m trying to find out if its a problem on my end or if it’s the blog.
    Any feed-back would be greatly appreciated.

  50. What a data of un-ambiguity and preserveness of valuable know-how concerning
    unpredicted feelings.

  51. I loved as much as you’ll receive carried out right here.

    The sketch is attractive, your authored material stylish.
    nonetheless, you command get got an edginess over that you wish be delivering the following.
    unwell unquestionably come further formerly again since exactly the same nearly very often inside case you shield this increase.

  52. I was pretty pleased to find this great site.
    I want to to thank you ffor your time just for this wonderful read!!
    I definitely appreciated every little bit of it and i also have youu saved ass a
    favorite to check out new things on your blog.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: