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

WCF Service over Https

$
0
0

Hi,

I have a wcf service hosted on the IIS 8.5. The service is currently implemented with the Windows authentication with AD group and uses https protocol with domain name(lets say ABC). This service is running under a service user svcAppA. Now I want this service to be available for kerberos authentication from the client end.

So I have done the following stuffs based on the various microsoft links.

1. Created a SPN name SetSPN -i HTTPS/ABC domain\svcAppA on the domain level in AD.

2. Added <identity> tag

<identity><servicePrincipalName value="HTTPS/ABC" /></identity>

3. Under IIS, Sites->AppA->Authentication-->Advanced Settings--> Unchecked 'Enable kernel-mode Authentication'

4. Under IIS, Sites->AppA->Authentication-->Providers--> Added 'Negotiate' and moved at level2. level1 I have 'NTLM'.

5. Under IIS, Sites->AppA->Configuration Editor. I have the following setting under 'system.webServer/security/authentication/windowsAuthentication'

useKernalMode=false

useAppPoolidentity=true.

6. Added a DisableLoopbackCheck =1 under the regedit. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa.

I have tried these steps but still when the client calls the web service through kerberos token getting an 401 error.

ERROR: HTTP Error 401. The requested resource requires user authentication

Help me if I'm missing something or doing some wrong setting is IIS. I'm a newbie to kerberos.


Missing web Templates for C# in Visual Studio 2015

$
0
0

I have installed Visual Studio 2015 and added the ASP.Net Core after installing the same Web Templates have been found Missing. 

I have Tried Repair of the Visual Studio but did not Help. How can Get the Web Templates?


saikalyan

is this for 64bit

.NET Framework 3.5 Client Profile - Missing method System.Windows.Threading.Dispatcher.BeginInvoke(System.Delegate, System.Object[])

$
0
0

My application targets the .NET Framework 3.5 client profile and my setup is configured to install this framework using the online installer, but sometimes (at 3 users out of 12000)  the application throws the following exception: 

Method not found: 'System.Windows.Threading.DispatcherOperation System.Windows.Threading.Dispatcher.BeginInvoke(System.Delegate, System.Object[])'.

I also receive the following warning from the Visual Studio 2010 Code Analysis tool:

Warning73CA1903 : Microsoft.Portability : Member 'Settings.SearchForApplicationRelease_bgWorker(object, DoWorkEventArgs)' uses member 'Dispatcher.Invoke(Delegate, params object[])'. Because this member was introduced in .NET Framework 3.0 Service Pack 2, which was not included in the project's target framework, .NET Framework 3.5, your application may fail to run on systems without this service pack installed.

I have tried on several systems but I am not able to reproduce this exception. 

How can I fix it?

Are there any chances that the users have a corrupt version of the .NET Framework?

 

Thank you,

Cosmin


Cosmin Lazar

net framework error

$
0
0
Setup cannot continue because a previous installation requires your computer to be restarted. Please restart your computer and rerun Setup. used cleanup tool not helped. regedit section in LAyer and Persisted not view any version framework but installed updates section on control panel view net framework 4.6 .4.6.1.3.5 installed. restart pc many times and nothing done.pc windows 8.1 pro x64

Error 643 when trying to install any Version of .net

$
0
0

Versions tried:

4, 4.5.1, 4.5.2

The problem first arose about 4 days ago while trying to install a newer version of .net, we already had 4.5.1 and tried to install 4.5.2 through windows update. It failed with error 643.

Trouble shooting steps taken (retried the installation after each step)

Reboot

Select only the update that is failing and install it alone

Download the update manually (this produces a log file, the errors from which are below)

Research and find the following KB: https://support.microsoft.com/en-us/kb/976982, ran the netfx repair tool and followed instructions, did not work, uninstalled all versions of .net and ran the cleanup tool, turned off all non-microsoft services and startups in msconfig and rebooted, attempted to reinstall again and it still did not work

Checked for malware on the machine, nothing was found, tried to reinstall anyway.

Uninstalled the updates: KB3072630, KB3008627, KB3000988, KB2918614 - rebooted and still nothing

Tried to reinstall .net 4.5.1 which we uninstalled in a previous step, same error

Uninstalled Norton 360 and attempted a reinstall - still not working

Contacted Microsoft chat support, they gave me a link to a very old fix for slipstreaming .net 1.1 and .net 1.1 sp1 that referencederror 643, this obviously did not fix the issue.

Tried installing .net 4, failed with the same problem.

Created a new Administrator user account, tried to install from that user

Here is the final portion of the log, the red parts have a * in front of them!

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

*Returning IDOK. INSTALLMESSAGE_ERROR [Overlapped I/O operation is in progress. ]
*Returning IDOK. INSTALLMESSAGE_ERROR [Overlapped I/O operation is in progress. ]
MSI (C:\7cf8a632b42ea7bee6d7571e0b\netfx_Full_GDR_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4.5.2 Setup_20160919_093115567-MSI_netfx_Full_GDR_x64.msi.txt
*PerformOperation returned 1603 (translates to HRESULT = 0x80070643)
Action complete
*OnFailureBehavior for this item is to Stop.
Action complete
Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:00:40).

Moving application from MySQL database to SQL Server

$
0
0

Hi all,

I have a very interesting behavior in my code that I cannot understand:

I created an application (ASP.NET MVC) a month ago that was supposed to work with MySQL. It did so very well but we are about to change infrastructure and in the new one they have SQL Server so I wanted to move from MySQL to SQL Server.

In order to do the migration of database provider, I removed all the mentions to MySQL in the web.config file and replaced where needed by SQL Server configuration equivalents.

After all that, my program still tries to connect using MySQL provider and I can't get to know why...

Here is the web.config file bits regarding database if it can help:

<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /><connectionStrings><add name="XYZ" connectionString="Data Source=(local)\sqlexpress;Initial Catalog=XYZ;Integrated Security=True" providerName="System.Data.SqlClient" /></connectionStrings><entityFramework><defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /><providers><provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /></providers></entityFramework>

The error message received when I try to start the application is:

Schema specified is not valid. Errors: 
(0,0) : error 0152: No Entity Framework provider found for the ADO.NET provider with invariant name 'MySql.Data.MySqlClient'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

Also my application uses code first and migrations and the error shows also when I try to add a new migration to the project.

Any clue?

Many thanks in advance.

Can a WSDL contain an XML with out schema-Instance as namespace

$
0
0
Hi Team,

I have a WSDL contain an XML with out schema-Instance as namespace . This WSDL is inpected by F5 ASM as XML Parser Attack and says Illegal prefix for 'http://www.w3.org/****/XMLSchema-instance' namespace, expecting 'xsi:'

Application is SharePoint 2010



Regrads

Ahmed

iahmed123


Checking if .NET CORE is installed for using in Unity

$
0
0
Hope I'm not doing a dumb question =P

So... Since Unity 5.2 we can use .NET CORE 5.0 to build our projects, right?
And this version of .NET is Open Source and can be found in a GIT Repository, right?

But how can we make sure we are using the correct version in Unity?

I mean, for the other versions of .NET we downloaded a installer and I could check it was installed by listing the applications in the configuration panel, just like any app. For .NET Core, I downloaded the repository, and that's it... I guess it was installed some-when during Unity 5.3 or VS2015 installation because when I try to build applications for Windows UWP or Windows Store in Unity I have the option to use .NET Core. However, every time I try to build applications, I receive a bunch of errors regarding to missing libraries and so... And this makes me think that maybe .NET Core is not installed correctly or maybe not even installed =P... But then, how can I know if it is installed or not if I can not see it in the application list in my control panel? <- Then, maybe if it is not in the App list, it mean that is not installed, but then the question is: how to install it? I still could not find anything regarding to installation in the repository I downloaded...

Thanks a lot for any help and sorry again if it is a dumb question =P

Issues with .NET and Windows 10 Annviersary Update.

$
0
0

Hello all,

The issue I'm having appears as such:

Any Program that requires .NET framework will display a windows with some variant of "Installing .NET 4.0 Redist Package". This never resolves, and the window doesn't go away until the computer is shut down/restarted.

I've checked the registry, and confirmed that I currently have .NET Framework 4.6.2 installed, which comes with the Anniversary update. My question is, why are the programs getting stuck in a loop trying to install a framework that's already built into the computer?

Thanks in Advance!

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 ??

?

The element 'system.webServer' has invalid child element 'aspNetCore'

$
0
0
I created a new ASP.NET Core MVC 6 application from one of the templates in Visual Studio 2015.
The tutorial I'm looking at says to modify the web.config file. When I open that file, Visual Studio throws the warning:

Severity Code Description Project File Line Suppression State
Warning The element 'system.webServer' has invalid child element 'aspNetCore'. List of possible elements expected: 'asp, caching, cgi, defaultDocument, directoryBrowse, globalModules, handlers, httpCompression, webSocket, httpErrors, httpLogging, httpProtocol, httpRedirect, httpTracing, isapiFilters, modules, applicationInitialization, odbcLogging, security, serverRuntime, serverSideInclude, staticContent, tracing, urlCompression, validation, management, rewrite'.

Here is the virgin web.config file:

<?xml version="1.0" encoding="utf-8"?>
<configuration>

  <!--
    Configure your application settings in appsettings.json. Learn more at http://go.microsoft.com/fwlink/?LinkId=786380
  -->

  <system.webServer>
    <handlers>
      <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
    </handlers>
    <aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false"/>
  </system.webServer>
</configuration>

How do I eliminate the warning?


Can't Install .NET Framework 4 error code: (0x00000424)

$
0
0

I have a HP Pavilion g6 Notebook PC, when ever I install games they just run. My nephew can't run one of his games cause it needs this program, whenever I try to install it it fails however.

This is the Installation Log

OS Version = 6.1.7601, Platform 2, Service Pack 1
OS Description = Windows 7 - x64 Home Premium Edition Service Pack 1
CommandLine = C:\575ee14ea03caa86c2c46b81518d5096\\Setup.exe /x86 /x64 /ia64 /web
TimeZone = Eastern Standard 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:\575ee14ea03caa86c2c46b81518d5096\SetupUtility.exe) succeeded.
Exe Log File: dd_SetupUtility.txt
ServiceControl operation succeeded!
ServiceControl operation succeeded!
ServiceControl operation succeeded!
ServiceControl operation succeeded!
Exe (C:\Users\Derek\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu) failed with 0x424 - The specified service does not exist as an installed service. .
Final Result: Installation failed with error code: (0x00000424), "The specified service does not exist as an installed service. " (Elapsed time: 0 00:00:14).

How to download .Net framework hotfix - https://support.microsoft.com/en-in/kb/2996566

$
0
0

Hello,

We are unable to download the Hotfix for .Net Framework 2996566, here is the link for hotfix. Please help us or suggest from where we can get the download link for this hotfix.

Thanks,

Rajendra


Rajendra Singh
sharepoint Adda
Walking on water and developing software from a specification are easy if both are frozen
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

.NET Framework 2.0 issue on Windows 10 64bit

$
0
0

Hi,

We have OS Windows 10 64bit - Technical Preview version. .NET Framework 4.0 is already installed on it. But when we try to run our application installer it gives error ".NET Framework 2.0 is not installed.".
Our installer is working perfectly fine with Windows 7 and 8 both on 32 and 64 bit.
So to troubleshoot this issue, we have referred registry and observed that in below registry keys v2.0 is not there.
- "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy"
- "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP"
NOTE: We have another machine with same OS where above registry entries are present and our installer works fine.

It seems that .NET Framework get corrupted.
To resolved this issue:
- We tried to re-install .NET Framework 4.0 but it says ".NET Framework 4.0 is already installed.". So we are even not able to re-install it.
- We are not able to find the option to uninstall .NET Framework 4.0 in Control Panel -> Programs and Features

Kindly respond how to resolve the issue so that .NET Framework 2.0 works properly.

Thanks,
Ayaz Shaikh




Mapping LDAP attributes to outgoing claim types

$
0
0

Hi Team,

currently i had configured below claims for the new application integration and app team is able to see the claims without any issues.

Ldap Attribute  |  Outgoing Claim Type

Emaail Address | Email address
UPN |UPN
Dispaly-Name | Given Name
SurName | Surname
SamAccountName | Name ID

However, i need to add some claims like mobile, location, department..etc. i don't see that options in LDAP attribute or Outgoing claim type. please advise on how to proceed further. Tank you.

External IIS Rewrite RouteMap file changes are not reflected.

$
0
0

Hi.

I have an external rewrite routemap file configured for our site. This file is being published to the site's root folder by a content management publishing team.After publishing the file,the changes are not reflected as the IIS recycle is not happening while the Routemap external file updates. As per my undestanding any changes to the bin folder would recycle the app pool.So we are updating a file in the bin folder to do a recycle. This didnt help to resolve the issue.

Any one has faced similar issues ? How can we do a auto refresh when the files are modified externally?

Grand IIS metabase .Net 2

$
0
0
I have this instruction to Grand IIS metabase
aspnet_regiis.exe -i
aspnet_regiis -ga ASPNET

in Window Xp IIS6 can run then in Windows 7 for this error

C:\Windows\Microsoft.NET\Framework\v2.0.50727>%windir%\Microsoft.NET\Framework\v
2.0.50727\aspnet_regiis -ga ASPNET
Start granting ASPNET access to the IIS metabase and other directories used by ASP.NET.
An error has occurred: 0x8007089a The specified username is invalid.

Anybody can help me ? Thanks.

Windows 2000 client/server to Web server/Web browser

$
0
0

Is it possible to convert a Windows Server 2000 Client/Server application that communicates with it's associated desktop application (developed i think using .Net 2.0 or 3.0 Framework) to a Webserver/Webbrowser application?

Meaning, a user will now have the ability to physically connect his laptop using an Ethernet cable to the embedded computer's Ethernet port and use http to access the information. In other-words, the user  can now use any web browser instead of a desktop application to access the data displayed as tabs in the web browser.

NET Framework compatibility.....

$
0
0

I have a Win Server 2012 R2 server with .NET 4.0 installed and need to upgrade it to .NET 4.6.1 to support an app. I read somewhere in this fourn that NET Framework 4/4.5.x/4.6.x cannot coexist with each other. So during the install of the new  .NET Framework will the older NET versions be automatically removed, or will I simply end up a conflict that is hard to resolve?

TIA,

edm2

Viewing all 3295 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>