Quantcast
Channel: .NET Framework Setup and Servicing forum
Viewing all 3295 articles
Browse latest View live

Compile error when trying to use license.licx from 3rd party for a project using 4.0 runtime while the 3rd party controls are older runtimes.

$
0
0

I ran into a compile issue stating Error: "Mixed mode assembly is built against version of runtime v1.1.4322 and cannot be loaded in 4.0 runtime without additional configuration information" for a License.licx file from a 3rd party component included inside my Project I wanted to update to .Net 4.0

The problem was not in the license.licx file or the assembly, but lc.exe included with Visual Studio 2010 C:\<ProgramFilesFolder>\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\lc.exe

This is the exe that processes the license.licx file when compiling the project.

I needed to add support inside a config file in order resolve this error. So I created  a new lc.exe.config inside notepad and added this information then copied it to the same directory as the exe and now my license can be checked appropriately and my project can now use the .Net 4.0 Framework.

lc.exe.config

<?xml version ="1.0"?>

<configuration>

    <runtime>

        <generatePublisherEvidence enabled="false"/>

    </runtime>

      <startup useLegacyV2RuntimeActivationPolicy="true">

            <supportedRuntime version="v4.0"/>

      </startup>

</configuration>

Good luck if you run into the same issue.

Heath Morris



I am trying to install 'Microsoft .NET Framework 2.0 Setup

$
0
0
I am trying to install 'Microsoft .NET Framework 2.0 Setup, 
I am trying to install Lexmark printer 5600 series.

Can anyone help?

.NET Framework 4 has not been installed because HRESULT 0xc8000222

$
0
0

When I try to install .NET Framework 4 it gives me this error: HRESULT 0xc8000222.

And this I found in the Log File 

OS Version = 6.1.7600, Platform 2
OS Description = Windows 7 - x64 Ultimate Edition 
CommandLine = D:\f13d651d724dc25ac746\\Setup.exe /x86 /x64 /ia64 /web
TimeZone = GTB Standard Time
Initial LCID = 1048
Using Simultaneous Download and Install mechanism
Operation: Installing
Package Name = Microsoft .NET Framework 4 Setup
Package Version = 4.0.30319
User Experience Data Collection Policy: Disabled
Number of applicable items: 11
Exe (D:\f13d651d724dc25ac746\SetupUtility.exe) succeeded.
Exe Log File: dd_SetupUtility.txt
ServiceControl operation succeeded!
ServiceControl operation succeeded!
Exe (C:\Users\Aga\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu) failed with 0xc8000222 - (null).
Final Result: Installation failed with error code: (0xC8000222) (Elapsed time: 0 00:12:07).

What can I do to make it run normal?

MVC4

$
0
0

can u do a drop and drag to create a source code

Visual C#

$
0
0

Why different types of classes were introduced in visual c#.net?

what makes the new version of visual studio different from other versions of visual studio


HTTP 500 ManagedPipelineHandler from IIS

$
0
0

Hello,

Trying to access web api hosted on IIS 7.5 in Windows Server 208 R2 64bit.

Getting 500 Internal Server Error with no further detail. Nothing's written to application log file, doesn't seem like it makes it to the point when app starts writing logs. There's nothing in event viewer.

Failed Request Trace has this

ModuleName

ManagedPipelineHandler

Notification

128

HttpStatus

500

HttpReason

Internal Server Error

HttpSubStatus

0

ErrorCode

0

ConfigExceptionInfo

Notification

EXECUTE_REQUEST_HANDLER

ErrorCode

The   operation completed successfully. (0x0)

Running aspnet_regiis -I didn't help.

Application pool is "Integrated", points to 4.0 framework. Enable 32bit application = True.

It works on identical 2008 server with all the same IIS settings (at least I can't find any difference). One difference is that nonworking server is a virtual machine.

Any advice?

Thanks.


Isolda


.net 4 framework fails to install on XP Pro SP3

$
0
0

(A) On Windows XP Professional SP3,  I cannot get the .NET 4.0 Framework to install.  If I run either of the following programs, nothing happens:

  • dotNetFx40_Full_setup.exe
  • dotNetFx40_Full_x86_x64.exe

dd_dotNetFx40_Full_x86_x64_decompression_log.txt

[12/8/2010, 13:29:23] === Logging started: 2010/12/08 13:29:23 ===
[12/8/2010, 13:29:23] Executable: D:\path_removed_for_privacy\dotNetFx40_Full_x86_x64.exe v4.0.30319.1
[12/8/2010, 13:29:23] --- logging level: standard ---
[12/8/2010, 13:29:23] Successfully bound to the ClusApi.dll
[12/8/2010, 13:29:23] Error 0x800706d9: Failed to open the current cluster
[12/8/2010, 13:29:23] Cluster drive map: ''
[12/8/2010, 13:29:23] Considering drive: 'A:\'...
[12/8/2010, 13:29:24] Drive 'A:\' is rejected because of the unknown or unsuitable drive type
[12/8/2010, 13:29:24] Considering drive: 'C:\'...
[12/8/2010, 13:29:24] Considering drive: 'D:\'...
[12/8/2010, 13:29:24] Considering drive: 'E:\'...
[12/8/2010, 13:29:24] Considering drive: 'I:\'...
[12/8/2010, 13:29:24] Drive 'I:\' is rejected because of the unknown or unsuitable drive type
[12/8/2010, 13:29:24] Considering drive: 'J:\'...
[12/8/2010, 13:29:24] Drive 'J:\' is rejected because of the unknown or unsuitable drive type
[12/8/2010, 13:29:24] Considering drive: 'K:\'...
[12/8/2010, 13:29:24] Drive 'K:\' is rejected because of the unknown or unsuitable drive type
[12/8/2010, 13:29:24] Considering drive: 'M:\'...
[12/8/2010, 13:29:24] Drive 'M:\' is rejected because of the unknown or unsuitable drive type
[12/8/2010, 13:29:24] Considering drive: 'Z:\'...
[12/8/2010, 13:29:24] Drive 'Z:\' is rejected because of the unknown or unsuitable drive type
[12/8/2010, 13:29:24] Drive 'C:\' has been selected as the largest fixed drive
[12/8/2010, 13:29:24] Directory 'C:\788875cedfed7260b1\' has been selected for file extraction

end of file

 

(B) Checking the directory C:\788875cedfed7260b1\ shows no files.

(C) I have manually extracted  dotNetFx40_Full_x86_x64.exe to a temporary folder.  From there I attempted to run setup.exe.  I get the following error:

Installation Blockers:
  1. You cannot use this setup program to install the .NET Framework. For more information, see theReadme file .

[12/8/2010, 13:0:35] Global Block Checks: StopBlockers evaluated to true.
[12/8/2010, 13:0:35] Final Result: Installation failed with error code: (0x000013EC), "A StopBlock was hit or a System Requirement was not met." (Elapsed time: 0 00:00:01).

 

(D)  As recommended in other discussion threads, I have run collect.exe.  vslogs.cab is shared here:

http://cid-6ab73d2a7b4943b1.office.live.com/browse.aspx/.Documents?Bsrc=EMSHOO&Bpub=SN.Notifications

 

Please advise on how to correct this installation failure.  This is blocking the installation of other software, and I'm completely stumped on how to fix it.

 

Thanks in advance,

David Marks

 

Can you use My.Computer with VB.net framework 3.5

$
0
0

I've used this in VB before so should I be able to add the Microsift.Visualbasic.Devices namespace to a VB.net project so I can use the My.Computer. object(s)?

I primarily want to use this to test for computer connections via something like My.Computer.Network.Ping("127.0.0.1") to find out if a remote system is alive or not. But some of the other internal functions would be useful as well…

So can this be done, am I missing something here? What references, DLLs (if any) would I need to add to get this functionality?

A part of this system (data collection) is going to be on windows CE, so can it be used there as well?


I’ve Googled but can’t find anything that answers my questions.

I hope someone can help.


window 7 32 bit client machine dot net exe running in IE8 or IE9 from server security warning file download issue

$
0
0

Help me in the issue, Asp dot net exe which run from server in IE 8 window 7 32 bit client machine show security file save download message. This app was running fine if we don't apply any window 7 or IE8 patches. same issue when running in IE9. I already run the caspol, add the server link to trusted site with low security. I wonder why it was working fine without any patches.
I just found that client machine win 7 32 bit has dot net 4.5.1 installed when updated all the patches. after uninstall the dot net 4.5.1. the application worked fine. now I wonder what are the settings need to change to run the application with dot net 4.5.1 installed on machine. as Microsoft always has these things in window updates. thanks in advance.

.NET Framework 4 unable to install on Windows 7 64-bit

$
0
0

Hi, I've searched around for possible fixes for this problem but I had no luck in being able to install .NET.

A few seconds after attempting to install Microsoft .NET Framework 4 Client Profile, a message pops up, saying that".NET Framework 4 has not been installed because:

The requested operation failed. A system reboot is required to rollback changes made."

Methods I've tried:

1. Uninstalling my current .NET Framework 4, then rebooting/restarting and reinstalling .NET

2. Using the .NET Framework Cleanup Tools to clean all versions of .NET, rebooting then reinstalling

3. Installing while my computer was in a clean boot state

Regardless of what I do, all of these methods ended up with the same "system reboot is required" message after failed installation. It seems that rebooting/restarting my computer wouldn't do anything..

I've used the .NET Framework 4 (Standalone installer) for these methods.

If it helps (doubt it), I was initially trying to install AutoCAD on this computer, and realised that AutoCAD wouldn't install because of .NET Framework 4 being either outdated or not on the same version as AutoCAD requires.

Thanks.


Error 0xc8000222 installing .NET 4.0.30319 on win7-32

$
0
0

Please Help....................

Error 0xc8000222 installing .NET 4.0.30319 on win7-32

With log

OS Version = 6.1.7600, Platform 2
OS Description = Windows 7 - x86 Ultimate Edition 
CommandLine = E:\17d48784d7a8a9c3f46a51c5782437f9\\Setup.exe /x86 /x64
Using Simultaneous Download and Install mechanism
Operation: Installing
Package Name = Microsoft .NET Framework 4 Client Profile Setup
Package Version = 4.0.30319
User Experience Data Collection Policy: Disabled
Number of applicable items: 8
Exe (E:\17d48784d7a8a9c3f46a51c5782437f9\SetupUtility.exe) succeeded.
Exe Log File: dd_SetupUtility.txt
ServiceControl operation succeeded!
Exe (E:\17d48784d7a8a9c3f46a51c5782437f9\Windows6.1-KB958488-v6001-x86.msu) failed with 0xc8000222 - (null).
Final Result: Installation failed with error code: (0xC8000222) (Elapsed time: 0 00:00:43).

.Net Framwork Setup Error

$
0
0

I have .Net Framework 3.0.

When i try to install 3.5, at the end of the installation it says "Setup Error" and quits.

I have all the .Net Framework sub features turned on but it doesn't help.

I have also tried .Net Framework Cleanup tool, but still no luck.

Any help?

.NET 4.0 fails install on Windows 7 Pro SP1

$
0
0

Hello - I recently purchased 2 applications that require .NET 4.0 in order to run. They both fail to install it. I tried manually and got this (2 last lines) of the log file:

Exe (C:\Users\user\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu) failed with 0x80080005 - Server execution failed .


Final Result: Installation failed with error code: (0x80080005), "Server execution failed " (Elapsed time: 0 00:02:15)."

If you can help with this I would appreciate it very much.

John Sphar

The whole logfile is:

OS Version = 6.1.7601, Platform 2, Service Pack 1
OS Description = Windows 7 - x64 Service Pack 1
CommandLine = C:\952422f2edfcd6a165b0fc88f078\\Setup.exe /x86 /x64 /ia64 /web
TimeZone = Pacific Daylight Time
Initial LCID = 1033
Using Simultaneous Download and Install mechanism
Operation: Installing
Package Name = Microsoft .NET Framework 4 Setup
Package Version = 4.0.30319
User Experience Data Collection Policy: AlwaysUploaded
Number of applicable items: 11
Exe (C:\952422f2edfcd6a165b0fc88f078\SetupUtility.exe) succeeded.
Exe Log File: dd_SetupUtility.txt
ServiceControl operation succeeded!
ServiceControl operation succeeded!
Exe (C:\Users\user\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu) failed with 0x80080005 - Server execution failed .
Final Result: Installation failed with error code: (0x80080005), "Server execution failed " (Elapsed time: 0 00:02:15).


Problems with Net Framework

$
0
0

I get this error and alot more whenever I try to use net framework. If anyone could please help me I would gladly appreciate it.

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Object reference not set to an instance of an object.

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Management.ThreadDispatch.Start()
   at System.Management.ManagementScope.Initialize()
   at System.Management.ManagementObject.Initialize(Boolean getObject)
   at System.Management.ManagementObject.Get()
   at HWIDGetter.Form1.button1_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18449 built by: FX451RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
HWIDGetter
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/f1408/Downloads/HWIDGetter(1).exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Management
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Visual Studio 2013 upgrade edition

$
0
0

I'm thinking of upgrading from VS 2010 to 2013. On microsoft webstore there is the full version and the upgrade edition. Is it enough to have VS 2010 legally installed on your computer in order to buy and succesfully upgrade to 2013 using the cheaper upgrade edition?

Another question, do you have to buy it from your "local" webstore in your own country? The prices vary...

I understand if someone thinks it's stupid to pose these questions here, but the explanation and information on the webstore is insuficient, and that's why I'm doing it. Hopefully someone agree with me on that.

Thanks for any help!

John


adding custom404 to web.config

$
0
0

Hello, I've created a new project and added a Custom404Page tag. When I start the project and visit a page that doesn't exist, I'm not seeing my custom page. It's taking me to the default page. Below is what I added in my web.config file. I want to use this technique for the 404 page, but it doesnt seem to work:

<appSettings>
<
addkey="Custom404Page"value=http://mysite.com/Custom404Page.asp/>
</appSettings>

 

Visual Studio 2012 Ultimate Downloaded from DreamSpark Fails Installation - Missing WebDeploy_x64.msi

$
0
0

Greetings,

I downloaded VS2012 Ultimate from DreamSpark (college faculty) and began an install on my Win7 64 bit/8GB RAM desktop.  It failed and reported "Unable to locate source" and listed C:\VS2012Download\Visual Studio Ultimate 2012 (x86) - Web Installer (English)\packages\WebDeploy\WebDeploy_x64.msi as the missing file.   After I cancel I receive the final message:  "A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.".

I also have a clean Azure instance of 2008 Svr R2 that I attempted the installation on and received the same results.  I suspect the download.  Any ideas?

Thanks much!


Tom Affholter


.NET Framework 4.0 installation - Fatal error 0x80070643 Windows 7

$
0
0

Hi, I am running Windows 7 ultimate SP1. I downloaded .NET Framework from http://www.microsoft.com/en-us/download/details.aspx?id=17851.

I get Fatal error 0x80070643. I have tried installing as Run As Administrator, disabled virus scan ...  I would appreciate any assistance.

This is from the log file, please let me know if you need anything else. (The entire log file was too large to include here)


[9/25/2012, 18:12:49] Returning IDOK. INSTALLMESSAGE_ERROR [There is a problem with this Windows Installer package. Please refer to the setup log for more information. ]
[9/25/2012, 18:12:54]MSI (C:\28ba83b0f09d4eafe7\netfx_Extended_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20120925_181144654-MSI_netfx_Extended_x64.msi.txt
[9/25/2012, 18:12:54]PerformOperation returned 1603 (translates to HRESULT = 0x80070643)
[9/25/2012, 18:12:54]OnFailureBehavior for this item is to Rollback.
[9/25/2012, 18:12:54] Action complete
[9/25/2012, 18:12:54]Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:01:10).
[9/25/2012, 18:12:54] Action complete
[9/25/2012, 18:12:54] Action complete

Communication with the underlying transaction manager has failed.

$
0
0

Hi,

I am getting an error from my machine of MSDTC.

Communication with the underlying transaction manager has failed.

Client machine config

XP Pro with 2002 SP3

Visual Studio 2010  

Kindly help me to solve this issue.

Thanks.

Regards, 

Dennis Nilson

Exception after installing the setup

$
0
0
  In windows application C#, the access database file is missing for the first time when I run the setup.
I have attached the snapshot of the error which occur for the first time and later on when i Quit the process and again run the setup every thing works fine and the setup runs perfectly alright.
      I can't understand the exact issue with the setup. So could you please  help to solve the setup problem.
Viewing all 3295 articles
Browse latest View live