SSL afloading only goes to one server
Hi ,
I enabled SSL Afloading when i tried to access the servers by using VIP addres (192.168.11.11) only go to server1 (DB1), i tried with multiple machine and it gave me the same resault. please check the configuration and if it fine or ned to modify.
Hi Steven,
The configuration looks fine.
Are all real servers operational? Can you try and shut the server to which all the connections are going, try again and see if the request goes to another server in serverfarm.There shouldn't be an issue if you have tested from different machines since the sticky is based on srcip-destip both.
Regards,
Kanwal
Similar Messages
-
Load Balancing only working on one server!
Hi All,
I have configured 3 servers as follows:
Server 1 = WebCache only server (Windows 2003)
Server 2 = 10g Forms and Reports server (Solaris)
Server 3 = 10g Forms and Reports server (Solaris)
Servers 2 and 3 work perfectly using the direct addresses on the following ports
server2.domain.com:7778/formsurl?config=WEBTEST
server3.domain.com:7777/formsurl?config=WEBTEST
I have added the Origin servers, the site definitions, and the one site-to-server mapping which is as follows:
server1.domain.com:7777
--> server2.domain.com:7778/formsurl?config=WEBTEST
--> server3.domain.com:7777/formsurl?config=WEBTEST
When connecting using the WebCache server's URL I get a FRM-92101 error, cannot communicate... I am using the URL below to connect:
--> server1.domain.com:7777/formsurl?config=WEBTEST
However, if I remove one of either server2 or server3 from the site-to-server mapping (effectively meaning that WebCache is only 'load-balancing' on one server), the application loads up fine.
It is only when enabling both servers that it fails?!?!
Does anyone have any ideas as to what could be happening to cause this problem??
Many thanks,
PaulThanks for all the replies ;)
I have now fixed the problem...Dont ask me how because it would take too long to explain!
Thanks,
Paul -
Tunnel traffic only goes in one direction
I have established the VPN tunnel, verified with show isakmp and ipsec commands as well as watching the real time log in ASDM. The catch is the VPN tunnel can only be initiated from the remote end (Fortigate VPN Firewall) and I can ping from a remote computer, see the ICMP packet enter the tunnel, and see in the log on the ASA the ICMP with the remote source IP and no echo reply is sent back over the tunnel. If I try to ping from behind the local ASA and the tunnel isn't up, it never goes up. I am not sure what the problem is. I setup a different tunnel to my home ASA to ASA and everything works fine between the local ASA (192.168.150.1) and my home ASA (192.168.1.1).
I have been going through the "Most common L2L and Remote Access VPN" troubleshooting doc form Cisco and will turn on NAT-T on both ends, but what else do I need to do?
: Saved
ASA Version 8.2(1)
hostname <HIDDEN>
domain-name <HIDDEN>.com
enable password <HIDDEN> encrypted
passwd <HIDDEN> encrypted
names
dns-guard
interface Vlan1
nameif inside
security-level 100
ip address 192.168.150.1 255.255.255.0
interface Vlan2
nameif outside
security-level 0
ip address 1.1.1.1 255.255.255.252
interface Ethernet0/0
switchport access vlan 2
interface Ethernet0/1
interface Ethernet0/2
interface Ethernet0/3
interface Ethernet0/4
interface Ethernet0/5
interface Ethernet0/6
interface Ethernet0/7
banner motd [WARNING]
banner motd If you are not authorised to access this system exit immediately.
banner motd Unauthorised access to this system is forbidden by company policies, national, and
international laws.
banner motd Unauthorised users are subject to criminal and civil penalties as well as company
initiated disciplinary proceedings.
banner motd By entry into this system you acknowledge that you are authorised to access it and
have the level of privilege at which you subsequently operate on this system.
banner motd You consent by entry into this system to the monitoring of your activities.
ftp mode passive
clock timezone EST -5
clock summer-time EDT recurring
dns domain-lookup inside
dns domain-lookup outside
dns server-group DefaultDNS
name-server 4.2.2.1
name-server <hidden>
domain-name <hidden>.com
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object-group service rdp tcp
description used for windows remote desktop
port-object eq 3389
object-group service vnc tcp
description used for vnc remote control software
port-object eq 5900
access-list outside_1_cryptomap extended permit ip 192.168.150.0 255.255.255.0 1.2.0.0
255.255.0.0
access-list outside_access_in extended permit icmp any any
access-list inside_nat0_outbound extended permit ip 192.168.150.0 255.255.255.0 1.2.0.0
255.255.0.0
access-list inside_nat0_outbound extended permit ip 192.168.150.0 255.255.255.0 192.168.1.0
255.255.255.0
access-list outside_2_cryptomap extended permit ip 192.168.150.0 255.255.255.0 192.168.1.0
255.255.255.0
pager lines 24
logging enable
logging asdm informational
mtu inside 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
icmp permit any inside
icmp permit any outside
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 192.168.150.0 255.255.255.0
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 1.1.1.2 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-record DfltAccessPolicy
http server enable
http server idle-timeout 120
http 192.168.1.0 255.255.255.0 inside
http 192.168.150.0 255.255.255.0 inside
http 1.2.0.0 255.255.0.0 inside
http 0.0.0.0 0.0.0.0 outside
http 192.168.200.0 255.255.255.0 inside
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec security-association lifetime seconds 3600
crypto ipsec security-association lifetime kilobytes 4608000
crypto map outside_map 1 match address outside_1_cryptomap
crypto map outside_map 1 set peer <hiddenpublicip1>
crypto map outside_map 1 set transform-set ESP-3DES-SHA
crypto map outside_map 1 set security-association lifetime seconds 3600
crypto map outside_map 1 set nat-t-disable
crypto map outside_map 2 match address outside_2_cryptomap
crypto map outside_map 2 set pfs group1
crypto map outside_map 2 set peer <hiddenpublicip2>
crypto map outside_map 2 set transform-set ESP-3DES-SHA
crypto map outside_map interface outside
crypto ca trustpoint ASDM_TrustPoint0
enrollment self
email <hidden>
subject-name CN=<hidden>
serial-number
ip-address 192.168.150.1
crl configure
crypto ca certificate chain ASDM_TrustPoint0
certificate 9f49814d
3082026d 308201d6 a0030201 0202049f 49814d30 0d06092a 864886f7 0d010104
0500307b 31173015 06035504 03130e49 6e656f73 2d44656c 61776172 65316030
12060355 0405130b 4a4d5831 35303434 32394330 1a06092a 864886f7 0d010908
130d3139 322e3136 382e3135 302e3130 2e06092a 864886f7 0d010902 1621496e
656f732d 44656c61 77617265 2e496e65 6f732d44 656c6177 6172652e 636f6d30
1e170d31 31303331 36323333 3730335a 170d3231 30333133 32333337 30335a30
7b311730 15060355 0403130e 496e656f 732d4465 6c617761 72653160 30120603
55040513 0b4a4d58 31353034 34323943 301a0609 2a864886 f70d0109 08130d31
39322e31 36382e31 35302e31 302e0609 2a864886 f70d0109 02162149 6e656f73
2d44656c 61776172 652e496e 656f732d 44656c61 77617265 2e636f6d 30819f30
0d06092a 864886f7 0d010101 05000381 8d003081 89028181 008bc900 70d74224
d5b0dd7f e3ee482d a236c04e 91f237f3 842198d3 30283a64 029d0ac3 19a40674
dd5faa07 ff5cbd76 62183f13 7903bb92 cb69c600 c87fec4e 7c420f55 86b2c3e0
fc948c5e b06e59ee dd9c1500 7578ef88 a06b3395 8f3040a0 71017df0 8e935f2f
fbd83fa0 f7413498 bd36d95e dd00386e 4344f483 2b68174f 9d020301 0001300d
06092a86 4886f70d 01010405 00038181 00275371 8660da69 ebcea01d 5fe969e8
919d0b96 3044f6c6 0052a4cc 14c89ec4 6d89b2e3 05069550 84740f26 6a03f28c
290cba8e 4d339abc a14db63e acc2e041 1a8fc569 fd3fd443 b9f73a6e 4e405cba
a77a4613 5c4c2f76 c861476c d7f4a404 5456c296 964614c2 4e69d02f a8b30c8e
845117de d21d7794 aaaf5866 160ee2bd de
quit
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption aes-256
hash sha
group 5
lifetime 86400
crypto isakmp policy 30
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
no crypto isakmp nat-traversal
telnet 192.168.150.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 60
management-access inside
dhcpd address 192.168.150.100-192.168.150.131 inside
dhcpd dns 4.2.2.1 4.2.2.2 interface inside
dhcpd enable inside
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
ntp server 192.43.244.18 source outside prefer
webvpn
tunnel-group <hiddenpublicip1> type ipsec-l2l
tunnel-group <hiddenpublicip1> ipsec-attributes
pre-shared-key *
peer-id-validate nocheck
tunnel-group <hiddenpublicip2> type ipsec-l2l
tunnel-group <hiddenpublicip2> ipsec-attributes
pre-shared-key *
prompt hostname context
Cryptochecksum:34326277fd2eb3caaa97e939b52ce4f2
: end
no asdm history enableThanks for your help. There are no NAT devices between the endpoints (the ASA has NAT but I have exempted this traffic from it, don't think I would still need NAT-T).
Here are the results when I try to initiate the VPN from the ASA to the Fortigate, just sits there (if I initiated from the Fortigate it was be State:ACTIVE).
sho crypto isakmp sa
Active SA: 1
Rekey SA: 0 (A tunnel will report 1 Active and 1 Rekey SA during rekey)
Total IKE SA: 1
1 IKE Peer: x.x.x.x
Type : user Role : initiator
Rekey : no State : MM_WAIT_MSG2
sho crypto ipsec sa
There are no ipsec sas
debug crypto isakmp
HOSTNAME# debug crypto ipsec
HOSTNAME# Mar 20 20:14:43 [IKEv1]: IP = x.x.x.x, Removing peer from p
eer table failed, no match!
Mar 20 20:14:43 [IKEv1]: IP = x.x.x.x, Error: Unable to remove PeerTblEntry
Mar 20 20:15:18 [IKEv1]: IP = x.x.x.x, Removing peer from peer table failed
, no match!
Mar 20 20:15:18 [IKEv1]: IP = x.x.x.x, Error: Unable to remove PeerTblEntr -
Once I open Safari, it opens to a page that says error. Then when you put in an address it goes to the same site (ampedwireless.com) reguardless of the address you enter. Running everything I can think of to clear it up, but so far no luck. Anyone ever seen this? Thanks
It's called a "captive portal," the sign-in page for a wireless network. Any page you try to load will be redirected to that one until you sign in. If you can't sign in with Safari, try another browser.
-
My music only plays in my left ear when I'm wearing my headphones and when I'm listening to music without my headphones the music only comes out through the left speaker. CAN SOMEONE PLEASE HELP ME,? YOUR HELP WILL BE MUCH APPRECIATED.?
All iphone have one and only one speaker at the bottom.
Have you tried another set of earphones? Maybe they are the problem?
Have you made sure that the headphones are inserted all the way? -
<blockquote>Locking duplicate thread.<br>
Please continue here: [/questions/816789]</blockquote><br>
In Firefox 3.6 the back arrow button to go back a page also had a down arrow button that would let you jump back multiple pages. How can I get that to show in Firefox 4?The arrow to open the tab history of the Back and Forward buttons has been removed in Firefox 4.
Use one of these methods to open the tab history list:
* Right click on the Back or Forward button
* Hold down the left mouse button on the enabled Back or Forward button until the list opens
You can look at this extension:
* Backward Forward History Dropdown: https://addons.mozilla.org/firefox/addon/backforedrop/ -
HT3275 Time Machine only goes back one week!
I've been backing up for well over a year. My backup disk is 1TB and my Mac drive is only 500MB. The backup is still only half full. Why can't I find data from months ago?
Did you upgrade to Mavericks between then and now.. if so the old backups are difficult to get hold of.. you can do it but only by manually accessing the sparsebundle..
See the info in Pondini here.
http://pondini.org/TM/FAQ.html
Try Q15 but it is good to read the whole section on restore from 14-17..
Mavericks has made life that much harder. -
Hi,
We are trying to install SSL certificate (Verisign Class 3) on iPlanet Web Server (version 7). However, at the final step we are getting the error "ADMIN4118: Only one server certificate can be installed at a time"
We are following the below steps,
Under "Server Certificates" tab,
-> Click on "Install" button.
-> On "Select Configuration" click on "Next" button.
-> On "Select Tokens and Passwords", select default token as "internal" and click on "Next" button.
-> On "Enter Certificate Data", select option as "Certficate File" and give path to the certificate file which is having .p7b extension
-> On "Certificate Details" we are getting warning as "Duplicate Server Details Found" and it's by default using the existing certificate's nickname.
-> On "Review" page after clicking "Finish" button, an error is displayed saying "ADMIN4118: Only one certificate server can be installed at a time"
There are multiple sub-domains availble and the new certificate we want to install contains one more sub-domain.
So, say currently the subdomains present are,
1.abc.com
2.abc.com
so on...
and now we are trying to install a SSL certificate having one more subdomain say 10.abc.com.
Please let us know if you have solution to this problem.
Thanks,
RajeshHi Rajesh,
That error is most commonly seen when you are trying to install a certificate chain into the Web Server.
The chain should be installed using the "Certificate Authorities" tab per the following steps:
1) Login to the Admin Console.
2) Click Edit Configuration from Common Tasks > Configuration Tasks.
3) Click the Certificates > Certificate Authorities tab from the Configurations page.
4) Click the Install... tab from the Certificate Authorities (CAs) page.
An Install CA Certificate Wizard opens. The wizard guides you through the settings available for installing a Certificate Chain. Select Certificate Chain when prompted for Certificate Type.
You should then see the CA and intermediate certificate(s) listed in the security database.
If you have access to MOS, more details can be found in the MOS KM Note:
Oracle iPlanet Web Server - 'ADMIN4118: Only one server certificate can be installed at a time' When Installing Certificate Chain (Doc ID 1925025.1)
regards
Tracey -
Cluster servlet only sees one server
I'm using WLS6.1 SP2 running on Solaris. I'm using the new version of the HttpClusterServlet
(weblogic.servlet.proxy.HttpClusterServlet) to proxy to 6 managed servers running
on two physical servers. It's just proxying web requests, not EJBs or anything
like that, and we're not using session state or SSL.
The problem is that the cluster servlet only sends requests to one server at a
time - no round-robin is going on. It seems to just latch onto the first server
it can find. So if I bring down all the managed servers, the first one that comes
back up gets all the requests forever.
The only parameters to the HttpClusterServlet are DebugConfigInfo = On and the
WebLogicCluster property which is set to:
server1:9221:9222|server1:9231:9232|server1:9241:9242|server2:9221:9222|server2:9231:9232|server2:9241:9242
I've also checked the online debug info, using http://server1:proxyport/dummy.jsp?__WebLogicBridgeConfig.
This shows only one server under the General Server List. However it does change
if I take down the server listed there.
Any help would be greatly appreciated,
BKR
Hi Brian,
One thing I notice is that the servers listed in your WebLogicCluster
property show some instances listening on different ports. Pre-7.0,
clustered instances must be listening on different IPs, but the same port
number. For example,
server1 - listen address 192.168.1.100 - listening on port 8001
server2 - listen address 192.168.1.101 - listening on port 8001
server3 - listen address 192.168.1.102 - listening on port 8001
..etc...
So you are either trying to proxy to three different clusters, in which
case, your HttpClusterServlet configuration is incorrect, or you just have
your cluster configured in correctly (if you intend for all six servers to
be a part of one cluster).
Hope this helps.
Jane
BEA Support
"Brian Reischl" <[email protected]> wrote in message
news:[email protected]...
>
> I'm using WLS6.1 SP2 running on Solaris. I'm using the new version of the
HttpClusterServlet
> (weblogic.servlet.proxy.HttpClusterServlet) to proxy to 6 managed servers
running
> on two physical servers. It's just proxying web requests, not EJBs or
anything
> like that, and we're not using session state or SSL.
>
> The problem is that the cluster servlet only sends requests to one server
at a
> time - no round-robin is going on. It seems to just latch onto the first
server
> it can find. So if I bring down all the managed servers, the first one
that comes
> back up gets all the requests forever.
>
> The only parameters to the HttpClusterServlet are DebugConfigInfo = On and
the
> WebLogicCluster property which is set to:
>
server1:9221:9222|server1:9231:9232|server1:9241:9242|server2:9221:9222|serv
er2:9231:9232|server2:9241:9242
>
>
> I've also checked the online debug info, using
http://server1:proxyport/dummy.jsp?__WebLogicBridgeConfig.
> This shows only one server under the General Server List. However it does
change
> if I take down the server listed there.
>
>
> Any help would be greatly appreciated,
> BKR
-
Exchange 2013 - Admins can only log into one ECP server
Simple run down of my environment:
• Two AD sites (Site1 and Site2)
• One 2008 R2 domain controller at each site (DC1 w/ FSMOs and DC2) running AD forest function level 2008 R2
• One 2012 Std server with Exchange 2012 Std CU3 at each site (EX1 and EX2) – CAS/MBX on both, No DAG
• Half of mailboxes on each server
Using https://webmail.domain.com for all of our internal and external virtual directories. Adding /OWA or /ECP will get you into the respective site from either internal or external.
All Domain Admin/Exchange Admin (Organization Management) do NOT have mailboxes. Those individuals can log into ECP from https://webmail.domain.com/ecp, or FQDN or IP of EX2 only. If John Smith has no mailbox then he must use:
https://webmail.domain.com/ecp
or
https://ex2.domain.com/ecp
or
https://10.16.109.31/ecp
If EX2 goes offline or they use https://ex1.domain.com/ecp or https://10.16.108.31/ecp then none of the admins can login and they get the following:
Use the following link to open this mailbox with the best performance:
https://webmail.domain.com/owa/auth.owa
X-FEServer: EX2
Date: 2/18/2014 10:37:42 PM
s ECP or the https://webamil.domain.com/ecps ECP.
They can access EMS from either server and run Get-ECPVirtualDirectory and it shows what we would expect:
– https://webmail.domain.com/ecp
– https://webmail.domain.com/ecp
Why can an admin with no mailbox only log into the ECP on EX2? What is forcing the login to EX2 only? How can I move that “forced login” to EX1 if we ever get into a situation where EX2 is having problems? What happened in Active Directory or Exchange that
made EX2 the primary login server for ECP and OWA? My FSMOs are located at Site 1…the same location where EX1 is located. The same server that I cannot log into ECP directly.
~RickAny admin that is mail enabled can then only log into the server that hosts his mailbox. Admins without mailboxes can only log into EX2. And again, all admins can log into https://webmail.domain.com/ecp unless one of the servers goes offline
and that's when the problems occur. Nothing obvious or unusual regarding mail flow. Done various internal and external tests and have not seen anything obvious or in the logs.
Yesterday's change that MS Support had me do was to delete the ExternalURL for the ECP virtual directories. No difference. So, my latest update from MS Support that requested me to try today's change...
set-owavirtualdirectory “owa (default web site)” -RedirectToOptimalOWAServer $false
After performing an IIS reset and making sure replication had completed there was no difference. So, I am now forced to wait till Monday for MS to respond if the pattern stays at one email per day.
Has anyone with multiple servers at different AD sites been able to log directly into the either server like I'm trying? I get this problem in my labs and I even had MS, while on the phone, remote in to make sure I was setting it up properly.
The guy on the phone never said if their labs do the same thing cause they don't have multiple AD sites in their labs. In my lab if I have two servers at each site then I can log into both servers at the site, but not the other site. It appears it becomes
site dependent then.
MS has taken numerous logs and they are acting like this is the first time they've seen this. Yet I can reproduce it with no problem time after time. I'll create new VMs and start all over from scratch and make this happen every time I create a new AD/Exchange
environment (it does take me a while to build all those VMs from scratch). No fancy GPOs to AD and no radical changes to the Exchange servers. Other than obvious config changes to make sure email can flow internally and externally, this is pretty much out
of the box.
~Rick -
I have two email accounts that my iTunes keeps getting mixed up. How do I delete one of the emails from my iTunes so it only goes to my .me account?
Hi Rochdr,
You can use the following article to help you address this issue with your mail account in OS X:
OS X Mail: Troubleshooting sending and receiving email messages
http://support.apple.com/kb/ts3276
Thanks for using the Apple Support Communities. Have a good one!
-Braden -
Lync Server 2013 Front End Pool Mediation Service only works on one node
Hello, I'm currently experiencing an interesting issue with a Lync 2013 Front End Pool implementation on a customer, and I don't know if this is by design or am I missing something.
We implemented 3 Enterprise Front End Servers in a Pool with a hardware load balancer and we have them configured also as a mediation Pool.
We have a SIP trunk to an Avaya PBX which was perfectly working before on a Lync 2010 Implementation that we migrated to these new 2013 Front End Pools.
Now the SIP traffic is only working when configured directly to one node of the pool. If we configure it to any other node the calls fail. We also tried configuring the HLB for port 5060 for the pool and pointed the PBX to that IP but the calls also fail.
Searching around I read something about that the PBX has to be Lync certified in order to use DNS load balancing to send SIP traffic to the mediation pool, however, I don't think DNS load balancing will work because the other nodes doesn't connect the calls
from the PBX, only one node appears to be listening for the SIP Trunk.
I also restarted the mediation service on one non-working mediation server node and the event viewer on the working mediation server node showed events that it restarted the service, Not the non-working one, it's like only one server from the pool
is doing as mediation server.
So even if I get a Lync Certified PBX/Media Gateway, the mediation service doesn't appear to be load balanced, or how does it work in order to do that?
Thanks.
Eduardo RojasJust a few things about what should be happening. Each front-end server should be listening on the port configured in topology builder for the mediation service. So if that is port 5060, verify that you see that port listening on all front-end servers
by running a netstat -ano. From a local workstation, also make sure you can connect to that port via a telnet IPAddress 5060. As you say, you should be able to send any of the three mediation servers an inbound call.
Outbound calls will round robin out of the enterprise pool. So you shouldn't see all of the calls coming out of a single server.
A few other items I would look into:
- Make sure your ports are right. Ensure that you are matching ports on the Avaya and Lync. It's not a hard requirement but makes life easier to troubleshoot. So if the Avaya is 5060, just make sure TCP/5060 enabled in your mediation pools
and that your gateways/trunks are also set to TCP/5060.
- Look outside the Lync Event Viewer and see if anything strange (.net errors) are being tossed anywhere else during startup of the mediation service. I once had to remove the mediation server installer (Program and Features | Remove) and rebootstrap
the server because something went sideways during an install.
Thanks,
Richard
Richard Brynteson, Lync MVP | http://masteringlync.com | http://lyncvalidator.com -
Hi Guys,
SSIS 2012 ETL is failing only at one server (No BIDS) but running successfully from BIDS on different sever . In this ETL, I have used Stored Procedure in OLEDB Source.
Note: I have couple of ETLs developed in 2005 using same logic and upgraded to 2012, working perfectly.
I am getting Error Message:
SSIS
Error Code
DTS_E_OLEDBERROR.
An OLE DB
error has occurred.
Error code: 0x80004005.
An
OLE DB
record is available.
Source: "Microsoft OLE DB Provider for SQL Server"
Hresult: 0x80004005
Description: "Error converting data type varchar to datetime.".
Unable
to retrieve
column information
from the data
source. Make
sure your target
table in
the database is
available.
"OLE DB Source"
failed validation
and returned
validation status
"VS_ISBROKEN".
I tried below word around and found It is working perfectly.
I loaded data into a table (dbo.TEMP) using Stored procedure and then I used this dbo.TEMP table in OLEDB source and then found no issue.
MY SP Details: (This SP I am calling in OLEDB source of ETL) and when I run it from one server IT is working fine and when I run from ETL dedicated Server getting error: Guys Help me out.
USE
[TEST_DB]
GO
SET
ANSI_NULLS ON
GO
SET
QUOTED_IDENTIFIER ON
GO
ALTER
PROCEDURE [DBO].[SP_TEST]
--EXEC [DBO].[SP_TEST] '2014-09-30','2014-10-01'
@FROMDATETIME
DATETIME,
@TODATETIME
DATETIME
AS
SET
NOCOUNT ON
BEGIN
DECLARE
@FROMDATEKEY INT,
@TODATEKEY INT,
SET
@FROMDATEKEY=
CONVERT(VARCHAR(10),@FROMDATETIME,112)
SET
@TODATEKEY=
CONVERT(VARCHAR(10),@TODATETIME,112)
IF 1 = 1
BEGIN
SELECT
CAST(NULL
AS DATETIME)
AS TXN_DATE
, CAST(NULL
AS DATETIME
) AS PROCESS_DATE
, CAST(NULL
AS money)
AS S1_AMT
, CAST(NULL
AS money)
AS S2_AMOUNT
, CAST(NULL
AS money)
AS S2_INVALID_AMOUNT
, CAST(NULL
AS money)
AS INVALID_MOVED_IN_VALID_S2_AMOUNT
, CAST(NULL
AS VARCHAR(20))
AS SYSTEM_ID
, CAST(NULL
AS money)
AS S3_AMT
END
SELECT
TXN_DATE
,PROCESS_DATE
,S1_AMT
,S2_AMOUNT
,S2_INVALID_AMOUNT
,INVALID_MOVED_IN_VALID_S2_AMOUNT
,SYSTEM_ID
S3_AMT
FROM
DBO.TABLE_1
WHERE TNX_DATE_KEY
BETWEEN @FROMDATEKEY
and @TODATEKEY
UNION
ALL
SELECT
TXN_DATE
,PROCESS_DATE
,S1_AMT
,S2_AMOUNT
,S2_INVALID_AMOUNT
,INVALID_MOVED_IN_VALID_S2_AMOUNT
,SYSTEM_ID
S3_AMT
FROM
DBO.TABLE_2
WHERE TNX_DATE_KEY
BETWEEN @FROMDATEKEY
and @TODATEKEY
UNION
ALL
SELECT
TXN_DATE
,PROCESS_DATE
,S1_AMT
,S2_AMOUNT
,S2_INVALID_AMOUNT
,INVALID_MOVED_IN_VALID_S2_AMOUNT
,SYSTEM_ID
S3_AMT
FROM
DBO.TABLE_3
WHERE TNX_DATE_KEY
BETWEEN @FROMDATEKEY
and @TODATEKEY
END
Data Source Mode: SQL Command for Variable
"EXEC [DBO].[SP_TEST] '"+ (DT_WSTR, 24) @[User::V_EXTRACT_FROM_DT] +"','"+ (DT_WSTR, 24) @[User::V_EXTRACT_TO_DT] +"'"
Where variable @[User::V_EXTRACT_FROM_DT] and @[User::V_EXTRACT_TO_DT] is defined as DATETIME
Thanks Shiven:) If Answer is Helpful, Please VoteHi,
Yes you are right. At one sever where I was getting error, DateTime was in USA format and Where It was running successfully was in AUS format.
I changed from USA to AUS and I did another changes:
Data Source Mode: SQL
Command
EXEC [DBO].[SP_TEST]
@FROMDATETIME = ?,
@TODATETIME = ?
and It is working fine.
Thanks Shiven:) If Answer is Helpful, Please Vote -
I can send to only one server (NG) at at time? How can I fix this!
Frequently, there are messages to my News Group from multiple NGs. I wish to respond,
but I get the message that I can send messages to only one server at the timeOnly when i go to a different browser (like IE) after i clear it , then all that shows up is the pages i visited in IE , that is what bugs me , why is IE browsing history sowing up in Firefox ??
Basically , i can clear the history in Firefox , and then for a example , go to Craigslist , using IE7 (launching it from a complete different Icon , in other words at that time i never open Firefox) , then after closing out , or even leaving open as it does not seem to matter , i go into Firefox , and hit History , and there is every place i visited in IE7 , on my History in Firefox
Maybe you are looking for
-
How to set the size and position of JFrame
hey all, i have a frame and i devide the frame into three panels, i want to make the top panel the lergest and make it square. and the rest two panels in small and in the bottom of the frame. could you please help me to set the size and position of t
-
Trying to extend time in a template by copying scene & pasting
Trying to extend time in a template by copying scene & pasting in at the end, but with a different video inside the provided video holder.
-
Using IMAQ Image controls in LabVIEW steps
Hi guys So far, I was using TestStand 4.0 together with LabVIEW 8.5 and Vision Development Module 8.5 with no problems. Recently, I've updated to LV 8.6 and VDM 8.6. I've started to experience weird problems when using LabVIEW steps with inputs/outpu
-
HT4623 iOS upgrade has killed my iPad, it won't start anymore.
I just accepted the iOS 7.0.2 upgrade and my iPad has died. All I get is an iTunes logo mid screen with plug/lead graphic and an arrow pointing to the logo. I've tried all the buttons and even tried a reset, holding both down for 10 seconds, but it's
-
Dear Sir, Please help , how to permanentaly delet block diagram of the programme, so it will protected and show only front panel and no one can see the code of the programme. please tell me steps or any example of deleting it. Solved! Go to Solution.