Error Creating a Net Connection with user "sys" as dba
I can connect as user "sys" locally, but cannot
connect as user sys as a network connection.
situation #1: connecting locally ... no problem ...
[oracle@localhost ~]$ sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Sat May 12 23:31:39 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter user-name: sys as sysdba
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
situation #2: connecting "sys" by network ... error message - insufficient privileges ...
SQL> connect sys@orcl as sysdba
Enter password:
ERROR:
ORA-01031: insufficient privileges
situation #3: connecting by network as user "system" ... no problem ...
SQL> connect system@orcl
Enter password:
Connected.
Certainly you are not following the rules of etiquette detailed in this forum.
I guess you did not read the documentation relating to forum etiquette.
If you read the forum etiquette documentation you would have read
the following....
When answering a question, please be courteous and respectful;
there are different levels of experience represented here.
A poorly worded question is better ignored than flamed -
or better yet, help the poster ask a better question.
Certainly when you answered me you did not followed those rules.
You did not kindly help me make a better question, you insulted
by implying my question is dumb and rating it as "boring".
On your last post you insulted me again using the word "lazy" several times.
and you also rated my question as "boring". Your opinion is of no value
to anyone here, people just need help, if you don't know the answer just
keep your opinions to yourself.
If you examine my responses, none of them have an insulting word, or insulting
implications. I cannot say the same about yours. So, I can mark your postings
as being abusing and not following the rules of etiquette, I encourage you
to read carefully the etiquette rules, the documentation, but I will not
use insulting words on you as you did with me.
I have to assume you are having a bad day. I pardon you for your disrespect.
Stop cluttering this forum with personal offenses and comments,
this is not the place for that.
Case closed.
Similar Messages
-
Problem when making new connection with user "sys"
Hi, I'm having trouble on making new connection with user sys against local 10g installation, the password is correct and I've tried making new connection with other
users which is fine.
when I click "test" or "connect", the error msg is strange like this:
"ORA-01017: invalid username/password; logon denied"
can anybody help.
Thx.Have you used the "Role" drop-down to "SYSDBA"? - if not, you get the ORA-01017 error.
-
INS0009: Unable to connect to the database with user SYS
Hi all,
I'm trying to create an OWB repository with OWB repository assistant (10.2.0.2.) on a 10.2.0.1. database (windows XP platform). I get the following error every time I fill in the connect info for the SYS user:
INS0009: Unable to connect to the database with user SYS. java.sql.SQLException: ORA-01017: invalid username/password; logon denied
I can connect to the database (sqlplus sys/<password>@orcl as sysdba) and the OS user is in the ora_dba group. Also checked the database parameters remote_login_passwordfile (= EXCLUSIVE) and O7_DICTIONARY_ACCESSIBILITY=TRUE.
Does anyone know what the problem is? Any help is appreciated.
Regards,
QuintenOk I found the problem myself, I used the wrong sys password :-(. I thought the password I used to logon in sqlplus was right (sqlplus sys/<password>@orcl as sysdba) but the password doesn't matter when you logon as sysdba! So I altered the password for the user sys and now I can continue the steps of the repository assistant.
Quinten -
Error Screen output without connection to user DYNPRO_SEND_IN_BACKGROUND
Hi Experts
I am trying to debbug a BADI (for shc) in SRM 7.0 with external debugger.
I placed a breakpoint in the BADI, and logged into the portal screen,it is independent portal.
when i start to create the shc i get the error: Screen output without connection to user
if i delete the breakpoint it work well.
the user i work with, has a developer key and SAP_ALL.
Runtime Errors DYNPRO_SEND_IN_BACKGROUND
Exception CX_SY_SEND_DYNPRO_NO_RECEIVER
Thanks
Almog
Edited by: almog126 on Jul 14, 2010 3:00 PM
Edited by: almog126 on Jul 14, 2010 3:00 PMdid you solve this?
We have now the same problem with any external debugging (WebServices/WebDynpro). -
Problem accessing SQL Developer with user sys
Hi Experts;
I'm working with Oracle 10G, in Solaris 10, The DB apparently is working properly, but I can not access the DB thru SQL Developer. When I try to acccess with user sys, and I enter de password, in oracle role I select sysdba, when I choose connect I get this error message:
ORA-01017: invalid username/password; logon denied
However, I can connect with other user without any problem.
I was connecting directly in the server, with sqlplus /as sysdba and I changed the password for user sys, but still the problem continues.
What is wrong with this. I got the same problem if try to connect thru OEM.
Thanks and regards
Al
Edited by: user12048358 on Jul 8, 2011 12:02 PMHi Buntoro;
Thank you for answer.
First, I'm completely sure I'm using the correct password, to be sure I changed the password thru sqlplus.
I'm using tns connection, btw, with the same connection, I can connect, but with other user.
I was trying again, however, with the same results previous explained.
But also I have the same problen when I tried to connect to OEM, and I was trying to stop the dbconsole, and found this:
export ORACLE_SID=YAWIDBLAB
emctl status dbconsole
OC4J Configuration issue. /opt/oracle/102/oc4j/j2ee/OC4J_DBConsole_yawi-db-lab01_YAWIBLAB not found.
export ORACLE_SID=YAWIDBLA
emctl status dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://yawi-db-lab01:1158/em/console/aboutApplication
Oracle Enterprise Manager 10g is running.
Logs are generated in directory /opt/oracle/102/yawi-db-lab01_YAWIDBLA/sysman/log
If I type export ORACLE_SID=YAWIDBLA and then sqlplus /nolog
SQL> connect /as sysdba
Connected to an idle instance.
But, when I connect settiong the SID in this way:
export ORACLE_SID=YAWIDBLAB
sqlplus /nolog
SQL*Plus: Release 10.2.0.4.0 - Production on Sat Jul 9 23:03:15 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
SQL> connect /as sysdba
Connected.
SQL>
Apparently, there is problem with the tnsnames. When I see the tnsnames in SQL DEVELOPER I see this: YAWIDBLA
So, here is the tnsname, in order you have a better idea, what I have.
YAWIDBLA =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = yawi-db-lab01)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = YAWIDBLAB)
Is the first time I see this kind of problem.
Have an idea of what's happening;
Best Regards;
Al -
RPE-02150: Failed to connect with user... when deploying location
Hello.
I've created cube and 3 dimentions in OWB 10.2, then derived them to make business definition for Discoverer 10.1.
When I try to deploy this business definition, I get error "RPE-02150: Failed to connect with user xxx, password ***, connection null. Disco export file 5039.eex written to directory owb/deployed_files." The error appears at deploying location step. What feature is that?
Thanks,
EvgeniHi,
same situation, same behaviour. I've seen, that the location for the discoverer could only be of type 10.1 database in the lov of the location form. But the database is 10.2. Perhaps that might be the problem.
Do you have any other suggestions?
Ciao Stephan -
RFC system error: Screen output without connection to user
After running transaction SMWP, we nagivate to the "Parameters for object load management" node using the following path:
Runtime Information -> Adapter Status Information -> Parameters in R/3 Backend(s) -> ECC -> Parameters for object load management
Under the node Parameters for object load management, when we double click any of the entries we receive the following error message in the form of a pop-up: RFC system error: Screen output without connection to user.
Has anyone encountered the aforementioned error?Hi,
while creating the syncbo you have to give the RFC destination for corresponding Bapi wrappers
so plz check that.
and can you please explain the exact error in detail and add the trace..
Regards
Manohar -
Creating a TCP connection with SSL/TLS
Hi,
I am working in a application that depends on the server. I need to estabilish a TCP connection with SSL/Tls secure connection with the server in order to get the datas.
I have the following code structure :
- (id)initWithHostAddressNSString*)_host andPortint)_port
[self clean];
self.host = _host;
self.port = _port;
CFWriteStreamRef writeStream;
CFReadStreamRef readStream;
return self;
-(BOOL)connect
if ( self.host != nil )
// Bind read/write streams to a new socket
CFStreamCreatePairWithSocketToHost(kCFAllocatorDef ault, (CFStringRef)self.host, self.port, &readStream, &writeStream);
return [self setupSocketStreams];
- (BOOL)setupSocketStreams
// Make sure streams were created correctly
if ( readStream == nil || writeStream == nil )
[self close];
return NO;
// Create buffers ---- has not been released , so need to check possible ways to release in future
incomingDataBuffer = [[NSMutableData alloc] init];
outgoingDataBuffer = [[NSMutableData alloc] init];
// Indicate that we want socket to be closed whenever streams are closed
CFReadStreamSetProperty(readStream, kCFStreamPropertyShouldCloseNativeSocket, kCFBooleanTrue);
CFWriteStreamSetProperty(writeStream, kCFStreamPropertyShouldCloseNativeSocket, kCFBooleanTrue);
//Indicate that the connection needs to be done in secure manner
CFReadStreamSetProperty(readStream, kCFStreamPropertySocketSecurityLevel, kCFStreamSocketSecurityLevelNegotiatedSSL);
CFWriteStreamSetProperty(writeStream, kCFStreamPropertySocketSecurityLevel, kCFStreamSocketSecurityLevelNegotiatedSSL);
// We will be handling the following stream events
CFOptionFlags registeredEvents = kCFStreamEventOpenCompleted |
kCFStreamEventHasBytesAvailable | kCFStreamEventCanAcceptBytes |
kCFStreamEventEndEncountered | kCFStreamEventErrorOccurred;
// Setup stream context - reference to 'self' will be passed to stream event handling callbacks
CFStreamClientContext ctx = {0, self, NULL, NULL, NULL};
// Specify callbacks that will be handling stream events
BOOL doSupportAsync = CFReadStreamSetClient(readStream, registeredEvents, readStreamEventHandler, &ctx);
BOOL doSupportAsync1 = CFWriteStreamSetClient(writeStream, registeredEvents, writeStreamEventHandler, &ctx);
NSLog(@"does supported in Asynchrnous format? : %d :%d", doSupportAsync, doSupportAsync1);
// Schedule streams with current run loop
CFReadStreamScheduleWithRunLoop(readStream, CFRunLoopGetCurrent(), kCFRunLoopDefaultMode);
CFWriteStreamScheduleWithRunLoop(writeStream, CFRunLoopGetCurrent(), kCFRunLoopDefaultMode);
// Open both streams
if ( ! CFReadStreamOpen(readStream) || ! CFWriteStreamOpen(writeStream))
// close the connection
return NO;
return YES;
// call back method for reading
void readStreamEventHandler(CFReadStreamRef stream,CFStreamEventType eventType, void *info)
Connection* connection = (Connection*)info;
[connection readStreamHandleEvent:eventType];
// call back method for writing
void writeStreamEventHandler(CFWriteStreamRef stream, CFStreamEventType eventType, void *info)
Connection* connection = (Connection*)info;
[connection writeStreamHandleEvent:eventType];
`
As above, I have used
CFReadStreamSetProperty(readStream, kCFStreamPropertySocketSecurityLevel, kCFStreamSocketSecurityLevelSSLv3);
CFWriteStreamSetProperty(writeStream, kCFStreamPropertySocketSecurityLevel, kCFStreamSocketSecurityLevelSSLv3);
in order to make a secured connection using sockets.
The url i am using is in the format "ssl://some domain.com"
But in my call back method i am always getting only kCFStreamEventErrorOccurred for CFStreamEventType .
I also tried with the url "https://some domain.com" ,but getting the same error.
i also commented out setting kCFStreamPropertySocketSecurityLevel, but still i am receiving the same error that i mentioned above.
I dont know how it returns the same error. I have followed the api's and docs , but they mentioned the same way of creating a connection as i had given above.
I tried to get the error using the following code :
CFStreamError error = CFWriteStreamGetError(writeStream);
CFStreamErrorDomain errDomain = error.domain;
SInt32 errCode = error.error;
The value for errCode is 61 and errDomain is kCFStreamErrorDomainPOSIX. so i checked out the "errno.h", it specifies errCode as "Connection refused"
I need a help to fix this issue.
If the above code is not the right one,
**(i)how to create a TCP connection with SSL/TLS with the server.**
**(ii)How the url format should be(i.e its "ssl://" or "https://").**
**(iii)If my above code is correct where lies the error.**
I hope the server is working properly. Because I can able to communicate with the server and get the datas properly using BlackBerry and android phones. They have used SecuredConnection api's built in java. Their url format is "ssl://" and also using the same port number that i have used in my code.
Any help would be greatly appreciated.
Regards,
Mohammed Sadiq.Hello Naxito. Welcome to the Apple Discussions!
Try the following ...
Perform a "factory default" reset of the AX
o (ref: http://docs.info.apple.com/article.html?artnum=108044)
Setup the AX
Connect to the AX's wireless network, and then, using the AirPort Admin Utility, try these settings:
AirPort tab
o Base Station Name: <whatever you wish or use the default>
o AirPort Network Name: <whatever you wish or use the default>
o Create a closed network (unchecked)
o Wireless Security: Not enabled
o Channel: Automatic
o Mode: 802.11b/g Compatible
Internet tab
o Connect Using: Ethernet
o Configure: Manually
o IP address: <Enter your college-provided IP address>
o Subnet mask: <Enter your college-provided subnet mask IP address>
o Router address: <Enter your college-provided router IP address>
o DNS servers: <Enter your college-provided DNS server(s)
o WAN Ethernet Port: Automatic
<b>Network tab
o Distribute IP addresses (checked)
o Share a single IP address (using DHCP & NAT) (enabled) -
Problems with user SYS and SYSTEM
Hi,
I installed 9i on the Linux Suse 7.2, it's runing OK. But when I try to connect with user SYSTEM or SYS as SYSDBA/SYSOPER I receive message "ORA-01031: Insufficient Privileges".
Please, what do I get this privileges SYSDBA AND SYSOPER?
Anyone have any ideas?
Thanks.Check the to see if the user is a member of the dba group.
The O/S user you are using needs to be a member of the dba group in /etc/group. -
Error message "unable to connect with server. Check wifi connection"
I started having the error message "unable to connect with server. Check wifi connection" when I attempt to use search function within a certain apps and when I try to download certain magazine (eg. National geographic). I didn't have this problem with I first started using iPad, and no problems with connectivity when using other apps. Can anyone help?
You may not really be connected to your WiFi network.
Your router may not have given your iPad a valid IP address. Go to Settings > Wifi > your network name and touch the ">" to the right to see the network details. If the IP address starts with 169 or is blank then your router didn't provide an IP address and you won't be able to access the Internet.
Sometimes the fix can be as simple as restarting your router (remove power for 30 seconds and restart). Next, reset network settings on your iPad (Settings > General > Reset > Reset network settings) and then attempt to connect. In other cases it might be necessary to update the router's firmware with the latest from the manufacturer's support web pages.
If you need more help please give more details on your network, i.e., your router make, model and version, the wifi security being used (WEP, WPA, WPA2), etc. -
Experiencing trouble syncing with the 10.3 version of iTunes on my Windows Vista machine. Have uninstalled all Apple software twice, reinstalled and continue to get an error 7 message in connection with the Photo Processor. Any other ideas to try?
Hi,
got it fixed! My Son had both files on his Win7 iTunes installation. Never mind he had no issues whith ths iTunes and iPhone Sync. So I checked my other Win XP PC, where I don't have this problem syncing my ipad, and surprise. Both files do NOT show up on this PC. So I renamed the iTunesPhotoProcessor.exe I found under c:\program file\iTunes and synced again my iPhone and it went through without any error. So the problem might be and unremoved iTunesPhotoProcessor.exe or the missing iTunesPhotoProcessor.dll under the iTunes install root folder and this even if I had checked that the folder was completely removed during iTunes unistall.
Please try yourselve and just rename the iTunesPhotoProcessor.exe to iTunesPhotoProcessor.exe_ under c:\program file\iTunes or get a copy of the missing iTunesPhotoProcessor.dll and cp to c:\program file\iTunes. -
New user with sysdba privilege gets connected as user sys
hi ,
I am using oracle 10g R2 . I have a user named test . I have provided sysdba privilege to this user . Now , when I login to this user as conn tkcsowner/password
it gets connected , I created a table in that , the table data is fine . But, when I login as conn tkcsowner/password as sysdba , it connects , if I execute show user it shows "user is sys" , and the table is not here .
My question is ............
1. if I login to tkcsowner as sysdba , where do I login actually , to sys account or to tkcsowner ?
2. I want to execute some stored procedures through tkcsowner , which requires sysdba privilege . But , how can I can execute those from tkcsowner , but not from sys ?
Any additional info on this would be appreciated . thank you.My question is ............
1. if I login to tkcsowner as sysdba , where do I login actually , to sys account or to tkcsowner ?Yes, teh correct behavior. If you would use the o/s authentication, you would be connected as Sys user since Oralce would bypass the supplied username and password of yours over the prompt.
2. I want to execute some stored procedures through tkcsowner , which requires sysdba privilege . But , how can I can execute those from tkcsowner , but not from sys ?When you are going to connect with Sysdba role, you would be connected as Sys user. I am not sure what you exactly mean by saying that the procedure requires the Sysdba privilege? Procedure doesn't need any Sysdba privilege( there isn't such thing since its a role not a privilege) but the provilege of Execute on that procedure . So you do want to check it out what you are actually looking for and why?
HTH
Aman.... -
Reload of an ArchiveFile - Error "Screen output without connection to user"
Hello,
I would like to put the whole content of a Cube into an other Cube by using DataMart and Archive Files.
So I created an Archive Object for the Source Cube and produced an Archive File. In the Archive Manager the status is green and every think seems to be alright.
Now I created an UpdateRule for the Target Cube. For the DataMartDataSource of the Source Cube I created an InfoPackage with the Target Cube as a Target. In the Data Selection of the Datapackage I press on the Archive Selection Button and then I choose archive only and then pressed the Archive File selection button and now I get the error message Screen output without connection to user. Message no. R3299
What is wrong. Could anybody help me.
Thanks in advance.Hi,
I am new to SAP BW 3.5 but I have a BW 3.5 archiving asignment to do. I encountered the same problem i.e. 'Screen output without connection to user' while pressing the Archive File Selection. It appears to me that clicking the Archive File Selection button eventually calls (I am still using BW 3.5 by the way so i am not sure about BI 7)
CALL FUNCTION 'RSAP_ARCHIVE_ADMIN_REMOTE'
DESTINATION S_DESTINATION
EXPORTING
I_OLTPSOURCE = ROARCHD200-OLTPSOURCE
TABLES
C_T_SELECT = L_T_SELECT
E_T_MESSAGES = L_T_MESSAGES
EXCEPTIONS
CANCELED_BY_USER = 1
COMMUNICATION_FAILURE = 2 MESSAGE L_MSGTXT
SYSTEM_FAILURE = 3 MESSAGE L_MSGTXT.
IF SY-SUBRC GT 1.
MESSAGE E299 WITH L_MSGTXT(50) L_MSGTXT+50(*).
ENDIF.
Check your s_destination variable - this is your rfc destination that you define via SM59. From SM59, open this rfc destination type R/3 connection, see whether you can click on the "Remote Logon" button. It should be able to launch another screen. If it does not, get your BASIS to help out - maybe the userid used in this rfc destination should be changed to using "service" user type. I did this and it worked for me (previously it was configured as a "system" user type). Or perhaps you should stick to "system" user type and ask BASIS to grant the necessary profiles (I am not a BASIS so I am making a wild guess here).
The other way to test this out is to test the function module RSAP_ARCHIVE_ADMIN_REMOTE by entering the archived object in I_OLTPSOURCE parameter. Then test without RFC target sys, and then test with RFC target sys. If it works only without RFC target sys (and not with RFC target system field populated), then we can conclude that there is something wrong with the rfc destination and/or userid.
I hope this helps.... -
ESS Persoanl Data Error(Screen output without connection to user)
Hi All,
When i am trying to Save my data in my ESS----->Personal Info -
>Personal Data, i am getting below error, any body know how to resolve this issue, please let me know.
Screen output without connection to user., error key: RFC_ERROR_SYSTEM_FAILURE:
com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Screen output without connection to user., error key: RFC_ERROR_SYSTEM_FAILURE
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
at com.sap.xss.per.fc.persinfo.FcPersInfo.save(FcPersInfo.java:440)
at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfo.save(InternalFcPersInfo.java:770)
at com.sap.xss.per.fc.persinfo.FcPersInfoInterface.save(FcPersInfoInterface.java:186)
at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfoInterface.save(InternalFcPersInfoInterface.java:275)
at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfoInterface$External.save(InternalFcPersInfoInterface.java:435)
at com.sap.xss.per.vc.reviewnavi.VcPersInfoReviewNavi.onEvent(VcPersInfoReviewNavi.java:213)
at com.sap.xss.per.vc.reviewnavi.wdp.InternalVcPersInfoReviewNavi.onEvent(InternalVcPersInfoReviewNavi.java:171)
at com.sap.xss.per.vc.reviewnavi.VcPersInfoReviewNaviInterface.onEvent(VcPersInfoReviewNaviInterface.java:115)
at com.sap.xss.per.vc.reviewnavi.wdp.InternalVcPersInfoReviewNaviInterface.onEvent(InternalVcPersInfoReviewNaviInterface.java:124)
at com.sap.xss.per.vc.reviewnavi.wdp.InternalVcPersInfoReviewNaviInterface$External.onEvent(InternalVcPersInfoReviewNaviInterface.java:200)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:533)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:437)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.access$600(FPMComponent.java:78)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.raiseSaveEvent(FPMComponent.java:951)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.raiseSaveEvent(FPMComponent.java:1114)
at com.sap.xss.per.vc.reviewnavi.VcPersInfoReviewNavi.next(VcPersInfoReviewNavi.java:227)
at com.sap.xss.per.vc.reviewnavi.wdp.InternalVcPersInfoReviewNavi.next(InternalVcPersInfoReviewNavi.java:175)
at com.sap.xss.per.vc.reviewnavi.ReviewNaviView.onActionNext(ReviewNaviView.java:153)
at com.sap.xss.per.vc.reviewnavi.wdp.InternalReviewNaviView.wdInvokeEventHandler(InternalReviewNaviView.java:173)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77)
at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1299)
at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:326)
at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:868)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.sap.aii.proxy.framework.core.BaseProxyException: Screen output without connection to user., error key: RFC_ERROR_SYSTEM_FAILURE
at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
at com.sap.xss.per.model.mac.HRXSS_PER_MAC.hrxss_Per_Save(HRXSS_PER_MAC.java:478)
at com.sap.xss.per.model.mac.Hrxss_Per_Save_Input.doExecute(Hrxss_Per_Save_Input.java:137)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92)
... 64 more
and after that i went to ST22 Transaction Code in my ECC System i found two types of DUMP errors,
the below are those details.
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO
Exception CX_SY_REF_IS_INITIAL
Date and Time 09/09/2008 08:19:16
Short text
Access via 'NULL' object reference not possible.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLHRXSS_PER_MAC" had to be terminated because it
has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in
procedure "HRXSS_PER_CLEANUP" "(FUNCTION)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component.
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"OBJECTS_OBJREF_NOT_ASSIGNED_NO" "CX_SY_REF_IS_INITIAL"
"SAPLHRXSS_PER_MAC" or "LHRXSS_PER_MACU04"
"HRXSS_PER_CLEANUP"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
The exception must either be prevented, caught within proedure
"HRXSS_PER_CLEANUP" "(FUNCTION)", or its possible occurrence must be declared
in the
RAISING clause of the procedure.
To prevent the exception, note the following:
System environment
SAP-Release 700
Application server... "ERPDEV01"
Network address...... "10.88.1.6"
Operating system..... "Windows NT"
Release.............. "5.2"
Hardware type........ "4x AMD64 Level"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 0
Shortdump setting.... "full"
Database server... "ERPDEV01"
Database type..... "MSSQL"
Database name..... "DE1"
Database user ID.. "de1"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Oct 23 2007 00:33:51"
create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
Database version. "SQL_Server_8.00 "
Patch level. 133
Patch text.. " "
Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
SAP database version. 700
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows
NT 6.0"
Memory consumption
Roll.... 16192
EM...... 4189840
Heap.... 0
Page.... 0
MM Used. 1229856
MM Free. 2957360
User and Transaction
Client.............. 210
User................ 937048
Language Key........ "E"
Transaction......... " "
Transactions ID..... "68211f907e6911ddbfef005056833439"
Program............. "SAPLHRXSS_PER_MAC"
Screen.............. "SAPMSSY1 3004"
Screen Line......... 2
Information on caller of Remote Function Call (RFC):
System.............. "########"
Database Release.... 645
Kernel Release...... 645
Connection Type..... "E" (2=R/2, 3=ABAP System, E=Ext., R=Reg. Ext.)
Call Type........... "synchron and non-transactional (emode 0, imode 0)"
Inbound TID.........." "
Inbound Queue Name..." "
Outbound TID........." "
Outbound Queue Name.." "
Client.............. "###"
User................ "############"
Transaction......... " "
Call Program........." "
Function Module..... "HRXSS_PER_CLEANUP"
Call Destination.... "<unknown>"
Source Server....... "ERPDEV04"
Source IP Address... "10.88.1.9"
Additional information on RFC logon:
Trusted Relationship " "
Logon Return Code... 0
Trusted Return Code. 0
Note: For releases < 4.0, information on the RFC caller are often
only partially available.
Information on where terminated
Termination occurred in the ABAP program "SAPLHRXSS_PER_MAC" - in
"HRXSS_PER_CLEANUP".
The main program was "SAPMSSY1 ".
In the source code you have the termination point in line 13
of the (Include) program "LHRXSS_PER_MACU04".
The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
procedure "HRXSS_PER_CLEANUP" "(FUNCTION)", but it was neither handled locally
nor declared
in the RAISING clause of its signature.
The procedure is in program "SAPLHRXSS_PER_MAC "; its source code begins in
line
1 of the (Include program "LHRXSS_PER_MACU04 ".
Source Code Extract
Line
SourceCde
1
FUNCTION hrxss_per_cleanup.
2
3
""Local interface:
4
*" EXPORTING
5
*" VALUE(MESSAGES) TYPE BAPIRETTAB
6
7
8
CALL METHOD mac_adapter->cleanup
9
IMPORTING
10
messages = messages.
11
12
TRY.
>>>>>
CALL METHOD xss_adapter->cleanup
14
15
CATCH CX_HRPA_VIOLATED_ASSERTION .
16
ENDTRY.
17
18
ENDFUNCTION.
Contents of system fields
Name
Val.
SY-SUBRC
0
SY-INDEX
2
SY-TABIX
0
SY-DBCNT
0
SY-FDPOS
0
SY-LSIND
0
SY-PAGNO
0
SY-LINNO
1
SY-COLNO
1
SY-PFKEY
SY-UCOMM
SY-TITLE
CPIC and RFC Control
SY-MSGTY
SY-MSGID
SY-MSGNO
000
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO
0
SY-DATUM
20080909
SY-UZEIT
081916
SY-XPROG
SAPLHRXSS_PER_MAC
SY-XFORM
HRXSS_PER_CLEANUP
Active Calls/Events
No. Ty. Program Include Line
Name
4 FUNCTION SAPLHRXSS_PER_MAC LHRXSS_PER_MACU04 13
HRXSS_PER_CLEANUP
3 FORM SAPLHRXSS_PER_MAC LHRXSS_PER_MACU04 1
HRXSS_PER_CLEANUP
2 FORM SAPMSSY1 SAPMSSY1 85
REMOTE_FUNCTION_CALL
1 MODULE (PBO) SAPMSSY1 SAPMSSY1 30
%_RFC_START
Chosen variables
Name
Val.
No. 4 Ty. FUNCTION
Name HRXSS_PER_CLEANUP
MESSAGES
Table[initial]
%_DUMMY$$
2222
0000
0000
0000
No. 3 Ty. FORM
Name HRXSS_PER_CLEANUP
SYST-REPID
SAPLHRXSS_PER_MAC
5454455555545544422222222222222222222222
310C82833F052FD1300000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
%_%_MESSAGES
Table[initial]
No. 2 Ty. FORM
Name REMOTE_FUNCTION_CALL
%_DUMMY$$
2222
0000
0000
0000
SY-REPID
SAPMSSY1
5454555322222222222222222222222222222222
310D339100000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
SYST-REPID
SAPMSSY1
5454555322222222222222222222222222222222
310D339100000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
HEADER
000000000000
000000000000
TYPE
3
0000
3000
SY-XPROG
SAPLHRXSS_PER_MAC
5454455555545544422222222222222222222222
310C82833F052FD1300000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
RC
0
0000
0000
SY-XFORM
HRXSS_PER_CLEANUP
455555545544444552222222222222
82833F052F3C51E500000000000000
000000000000000000000000000000
000000000000000000000000000000
%_SPACE
2
0
0
0
No. 1 Ty. MODULE (PBO)
Name %_RFC_START
%_PRINT
000 0###
2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
RFCTYPE_INTERNAL
3
0000
3000
Internal notes
The termination was triggered in function "method_call_iref"
of the SAP kernel, in line 2207 of the module
"//bas/700_REL/src/krn/runt/abmethod.c#8".
The internal operation just processed is "METH".
Internal mode was started at 20080909081916.
Active Calls in SAP Kernel
Lines of C Stack in Kernel (Structure Differs on Each Platform)
SAP (R) - R/3(TM) Callstack, Version 1.0
Copyright (C) SAP AG. All rights reserved.
Callstack without Exception:
App : disp+work.EXE (pid=3864)
When : 9/9/2008 8:19:16.162
Threads : 2
Computer Name : ERPDEV01
User Name : SAPServiceDE1
Number of Processors: 4
Processor Type: AMD64 Family 15 Model 65 Stepping 2
Windows Version : 5.2 Current Build: 3790
State Dump for Thread Id d90
FramePtr ReturnAd Param#1 Function Name
0000000007d1bb20 0000000077d704bf 000000003879a800 ntdll!ZwWaitForSingleObject
0000000007d1bbc0 0000000001722981 0000000000000180 kernel32!WaitForSingleObjectEx
0000000007d1be10 00000000006110c5 0000000000000001 disp+work!NTDebugProcess [ntstcdbg.c (501)]
0000000007d1be40 0000000000af8e9c 0000000000000001 disp+work!CTrcStack [dptstack.c (182)]
0000000007d1be90 0000000000afe0c0 0000000000000001 disp+work!rabax_CStackSave [abrabax.c (7091)]
0000000007d1c870 000000000081768a 0000000001adae28 disp+work!ab_rabax [abrabax.c (1231)]
0000000007d1c8d0 0000000000830b12 0000000000000000 disp+work!method_call_iref [abmethod.c (2215)]
0000000007d1ca50 0000000000a0bac7 0000000000000008 disp+work!ab_extri [abextri.c (554)]
0000000007d1caa0 0000000000ac830c 0000000000000008 disp+work!ab_xevent [abrunt1.c (281)]
0000000007d1cb30 000000000066f348 0000000000000008 disp+work!ab_dstep [abdynpro.c (492)]
0000000007d1ccb0 0000000000672f1d 000007fe571fc890 disp+work!dynpmcal [dymainstp.c (2403)]
0000000007d1cd40 000000000067291a 000007fe571414a0 disp+work!dynppbo0 [dymainstp.c (543)]
0000000007d1cdf0 00000000006320d5 0000000000000000 disp+work!dynprctl [dymainstp.c (360)]
0000000007d1fc30 00000000004d7393 0000000000000003 disp+work!dynpen00 [dymain.c (1629)]
0000000007d1feb0 000000000042d5a6 000000000a595080 disp+work!TskhLoop [thxxhead.c (4470)]
0000000007d1fee0 000000000040108d ffffffff00000003 disp+work!DpMain [dpxxdisp.c (1121)]
0000000007d1ff10 00000000019c7dd1 0000000000000000 disp+work!nlsui_main [thxxanf.c (84)]
0000000007d1ff70 0000000077d5964c 0000000000000000 disp+work!wmainCRTStartup [crtexe.c (498)]
0000000007d1ffa0 0000000000000000 00000000019c7c60 kernel32!BaseProcessStart
State Dump for Thread Id 1e0c
FramePtr ReturnAd Param#1 Function Name
000000000edffe40 0000000077d5f691 0000000007d86460 ntdll!NtFsControlFile
000000000edffeb0 00000000018ae00f 0000000000000000 kernel32!ConnectNamedPipe
000000000edfff40 000007ff7fc411c4 0000000000000000 disp+work!SigIMsgFunc [signt.c (679)]
000000000edfff70 0000000077d6b6da 0000000077d6b6a0 msvcrt!endthreadex
000000000edfffa0 0000000000000000 0000000000000000 kernel32!BaseThreadStart
List of ABAP programs affected
Index
Typ
Program
Group
Date
Time
Size
Lang.
0
Prg
SAPMSSY1
0
04/11/2005
09:27:15
22528
E
1
Prg
SAPLSYST
1
02/13/2005
17:31:56
35840
E
2
Prg
SAPLHRXSS_PER_MAC
2
07/03/2008
12:14:05
58368
E
3
Prg
CX_SY_REF_IS_INITIAL==========CP
3
07/05/2005
13:10:16
10240
E
4
Typ
SCX_SRCPOS
0
05/18/2004
14:07:11
2048
5
Prg
CX_DYNAMIC_CHECK==============CP
5
07/05/2005
13:10:16
10240
E
6
Prg
CX_ROOT=======================CP
6
02/06/2008
15:43:48
11264
E
7
Prg
CX_NO_CHECK===================CP
7
07/05/2005
13:10:16
10240
E
8
Prg
CX_SY_NO_HANDLER==============CP
8
07/05/2005
13:10:16
10240
E
9
Typ
SYST
0
09/09/2004
14:18:12
31744
Directory of Application Tables
Name Date Time Lngth
Val.
Program SAPMSSY1
SYST / / : : 00004612
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x0001\0\0
ABAP Control Blocks (CONT)
Index
Name
Fl
PAR0
PAR1
PAR2
PAR3
PAR4
PAR5
PAR6
Source Code
Line
243
FUNC
03
001F
LHRXSS_PER_MACU03
1
244
PAR2
02
0000
001F
C000
LHRXSS_PER_MACU03
1
246
FUNC
13
0003
LHRXSS_PER_MACU03
1
247
PAR2
01
0000
0014
C001
LHRXSS_PER_MACU03
1
249
FUNC
FF
0000
LHRXSS_PER_MACU03
1
250
ENDF
00
0000
LHRXSS_PER_MACU03
1
251
00
0000
LHRXSS_PER_MACU03
1
252
STCK
02
C001
LHRXSS_PER_MACU03
1
253
CPOP
00
0000
LHRXSS_PER_MACU03
1
254
00
0000
LHRXSS_PER_MACU03
1
255
FUNP
3E
0000
0014
8000
0000
8000
0000
0000
LHRXSS_PER_MACU04
1
259
FUNP
80
0000
0000
0000
0000
0000
0000
0000
LHRXSS_PER_MACU04
1
>>>>>
METH
03
0000
0000
8006
0000
0000
0000
0000
LHRXSS_PER_MACU04
13
267
PAR2
00
0000
0001
0000
LHRXSS_PER_MACU04
13
269
FUNE
00
0000
LHRXSS_PER_MACU04
18
270
00
0000
LHRXSS_PER_MACU04
18
271
PERP
00
0000
LHRXSS_PER_MACU04
1
272
FUNC
03
E844
LHRXSS_PER_MACU04
1
273
FUNC
03
0020
LHRXSS_PER_MACU04
1
274
FUNC
13
0003
LHRXSS_PER_MACU04
1
Second Dump
Runtime Errors DYNPRO_SEND_IN_BACKGROUND
Date and Time 09/09/2008 08:19:15
Short text
Screen output without connection to user.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLSTRD" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
During background processing, the system attempted to send a
screen to a user.
Current screen: "SAPLSTRD " 0351.
How to correct the error
If the error occurred in your own ABAP program or in an SAP
program you modified, try to remove the error.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DYNPRO_SEND_IN_BACKGROUND" " "
"SAPLSTRD" or " "
"SYSTEM-EXIT"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
System environment
SAP-Release 700
Application server... "ERPDEV01"
Network address...... "10.88.1.6"
Operating system..... "Windows NT"
Release.............. "5.2"
Hardware type........ "4x AMD64 Level"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 1
Shortdump setting.... "full"
Database server... "ERPDEV01"
Database type..... "MSSQL"
Database name..... "DE1"
Database user ID.. "de1"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Oct 23 2007 00:33:51"
create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
Database version. "SQL_Server_8.00 "
Patch level. 133
Patch text.. " "
Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
SAP database version. 700
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows
NT 6.0"
Memory consumption
Roll.... 16192
EM...... 12569520
Heap.... 0
Page.... 131072
MM Used. 8307376
MM Free. 4259072
User and Transaction
Client.............. 210
User................ 937048
Language Key........ "E"
Transaction......... " "
Transactions ID..... "68211f907e6911ddbfef005056833439"
Program............. "SAPLSTRD"
Screen.............. "SAPLSTRD 0351"
Screen Line......... 0
Information on caller of Remote Function Call (RFC):
System.............. "########"
Database Release.... 645
Kernel Release...... 700
Connection Type..... "E" (2=R/2, 3=ABAP System, E=Ext., R=Reg. Ext.)
Call Type........... "synchron and non-transactional (emode 0, imode 0)"
Inbound TID.........." "
Inbound Queue Name..." "
Outbound TID........." "
Outbound Queue NamHello Abhiram,
Please i request weather you have assign 0105 - Communication infotype to ESSuser and
check the following JCos has been configured.
SAP_R3_Financials
SAP_R3_Financials_Metadata
SAP_R3_HumanResources
SAP_R3_HumanResources_MetaData
SAP_R3_SelfServiceGenerics
SAP_R3_SelfServiceGenerics_MetaData
SAP_R3_Travel
SAP_R3_Travel_MetaData
SAP_R3_SelfServiceGenerics_MetaDataFIN
SAP_R3_SelfServiceGenericsFIN
let me know this
points if problem solved
please close thread if problem solved
thanksyou,
regards
Vijai -
Automatically create ODBC DSN connection with special port and password. Add-OdbcDsn cmdlet
Hi,
I first posted a question in the SQL forum but I'm posting it here instead because its a Powershell question.
In a non-persitent VDI enviroment we are trying to automatically create a ODBC DSN connection to a SQL server.
We are using Windows 8.1 so we also have Powershell 4 together with the add-odbcdsn cmdlet.
But when trying to add set -SetPropertyValue for network port different than default and a password we get an error.
here is the command:
Add-OdbcDsn -Name test -DriverName "SQL Server" -DsnType User -SetPropertyValue @("PWD=test", "SERVER=10.0.0.1")
and here is the error message:
Add-OdbcDsn : Attempt to set the {UID or PWD} key of a DSN. These keys should not be stored in the registry for securit
y reason. Provide the credential information at runtime via SQLDriverConnect, SQLConnect or SQLBrowseConnect.
At line:1 char:1
+ Add-OdbcDsn -Name test -DriverName "SQL Server" -DsnType User -SetPropertyValue @ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (MSFT_OdbcDsnTask:Root/Microsoft/...SFT_OdbcDsnTask) [Add-OdbcDsn], Cim
Exception
+ FullyQualifiedErrorId : MI RESULT 4,Add-OdbcDsn
NB!: this command does not contain a port number, but when adding it without a password(PWD string) we just the default port.Hi Primeid,
Agree with Jrv, we cannot store UID and PWD in an ODBC datasource, For example, you can create a DSN using the user interface but if you look at the DSN stored in the registry the UID and PWD are not stored.
ODBC it is always required when you connect using a DSN that the caller supply UID and PWD if they want to use standard login during connection time.
These similar discussion are for your reference:
Creating ODBC DSN for SQL Native
Client fails for not-integrated authentication
is user name and password required in ODBC admin / User DSN?
In addition, to read data from a SQL Server database using an ODBC DSN with SQL Authentication via powershell, please refer to this script:
Open SQL database with ODBC DSN and SQL AuthenticationIf
there is anything else regarding this issue, please feel free to post back.
If you have any feedback on our support, please click here.
Best Regards,
Anna Wang
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Maybe you are looking for
-
I am trying to dynamically load the background image of an XControl facade using a 'LoadBackgroundImage.vi' that I have written. This SubVI has worked with a normal VIs panel before. It utilizes the 'Read PNG File.vi' from Labview to read in a transp
-
Solaris 8 (INTEL) - Interrupt handler
We are developing a device driver for a PCI card. The interrupt level assigned is 10 and the priority level is 6. In the interrupt handler, we first check whether our device has generated the interrupt and if not return with DDI_INTR_UNCLAIMED otherw
-
Color Management in Linux (Pantone Huey)
I found this code for using the Pantone Huey in Linux. I have not checked it out but if it works, then my Ubuntu Linux system has display calibration. http://sourceforge.net/projects/mcalib
-
I have an iPhone 5s (2months old) and have started to encounter problem. If dialling out I sometimes receive no answering tone and am unaware if connecting or not. This doesn't change if I use speaker. However, if the call is answered I can converse
-
My 2 year old IPad is not holding acharge as it did when new. What should I do?
My two yeqr old IPad battery is not holding a charge as it did when new. What should I do?