Questions tagged [enterprise-library-4.1]

6 questions
4
votes
3 answers

Return identity of last inserted row from stored procedure

I am trying to return identity of last inserted row from a stored procedure. A simplified version of my code looks like this: CREATE PROCEDURE [sp_name] @AuthorisationCode uniqueidentifier AS INSERT INTO [tablename] …
Shiraz Bhaiji
  • 64,065
  • 34
  • 143
  • 252
2
votes
1 answer

EnterpriseLibrary Caching in Load Balance

Can I Use Microsoft Enterprise Library Caching in Load Balance servers?, My case is I have a web service located in 2 load balance servers, and I use Database Cache "backingStores" with configuration like below
1
vote
0 answers

WCF Error message 'The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly'

I received following error message, while invoke my WCF Function The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly at System.Diagnostics.PerformanceCounter.InitializeImpl() at…
Nest
  • 341
  • 4
  • 23
0
votes
1 answer

Enterprise Library cast exception in web application

I have a web application that uses Enterprise Library 4.1. A colleague upgraded an authentication module used by the web app to Enterprise Library 5.0. And unfortunately the upgraded version of the authentication module contains new functionality I…
0
votes
1 answer

How to get the parameters for a stored procedure using Enterprise library with generic database

When i use this, i get the following exception Parameter discovery is not supported for connections using GenericDatabase. You must specify the parameters explicitly, or configure the connection to use a type deriving from Database that supports…
Saravanan
  • 7,637
  • 5
  • 41
  • 72
0
votes
1 answer

Enterprise Library not logging in setup project

I need your opinion on this: Is it possible to use enterprise library logging dll in the setup project? Here's what I did: I created a setup project which will call a windows form to install the database. When I installed the project, it did call…
Musikero31
  • 3,115
  • 6
  • 39
  • 60