Sql server 2012 Logon trigger not working for certain logins

Hello. I created a login trigger to insert data for each login in a table, and it works for all logins except one that is format domain\login
and the login ends with the dollar sign(actual name is domain\CTXDEVDCSI1$).
I had been using varchar, but after reading other forum posts, I changed the varchar's to nvarchar's, but it still fails for that id.
The errors written to the sql server error log were the usual "login failed due to trigger execution".
I had granted insert on the rvvlogindata table in dsa to public, and only one id wasn't able to login after that.
Any suggestions would be much appreciated!
Here's the modified table ddl:
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[rvvlogindata](
[sessionId] [int] NULL,
[LoginTime] [datetime] NULL,
[HostName] [nvarchar](50) NULL,
[ProgramName] [nvarchar](300) NULL,
[LoginName] [nvarchar](50) NULL,
[ClientHost] [nvarchar](50) NULL
) ON [PRIMARY]
GO
Here's the logon trigger code:
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
create trigger [LOGIN_IP_RESTRICTION] on all server for logon
as
Begin
Declare @LogonTriggerData xml,
@EventTime datetime,
@LoginName nvarchar(50),
@ClientHost nvarchar(50),
@HostName nvarchar(50),
@AppName nvarchar(300)
Set @LogonTriggerData = eventdata()
set @EventTime = @LogonTriggerData.value('(/EVENT_INSTANCE/PostTime)[1]', 'datetime')
set @LoginName = @LogonTriggerData.value('(/EVENT_INSTANCE/LoginName)[1]', 'varchar(50)')
set @ClientHost = @LogonTriggerData.value('(/EVENT_INSTANCE/ClientHost)[1]', 'varchar(50)')
set @HostName = HOST_NAME()
set @AppName = APP_NAME()
insert into dsa.dbo.rvvlogindata
sessionId,
LoginTime,
HostName,
ProgramName,
LoginName,
ClientHost
select @@spid,
@EventTime,
convert(nvarchar(50),@HostName),
convert(nvarchar(300),@AppName),
convert(nvarchar(50),@LoginName),
convert(nvarchar(50),@ClientHost)
END
GO
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER OFF
GO
ENABLE TRIGGER [LOGIN_IP_RESTRICTION] ON ALL SERVER
GO

Erland, I wanted to add more info to my reply earlier today.
sp_who2 showed no blocking, activity monitor from my local PC SSMS showed no major waits or high i/o or cpu activity.
I was wondering if you have any suggestions on how to find out what was the cause of the 5+ minute wait for SSMS on the remote desktop to respond and fully come up.
I definitely can't put this in production with this hanging delay possibly occurring there.
I was connecting as read_user when it hung.
sp_who2 output at the time was:
1     BACKGROUND                     sa   .   . NULL LOG WRITER       54631 0 04/10
06:59:43                                              
 1     0   
2     BACKGROUND                     sa   .   . NULL RECOVERY WRITER  8673 0 04/10 06:59:43                                              
 2     0   
3     BACKGROUND                     sa   .   . NULL LAZY WRITER      300691 0 04/10
06:59:43                                              
 3     0   
4     BACKGROUND                     sa   .   . NULL RESOURCE MONITOR 1207010 0 04/10 06:59:43                                              
 4     0   
5     BACKGROUND                     sa   .   . NULL XE TIMER         38828 0 04/10
06:59:43                                              
 5     0   
6     BACKGROUND                     sa   .   . NULL XE DISPATCHER    1404 0 04/10
06:59:43                                              
 6     0   
7     BACKGROUND                     sa   .   . master SIGNAL HANDLER   0 0 04/10 06:59:43                                              
 7     0   
8     BACKGROUND                     sa   .   . NULL LOCK MONITOR     179978 0 04/10
06:59:43                                              
 8     0   
9     sleeping                       sa   .   . master TASK MANAGER     0 11 04/21
08:37:04                                              
 9     0   
10    sleeping                       sa   .   . master TASK MANAGER     0 0 04/10
06:59:44                                              
 10    0   
11    BACKGROUND                     sa   .   . master TRACE QUEUE TASK 546 0 04/10 06:59:44                                              
 11    0   
12    BACKGROUND                     sa   .   . NULL SYSTEM_HEALTH_MO 4930 0 04/10 06:59:44                                              
 12    0   
13    BACKGROUND                     sa   .   . NULL RECEIVE          422 0 04/10
06:59:45                                              
 13    0   
14    BACKGROUND                     sa   .   . master CHECKPOINT       79137 31811 04/10
06:59:46                                              
 14    0   
15    BACKGROUND                     sa   .   . master TASK MANAGER     1606 0 04/10
06:59:46                                              
 15    0   
16    BACKGROUND                     sa   .   . NULL UNKNOWN TOKEN    0 0 04/10 06:59:46                                              
 16    0   
17    sleeping                       sa   .   . master TASK MANAGER     0 74 04/21
08:37:04                                              
 17    0   
18    sleeping                       sa   .   . master TASK MANAGER     0 0 04/21
08:18:49                                              
 18    0   
19    sleeping                       sa   .   . master TASK MANAGER     0 0 04/21
08:30:29                                              
 19    0   
20    sleeping                       sa   .   . master TASK MANAGER     0 1 04/21
08:37:14                                              
 20    0   
21    sleeping                       sa   .   . master TASK MANAGER     0 7 04/21
08:30:59                                              
 21    0   
22    sleeping                       sa   .   . master TASK MANAGER     16 4 04/21
08:37:44                                              
 22    0   
23    sleeping                       sa   .   . master TASK MANAGER     0 15 04/21
08:39:24                                              
 23    0   
25    BACKGROUND                     sa   .   . master BRKR EVENT HNDLR 0 95 04/10 06:59:48                                              
 25    0   
30    BACKGROUND                     sa   .   . master BRKR TASK        0 0 04/10
06:59:48                                              
 30    0   
31    BACKGROUND                     sa   .   . master BRKR TASK        16926 0 04/10
06:59:48                                              
 31    0   
32    BACKGROUND                     sa   .   . master BRKR TASK        0 0 04/10
06:59:48                                              
 32    0   
34    BACKGROUND                     sa   .   . master BRKR TASK        10701 0 04/10
06:59:48                                              
 34    0   
51    sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 0 0 04/21
03:16:56                                              
 51    0   
52    sleeping                       reports_adm REPORTSDEVSI2   . JBOSS_Cluster_CRServer2011 AWAITING COMMAND 0 0 04/21
08:52:12 jTDS                                         
 52    0   
53    sleeping                       NT AUTHORITY\SYSTEM SQLDEV2012      . msdb AWAITING COMMAND 0 0 04/10
06:59:58 SQLAgent - Email Logger                        53    0   
54    sleeping                       AMERICAS\CTXDEVDCSI1$ CTXDEVDCSI1     . CitrixXDFarm1 AWAITING COMMAND 0 0 04/21
08:58:51 Citrix:Broker#1                                54    0   
55    sleeping                       edit_user ASDEV1          . dsa AWAITING
COMMAND 0 0 04/21 08:55:27 jTDS                                         
 55    0   
56    sleeping                       reports_adm REPORTSDEVSI2   . JBOSS_Cluster_CRServer2011 AWAITING COMMAND 0 0 04/21
08:52:12 jTDS                                         
 56    0   
57    sleeping                       reports_adm REPORTSDEVSI2   . JBOSS_Cluster_CRServer2011 AWAITING COMMAND 0 0 04/21
08:52:12 jTDS                                         
 57    0   
58    sleeping                       reports_adm REPORTSDEVSI2   . JBOSS_Cluster_CRServer2011 AWAITING COMMAND 0 0 04/21
08:52:12 jTDS                                         
 58    0   
59    sleeping                       NT AUTHORITY\SYSTEM SQLDEV2012      . msdb AWAITING COMMAND 124 242 04/10
06:59:59 SQLAgent - Generic Refresher                   59    0   
60    sleeping                       NT AUTHORITY\SYSTEM SQLDEV2012      . msdb AWAITING COMMAND 2790 1160 04/21
08:55:00 SQLAgent - Job invocation engine               60    0   
61    sleeping                       reports_adm REPORTSDEVSI2   . JBOSS_Cluster_CRServer2011 AWAITING COMMAND 0 0 04/21
08:52:12 jTDS                                         
 61    0   
62    sleeping                       reports_adm REPORTSDEVSI2   . JBOSS_Cluster_CRServer2011 AWAITING COMMAND 0 0 04/21
08:52:12 jTDS                                         
 62    0   
63    sleeping                       reports_adm REPORTSDEVSI2   . JBOSS_Cluster_CRServer2011 AWAITING COMMAND 0 0 04/21
08:52:12 jTDS                                         
 63    0   
64    sleeping                       reports_adm REPORTSDEVSI2   . JBOSS_Cluster_CRServer2011 AWAITING COMMAND 0 0 04/21
08:52:12 jTDS                                         
 64    0   
65    sleeping                       reports_adm REPORTSDEVSI2   . JBOSS_Cluster_CRServer2011 AWAITING COMMAND 0 0 04/21
08:52:12 jTDS                                         
 65    0   
66    sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 0 0 04/21
03:16:56                                              
 66    0   
67    sleeping                       reports_adm REPORTSDEVSI2   . JBOSS_Cluster_CRServer2011 AWAITING COMMAND 0 0 04/21
08:52:12 jTDS                                         
 67    0   
68    sleeping                       edit_user DCMA10685       . dsa AWAITING COMMAND 0 0 04/21
08:56:47 jTDS                                         
 68    0   
69    sleeping                       AMERICAS\CTXDEVDCSI1$ CTXDEVDCSI1     . CitrixXDFarm1 AWAITING COMMAND 0 0 04/21
08:58:49 Citrix:Configuration                           69    0   
70    sleeping                       rvanveen DCMA8460        . master AWAITING COMMAND 1794 7120 04/21
08:51:37 Microsoft SQL Server Management Studio         70    0   
71    sleeping                       xsp_user XSPDEVSI2       . xspv5 AWAITING COMMAND 0 0 04/21
08:58:52 .Net SqlClient Data Provider                   71    0   
72    sleeping                       AMERICAS\CTXDEVDCSI1$ CTXDEVDCSI1     . CitrixXDFarm1 AWAITING COMMAND 0 0 04/21
08:56:01 Citrix:Monitor                                 72    0   
73    sleeping                       AMERICAS\CTXDEVDCSI1$ CTXDEVDCSI1     . CitrixXDFarm1 AWAITING COMMAND 0 0 04/21
08:58:30 Citrix:Monitor                                 73    0   
74    sleeping                       rvanveen DCMA8460        . master AWAITING COMMAND 16 2 04/21
08:53:37 Microsoft SQL Server Management Studio - Query 74    0   
75    sleeping                       rvanveen DCMA8460        . loginaudit AWAITING COMMAND 0 22 04/21
08:50:29 Microsoft SQL Server Management Studio - Query 75    0   
76    sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 0 0 04/21
07:05:07                                              
 76    0   
77    sleeping                       adm_jbossportal ASDEV1          . jbossportal AWAITING
COMMAND 0 0 04/21 08:40:27 jTDS                                         
 77    0   
78    sleeping                       rvanveen DCMA8460        . master AWAITING COMMAND 110 542 04/21
08:46:17 Microsoft SQL Server Management Studio - Query 78    0   
79    sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 0 0 04/21
07:05:56                                              
 79    0   
80    sleeping                       AMERICAS\CTXDEVDCSI1$ CTXDEVDCSI1     . CitrixXDFarm1 AWAITING COMMAND 0 0 04/21
08:58:54 Citrix:MachineCreation                         80    0   
81    sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 0 0 04/21
08:08:29                                              
 81    0   
82    sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 0 0 04/21
07:02:13                                              
 82    0   
83    sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 0 0 04/21
07:02:15                                              
 83    0   
84    sleeping                       AMERICAS\CTXDEVDCSI1$ CTXDEVDCSI1     . CitrixXDFarm1 AWAITING COMMAND 0 0 04/21
08:58:44 Citrix:Monitor                                 84    0   
85    sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 0 0 04/21
07:11:05                                              
 85    0   
86    sleeping                       AMERICAS\CTXDEVDCSI1$ CTXDEVDCSI1     . CitrixXDFarm1 AWAITING COMMAND 0 0 04/21
08:58:53 Citrix:AdIdentity                              86    0   
87    sleeping                       DAIWA_USA\admsql SQLDEV2012      . master AWAITING COMMAND 15 2 04/21
08:56:20 Microsoft SQL Server Management Studio - Query 87    0   
88    sleeping                       AMERICAS\CTXDEVDCSI1$ CTXDEVDCSI1     . CitrixXDFarm1 AWAITING COMMAND 0 0 04/21
08:58:36 Citrix:SiteServices                            88    0   
89    sleeping                       AMERICAS\CTXDEVDCSI1$ CTXDEVDCSI1     . CitrixXDFarm1 AWAITING COMMAND 0 0 04/21
08:58:42 Citrix:Host                                    89    0   
90    sleeping                       AMERICAS\CTXDEVDCSI1$ CTXDEVDCSI1     . CitrixXDFarm1 AWAITING COMMAND 0 0 04/21
08:58:47 Citrix:ConfigurationLogging                    90    0   
91    RUNNABLE                       rvanveen DCMA8460        . master SELECT INTO    
 15 51 04/21 08:58:46 Microsoft SQL Server Management Studio - Query 91    0   
92    sleeping                       rvanveen DCMA8460        . master AWAITING COMMAND 63 30 04/21
08:52:34 Microsoft SQL Server Management Studio - Query 92    0   
94    sleeping                       AMERICAS\CTXDEVDCSI1$ CTXDEVDCSI1     . CitrixXDFarm1 AWAITING COMMAND 0 0 04/21
08:58:53 Citrix:DelegatedAdmin                          94    0   
95    sleeping                       DAIWA_USA\admsql SQLDEV2012      . loginaudit AWAITING COMMAND 173 27 04/21
08:56:10 Microsoft SQL Server Management Studio         95    0   
96    sleeping                       xsp_user XSPDEVSI2       . xspv5 AWAITING COMMAND 0 0 04/21
08:58:33 .Net SqlClient Data Provider                   96    0   
97    sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 0 0 04/21
08:10:07                                              
 97    0   
98    sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 31 38 04/21
08:00:31                                              
 98    0   
99    sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 0 0 04/21
08:10:12                                              
 99    0   
100   sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 0 282 04/21
08:10:14                                              
 100   0   
101   sleeping                       DAIWA_USA\admsql SQLDEV2012      . master AWAITING COMMAND 0 8 04/21
08:56:50 Microsoft SQL Server Management Studio         101   0   
102   sleeping                       DAIWA_USA\admsql SQLDEV2012      . master AWAITING COMMAND 31 0 04/21
08:54:57 Microsoft SQL Server Management Studio         102   0   
103   sleeping                       read_user SQLDEV2012      . master AWAITING COMMAND 0 8 04/21
08:57:09 Microsoft SQL Server Management Studio         103   0   
104   sleeping                       read_user SQLDEV2012      . dsa AWAITING COMMAND 0 0 04/21
08:57:09 Microsoft SQL Server Management Studio         104   0   
105   sleeping                       rvanveen DCMA8460        . tempdb AWAITING COMMAND 8875 336 04/21
08:58:54 Microsoft SQL Server Management Studio         105   0   
106   sleeping                       read_user SQLDEV2012      . master AWAITING COMMAND 16 0 04/21
08:57:39 Microsoft SQL Server Management Studio         106   0   
107   sleeping                       AMERICAS\CTXDEVDCSI1$ CTXDEVDCSI1     . CitrixXDFarm1 AWAITING COMMAND 0 0 04/21
08:58:47 Citrix:EnvTest                                 107   0   
108   sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 2200 8514 04/21
08:00:31                                              
 108   0   
109   sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 0 0 04/21
07:05:56                                              
 109   0   
110   sleeping                       rvanveen DCMA8460        . master AWAITING COMMAND 0 0 04/21
08:58:48 Microsoft SQL Server Management Studio         110   0   
113   sleeping                       Citrix_adm CTXDEVSI1       . XenApp6 AWAITING COMMAND 284 777 04/21
08:51:33 Citrix IMA                                     113   0   
119   sleeping                       AMERICAS\CTXDEVDCSI1$ CTXDEVDCSI1     . CitrixXDFarm1 AWAITING COMMAND 0 0 04/21
08:58:42 Citrix:ConfigurationLoggingData                119   0   
120   sleeping                       AMERICAS\CTXDEVDCSI1$ CTXDEVDCSI1     . CitrixXDFarm1 AWAITING COMMAND 0 0 04/21
08:58:26 Citrix:Storefront                              120   0   
125   sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 0 0 04/16
13:55:16                                              
 125   0   
126   sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 16 0 04/16
11:25:30                                              
 126   0   
131   sleeping                       echouliak DCMA10685       . master AWAITING COMMAND 139 8 04/14
15:26:55 Microsoft SQL Server Management Studio         131   0   
135   sleeping                       echouliak DCMA10685       . dsa AWAITING COMMAND 0 0 04/14
15:24:52 Microsoft SQL Server Management Studio - Query 135   0   
136   sleeping                       echouliak DCMA10685       . dsa AWAITING COMMAND 0 0 04/14
15:00:17 Microsoft SQL Server Management Studio - Query 136   0   
140   sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 0 0 04/21
07:05:56                                              
 140   0   
145   sleeping                       edit_user INFADEVFS2      . dsa AWAITING COMMAND 0 0 04/21
07:05:56                                              
 145   0   

Similar Messages

  • SHAREPOINT 2013 WITH SQL SERVER 2012 REPORTING SERVICES - NOT WORKING

    The SQL 2012 with SP1 is installed but the Reporting Services are not working and not able to connect the Sharepoint with it.
    i also TRIED TO install THE ADD-ON (rsSharePoint.msi) but it doesn't connect and show the Sharepoint Mode and cannot connect the Reporting services.
    If I install the Reporting Native feature then the reporting service config displays the Instance else doesn't show and connect to the sql server.
    But I am able to access the Configuration manager and TCP/IP are enabled.
    I have installed SQL 2012 and Sharepoint 2013. Please revert soon.
    Tks - Vinay

    Reporting Service
    http://msdn.microsoft.com/en-us/library/jj219068.aspx
    http://blogs.msdn.com/b/biblog/archive/2012/12/04/installing-and-configuring-sql-reporting-services-on-sharepoint-2013.aspx
    http://blogs.msdn.com/b/psssql/archive/2011/02/18/sharepoint-adventures-setting-up-reporting-services-with-sharepoint-integration.aspx
    http://dinesql.blogspot.in/2010/06/configuring-reporting-services-2008-r2_07.html
    http://www.codeproject.com/Articles/355461/Dynamically-Pointing-to-Shared-Data-Sources-on-SQL
    http://www.heysharepoint.com/problems-with-sql-2012-reporting-services/
    http://andrewcbancroft.com/2012/06/30/troubleshooting-sql-server-2012-reporting-services-and-sharepoint-2010-integration-part-1/
    Please find the helping URL
    Thanks
    Jaison A
    http://infomoss.blogspot.in

  • Which version of sql server 2012 or 2014 is best for sharepoint 2013.. Any excellent comparision available please let me know..

    Which version of sql server 2012 or 2014 is best for sharepoint 2013.. Any excellent comparision available please let me know..i mean enterprise version BI version or standard version.. i just need a detailed comparison if available please thank you

    As of right this very second, SQL Server 2014 is not supported. SharePoint 2013 supports:
    One of the following:
    The 64-bit edition of Microsoft SQL Server 2012.
    The 64-bit edition of SQL Server 2008 R2 Service Pack 1
    Hardware and software requirements for SharePoint 2013
    Edit: I may be mistaken. It looks like the April 2014 CU adds support for SQL Server 2014. If this is the case generally going with the latest SQL Edition provides you with the latest SQL functionality. I'm not aware of any SharePoint features that would
    make use of functionality that is new to SQL Server 2014 but this could change with a future service pack.
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • 2012 SQL Server Management Studio Intellisense Not Working

    Hi,
    I have read just about every article and checked many options with SSMS and the Server.  The server is MS SQL SERVER 2012 SP1 Version 11.0.3339.0 X64.   SMSS is 11.0.2100.60.
    I have refreshed the intellisense cache, made sure I wasn't in the SQLCommand Mode and that I had intellisense enabled under the Tools Options and Text_editor.
    Intellsense worked great for me when I was running 2008 R2....now nothing, feeling frustrated.   Any new ideas on how to get intellisense back in line would certainly be appreciated.

    We were having problems also with intellisense, as it completely stopped working on a SQL Server 2012 instance that was hosting over 100 client databases in a non-transactional development only environment.  We tried everything and nothing seemed to
    work until I ran an optimize routine that included running DBCC DBReindex, sp_updateStats, and sp_Recompile.  This seemed to clean up what ever was blocking intellisense.  Now it is working with no problem.  I added a SQL Agent job that runs
    once a week to perform this optimization.  We have not had a problem with intellisense since.
    begin
        select identity(int,1,1) as [ID], sd.name as [DBName] into #Databases from master.sys.databases sd where sd.name not in ('master', 'tempdb', 'model', 'msdb')
        declare @DB varchar(128)
                , @SQL varchar(max)
                , @MinID int
                , @MaxID int
        select @MinID = min(id), @MaxID = max(id) from #Databases
        while @MinID <= @MaxID
        begin
            select @DB = DBName from #Databases where ID = @MinID
            print '*** Processing: ' + @DB + ' *****************************************************************************************************'
            set @SQL = @DB + '.sys.sp_MSforeachtable @command1="print ''?'' dbcc dbreindex (''?'', '' '', 80)"'
            exec (@SQL)
            set @SQL = @DB + '.sys.sp_updatestats'
            exec (@SQL)
            set @SQL = @DB + '.sys.sp_MSforeachtable @command1="exec sp_recompile ''?''";'
            exec (@SQL)
            set @MinID = @MinID + 1 --increment
        end
        drop table #Databases
    end

  • Installing SQL Server 2012 Developer Edition or wait for SP2?

    Hi everyone,
      I just received my copy of SQL Server 2012 Developer Edition I ordered.  As usual, before installing, I searched the web for any hint or other stuff on the subject.
      I first found that SP1 was already available.  Honestly I prefer installing using the last version available instead of upgrading.  I found the SP1 install package using the following web address:
    http://www.microsoft.com/fr-ca/download/details.aspx?id=35575
      Is this the right install package to use? 
      Now, still reading everything I could find on that SP1, I found stories about major issues with SP1. 
    Two examples I remember:
    http://connect.microsoft.com/SQLServer/feedback/details/770630
    http://support.microsoft.com/kb/2793634/en-us?wa=wsignin1.0
    Two others (not specifically related to SP1):
    http://social.msdn.microsoft.com/Forums/en-US/sqlsetupandupgrade/thread/a0da3372-ab3d-4af0-b4c4-0d47163e0e03/
    http://www.sqlperformance.com/2012/11/system-configuration/2012-cal-problems
      My question.  Should I wait for SP2?  If so, any target date when it should be available?
      If not, what would you recommend as the logic install sequence?  Should I look for any cumulative update(s)?  Any other "manual settings" I should consider?
      Finally, can someone guide me regarding what options I should choose while installing.  My main goal is to program/build C++, C# applications using VS2010 that will interface with SQL Server for data storage purposes (add/update/delete,
    batch update/delete) and reports.
    Hope to hear from someone.
    Stephane
    BTW:  My current setup is the following:
    Intel(R) Core(TM)2 CPU  [email protected]
    3.00 Go
    Vista Ultimate SP2 32bits
    Visual Studio 2010 Professional Edition (which will be upgraded to last SP once installed)

    Hi again,
      I proceeded with download of CU7.  On Microsoft's webpage, there are several files we can download:
    2012_SP1_DAC_CU7_2894115_11_0_3393_x86
    2012_SP1_AOrcleDes_CU7_2894115_11_0_3393_x86
    2012_SP1_AOrcleSer_CU7_2894115_11_0_3393_x86
    2012_SP1_PPExcel_CU7_2894115_11_0_3393_x86
    SQLServer2012_SP1_CU7_2894115_11_0_3393_x86
      Which one I should choose?
      Also, some people reported having problems installing this update. 
    http://blogs.msdn.com/b/sqlreleaseservices/archive/2013/11/19/cumulative-update-7-for-sql-server-2012-sp1.aspx
      Can you comment?
    Thanks again for helping,
    Stéphane

  • SQL Server 2012 Express - Could not load the file or assembly 'Microsoft.VisualStudio.OLE.Interop

    Windows 7 Home Premium, SP1
    64-bit
    I just installed SQL Server 2012 express - Express with Advanced Services (contains the database engine, Express Tools, Reporting Services, and Full Text Search),
    file name -  SQLEXPRADV_x64_ENU.
    Opening SQL Server Management Studio causes the error -
    "Could not load the file or assembly 'Microsoft.VisualStudio.OLE.Interop,
    Version=7.1.40304.0, Culture=neutral,
    PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The
    system cannot find the file specified."
    Do I need to install another file? Did I download the wrong version?
    Any suggestions? Thanks for any help.

    Hello,
    The issue may occure when the installation of your SQL Server is not a complete or a successful one. Did you try to repair or reinstall the SQL Server Express?  You can also try to install
    Service Pack 1 for SQL Server 2012
    to check if the issue presists.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • TableView : sort = "SERVER" ...does not work for "TIME"

    Hi,
    TableView sort = "Server" works automatically for "Date" Fields and "Text" Fields.
    But it does not work for "Time" field with data element "CDUZEIT". It shows the below error message:
    Note
    The following error text was processed in the system IFD : Invalid sort field type in "SORT ... AS TEXT".
    The error occurred on the application server ifdmain_IFD_01 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Form: IF_HTMLB_ELEMENT_DELEGATED~DO_AT_END of program CL_HTMLB_TABLEVIEW============CP
    Form: DELEGATED_END of program CL_HTMLB_ELEMENT==============CP
    Form: IF_BSP_ELEMENT~DO_AT_END of program CL_HTMLB_TABLEVIEW============CP
    Form: ONLAYOUT of program CLO27OLHO7EA9KVWPONPDC2NLTDFHCP
    Form: %_ONLAYOUT of program CL_O27OLHO7EA9KVWPONPDC2NLTDFHCP
    Form: DO_REQUEST of program CL_BSP_PAGE===================CP
    Form: CALL_VIEW of program CL_BSP_PAGE_BASE==============CP
    Form: CALL_VIEW of program CL_BSP_CONTROLLER=============CP
    Form: DO_REQUEST of program ZCL_ZPR_C_ACTION_LOG==========CP
    Form: DO_REQUEST of program CL_BSP_CTRL_ADAPTER===========CP
    Thanks and Regards,
    Bindiya

    Welcome to SDN.
    This problem and solution to it is exaplined in the following oss note number.
    <a href="https://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=893210&_NLANG=E">893210</a>
    Regards
    Raja

  • Additional Fields for ESS-Business Card Not Working for Certain Countries

    Dear Experts,
    We were trying to configure the additional fields to be displayed in Business Card - Overview Screen for all countries. We don't have problem configure and get the new fields display for Malaysia (Molga = 14) but having problem for the field to display for Hong Kong (Molga = 27) and Singapore (Molga - 25).
    The strange thing is I am following the same steps as I configured for Malaysia. Somehow it is not working for Hong Kong and Singapore. As I understand, there is only 1 place to configure in SPRO for this requirement:
    Personnel Management -> Employee Self-Service -> Service-Specific Settings -> Own Data -> Customizing of Personal Information Screens -> Determine Fields for Business Card on Overview Screen
    Please help!

    Hi Siddhart,
    Thank you for the information. We are currently in EhP3 with below Support Components installed.
    Software Component: SAP_HR
    Release: 600
    Level: 60
    Highest Support Package: SAPKE60060
    Software Component: EA-HR
    Release: 603
    Level: 34
    Highest Support Package: SAPK-60334INEAHR
    The note 1159911 provided is within SAPK-60304INEAHR. Thus, I don't think this is the root cause of this inconsistency base on the Highest Support Package installed in our system.
    Anymore hint? Anyone? Please...

  • Export to powerpoint not working for certain views

    Hi All,
    I am in the process of implementation of STVN 2.1 Pre EHP3 version of Nakisa OrgChart for one of my clients.
    During testing, it is observed that export to powerpoint object is not working for the following views.
    1. Condensed Org. Chart
    2. Compressed OrgChart -Only works when we expand at least one position
    3. Horizontal OrgChart - Condensed children-Only works when we expand at least one position
    In all the other views the export to Powerpoint object are working fine.
    Export of powerpoint image is working in all the scenarios. We are facing issue only with powerpoint object.
    I have implemented Export Pack 3.0 for OrgChart.
    J. Thomas

    Hi Luke,
    Thanks for the response.
    Yes...I have installed SP1.0. I have also applied Export Pack 3.0.
    The following features are working fine.
    1) Export to PDF
    2) Export to JPEG
    3) Export to Powerpoint Image.
    Export to Powerpoint Object is also working fine if the style is 'Vertical'. The issue is only in case of 'Condensed', 'Compressed' and 'Horizontal OrgChart - Condensed children' sytles. Here again, if we expand at least one position, the export is working.
    The error message that is flashed for the user is the usual one....pasted below.
    Object Variable or With Blovk Variable Not Set.
    Export To PowerPoint 
    Compatibility 
    We currently support:
    Microsoft PowerPoint 2000 / 2002
    Microsoft PowerPoint 2003
    Note: To ensure compatability, you may be prompted to install "Service Pack 6 for Visual Basic Runtime." If so, you must accept the installation and once installed it may ask for a system reboot which you may ignore. 
    ActiveX Security 
    Depending on your browser settings, you may be prompted to install 'Nakisa Office Components.cab'. This is our ActiveX component that will allow you to use our Exporting functionality.
    You may also be prompted to allow the ActiveX to run. If so, you must select 'Yes' to continue.
    Note: If you are not prompted and the export fails to occur, please verify your Microsoft Office installation and verify your browser's ActiveX settings are set to 'Enable' or 'Prompt'.
    In the log file, the following error message is displayed.
    ERROR: ChartingXMLProcessor : generateLayoutXML : Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 1, position 5081.
    Warm regards,
    J. Thomas

  • Logon trigger not working over DB-Link?

    Hi all,
    I have a serious question about accessing tables over a database link.
    I have three schema:
    DATA@SOURCE
    INTERFACE@SOURCE
    WORK@TARGET
    Schema DATA has one table called T1
    The INTERFACE schema has select privileges on all tables from DATA. Furthermore schema INTERFACE has a logon trigger to change the "current schema" to DATA:
    CREATE OR REPLACE TRIGGER TRG_A_LOGIN_SET_SCHEMA AFTER LOGON
    ON INTERFACE.SCHEMA
    BEGIN
    execute immediate 'ALTER SESSION SET CURRENT_SCHEMA = DATA';
    END;
    The WORK schema has a database link to the INTERFACE schema called INT_DB_LINK.
    I am now logged into schema WORK on the TARGET database and I am executing following statement:
    select a from T1@INT_DB_LINK
    -> it's working
    Next I execute
    declare
      cursor c is 
      select a
        from T1@INT_DB_LINK
       where rownum<2;
    begin
      for r in c loop
        null;
      end loop;
    end;
    This is not working. Error message is ORA-000942: table or view does not exist.
    But why?
    Can anyone help me?
    Thanks in advance
    Py

    Hi all,
    after a long, very long search I found what caused this strange behaviour.
    The ORA- Error was not raised by the SQL-Execution-Engine but by the SQL-Parser/SQL-Validation.
    As the second statement is an anonymous SQL block the Oracle Parser checks all objects dependencies before execution.
    This means a connection is established from TARGET to SOURCE checking if table T1 is available. The strange thing is
    that on this connection the "ALTER SESSION" trigger is not fired. So the parser does not find object T1 in schema INTERFACE.
    If I create an empty table T1 in INTERFACE the anonymous block gets parsed/validated and the statement is executed. But this
    time the block does a normal "connect session" and the trigger is fired. This means the statements accesses the T1 table in
    schema DATA. (But T1 in INTERFACE has to be existent that parse/validation works)
    I don't know if this is a bug or a feature.
    To workaround this I have created private synonyms in schema INTERFACE pointing to the objects in DATA.
    Thanks for your help!
    Py
    regarding the other qestion:
    Yes, permissions are granted over a role.

  • MDT 2013, WDS, Server 2012 R2 multicasting not working rc = -1073740940

    Hi,
    I have been reading all over the internet and not able to find an issue that we are having.  We have setup MDT 2013 and WDS on a Server 2012 R2 server.  Unicast has been working fine for us and we have the PXE boot working great too.  We have
    recently tried setting up Multicast.  Every time we try and deploy an image we receive the following error when the client tries to run the multicast.  I have pulled this error from the ltiapply.log on the client.  The error is: 
    Multicast transfer could not be completed, rc = -1073740940, falling back to using \\mdtserver\deploymentshare\operating systems.  We have also made sure we have IGMP enabled on all our switching and VLan's.  We have tested with mcast.exe
    and Wireshark and the packets are hitting the machine for multicast but we always seem to get this error.  Any help would be great.
    Thanks,

    MDT logs the output from the wdsmcast.exe command itself within the bdd.log file.
    A quick scan reveals:
    Multicast transfer to directory: C:\MININT\Operating Systems\BaseWin7x64_6_17_2014
    <Message containing password has been suppressed>
    Command has been started (process ID 776)
    Console >
    Console > Windows Deployment Services Multicast Client [Version 6.3.9600.17029]
    Console > Copyright (c) Microsoft Corporation. All rights reserved.
    Console >
    Console >
    Console > Operation Failed. [0x80070523].
    Console >
    Console > The name provided is not a properly formed account name.
    Console >
    Console >
    Return code from command = -1073740940
    "Not a properly formed account name"?!?!?  What?
    MDT will pass the user account credentials to the wdsmcast.exe command using the USERID value.
    SO... What is UserID set to?
    Property USERID is now = vdl-mdt\helpdesk ZTIGather 7/29/2014 8:27:55 AM 0 (0x0000)
    Whoops! UserID should not contain the domain name, instead it should just contain the user name.
    USERID=Helpdesk
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

  • Windows Server 2012 Snipping Tool Not Working

    I have installed snipping tool on our server. When testing it under the admin account everything works fine.
    But when users login and use the snipping tool > Email > Send. The email shows up as blank. It does not show up with the common red X but just shows nothing at all
    I have scoured the internet for hours looking for a fix but have yet to find anything. I have changed the registry settings like this link below
    http://blogs.msdn.com/b/akashb/archive/2012/12/08/images-sent-using-snipping-tool-snippingtool-exe-shows-up-as-red-x-in-outlook-2010.aspx
    I have allowed outlook to accept all pictures etc. I have uninstalled and reinstalled Desktop Features.
    What I think is the problem from looking trough my phone is the email says "This message has no content" or "image0001.png" when it should say
    cid:[email protected]
    If anyone knows a fix for this please let me know. Thanks

    I gave everyone full control to snipping tool, still did not work. I logged in as user and ran snipping tool as administrator, still did not work.
    The snip is not saved to a certain folder. I am trying to send it via email (without sending it as an attachment) which is the same as copy and pasting the picture.
    If I Copy + Paste I get the correct
    cid:[email protected],
    but if i choose to email only (again not sending as attachment) it has no content at all.
    I checked the settings for snipping tool and the box is checked to  "always copy snips to the clipboard" which in essence should make it work.

  • SQL-Server detection/discovery does not work in win 10 build 10041

    Hello,
    I'm using the default .NET-function to detect SQL-server-instances in the network. It works fine in win xp, win7, win8 up to win 2012r2. It also works in earlier win 10 builds, but it's broken in build 10041.
    It's reproduceable with the powershell-call
    [System.Data.Sql.SqlDataSourceEnumerator]::Instance.GetDataSources()
    On other systems the function call takes about 10 to 15 seconds before returning a list of SQL instances in the network. Under win 10 build 10041 it returns immedeately without any results.
    Please fix this problem before the final build!

    Share: The abiltity to place a link to the feedback-"post" somewhere else ... facebook, twitter, or this forum here.
    I've only a virtual machine with windows 10 installed. So it's really annoying, that I have to log on on to check the state or the "me too" count of my feedback-post. Would be great if this post is reachable through the web from other (pre windows
    10) machines.
    Answer: The ability to reply to the feedback-"post". like "it's solved now", "it does not work with build xxxxx", "i can't reproduce", "we're working on a bugfix"

  • MSS SQL Server 2005 - Partitioning - Review Note 869407 for Status

    I was reviewing OSS Notes today in preparation for applying BW 3.5 Support Stacks 16 - 18 and stumbled on this note regarding partitioning on SQL Server.  Thought I'd share it.  Read the full note if partitioning on SQL Server is something you want.
    <a href="https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=869407&nlang=&smpsrv=">Note 869407 - Partitioning on MS SQL Server 2005</a>
    MS SQL Server 2005 partitioning in BW 3.5 (NW04) and 7.0 (NW04s).
    This note is only valid for MS SQL Server 2005 pilot customers.
    If you implement this note on your MS SQL Server 2005 you should first contact SAP because partitioning on MS SQL Server 2005 is still in a partitioning pilot phase .
    The current pilot phase for SQL 2005 table partitioning was extended and will end approx mid/end of 2006 although SQL 2005 is already available.

    First of all please be aware HSODBC has been desupported since 15th of March 2008. When starting a new project you should start with a supported product and this product is called DG4ODBC and it is available as release 11.
    Looking at the provided listener it shows several configurations issues.
    Have a lokk at yout tnsnames.ora => you mentioned to use the listener servicing port 1521.
    This Listener serves 2 SIDs with the same name:
    SID_DESC =
    (SID_NAME = yscc02)
    (ORACLE_HOME = /u01/app/oracle/product/101)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = yscc02)
    (ORACLE_HOME = /u01/app/oracle/product/101)
    (PROGRAM = hsodbc)
    (ENVS = "LD_LIBRARY_PATH=/u01/app/oracle/product/101/lib32:/usr/lib:/u01/app/oracle/product/101/hs/lib32")
    So when you now connect, the listener does not know which service to spawn. Please check out Metalink note:
    Note.238771.1 How to Setup Generic Connectivity - HSODBC - on AIX
    when you want to continue using HSODBC although I strongly recommend you to use DG4ODBC which is configured as mentioned in Metalink note:
    Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX)

  • Update of MySQL and SQL Server JDBC Driver does not work in 1.2.1

    Hi,
    always after the update process is started i got the MySQL and SQL Server JDBC driver
    update notification.
    But all the time after i install the update i got the notification again but no errormessage
    that the update was maybe not successful ???
    Frank

    Ok
    then my subject was false
    i always try to update the extensions and now i can see that they are updated on the filesystem but the IDE does not recognize them as updated
    ....\sqldeveloper\sqldeveloper\extensions\oracle.sqldeveloper.thirdparty.drivers.mysql
    is available and new after the update process
    and under
    ...\sqldeveloper\sqldeveloper\tmp\update\oracle.sqldeveloper.thirdparty.drivers.mysql.5239.zip
    the downloaded zip file is also available.
    In the update window the message is that the extension with version 5206 is available
    Maybe that is the problem cause the downloaded files are version 11.1.1.5239
    if you look at the bundle.xml file inside the META-INF directory
    Frank

Maybe you are looking for

  • Strange error while executing a stored procedure: Incorrect syntax near '@p0'

    All, I am getting a strange error while executing a stored procedure: Incorrect syntax near '@p0'  using JDBC CallableStatment. Here is my code... CallableStatement cStmt = con.prepareCall("{call SET CHAINED ON EXEC <dbName>.<schemaName>.<SPName> (?,

  • How do I create a querry in sb1 2004

    Hi all I want to create a query. I looked in tools-> queries -> query manager but i doesn't enable me to create new queries only run the existing ones So how do i create queries? appreciate the help Yoav

  • Amadeus Pro not recognizing keyboard shortcut

    Am using the latest Amadeus Pro (1.4.5) and the keyboard shortcuts for zooming in/out vertically is "option +-" but this isn't working for me. Just getting horizontal zooming. Unfortunately, there is no explicit Menu Command for zooming in/out vertic

  • Seeded Discoverer Workbooks in Oracle HRMS

    Hi, I would like to have seeded discoverer workbooks in HRMS. HRMS has many reports available in applications, why there is a need for distributing seeded discoverer workbooks. Are they for any special functionality business wise or just for security

  • Sony Vaio VPCEB3F4E intermittent power on problems

    Hi All Model above. Four years old, new SSD, everything else factory. Fan cleaned six months ago. Was working away one day and just turned off. Wouldn't boot back up. Tried to take out battery, hold power for 30 seconds, then boot didn't work (power