Aaron Stebner's WebLog

Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio

Unified .NET Framework Troubleshooting Guide

Unified .NET Framework Troubleshooting Guide

Rate This
  • Comments 96

Details about the .NET Framework 2.0 setup packaging

Error codes that can appear during .NET Framework setup

How to repair a broken version of the .NET Framework that ships with the OS

How to resolve some specific types of .NET Framework setup failure

.NET Framework service pack install issues

Where to find log files

Useful tools

Deployment Guides

Other references

 

  •  Have a Q.. The main error showing in the .NET Framework box is

    "System.InvalidCastException: Conversion from string "<!DOCTYPE HTML PUBLIC "-//W3C//D" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format."

     I have tried a couple of the fixes, however, so far nothing touches it. I have the whole error log saved just didn't want to post something that large here. Should I go on to the next attempt and just reinstall? And if so I have Win 7 Ultimate .. what all versions do I need reinstall? Can I just do an install of ver 4 and that bring the whole thing up to speed?

      Sry, so full of questions, but, this is first time dealing with this particular error type.

  • Hi Livin_Target - On Windows 7, the .NET Framework 2.0 SP2, 3.0 SP2 and 3.5 SP1 are all installed as OS components.  You can use the Windows Features control panel (optionalfeatures.exe) to hide and re-show the .NET Framework 3.0 and 3.5, and doing that might help repair those versions.  That won't help for the .NET Framework 2.0 though.  You'll need to use steps like the ones at blogs.msdn.com/.../how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx to repair that version of the .NET Framework.

    You can also proceed with installing the .NET Framework 4 and that might help solve this problem as well.

  • An error occured during installation of Quicken related to assembly error. something like assembly componedt

  • Hi

    I have a clickonce deployed application in my machine. When I tried to load the application, 90% of the application window is getting loaded but finally, I get the following error:

    Could not load file or assembly '0 bytes loaded from System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. An attempt was made to load a program with an incorrect format.

    I have read somewhere that this error could be caused when something goes wrong with the .net framework in the machine. My machine is having .Net framework 1.1, 2.0 and 3.0. So which framework should I reinstall? The application is developed using .net 2.0. Also, please let me know how the application is partially loading(90%) if the framework is corrupted.?

    Regards

    Anoop.

  • Hi Maxi - Installation errors related to assembly components can be caused by the application itself or by the .NET Framework.  Do you have any more specific information about the error that you're seeing so I can try to narrow this down further?

  • Hi Anoop - This type of error could be caused by the .NET Framework being in a bad state on your computer.  I'd suggest trying to install the .NET Framework 3.5 SP1 (which will install the .NET Framework 2.0 SP2 and 3.0 SP2 behind the scenes) to see if that helps resolve this error.  If that doesn't help, then I'd suggest posting a question on the ClickOnce forum at social.msdn.microsoft.com/.../threads to see if someone there can suggest some additional troubleshooting steps for you to try in this scenario.

  • hi aaron... I have a completely new computer and apart from an antivirus programme and Microsoft Office I have not intalled anything yet. Windows 7 was preinstalled. I have been getting a Microsoft.NET Framework exception message:

    System.IO.IOException:

      at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

      at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)

      at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)

      at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)

      at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)

      at System.IO.StreamWriter..ctor(String path)

      at Toshiba.OOBE.Common.RegistrationSettings.Save()

      at Toshiba.OOBE.Reminder.ReminderForm.reminderTimer_Tick(Object sender, EventArgs e)

      at System.Windows.Forms.Timer.OnTick(EventArgs e)

      at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

      at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    what should I do?

  • Hi Michelle - This looks like a problem with a Toshiba registration program as opposed to a problem with the .NET Framework.  I'd suggest trying to contact Toshiba to see if there are any known issue with this program or any troubleshooting steps that that can suggest to solve this type of error.

  • After wandering through this and any number of other sites dealing with .NET 3.5 install problems I found a solution that may be unique or may be helpful to others. Give it a try before you go completely bald: Uninstall MSXML 6.0 SP2 then try the .NET 3.5 SP1 install. Worked for me. If it works for you send me a gazillion dollars...or give $25 to your favorite charity.

    --Tinker

  • Just thought I'd post this solution to my problem that has taken me 2.5 days!!

    I could not install .net 3.5 as it was crashing when trying to install .net 2

    I was getting:

    error 25015 failed to install assembly system.messaging

    in the log was a message:

    ***warning***: cannot obtain mscoree.dll version at c:\windows\system32\mscoree.dll"

    and crashes involving:

    visualstudio8setup (even though this wasnt installed anymore)

    Tried .net cleanup tool, asl resetting tool, etc was at the end of my tether, thinking about a fresh install of windows XP, then I did this and it worked:

    rename C:\WINDOWS\assembly to C:\WINDOWS\oldassembly

    Warning, this is a bit drastic: I wouldn't be surprised if that broke any .net apps you have so you would have to reinstall etc.

  • I have been trying to install Quicken 2011 but keep getting "Error: 1935 An error occured during the installation of assembley componant 76C3F0F6-9B9D-35DA-81C6-CA8A88CC93CA. HRESULT:0x8007010B" Have restarted and tried to reinstall but still get the error message.  How can I get this installed?

  • Hi Margie - I'd suggest trying to use the System Update Readiness Tool and the steps listed at blogs.msdn.com/.../9303167.aspx to see if they help in this scenario.

  • I try to install  .NET Framework 3.5 , result

    [03/01/11,20:16:28] Microsoft .NET Framework 3.5 'package': [2] Error: Installation failed for component Microsoft .NET Framework 3.5 'package'. MSI returned error code 1603

    I made a lofgile vslogs.cab; but the vs2008deployment@hotmail.com doesn't exist anymore

    Where can I send the logfile to resolve the problem?

    Dominik

  • Hi Dominik Lambrechts - Can you please upload your vslogs.cab to a file server (such as http://skydrive.live.com), then reply back here and provide a link that I can use to download your log files and take a further look?

  • Aaron,

    the link is

    cid-c8a3d6e05f2c95cf.skydrive.live.com/redir.aspx

    Here some history (maybe it helps):

    I needed the Microsoft .Net 3.5 SP1 for a purcased package; but I saw that there was Microsoft .NET Framework 4, which I installed.

    But the package needs 3.5 SP1 and trys to install it; then I used the dotnetfx_cleanup_tool.zip

    and tryd to install 3.5 SP1 (MSI returned error code 1603).

    regards,

    Daminik

Page 4 of 7 (96 items) «23456»
Leave a Comment
  • Please add 3 and 5 and type the answer here:
  • Post