Questions tagged [.net-4.5.2]

.Net 4.5.2 is the version of the popular Microsoft .Net framework prior to version 4.6. It is backward compatible with .Net 4.5 & .Net 4.5.1 & adds several new features. Use for questions specifically related to .NET Framework 4.5.2. For questions on .NET Framework generally, use the .net tag.

.Net 4.5.2 is the version of the popular Microsoft .Net framework. It is backward compatible with .Net 4.5 & .Net 4.5.1 and adds several new features.

What's New in .NET Framework 4.5.2
.NET Framework 4.5.2 System Requirements

Released by Microsoft Corporation
Version Number: 4.0.30319.34000
Release Date: 2014-05-05

139 questions
0
votes
1 answer

Mongo DB C# driver not throwing any exceptions even with wrong inputs

I am setting everything wrong from connection string to database name but no exceptions thrown! const string ConnectionString = "mongodb://localhoszx"; public IHttpActionResult Post(Lead data) { JavaScriptSerializer s = new…
Pinakin Shah
  • 877
  • 2
  • 12
  • 25
0
votes
1 answer

Why does the prefer 32-bit flag cause a permissions issue reading system32

I have to read from a file that's stored in the Windows directory, either in System32 or SysWOW64. Why it's stored there and which one it ends up in is not up to me, but I check the registry to get a string that represents the valid path. It's…
cost
  • 4,420
  • 8
  • 48
  • 80
0
votes
2 answers

asp:DataGrid visibility with async?

.NET 4.5.2, IIS 8.5 on Windows 8.1 x64. I have a single ASP.NET web site at /localhost/. I've got a real async-puzzle here that I've been wrestling with for two days now. I'm reworking some long-running reports to be async, but I can demonstrate my…
n8wrl
  • 19,439
  • 4
  • 63
  • 103
0
votes
1 answer

Funny characters in my ASP.Net MVC html when debugging using localhost

I have a weird issue. My site works fine on QA and LIVE environments but I can not debug using localhost. It renders lot of weird characters as shown in the picture. This breaks the Javascript and site doesn't work at all. I didn't have xmlns…
0
votes
1 answer

Navigation Properties for common fields

In my model, I have a handful of properties that occur on multiple types. For example, many types have a CreatedByUserId and CreatedDate. Types that can be updated have a LastUpdatedByUserId and LastUpdatedDate. My first thought is to use Complex…
cadrell0
  • 17,109
  • 5
  • 51
  • 69
0
votes
1 answer

SignalR net45 gives 401 Unauthorized on specific user/machine combinations

We recently updated a WPF app and all of its NuGet dependencies to .NET 4.5.2 and find that some users are receiving HTTP 401 Unauthorized errors from SignalR. The is using Windows Authentication via PrincipalUserIdProvider. I receive the 401 error…
Kevin Kalitowski
  • 6,829
  • 4
  • 36
  • 52
0
votes
1 answer

Cannot loop through list A(icollection) of generic type B where A and B both implement same interface

The intro is a bit tedious, but is just for clearity! Some might even learn something from it or get some handy insights. My question is found at the bottom. I really hope someone can help me! I have this interface public interface IEFEntity { …
Kip ei
  • 479
  • 6
  • 20
0
votes
1 answer

public RepoResult create(T item){} Get/Read PK value of item

I am trying to build a generic repo and have some issues. I have the following interface: public interface IGenRepo where T : class { IQueryable Items { get; } T find(TKey pk); RepoResult delete(TKey pk); RepoResult…
Kip ei
  • 479
  • 6
  • 20
0
votes
0 answers

How to start assembly from GAC?

I try to do the following: Put a complete program to gac and start it from there. I tried: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen install C:\GacTest\test.exe The output said a lot with compiling assemblies which looked good - references…
Offler
  • 1,223
  • 1
  • 12
  • 34
0
votes
1 answer

git delete all files form remote branch after updating .gitignore

I recently started working on an open source project called "TFDT : Team Foundation Dev Tools" but I made a mistake to add a std .gitignore and now I want to fix it by adding one from…
ablaze
  • 722
  • 7
  • 30
0
votes
1 answer

.net 4.5 web application redirects to ReturnUrl=%2f

I created a web application targeting 4.5.2 framework and using IIS8. The starting page should be Default.aspx, It used to work OK on framework 3.5 but on framework 4.5.2 it redirects me to Domain\Default.aspx?ReturnUrl=%2f web page even after I've…
Joy
  • 1,707
  • 7
  • 29
  • 44
0
votes
1 answer

PropertyGrid not working?

I have this class and I'd like it to be editable by means of a PropertyGrid control. Class ConfigurationValues Public UpdateCapital As Boolean = False Public verbosity As VerbosityLevel = VerbosityLevel.e0_StrategyInformation Enum…
beppe9000
  • 1,056
  • 1
  • 13
  • 28
0
votes
1 answer

Reg. CSLA 1.1 Framework in .NET 4.5.2

Nice day!! I am writing this to you in the context where we migrate existing ASP.NET 1.1 to .NET 4.5.2, inline to that we identified CSLA 1.1 is being used for Business objects in ASP.NET 1.1 application. We did migrated the entire application to…
0
votes
2 answers

The type 'x' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime...'

When I turned my project referencing to PCL assembly to .NET 4.5.2, I got compiler error: "The type 'System.Windows.Input.ICommand' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime,…
Eugene
  • 389
  • 1
  • 7
  • 18
-1
votes
1 answer

Form.Load Event not raised when using Form.Show, but raised when using Form.ShowDialog

When I open a Form via Form.Show() the Show Event of the opened form is not raised. But when I use Form.ShowDialog(), the event is raised and my breakpoint is hit in my Form_Shown method. I saw this answer, that an exception hides the Event, but I…
magicandre1981
  • 27,895
  • 5
  • 86
  • 127
1 2 3
9
10