Dynaset cannot be created in Windows client if you bypass onames/tnsnames
Overview: We were having a problem with slow (60 seconds) login times from our OO4O application using onames. SQL*Plus was just as slow to process a login. Using a TNSNAMES.ORA file caused the login to be almost immediate, but the solution was not acceptable in our environment, so we tried placing all of the login information (that would normally be in TNSNAMES) in the host string. That resulted in a new problem.
The problem: A login with the complete connect string specified in the host string seems to produce a restricted session. From the session, I can call a stored procedure, but cannot create a dynaset! Using the exact same parameters in TNSNAMES and the abbreviated host string, I can connect and create a dynaset (but with the 60 second delay).
The code:
BSTR bstrHost =
L�(DESCRIPTION=(ADDRESS_LIST=�
L�(ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)"
L"(Host=oursys)(Port=1529))�
L�)(CONNECT_DATA=(SID=oursys)))";
m_pOraDatabase = m_pOraSession->GetOpenDatabase(
bstrHost, L�sysuser/syspass�, 0L );
if ( m_pOraDatabase == NULL )
return FALSE;
oDynaset = m_pOraDatabase->GetCreateDynaset(
L"Select * from dual", 0);
The Failure: The m_pOraDatabase object seems to have been created OK. We can use the m_pOraDatabase object to call a stored procedure, for example. However, an exception (not a _com_errror) is generated if we try to use the m_pOraDatabase pointer to create a dynaset as illustrated in the code above.
The failure only occurs if we supply the complete host information in bstrHost. If we specify the short host name (�oursys�) forcing the lookup in onames or tnsnames, the dynaset is created normally.
Does anybody know why we cannot create a dynaset when the host information is all provided in the host string, and how to get around it?
Thanks in advance
Jerry
Thanks for taking a look at this.
The default domain in sqlnet.ora is world.
Since my last post, I have learned that the 'community' parameter is deprecated. I am not surprised to find a parser somewhere that bombs out looking at it. That is probably the root of the problem, as you indicated. Anyway, we are moving ahead with the workaround in place.
Thanks again
Jerry
Similar Messages
-
Deare Sir
File c:\path\_CPTN_SAPC501.xls cannot be created
destination SAPHTTP ok but fiel is not opne and
error is coming File c:\path\_CPTN_SAPC501.xls cannot be created
regards
kunalHi Kunal,
Have you maintained in "define workstation applcaiton" network file path type as "PC"?
Check and do it.
Hope this will help.
Regards,
Ravindra -
Only SkinLF for creating irregular windows?
I have tried to get an answer on my question at Java new but no success. I hope that somebody here will help me!
I have downloaded SkinLF and very eager to use it. I want to use it by NetBeans 4.0. For themes there are no problems. But when I want to create irregular window or trying to run Clock Batch File from SkinLF the following message appears "If you are using JDK 1.4 (I am using jdk1.5) and it complains about jawt.dll use jdk.home\jre\bin\java instead of jdk.home\bin\java". I have tried to change NetBeans .config file but then NetBeans failure to run. May be I am doing something not in a right way or it is impossible to run SkinLF within NetBeans 4.0 environment at all?
Another question, is there only SkinLF for creating irregular windows? Can you recommend another tool(s) (probably JDK 1.5 already has something new)?
Please advise.Hi,
Good Work Mohammed !!!
Regards
Taj -
How to create a VPN client for Windows Phone 8.1?
We have our own VPN client for Windows and Android. I would like to create a VPN client for Windows phone 8.1. After referring these site I found that there are some third
party VPN plugins available for WP 8.1.
I checked OpenVPN but it is also not available for WP 8.1.
Is there any APIs available for creating a VPN client in WP 8.1 similar to
VpnService provided by Android SDK ?The VPN APIs for WP8.1 are not open at this time.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces. -
ORA-12571 error while creating packages from Windows clients
Hello,
We are facing the ORA-12571 error while creating / replacing packages from Windows Clients connected to a 8.1.7.2.0 db on a Solaris server.
However, there are
1. no errors in connecting and creating transactions from a Sql session
2. no errors in creating / replacing unwrapped/wrapped small (few lines) packages
3. no errors in connecting from a Unix session (remote telnet sessions inclusive).
This happens only when creating wrapped/unwrapped packages, source code of which is greater than 500 kb approx.
Can somebody help me resolve this issue. Any Help would be greatly appreciated.
Regards.
Lakshmanan, KUpdate: I had unintentionally left my custom tablespace in READONLY state after an earlier experiment with transportable tablespaces. After putting the tablespace back into READ WRITE mode and creating a new template, I was successfully able to create a new db from the template.
I'm still a little curious why this procedure wouldn't work properly with a READONLY tablespace, however.
Ben -
Windows 8.1 cannot connect to group policy client service
Windows 8.1 laptop under administrator account has this "cannot connect to group policy client service" error.Found the following instructions on internet but I don't see this "Replace owner on subcontainers and objects" box on Permissions/Advanced
popup windows ???
Could anyone help ?
Change the permissions on the relevant keys configuring the Group Policy Client service to allow Full Control to Administrators
Open regedit (Start > type regedit in the search box) and navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\gpsvc
Right-click the registry key and choose Permissions.
Click Advanced, then click Owner.
Choose Administrators and check the Replace owner on subcontainers and objects box.
Exit the permissions dialog and then open it again.
Click Advanced, then choose Administrators and click
Edit…
Check Replace all child object permissions with inheritable permissions from this object.
Click OK and confirm; exit.
Thank you,Hello CarLover,
Based on my test, the option Replace owner on subcontainers and objects exists in Windows 7, but doesn’t exist in Windows 8.1.
Please take a look at the screenshot about the option in Windows 7.
Please take a look at the following thread similar to this issue.
http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/why-wont-windows-connect-to-the-group-policy/b73107f8-8447-4599-87a5-65ecc6a63aa0
Best regards,
Fangzhou CHEN
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Cannot load login profile for windows clients
Hi
i am using leopard 10.5.3.my users have a default windows profile path at /Server HD/Users/Profiles/username.when i login from windows clients some users cannot load the profile.the following error is displayed in windows clients
windows cannot load your roaming profile.
please help me to resolve this issue
regs
S.MohanI am having the same issue the clients can save the data to the path therefore cant read it upon logon...Grrrrr
-
Controller for View, Window, Interface, and Configuration Cannot Be Created
Hi All,
In our Web Dynpro ABAP applicaton we have a window and when we edit the conent of window and try to press "Cancel" button we are getting below error.
Controller for View, Window, Interface, and Configuration Cannot Be Created
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: GET_CONTROLLER of program CL_WDR_COMPONENT==============CP
Method: GET_ACTION_FROM_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
Method: IF_WDR_RUNTIME~EXECUTE of program CL_WDR_MAIN_TASK==============CP
Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================
Do any one have idea regarding this error.
Regards
CBHi,
Sounds bit strange to me, if you edit your window and do not want to save your changes then i would not expect this error. assuming that the component does not have activation problem.
Just for making sure.
I assume that your problem is on design time and not runtime.
If it is a design time and problem still exists, try to delete this window, save ,activate and then recreate this window,embed your view(s).
If it is runtime problem then i would suggest you to do debugging and find out where it is getting this error. -
Is there an exception to the rule "vlans cannot be created or modified" in client mode in vtp
Is there an exception to the rule "vlans cannot be created or modified" in client mode in vtp
Vipul,
Not sure what your interviewer was expecting as an answer. But yes your understanding is perfectly correct that you cannot create/modify/delete the vlans from client mode as it would through you the error saying: " VTP vlan configuration ont allowed when the device is in CLIENT mode.".
The only difference I can think of: As a _user_ in VTP client mode you have restrictions on_what you can do_ (create,delete,modify) to the vlan.dat file whereas in Server mode you(the user) have none of those restrictions. But from the _switches'_ own perspective it doesn't make the distinction between the two modes. In other words the switch is not aware of the mode the other switches are in.
A switch would not advertise to another switch like "hey I am a client/server" but will advertise "hey this is my revision number" and the other switch will then compare to it's own. The one with the highest revision number will be the one who gets the privelege to 'sync' its vlan.dat to the other switch.
HTH -
Trying to create a Windows 2012 cluster (Not R2). The cluster creation wizard goes through without problems. However, after a few minutes the cluster service dies with EventID 1556 and error code 2245 "The
password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements." The error repeats every few minutes.
Looking at the cluster log, we find:
ERR Workitem(Sweeper::Sweep) callback threw exception: (2245)' because of '[CLI] Account Creation failure: 2245, 4294967295'
ERR [CORE] Shutting down cluster service because of unhandled exception in a worker thread
It appears it is trying to create the local CLIUSR account, but the self-generated password does not meet complexity... The local password policy is the default deployed with Windows 2012 -
No unusual password requirement (8 characters with built-in complexity requirement)
I saw Elden's description of CLIUSR in
https://social.technet.microsoft.com/Forums/en-US/95929983-a50c-42b3-a520-6a171e542948/win-server-2012-two-node-cluster-local-cliuser-issue?forum=winserverClustering - so I believe I understand what it is doing, but how can it not generate a password complex
enough? And I do not see any report of anyone having this issue, so I suspect a local configuration / issue.Hi FrankJB,
Please verify that the Cluster Service account has the appropriate user rights on each node of the cluster. The Cluster Service account must be
in the local administrators group and should have the rights listed below. These rights are given to the Cluster Service account during the
configuration of the Cluster node. It is possible that a higher level policy is over-writing the local policy or that an upgrade from a previous
operating system does not add all of the required rights.
If you can confirm your current account meet the cluster create conditions, please disable all your firewall then run the cluster validation and
post the warning and error information.
The related KB:
How to troubleshoot the Cluster service account when it modifies computer objects
https://support.microsoft.com/en-us/kb/307532?wa=wsignin1.0
Additional, please install the following hotfix.
Recommended hotfixes and updates for Windows Server 2012-based failover clusters
http://support.microsoft.com/kb/2784261/EN-US
I’m glad to be of help to you!
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] -
One more thing:
What's missing is favorites is a way to use the favorites space in the Common Open File Dialog Box.
Please obsolete or (re)develop components in Windows, so those components support any new workflows in Windows!
On example of an application where you cannot use Favorites is Adobe Photoshop. It uses the Common Open File Dialog Box in Windows (which does not support Favorites).
Comparing Finder (MacOS) with Windows Explorer - you "seem" to have the option of using favorites to pin folders.
Well, if your application calls Windows to use the Common Open File Dialog Box - it's actually NOT POSSIBLE AT ALL to navigate to the user concepts (user folders) pinned to favorites.
Again, the favorites namespace is completely unused (not provisioned) out-of-the-box. That's may be ok, however it's not fully implemented across Windows and just another example of stuff accumulating up to being unusable.
What's missing is favorites is a way to use the favorites space in the Common Open File Dialog Box.
Ref.: Better provisioning in the Windows client
https://social.technet.microsoft.com/Forums/en-US/dbb2102f-00b7-47ca-88f2-4f88cd9d3409/followup-starting-launching-and-switching-?forum=WinPreview2014Feedback#2aba34e9-6074-4750-8f66-425bdeacc705
https://social.technet.microsoft.com/Forums/en-US/168bb9f9-ab18-42e6-9f20-5e36e71f742c/merging-the-task-bar-and-the-start-screen-area?forum=WinPreview2014Feedback#168bb9f9-ab18-42e6-9f20-5e36e71f742c
https://social.technet.microsoft.com/Forums/en-US/59a5bb6a-0368-4f34-bea4-b9811ac0bf8c/dont-forget-development-of-the-start-screen-remember-virtualization-of-it-too-purpose-is-hud?forum=WinPreview2014Feedback#59a5bb6a-0368-4f34-bea4-b9811ac0bf8c
https://social.technet.microsoft.com/Forums/en-US/c10168fe-a534-44aa-a0ec-e9defc71da5f/better-provisioning-in-windows-client-remember-templates-for-the-start-screen-like-the-need-for?forum=WinPreview2014Feedback#c10168fe-a534-44aa-a0ec-e9defc71da5fCongrats to Carmelo!
Windows Phone and Windows Store Apps Technical Guru - February 2015
Carmelo La Monica
Windows Phone 8: control Nokia Maps (Part 3)
JH: "Part 3 of the series how to work with the Nokia maps control. As the previous articles this one contains a lot of code snippets and some pictures. Good work!"
Ed Price: "A great topic, a fantastic breakdown of sections with clear descriptions, and a nice mix of code formatting and helpful images! Another stellar article from Carmelo! Great job including the link back at the end to the portal
article!"
Ed Price, Azure & Power BI Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
Need help. I have my pilot lync 2013 pool up (in coexistence with 2010 production environment) and can log into Lync 2013 environment with a lync 2010 client but am not able to with a lync 2013 client. It just prompts for password but will not
take it. I'm sseeing this on my front end server multiple times:
A fatal error occurred while creating an SSL client credential. The internal error state is 10011.
Came across this http://www.logicspot.net/index.php?id=50 and tried disabling TLS 1.2, which I did and verified but yet the issue still exists.
All my certs are good coming from internal CA. My signin logs show below but keep in mind, this works just fine if using a 2010 lync client to my lync 2013 servers. Issue only occurs when trying to connect using a lync 2013 client.
1 Login: FAIL (hr = 0x1)
this request needs authentication, trying webticket from: https://domain.com/WebTicket/WebTicketService.svc
1.1 Get-NewWebTicket: FAIL (hr = 0x1)
CLogonCredentialManager::QueryForSpecificCreds() Credential user 0x069B64A0 id=15 querying for specific credentials, credSuccess=2, targetName=Microsoft_OC1:[email protected]:specific:LAD:1
1.1.1 ExecuteWithMetadataInternal: FAIL (hr = 0x3d0000)
Executing wws method with windows auth auth, asyncContext=0A4FC348,
context: WebRequest context@ :173931816
MethodType:4
ExecutionComplete? :1
Callback@ :0A5A1864
AsyncHResult:80f10041
TargetUri:https://domain.com/WebTicket/WebTicketService.svc
OperationName:http://tempuri.org/:IWebTicketService
Error:
There was an error communicating with the endpoint at 'https://domain.com/WebTicket/WebTicketService.svc'.
The server returned HTTP status code '401 (0x191)' with text 'Unauthorized'.
The requested resource requires user authentication.
1.1.2 ExecuteWithWindowsOrNoAuthInternal: PASS
1.1.3 ExecuteWithWindowsOrNoAuthInternal: FAIL (hr = 0x3d0000)
Executing wws method with windows auth auth, asyncContext=0A4FC348,
context: WebRequest context@ :173931816
MethodType:4
ExecutionComplete? :1
Callback@ :0A5A1864
AsyncHResult:80f10041
TargetUri:https://domain.com/WebTicket/WebTicketService.svc
OperationName:http://tempuri.org/:IWebTicketService
Error:
There was an error communicating with the endpoint at 'https://domain.com/WebTicket/WebTicketService.svc'.
The server returned HTTP status code '401 (0x191)' with text 'Unauthorized'.
The requested resource requires user authentication.
1.1.4 ExecuteWithWindowsOrNoAuthInternal: FAIL (hr = 0x3d0000)
Discovery task(0A4FF830) sent to URL http://domain.com completed with hr=0x80f10045
1.1.5 ExecuteWithWindowsOrNoAuthInternal: FAIL (hr = 0x3d0000)
Executing wws method with windows auth auth, asyncContext=0A4FC348,
context: WebRequest context@ :173931816
MethodType:4
ExecutionComplete? :1
Callback@ :0A5A1864
AsyncHResult:80f10041
TargetUri:https://domain.com/WebTicket/WebTicketService.svc
OperationName:http://tempuri.org/:IWebTicketService
Error:
There was an error communicating with the endpoint at 'https://domain.com/WebTicket/WebTicketService.svc'.
The server returned HTTP status code '401 (0x191)' with text 'Unauthorized'.
The requested resource requires user authentication.
1.1.6 ExecuteWithWindowsOrNoAuthInternal: FAIL (hr = 0x3d0000)
CLogonCredentialManager::QueryForSpecificCreds() Credential user 0x069B64A0 id=15 querying for specific credentials, credSuccess=2, targetName=Microsoft_OC1:[email protected]:specific:LAD:1
RichHi,
Please check the server role and Web Services for Internet Information Services (IIS) are set correctly.
For the detailed IIS configuration, please check:
http://technet.microsoft.com/en-us/library/gg412871.aspx
As Lync client 2013 attempt to query in order to perform autodiscover of the Lync registration server. First
lyncdiscoverinternal.<sipdomain> Host (A) record and then
lyncdiscover.<sipdomain> Host (A) record. If neither of these records are resolvable then the legacy DNS SRV and A record fall-back process is used. So make sure you have add the two A record in DNS server.
More details:
http://blog.schertz.name/2012/12/lync-2013-client-autodiscover/
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
sure that you completely understand the risk before retrieving any suggestions from the above link.
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
Hello,
I have gone through couple of posts regarding this issue but couldn't get the right solution. Could you please help what exactly we are missing here.
Details:
1) we have two SQL instances on one standalone machine (Default Instance (2008 SP3) + Named Instance (SQL 2012 SP1))
2) Both instances are configured to accept SQL+ Windows authentication.
3) when we give access to our users they are getting following exception if they connect with 'windows authentication'. (For both instances)
Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.
Note: (Being a sys + windows admin I'm able to connect both the instances from same client machine without
any issues)
4) Also, we observed following error in windows application event log,
SSPI handshake failed with error code 0x8009030c, state 14 while establishing a connection with integrated security; the connection has been closed. Reason: AcceptSecurityContext failed. The Windows error code indicates the cause of failure.
The logon attempt failed [CLIENT: 192.168.xxx.xyx]
5) If we create SQL login it is working fine without any issues.
Could someone guide/help me identifying and fixing this issue.
Thank youHello,
Are those Windows Logins associated to domain Windows accounts? Windows Logins work for domain accounts and local Windows account created on the server where the SQL Server instance is installed (and used to login locally to the server).
Could you try to delete one of the Windows logins that fail to login , and try to recreate them?
The following resources may help:
http://blogs.msdn.com/b/dataaccesstechnologies/archive/2012/12/19/error-message-quot-login-failed-the-login-is-from-an-untrusted-domain-and-cannot-be-used-with-windows-authentication-quot.aspx
http://support.microsoft.com/kb/555332
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
MDT 2012 Server is up and running. I mistakenly deleted a Task Sequence step called "Install Application" that I thought was not needed (I know I should have disabled it and tested).
I have a problem now, when I went to image a computer I did not get application list (This used to work before I deleted the above TS step) with items to check and uncheck for installation. "Install Application" TS was readded but now when I try to
image I get this error:
"The task sequence has been suspended. LiteTouch is trying to install applications. This cannot be performed in Windows PE."
I've tried moving it to different positions on the list (Higher and lower) to no avail, I always get the same error. Please advise.
-Thanks in advance!On the computer you are deploying to "the client", boot into WindowsPE just like you are going to image and before you authenticate or
get any dialogue boxes, press F8 in WindowsPE to get command prompt and type the following:
diskpart
list disk
select disk 0
list part
select part 1
clean
create part primary
assign
active
exit
Please mark this as the answer if it works.
You are awesome this worked for me I didn't see how I was going to get my new computer to reimage again Thank you sooooooooooooo much!!! -
Virtual Windows Clients for testing
Rather than having a bunch of local virtual Windows clients (Windows 7, Windows 7 64 bit, Windows 8, Windows 8.1) set up with different Office version for testing our own applications, I'd like to have them on Azure. Only for testing code with our development
partners.
So far I can not find any such offering on the Azure portal.
This Q&A seems to suggest that is not allowed.
http://azure.microsoft.com/en-us/pricing/licensing-faq/
Can
customers rent Windows Client desktops on Azure or other Service providers?
No, multi-tenant hosting is restricted in the Product Use Rights of Windows Client, such as Windows 7 or Windows 8. Windows Client Desktops are not available on either Azure or on any other Service Provider such as Amazon or Rackspace.
You can read more about the Microsoft Product Use Rights here.
Can
customers run Microsoft Office and Windows 7 Client on Virtual Machines using License Mobility for Software Assurance?
No. Under the Microsoft Product use Rights (PUR), Office and Windows 7 are not licensed to run on Virtual Machines. In particular, Microsoft Office is classified in the PUR as “Desktop Applications”, which is not included in Licensing
Mobility.
Amazon Workspaces?
Seems to be what I want, although only Windows 7 and Office 2010/2013. I also need Visio as our product is an add in to Visio. http://aws.amazon.com/workspaces/
Is this available on Azure and what are my options to get a simple cloud hosted virtual machine with Windows for testing?
Thanks!Hi,
For MSDN subscribers, Windows 7 and Windows 8.1 images are available when creating a VM in Azure gallery.
http://azure.microsoft.com/blog/2014/05/29/windows-client-images-on-azure/
If you have no MSDN subscription, you can upload a Windows client image to Azure storage account and use it to create a VM. However, since the limitation of license
in Azure, you cannot activate it.
In addition, you can also submit a feedback to release the images of Windows client OS in Azure gallery for all subscriptions:
http://feedback.azure.com/forums/34192--general-feedback
Best regards,
Susie
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 Subscriber Support, contact [email protected]
Maybe you are looking for
-
If I choose to use I tunes match, and store my music on the cloud, will I be able to access it when I don't have a cell signal or wifi? For example, when I'm on a plane or in an area without a cell signal or wifi. And, if its just cellular coverage
-
I am able to imessage from my ipad all phone numbers in contacts but one. With it I get an error message that says "number is not registered with imessage". However, I am able to imessage that number from my iphone. Any suggestion?
-
Bi MObile in XI 3.0. Getting JVM error in client.
Hi, I have deployed BI 3.0 according to the document. However when accessing the services page, i am gettign the error"ENABLE REST FOR AXIS2 in conf/axis2.xml". Due to this, I am getting JVM 104 error in client. Can some one advice me on the url, tha
-
In my integration directory adapter engine parameter was not appear forJ2EE
In my integration directory adapter engine parameter was not appear forJ2EE engine.It appears for IDOC and HTTP Adapters. Please clarify ASAP.. Thanks
-
How to add .mkv videos to iTunes?
Hi everybody, I want to add my movies to iTunes movie library but it doesn't let me to add .mkv files:( Anyone can help? Thanks in advance..