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

Web Service

$
0
0

hello,

when i am adding web service  in .net framework 4.0 i am not finding reference.cs in reference.map.


Visual Studio does not detect .NET Framework 4.5

$
0
0

I get this error message in VS2013pro when trying to load an ASP.net web site :

Error Message when opening the web site

It is mind boggling. The error message is not logical (change... to 4.5... you can change back to ... 4.5..).

I tried a few things. First, to download 4.5 anew but as soon as I launched the installer, I got a message that 4.5 was already installed on my system?

This web site was created more than a year ago and I must have updated to 4.5 by now, to work on other projects. I suppose it was created in 4.0?

Still, when I run the web site, under Edge, there are no issues I can can see.

But when I try to make edits to the code, in Design view, I get error messages, such as :

Error Creating Control - asp:hyperlink Failed to create designer 'System.Web.UI.WebControls.HyperLink, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

And :

Error Creating Control - ScriptManager1 Failed to create designer 'System.Web.UI.ScriptManager, System.WebExtensions, Version-4.0.0.0, Culture-...

And :

Error Creating Control - UpdatePanel1 .... Version 4.0.0.0

--

I ran the 'netfx_setupverifier.exe' which reported that .NET 4.0, 4.5, 4.5.1, 4.6, 4.6.1 were all installed on my system with no issues detected.

I ran the NetFxRepairTool.exe and the issues detected (minor) were fixed. It invited me to attempt reinstalling 4.5.

But as soon as the 4.5 installer ran, it immediately reported 4.5 was already installed. (Can't fool this one)

Could be my Registry is broken but I suspect I need to "update" all References in my Project to 4.5?


IIS Impersonate prompting for password first time

$
0
0

We have a asp.net IIS Web App setup and impersonating is working, but it is prompting the user for a user/password the first time.  Is there a way to set it up so it doesn't prompt for user password the fist time?

Setup:

--------------------

IIS Authentication:

Basic Enabled

asp.net Impersonation Enabled

Anonymous Disabled

Forms Distabled

Windows Disable

-------------------

Application Pool: Set to run as an AD Account:

The AD Account has 

SPN:  http/servername

Delegation enabled and trust is set for the SQLServers.

AD Account has permissions to the Application Folder

Users have access to the Webfolders. 

web.config

    <authentication mode="Windows" />   
    <identity impersonate="true" />

  <system.webServer>
    <directoryBrowse enabled="false" />
    <security>
        <authentication>
            <!--<anonymousAuthentication enabled="false" />-->
          <windowsAuthentication enabled="true">
                    <providers>
                        <clear />
                        <add value="NTLM" />
                        <add value="Negotiate" />
                    </providers>
                </windowsAuthentication>
        </authentication>
    </security>


DEM

JIT Debugging Error

$
0
0

I am Attempting to Set Up a Program by the Name of VOICE ATTACK. it enables you to control various functions within game via Voice vs Keyboard, mouse, or gamepad.   Unfortunately, I've been unable to use the software due to a JIT Debugging error. I've attempted to track down and fix this error, but other than Moderators asking WHY, no one has any real Answers on a Solution.

I'm not a Computer Tech, Never been that great at programming, i fear without someone to either walk me through it, or by laying out a step by step on a Solution, the outcome is gonna be a dead computer. 

ANY help would be gratefully appreciated. 

Below is the Error i have received.  ------------------------------------------------------------------------------------------

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.Speech.Recognition.RecognizerBase.add_AudioSignalProblemOccurred(EventHandler`1 value)
   at System.Speech.Recognition.SpeechRecognitionEngine.add_AudioSignalProblemOccurred(EventHandler`1 value)
   at VoiceAttack.frmMain.‡()
   at VoiceAttack.frmMain. (Object , EventArgs )
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at . .OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at VoiceAttack.frmMain. (Message& )
   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.6.96.0 built by: NETFXREL2STAGE
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
VoiceAttack
    Assembly Version: 0.0.0.1
    Win32 Version: 1.5.12
    CodeBase: file:///C:/Program%20Files%20(x86)/VoiceAttack/VoiceAttack.exe
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.81.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1075.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.81.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1068.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.81.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Speech
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------
PresentationFramework
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1080.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1080.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
PresentationCore
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1080.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
System.Xaml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1080.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
{4d4e17a3-6e35-428a-bd78-afe6ab54f012}
    Assembly Version: 0.0.0.0
    Win32 Version: 1.5.12
    CodeBase: file:///C:/Program%20Files%20(x86)/VoiceAttack/VoiceAttack.exe
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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.

Entity Framework

$
0
0

Hi,

When creating a data model to use entity framework, what is the best practice regarding selecting tables? Should I select all tables or just the tables I would be using?

Thank you.

Cant instll .Net Framework

$
0
0

I have tried every thing google search returns to install the .Net framework

Nothing works.

Microsoft update doesn't help, it keeps searching for updates, (stuck in loop?) after 8+ hours.

I get  'Fatal Error" message when trying to install.

Please advise

Tried attaching log file but get an error about posting links.

.NET Core Installation Failure

$
0
0

I'm trying to install the Microsoft .NET Core 1.0.1 - SDK 1.0.0 Preview 2-003133 on my Windows 10 Professional after installing the Visual Studio Code editor.

I'm getting Setup Failed

One or more issues caused the setup to fail.

0x80070652 - Another installation is already in progress.  Complete that installation before proceeding with this install.

----------------------------------------------------

I've tried to remove any previous installation, but nothing is working. 

Ideas?

Chris

Any time frames from .NET 4.6.x to be distributed via windows update ?

$
0
0
We have a lot of Windows 7 machines running with .NET 4.5.2. Is there any estimations for .NET 4.6.x coming via Windows update ?

.Net 4 Setup freezes on Windows 7 - 0% progress on Installing .Net Framework 4 Client Profile

$
0
0

Hello,

it's my first post at this forum - I hope you could help me.

After having problems with installing VS2010 (it freezes when installing .Net Framework 4) I decided to download the stand-alone installer for the .Net Framework: dotNetFx40_Full_x86_x64.exe

But I have the same problems: after starting the installer (with admin privileges) the decompression starts and I confirm the install.

The installer announces some security checks and afterwards it freezes with a progress of 0%. Nothing happends for hours.

Maybe someone could give me a hind, wath to do. Where can I find logs to analyse the reason for the problem and the point of freeze.

Thank you very much,

Dirk

Could not load file or asembly...

$
0
0

I have installed a program in my computer and receive an error that reads:

"Could not load file or assembly 'System.Data.SqlserverCe.Version=3.5.1.0, Culture=neutral,PublicKeyToken=89845dcd8080cc91' or one of it's dependencies. The system cannot find the file specified."

Then there is a 'Details' window with a long description about "Application does not support just-in-time (JIT) deguggin." When I searched out the issue, I kept landing in .NET Framework discussions.

Any help would be appreciated!

Thanks,

Jeremy

.VDPROJ coding language

$
0
0

 "LaunchCondition"
        {
            "{836E08B8-0285-4809-BA42-01DB6754A45D}:_DF1CA2119CD64D4B94CE993CF1624ACE"
            {
            "Name" = "8:IIS Condition"
            "Condition" = "8:(IISMAJORVERSION >= \"#5\" AND IISMINORVERSION >= \"#1\") OR IISMAJORVERSION >= \"#6\""
            "Message" = "8:[VSDIISMSG]"
            "InstallUrl" = "8:"
            }
        }
        "Locator"
        {
            "{CF66B7F7-B7DA-4B08-A67A-233430638C9C}:_04904C1EB41D4AEB868E336FBFF3FDF9"
            {
            "Name" = "8:Search for IIS Major Version"
            "Root" = "2:1"
            "RegKey" = "8:SYSTEM\\CurrentControlSet\\Services\\W3SVC\\Parameters"
            "Value" = "8:MajorVersion"
            "Property" = "8:IISMAJORVERSION"
            }
            "{CF66B7F7-B7DA-4B08-A67A-233430638C9C}:_41B0293D28304B3B9C4BC8D54B6F65E0"
            {
            "Name" = "8:Search for IIS Minor Version"
            "Root" = "2:1"
            "RegKey" = "8:SYSTEM\\CurrentControlSet\\Services\\W3SVC\\Parameters"
            "Value" = "8:MinorVersion"
            "Property" = "8:IISMINORVERSION"
            }
        }

-----------------------------------

Can anybody help me to understand the above .vdproj code ?

Thanks in advance.

How to get ProfileImage from AspNetUsers table without the user being logged in

$
0
0

The ProfileImage for the user is being stored in the AspNetUsers table. I need to retrieve the file name for the image, so I can display it in an MVC 5 View. The user won't be logged into the page, but I will have access to their username. How can I accomplish this?

Any help is much appreciated. Thanks!

dotNet 3.5 tried to download another instance of dotNet 3.5 while installing ! )

$
0
0

I have some problem.

I download dtNet3.5 full package. From Microsoft.

While attempt to installing this package Windows say that she want to download additional dotNet 3.5 package )

What she says after ?

2-d package will try to download third dn 3.5 package ??  ::::))))))))

I don't have so traffic .. (inet) and time .. 

And this is very Bad that so ..

Are anybody meet such situation ??

?

Please help me get an installation of VB2008 Express & VC++2008 Expess registered

$
0
0

I have downloaded and installed VB 2008 Express & VC++ 2008 Express however these products request registration before 30 days of use, and the menu item in the running programs links to a page that advertises other products, and is therefore unhelpful.

Surely there is a way to register these programs so they do not lock up after 30 days is up.

Best regards Susan Bruce. 


Susan 7 of 7

NET Framework 3.5 language pack broken link

$
0
0

The installer (dotnetfx35.exe from https://www.microsoft.com/en-us/download/details.aspx?id=25150) log reports failing to download a language pack from the following link:

http://go.microsoft.com/fwlink/?LinkId=118117&clcid=0x409

This resolves to:

http://download.microsoft.com/download/4/A/3/4A3F28F9-FDDE-4553-948F-A063FE42A17E/dotnetfx35langpack_x64he.exe

[10/05/16,21:49:01] Microsoft .NET Framework 3.5LP(x64) - HEB: dlmgr: http://go.microsoft.com/fwlink/?LinkId=118117&clcid=0x409
[10/05/16,21:49:01] Microsoft .NET Framework 3.5LP(x64) - HEB: dlmgr: C:\users\jhansonxi\Temp\dotnetfx3530729.01\1033\dotnetfx35\x64\dotnetfx35langpack_x64he.exe
[10/05/16,21:49:02] Microsoft .NET Framework 3.5LP(x64) - HEB: dlmgr: BitsManager not yet initialized... initializing
[10/05/16,21:49:02] Microsoft .NET Framework 3.5LP(x64) - HEB: dlmgr: CDownloadJobBITSImpl::RunToFinish() : verifying file before download.
[10/05/16,21:49:02] Microsoft .NET Framework 3.5LP(x64) - HEB: dlmgr: CDownloadJobBITSImpl::RunToFinish() : GetDelayBetweenRetryAttempts= 30
[10/05/16,21:49:02] Microsoft .NET Framework 3.5LP(x64) - HEB: dlmgr: CDownloadJobBITSImpl::RunToFinish() : GetMaxRetryAttempts= 5
[10/05/16,21:49:06] Microsoft .NET Framework 3.5LP(x64) - HEB: dlmgr: CDownloadJobBITSImpl::GetState(): Error
[10/05/16,21:49:06] Microsoft .NET Framework 3.5LP(x64) - HEB: dlmgr: Unable to GetErrorDescription : hr= 0x800706f4
[10/05/16,21:49:06] Microsoft .NET Framework 3.5LP(x64) - HEB: dlmgr: BITS Error
Context: 5	Error code: -2145844844	Description: No description available.
[10/05/16,21:49:06] Microsoft .NET Framework 3.5LP(x64) - HEB: dlmgr: Unable to GetErrorDescription : hr= 0x800706f4
[10/05/16,21:49:06] Setup.exe: AddGlobalCustomProperty
[10/05/16,21:49:06] Microsoft .NET Framework 3.5LP(x64) - HEB: ***ERRORLOG EVENT*** : dlmgr: CDownloadJobBITSImpl::RunToFinish() : BITS job in BG_JOB_STATE_ERROR state.
Context: 5	Error code: -2145844844	Description: No description available.
[10/05/16,21:49:06] Microsoft .NET Framework 3.5LP(x64) - HEB: dlmgr: CDownloadJobBITSImpl::SuspendJob()
[10/05/16,21:49:06] Microsoft .NET Framework 3.5LP(x64) - HEB: dlmgr: Unable to Suspend : hr= 0x80004001
[10/05/16,21:49:06] Microsoft .NET Framework 3.5LP(x64) - HEB: dlmgr: CDownloadJobBITSImpl::RunToFinish() : failed to suspend the job.
[10/05/16,21:49:06] Microsoft .NET Framework 3.5LP(x64) - HEB: dlmgr: CDownloadJobBITSImpl::RunToFinish() : Ignorable Download Error. Error= 0x80190194
[10/05/16,21:49:06] Microsoft .NET Framework 3.5LP(x64) - HEB: dlmgr: CDownloadJobBITSImpl::RunToFinish() : Retrying download. Retries= 1
Just an FYI.  I don't need the pack myself.


Deployment of code first project to azure (Multiple projects)

$
0
0

We are building a solution with 3 projects.

  • MVC
  • API
  • DAL

The DbContext class is located inside the DAL project. Migrations have been successfully enabled on DAL project. Everything works fine locally. When trying to deploy on azure the MVC project the

Execute Code First Migrations checkbox is missing.

It seems that somehow our project is not recognized as a code first project (Publishing profile is DbDacFx instead of DbCodeFirst). After trying several solutions we tried creating the projects from the beggining and adding the files one by one checking for the checkbox each time. The checkbox disappeared after we added a class that inherits from FlowMetaData class from Google Analytics SDK.

Is it possible that a third party library could cause such an issue ?

Or maybe something else is forcing Visual Studio (2013) to not show the checkbox ?

We are interested for a solution, not a workaround.

.NET 2 debug error in the server Application Events Log

$
0
0

Hi

I have about 5 customer servers upgraded from Windows Server 2003 to Windows Server 2008 R1 32 bit who started experiencing their client apps freezing, affecting all users for 30-60 seconds. After the slowness has stopped each time, I notice that this error appearing in the Application Event Logs always occurring (which doesn't appear on the previous Server 2003 Servers) :-

The description for Event ID 0 from source .NET Runtime cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

.NET Runtime version : 2.0.50727.4253 - No debugger found.No registered JIT debugger was specified. 

Click on Retry to have the process wait while attaching a debugger manually.
Click on Cancel to abort the JIT debug request.

the message resource is present but the message is not found in the string/message table

I have ran the .Net Verification and Repair Tool but this application error still occurs. The 2008 Servers have .Net 1.1, 3.5 SP1 and 4.5.2 installed - the .Net versions have also bee uninstalled and reinstalled but this is still a problem. The 2003 Servers had .Net 2 SP2, 3.0 SP2 and .Net 3.5 SP1 installed. I've done some reading up to find that the .Net versions installed on 2008 Server should include the older versions as well.

The 2008 servers are mainly used to run MS SQL 2008 which ties in with COM+ objects to host several client apps (written in a legacy language called Delphi) and also has Symantec AV installed plus nearly a dozen other 3rd Party apps. Any one of the apps could be causing the issue possibly although I suspect my own app is causing which is written in a legacy language called Delphi.

Can anyone help advise how to take this issue further? I don't know if this is relevant but I don't have Visual Studio installed on the server if this is the reason for the error or lack of error details.

Kind Regards

Matthew 



What is the origin of System.Net.Http.Formatting?

$
0
0

It has gotten so complex that it is almost impossible to find out who has installed what at when.

I have a Visual Studio web project created by someone else and shared on TFS.  When I loaded and opened it, the project contained a reference to System.Net.Http.Formatting but the dll file is missing. The creator of the project said that on his system the file is C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 4\Assemblies\System.Net.Http.Formatting.dll.  This file is not on my computer.  That folder in my PC contains another file with the same name by with .xml extension

I am on Windows 10 Anniversary Update and using Visual Studio 2015 Community Edition Update 3.

Why isn't C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 4\Assemblies\System.Net.Http.Formatting.dll on my PC and how do I have it installed the correct way?

Thank you.

Convert ASP.net 2.0 to Latest Version ,should convert ASP.net 4.5 or ASP.net 5? with less changes

$
0
0

HI,

    Could you please let  us  know which  asp.net latest version(5,4.5,4.6) should   used to convert asp.net 2.0 application 

& also which IDE is pefer VS2012 or VS2015

Thank you!

Ashfaq Hussain 



configuring ms edge to cast from youtube to a tv via a sony blue ray player BDPS-185 is it possible.

$
0
0
Would it be more feasible to cast from YouTube through or using the chrome browser
Viewing all 3295 articles
Browse latest View live