Vdi 3 desktop provider error
Dear All,
I have installed the VDI on a solaris 10 X86 machine
installed the sun xVM on the same host and on the VXM installed a copy of windows 2003
When i try to add a new desktop provider i get the following:
Apr 20, 2009 4:46:57 PM com.sun.vda.admin.providers.NewVBoxProviderWizardBean$NewVBoxProviderWizardEventListener handleEvent
INFO: Verification of Virtual Box host failed
Apr 20, 2009 4:46:57 PM NewVBoxProviderWizardBean handleEvent
FINER: THROW
java.lang.reflect.UndeclaredThrowableException
at $Proxy8.checkHost(Unknown Source)
at com.sun.vda.admin.model.VirtualBox.checkStatus(VirtualBox.java:45)
at com.sun.vda.admin.providers.NewVBoxProviderWizardBean$NewVBoxProviderWizardEventListener.handleEvent(NewVBoxProviderWizardBean.java:225)
at com.sun.webui.jsf.component.Wizard.broadcast(Wizard.java:1955)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:94)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:283)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:267)
at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at com.sun.vda.admin.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:108)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:269)
at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:81)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.sun.xml.ws.util.localization.LocalizableMessage
As you can see the error is "Verification of Virtual Box host failed"
This is happening at Step 2.2:Verify Certificate
What can be done to resolve this?
Regards,
Scotty
Hey all -
For what it's worth - I might have a partial answer to this issue.
I had a feeling I might have futzed with the host identity after building it, and installing virtualbox the first time.
On a hunch, I did the unthinkable and re-installed Solaris, installed VirtualBox, and was away with everything working.
If I get a chance, I'll boot back into the old env and see if I can work it out. My suspicion is that it's something like the Apache SSL certs not being re-generated on install (or something like that...)
Cheers.
Similar Messages
-
Error when adding a ZFS Storage in the Desktop Provider configuration in Oracle VDI
Hello,
When I tried to add a Desktop Provider in Oracle VDI I received an error in the 4 option after the Certificate verification in Specify Storages.
Here's the log:
LA M▒<81>S FINA: thr#20197:"Thread-46528" Congestion Retry 1 for root at 10.10.10.104 - com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException:
Read timed out
com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out
at com.sun.vda.service.ssh.SshServer.openChannel(SshServer.java:622)
at com.sun.vda.service.ssh.SshServer.access$000(SshServer.java:55)
at com.sun.vda.service.ssh.SshServer$CommandResultRetriever.run(SshServer.java:844)
Caused by: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out
at com.jcraft.jsch.Session.connect(Session.java:495)
at com.sun.vda.service.ssh.SshServer.openChannel(SshServer.java:563)
... 2 more
8/09/2015 11:15:05 AM com.sun.vda.service.ssh.SshServer handleJSchException
LA M▒<81>S FINA: thr#20257:"RMI TCP Connection(340)-127.0.0.1" SSH exception
com.sun.vda.service.api.ConnectionException: An internal error occurred.
at com.sun.vda.service.ssh.SshServer.handleJSchException(SshServer.java:721)
at com.sun.vda.service.ssh.SshServer.openChannel(SshServer.java:645)
at com.sun.vda.service.ssh.SshServer.access$000(SshServer.java:55)
at com.sun.vda.service.ssh.SshServer$CommandResultRetriever.run(SshServer.java:844)
Caused by: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out
at com.sun.vda.service.ssh.SshServer.openChannel(SshServer.java:622)
... 2 more
Caused by: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out
at com.jcraft.jsch.Session.connect(Session.java:495)
at com.sun.vda.service.ssh.SshServer.openChannel(SshServer.java:563)
... 2 more
8/09/2015 11:15:05 AM com.sun.vda.service.ssh.SshServer executeCommand
LA M▒<81>S FINA: thr#20257:"RMI TCP Connection(340)-127.0.0.1" executed echo
8/09/2015 11:15:06 AM com.sun.vda.service.persistence.PersistenceImpl update
I'm using this guide: http://www.oracle.com/technetwork/articles/servers-storage-admin/zfssa-oracle-vdi-398526.html
because is the same use case.
Any ideas?
ThanksThanks for the answer, I can access manually via ssh
bash-3.2# ssh [email protected]
Password:
Last login: Mon Sep 8 15:58:54 2014 from 10.10.10.117
Waiting for the appliance shell to start ...
zfserver:>
I restarted the service as you said but still not working. What else can be? -
Vdi 3.1 automatic desktop logon with virtual box desktop provider
hi
is it possible to enable autologon to a desktop if the desktop provider is virtual box with virtualbox rdp as desktop protocol?
i only see the press ctrl alt delete window
thank you
br
AndreHi
vdi communicates directly with the virtual machine if rdp is usedwith VRDP the RDP client on the vdi/sunray server connects to the Console of the VirtualBox machine
with MS RDP the RDP client on the vdi/sunray server connects to the terminal services of the XP machine.
the virtual desktop which i have imported into vdi was configured with nat This doesn't matter. You are able to configure the network setting at the settings tab of the Pool. (host networking and windows RDP)
if i change the network from nat to hostbased network i'm not able to reach a network from this virtual machineIf you set it to hostbased network do you get proper TCP/IP settings in the XP machine?
must i change the vbox host network config to use hostbased network instead of nat?If you mean change the template; you don't because this could be set with settings on the pool tab.
if you mean change something on the Box hosting the VirtualBox vm's; you don't need to configure anything special to allow it to use hostbased network.
You're VM's running on this box should receive proper TCP/IP settings though.
To debug this create a smartcard to logon to Solaris, with the Sunray management interface :1660 and try to RDP to one of the VM's to see if terminal services are running and firewall settings allow you to connect to the VM from Solaris. You could try this from any other host/laptop/fatclient if you network setup allows you to connect RDP ot the VM's ips.
patrick -
Sun VDI 3.1-EA: "Microsoft Remote Desktop" Provider -- Bug?
It seems there is a bug in VDI 3.1:
After having added a VirtualBox desktop provider I also wanted to add a Windows 2003 terminal server as desktop provider, so I go ...
- https://localhost:1801
- Desktop Providers
- Windows Remote Desktop
- New ...
- Step 1 ... Next
- Specify New Host
... And now it asks me for this information:
Host:
SSL Port: 443
User Name:
Password:
SSL Port? For a Windows 2003 server?
I am confused ... So I want to check the "Help" tab. The "Help" tab links to this URL:
https://localhost:1801/vda/faces/jsp/providers/tswizard/NewTSProviderWizard.jsp#
So guessing from that URL ( ... "NewTSProviderWizard" ...) I'd expect to find information regarding Windows TS servers?
But the help text reads ".... Enter the hostname or IP address, and administrator credentials for the *+VirtualBox+* host server ... "
VirtualBox? I wanted to get help with Windows 2003 TS.
So I'd assume that this is a bug?
- the "Add Microsoft Remote Desktop" wizard will get you the one for VirtualBox
- Help text is talking about VirtualBox too
I assume that this will be fixed before the final release?
Regards,
DJ.What specifically does your customer object to ?The server being +"touched"+. That's already enough for them. I'm ashamed to admit this ... but I too was a Windows admin once. I was young, stupid and I needed the money. ;-)
So having been a Windows admin once myself ages ago in my dark past I can fully understand them. One stupid patch, one stupid incompatible product, one silly addon someone somewhere wrote ... and that server dies in a nice ugly "Bluescreen of Death". Or so they think. Because a typical Windows admin spends 90% of their daily job running from one dying Windows server to another dying Windows server the last thing they want is yet another server that is bound to die because one of us unworthy Penguin worshippers dared to install something on it ....
So NOT having to install anything on that server like with SSGD is perceived as being OK.
Having to install ANYTHING on that server for which the admin doesn't understand the reasons within 1 second simply is a NO GO for them.
+"Why doy ou want to install this BS? My RDP connections work tip top without that thing you want to install ... take your hands off my server ... "+
So ... How do I explain to a very very stressed and hyper-nervous Windows server administrator that I need to install some SSL stuff on his precious Windows 2003 or Windows 2008 installation when SSGD (also from Sun last time I checked ...) didn't need that? And none of his other RDP applications need that?
How do you explain something like that? YOU CAN'T. The discussion is over even before it can begin. And if their Windows administrators are screaming like mad and panicking that you are about to hose their precious Windows systems then soon enough even their managers (who up to that second were on your side) demand an explanation ... "Why does VDI require that when SSGD didn't require that??"
In the end it's easier for me to configure an Windows RDP application via SSGD and deliver it that way to the VDI sessions than argue with the customer and their nervous admins about why in the world I now have to touch their servers with this stuff ...
See what I mean? Yes, I know: I exagerated slightly. Just to give you a feeling of the troubles us people in the frontlines are facing.
SERIOUSLY:* The RDP-Provider in VDI 3.1 is in need of being re-evaluated and re-designed. Like it or not: But it simply is not going to fly the way it is now. Most Windows admins simply don't want any additional stuff installed on their servers. PERIOD. Because only the Gods know what other things such stuff will break one day ...
So the RDP provider in VDI 3.1 should look and feel and act exactly like the one in SSGD. If you want to offer RDP-over-SSL: fine, offer it as an option for the lucky few who don't have to argue with their customer about that.
RIght now it's easier for me to create a Linux VM that auto-boots into a pre-configured "rdesktop" session and then deliver that as a login option to users than to argue with the Windows admins why their precious servers need to be touched ... So yes, I'd say this part of the Sun VDI 3.1 product is in need of a re-design. -
Updated to VDI3 Patch 2, killed VirtualBox Desktop Provider
Help!
I installed the VDI Patch 2 this morning, and that all worked fine. Then I installed the VirtualBox update to 2.0.10, and it shows as Critical in Desktop Providers. My VirtualBox works fine, and can run VMs. But VDI can no longer use it.
To upgrade VBox, you must remove the kernel and program packages. Perhaps this requires the Desktop Provider to be removed and added. This does not seem to be documented anywhere.
I was able to delete the Host from Desktop Providers, but I cannot add it back in. I get an internal error. It does contact the VBox provider, and gets a fingerprint. Perhaps it is confused by the fingerprint change?
One other clue. I went to download the VBox software, and it says "Download limit reached for Sun xVM VirtualBox 2.0.10 for VDI 3.0 (x86 only). 08/14/09 15:15:15 PDT. See FAQ." Then I followed the link for Additional Platforms on the same page. My VBox reports back as 2.0.10 r50334. I hope this is correct.
I have rebooted, and checked services, etc.
Thanks!
steveWell, I found this after doing my updates I'm afraid. Someone I'm working with manged to bump apache which I'm assuming updated the cert (please don't ask me specifics as I don't know exactly what he did) so we were back up and running with vbox 2.10.
However, after installing the 02 vdi patch and moving to vbox 2.10 I'm getting errors from SGD. Specifically:
ErrApplicationServerConnectionFailed
Script 23839 exited with code 8 and signal 0
Standard error of script process:
Failed to connect to host
When I backed out the VDI 141482-02 patch but left vbox 2.10 the issue went away. Has anyone else seen this? If I back out to 2.08 and go through the steps properly should that do it, or do I have another option?
This customer is using AD/LDAP authentication and Windows 2000 as there images, btw.
Thanks!!
LJ -
Hi guys
i have problem when i run my windows application exe in windows server 2003
it give me this exception error :
I using sql server 2005
visual studio 2008
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Data.SqlClient.SqlException: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket()
at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
at System.Data.SqlClient.TdsParserStateObject.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at Sales.SalesClass.ShowSalesData(String ConnectionString)
at Sales.Form1.timer1_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
Sales
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/administrator.ALTAWIREADYMIX.000/Desktop/Sales.exe
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Why this error show and how to solve it
if possible help me
Why this exception show and how to solve it.
Notes this exception not close my application and not affect in result show but i don't know why it showThe problem can be caused by certain issues of long-running queries, which are reported improperly. Try increasing the timeout:
http://support.microsoft.com/en-us/kb/555938 -
Oracle BI Publisher Desktop Installation Error
Here is the answer from MOS to the thread Oracle BI Publisher Desktop Installation Error...
-- Symptoms
When attempting to install BI Publisher Desktop 11g (11.1.1.6.0) for 32-bit Office on Windows 7 64-bit. During the installation process, the following error message displays and the installation fails:
Please make sure JRE version 1.6 or later is installed
Java JRE 6 update 32 is installed on this PC; no other Java versions are installed.
-- Cause
Bug 14091878: ERROR WITH BIPUBLISHERDESKTOP32.EXE INSTALLATION
BIP Desktop installer might be corrupt
-- Solution
Complete the following steps:
Download the offline installer for Java from this page:
http://www.java.com/en/download/manual.jsp
Make sure to download both Windows Offline (32-bit) and Windows Offline (64-bit).
In Windows, go to the Control Panel --> Programs and Features.
From the list of installed programs, uninstall all Java / JDK programs from your PC (both 32-bit and 64-bit)
Reboot the PC
Install the Java Windows Offline (32-bit)
Install the Java Windows Offline (64-bit)
Reboot the PC
Install Oracle BI Publisher Desktophi,
I have the installed the same BI Publisher Desktop 11g (11.1.1.6.0) of 32 bit for Windows 7 64-bit. Just add the below code in your configuration setting file of your oracle BI publisher standalone(server side)-> install-> there you can find a file called oraparam.ini (its a configuration settings file).
code is
[Certified Versions]
#You can customise error message shown for failure, provide value for CERTIFIED_VERSION_FAILURE_MESSAGE
Windows=4.0,5.0,5.1,5.2,6.0,6.1
[Windows-5.2-optional]
[Windows-6.1-required]
# Minimum display colours for OUI to run
MIN_DISPLAY_COLORS = 256
# Minimum CPU speed required for OUI
# CPU = 300
Red mark is the code which you need to add in the configuration file. black marked code is the code which already exiting in the file.
add this code before installing the desktop. then try to install. this time the software will install successfully. -
Hi All,
I get a very serious problem with my desktop provider (running VirtualBox 2.0.10 on Solaris 10u7). More or less randomly, the host freeze (generally when few desktops are started simultaneously). I have no other solutions than rebooting the server (the server does not even respond to a ping).
I have seen after a search on google that this problem arise from time to time with VirtualBox. I have seen however no mention of this problem with VDI.
One of the symptom related to the freeze was a lot of network traffic (like for instance running the Virtualbox manager through X-Windows). This was not the case during the last freeze, since the Virtual machines (Windows Vista Business) were started from SunRays terminals managed by the VDI software.
The desktop provider is a Sun X2250 running Solaris 10u7 with all patches applied.
Any ideas or suggestions would be greatly appreciated.
regards,
rhino64Hi All,
I have discovered a little more on what happens with the freeze of the host running the virtual machines.
In fact it seems not to be a freeze but simply a stop. After a while (random from few minutes to few hours), the machine running virtual hosts does not respond any more, only restart solves the problem (either through ILOM console or physically on server). Nothing in the logs except this log produced by the "last" command:
root sshd vdi.local.colleg Wed Sep 9 09:59 - 09:59 (00:00)
root sshd vdi.local.colleg Wed Sep 9 09:59 - 09:59 (00:00)
root sshd vdi.local.colleg Wed Sep 9 09:59 - 09:59 (00:00)
reboot system boot Wed Sep 9 09:58
reboot system down Wed Sep 9 09:53
root sshd vdi.local.colleg Wed Sep 9 09:53 - 09:53 (00:00)
root sshd vdi.local.colleg Wed Sep 9 09:53 - 09:53 (00:00)
root sshd vdi.local.colleg Wed Sep 9 09:53 - 09:53 (00:00)
root sshd vdi.local.colleg Wed Sep 9 09:52 - 09:52 (00:00)
root sshd vdi.local.colleg Wed Sep 9 09:52 - 09:52 (00:00)
root sshd vdi.local.colleg Wed Sep 9 09:52 - 09:52 (00:00)
root sshd vdi.local.colleg Wed Sep 9 09:52 - 09:52 (00:00)
root sshd vdi.local.colleg Wed Sep 9 09:52 - 09:52 (00:00)
root sshd vdi.local.colleg Wed Sep 9 09:52 - 09:52 (00:00)
root sshd vdi.local.colleg Wed Sep 9 09:52 - 09:52 (00:00)
root sshd vdi.local.colleg Wed Sep 9 09:52 - 09:52 (00:00)
root sshd vdi.local.colleg Wed Sep 9 09:52 - 09:52 (00:00)9:58 was the time when the machine was manually power on again. For each freeze I have the same pattern. It seems that the VDI machine stops the desktop provider machine (why ?).
In the cacao file, I get the following messages around the moment of stop:
INFO: thr#344 Starting Job[3397]: CLONE for [Vista, DESKTOP_NAME: Vista0000000008]
Sep 9, 2009 9:42:21 AM com.sun.vda.service.core.jobs.Job run
INFO: thr#338 Starting Job[3398]: CLONE for [Vista, DESKTOP_NAME: Vista0000000009]
Sep 9, 2009 9:49:10 AM com.sun.vda.service.core.jobs.Job run
INFO: thr#348 Starting Job[3399]: DESKTOP_ACTION for [Vista, DESKTOP_UUID: 357]
Sep 9, 2009 9:50:28 AM com.sun.vda.service.core.jobs.Job run
INFO: thr#348 Starting Job[3400]: CLONE for [Vista, DESKTOP_NAME: Vista0000000002]
Sep 9, 2009 9:53:57 AM com.sun.vda.service.client.ClientRequestWorker run
WARNING: thr#351 Failed executing vda-client request: query(token=pseudo.0021283b0fa6): User credentials not provided
Sep 9, 2009 9:54:00 AM com.sun.vda.service.client.ClientRequestWorker run
WARNING: thr#351 Failed executing vda-client request: query(token=pseudo.0021283b0fa6): User credentials not provided
Sep 9, 2009 9:54:00 AM com.sun.vda.service.client.ClientRequestWorker run
WARNING: thr#351 Failed executing vda-client request: query(token=pseudo.0021283b0fa6): User credentials not provided
Sep 9, 2009 9:54:00 AM com.sun.vda.service.client.ClientRequestWorker run
WARNING: thr#351 Failed executing vda-client request: query(token=pseudo.0021283b0fa6): User credentials not provided
Sep 9, 2009 9:54:01 AM com.sun.vda.service.client.ClientRequestWorker run
WARNING: thr#351 Failed executing vda-client request: query(token=pseudo.0021283b0fa6): User credentials not provided
Sep 9, 2009 9:54:01 AM com.sun.vda.service.client.ClientRequestWorker run
WARNING: thr#351 Failed executing vda-client request: query(token=pseudo.0021283b0fa6): User credentials not provided
Sep 9, 2009 9:54:01 AM com.sun.vda.service.client.ClientRequestWorker run
WARNING: thr#351 Failed executing vda-client request: query(token=pseudo.0021283b0fa6): User credentials not provided
Sep 9, 2009 9:54:01 AM com.sun.vda.service.client.ClientRequestWorker run
WARNING: thr#351 Failed executing vda-client request: query(token=pseudo.0021283b0fa6): User credentials not provided
Sep 9, 2009 9:54:02 AM com.sun.vda.service.client.ClientRequestWorker run
WARNING: thr#351 Failed executing vda-client request: query(token=pseudo.0021283b0fa6): User credentials not provided
Sep 9, 2009 9:54:23 AM com.sun.vda.service.core.jobs.Job runAny ideas would be greatly appreciated,
thanks,
rhino64 -
Hello,
I have configured BizTalk Services Hybrid Connection between Standard Azure Website and SQL Server 2014 on premise.
Azure Management portal shows the status of Hybrid Connection as established.
However, the website throws an error when trying to open a connection
<
addname="DefaultConnection"
connectionString="Data
Source=machine name;initial catalog=AdventureWorks2012;Uid=demouser;Password=[my password];MultipleActiveResultSets=True"
providerName="System.Data.SqlClient"
/>
(The same website, with the same connection string deployed on SQL Server machine works correctly).
I tried various options with the connections sting (IP address instead of machine name, Trusted_Connection=False, Encrypt=False, etc. the result is the same
[Win32Exception (0x80004005): The certificate chain was issued by an authority that is not trusted]
[SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.
I tried various machines - on premise and a clean Azure VM with SQL Server and it results in the same error - below full stack
The certificate chain was issued by an authority that is not trusted
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ComponentModel.Win32Exception: The certificate chain was issued by an authority that is not trusted
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[Win32Exception (0x80004005): The certificate chain was issued by an authority that is not trusted]
[SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)]
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5341687
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +546
System.Data.SqlClient.TdsParserStateObject.SNIWritePacket(SNIHandle handle, SNIPacket packet, UInt32& sniError, Boolean canAccumulate, Boolean callerHasConnectionLock) +5348371
System.Data.SqlClient.TdsParserStateObject.WriteSni(Boolean canAccumulate) +91
System.Data.SqlClient.TdsParserStateObject.WritePacket(Byte flushMode, Boolean canAccumulate) +331
System.Data.SqlClient.TdsParser.TdsLogin(SqlLogin rec, FeatureExtension requestedFeatures, SessionData recoverySessionData) +2109
System.Data.SqlClient.SqlInternalConnectionTds.Login(ServerInfo server, TimeoutTimer timeout, String newPassword, SecureString newSecurePassword) +347
System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover) +238
System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) +892
System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) +311
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData) +646
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) +278
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) +38
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +732
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +85
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1057
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +78
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +196
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +146
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +16
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +94
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +110
System.Data.SqlClient.SqlConnection.Open() +96
System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +44
[EntityException: The underlying provider failed on Open.]
System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +203
System.Data.EntityClient.EntityConnection.Open() +104
System.Data.Objects.ObjectContext.EnsureConnection() +75
System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) +41
System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() +36
System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +369
System.Linq.Enumerable.ToList(IEnumerable`1 source) +58
CloudShop.Services.ProductsRepository.GetProducts() +216
CloudShop.Controllers.HomeController.Search(String SearchCriteria) +81
CloudShop.Controllers.HomeController.Index() +1130
lambda_method(Closure , ControllerBase , Object[] ) +62
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +193
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
System.Web.Mvc.Async.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41() +28
System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +10
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +32
System.Web.Mvc.Async.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33() +58
System.Web.Mvc.Async.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() +225
System.Web.Mvc.Async.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult) +10
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +34
System.Web.Mvc.Async.<>c__DisplayClass2a.<BeginInvokeAction>b__20() +23
System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +99
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +27
System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +14
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +23
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +39
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +23
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +29
System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +25
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +23
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +31
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9651188
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36213
Regards,
Michal
Michal MorciniecSame issue here, looking for more information !
-
when testing a datasource connection I get the following error.
Named Pipes provider, error:40 could not open a connection to sql server.
I've read all the posts on this and nothing works. This is a scale out deployment and the connection
works from the other server I have setup with SRS that is connected to the same backend SRS databases. It just doesn't work from one of the SRS front ends. I'm at a loss.. please helpEnable both named pipe and TCP communications.
Make sure client is using the same (named) pipe name as server for connection.
Kalman Toth Database & OLAP Architect
Free T-SQL Scripts
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012 -
Planning Provider Error in Smartview 9.3.1.5.0.025
Hello all,
When I retrieved large amounts of data in Planning Ad-hoc using SmartView and Workspace, I got "Planning Provider Error".
EPM 9.3.1.5.0.025
Win XP prof 2002 Serv Pack 3
Please advise, thanks!
Smartview error:
http://i.imgur.com/bVCLz.jpg?2989
Workspace error:
http://i.imgur.com/n5Cbr.jpgThis type of error usually means the the xml being returned by your provider is not the expected type or is malformed. What provider are you hitting and can you tell me the url you are using? Also it the provider and older or newer version than the Smart View client?
-
Report Server WMI Provider Error: Invalid namespace
Domain Server, Sql2012 server and SP2013 Server (3 vm servers)
the sql server reporting services service application and applications Proxy are installed and started (SP2013 Sever)
the sql server PowerPivot system Service and SQL server Reporting Services Service are Started (in Services on Server)
in sql server 2012 sp1 reporting service configured (web service URL and Report Manager URL are configured and tested, the database report server mode is native) (SQl 2012 Server)
under general Application Settings .. trying to setup the "Reporting Service Integration" give us the above error message (Report Server WMI Provider Error: Invalid namespace)
I was looking for all blogs and TechNet material but without success.Follow these steps:
1) Uninstall SSRS from the Database Engine server (MSSQLSERVER instance).
2) Install SSRS on the SharePoint server using the "Reporting Services - SharePoint" install option during SQL Feature selection, no other services are required (e.g. you do not need to install Database Engine services).
3) You should then see SSRS as a Service Instance in Central Admin -> Manage Services on Server, at which point you can also create an SSRS Service Application.
While this guide (http://msdn.microsoft.com/en-us/library/jj219068.aspx#bkmk_install_SSRS) walks you through it, this is for a single server install where the Database Engine is also installed on SharePoint, not something you want to do.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Hi, I am using SQL Server 2008 R2 and on one of our dev boxes I am trying to setup ReportServer using ReportingServices Configuration manager. This is was installed longtime back and during installation they created a service account for reporting services.
When I try to configure the service account I do not get the service account created during the installation in the pull down and if I were to use something different I get this "Named Pipes Provider, error: 40 - Could not open a connection to SQL Server"
error.
Thanks in advance...........
IoneHi,
Take a look at this blog - http://blogs.msdn.com/b/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx
I hope it will help. -
Dear Friends,
Please help me find solution for this problem which has totally jeopardized my work. I am using Adobe reader X. Everytime I open MCA forms for signing, I have to use some DSC which are stored in my Explorer. But when applying, it shows this error. I am not able to find any solution for this. Pleaaaaase help..Hi proindia,
Please see this point on Acrobatusers.com: http://answers.acrobatusers.com/Why-I-Windows-Cryptographic-Service-Provider-error-Signatu res-sudden-q13152.aspx
It links to an older Acrobat knowledgebase document, but I think it will fix your error.
Best,
Sara -
Re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
Hi,
I'm encountering an issue with "Named Pipes Provider, error: 40 windows" and am having problems determining how to fix it due to the environment I'm using. I have two SQL Servers installed on two separate Win2K3 Server boxes, one is SQL Server 2000 and the other is SQL Server 2005. The SQL Server 2000 contains the actual application data. The 2005 database is used only for Reporting Services. I've set up the reports on SSRS such that their datasources hit the 2000 server. This is using SQL Server authentication.
When testing the reports via SSRS (in Visual Studio 2005), the connection to the data works and the reports are generated fine. When I deploy them to the reporting server and launch IE to test locally (still on the 2005 box), I get this "Named Pipes Provider, error 40" issue. I made sure that Named Pipes and TCP were enabled and the port set at 1433 (to match that on the 2000 box).
Now I changed the datasource's authentication from SQL Server to Windows authentication. I tested this in SSRS and this works too. When I redeployed the reports with this authentication change, testing the reports via IE locally (on the 2005 box) worked. Great. Now when I open IE on an external box, i.e. on the 2000 box, and try to test the reports, I get this same error 40 issue. I've been through a few threads describing the error 40, fiddling around with the SQL Server configuration as well as SSRS, to no avail. I have a feeling this error 40 issue has to due with permissions/authentication between the SQL Server boxes but I can't really be sure. Anyone have any ideas on how to troubleshoot my situation. Thanks.
larryNamed Pipes Provider, error: 40 - Could not open a connection to SQL Server :
I. Incorrect connection string, such as using SqlExpress.
Check out: http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=558456&SiteID=17
https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1245564&SiteID=1
The typical error when dealing with Express includes:
a. User is not aware of SqlExpress was installed as a named instance, consequently, in his/her connection string, he/she only specify ".","localhost" etc instead of ".\SqlExpress" or "<machinename>\Sqlexpress".
b. Np was disabld by default after installing SqlExpress.
c. If Sqlexpress was installed on the remote box, you need to enable remote connection for Express.
Please read the following blog for best practice of connecting to SqlExpress.
http://blogs.msdn.com/sql_protocols/archive/2006/03/23/558651.aspx
II. Named Pipes(NP) was not enabled on the SQL instance.
Check out: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=136253&SiteID=1
Oppose to SQL 2000 which turn on all protocols, SQL 2005 SKUs turn off NP by default. So, when you see this error, please check:
1) Go to SQL Server Configuration Manager, See Server has NP enabled.
2) %windir%\program files\microsoft sql server\mssql.1\mssql\log, notepad ERRORLOG, see whether Server is listening on NP. You should see "Server named pipe provider is ready to accept connection on [ \\.\pipe\sql\query ] or [\\.\pipe\mssql$<InstanceName>\sql\query]"
3) Notice that "sql\query" is the default pipe name, so you need to know server is listening on which pipe name. eg: if you specify server pipe name is "sql\query1", then you would see in the errorlog that server listening on [ \\.\pipe\sql\query1 ], and go to SQL Server Configuration Manager, click client Named Pipe properties, see whether the pipe name is same with the one server listening on.
4) If you are using SQL Native Client ODBC/OLEDB provider({SQL Native Client} or SQLNCLI), go to SQL Configuration Manager, click client protocols, make sure NP and TCP are both enabled. Right click properties of NP, make sure client is using the same pipe name as server for connection.
5) If you are using MDAC ODBC/OLEDB({SQL Server} or SQLOLEDB) provider, in command line, launch "cliconfg.exe" and make sure NP enabled and right pipe name specified.
III. Remote connection was not enabled.
Check out: when you right click on the Server in SQL Server Management Studio, in Connections, the Remote server connections part, you have enabled the "Allow remote connections to this server" check box
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=322792&SiteID=1
https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=763875&SiteID=1
If you are making a remote connection, namely, your target SQL Server is on the different box as client application, you might need to check whether:
a. "File and Printer Sharing" was opened in Firewall exception list.
b. Please see the blog for enabling remote connection for express and troubleshooting tips of remote connection.
http://blogs.msdn.com/sql_protocols/archive/2005/11/14/492616.aspx
http://blogs.msdn.com/sql_protocols/archive/2006/09/30/SQL-Server-2005-Remote-Connectivity-Issue-TroubleShooting.aspx
IV. Server not started, or point to not a real server in your connection string.
Check out: Open SQL Server Surface Area Configuration and ensure all the required services are started, Remote Connections are configured.
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=348662&SiteID=1
a. use "sc query mssqlserver" for default instance or "sc query mssql$<instancename>" to make sure SQL Server was started. Sometimes, reseason behind the broken of your client application w/ this error:40 might be SQL server restarted and failed, so, it'd better for you to double check.
b. User specified wrong server in their connection string, as described in the forum discussion, "MSSQLSERVER" is an invalid instance name. Remember, when you connect to default instance, <machinename> could be best representitive for the instance, when you connect to a named instance such as sqlexpress, you should specify <machinename>\<instancename> as data source in your connection string.
V. Other reasons such as incorrect security context.
Check out: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=192622&SiteID=1
Such error also occured during user operation such as moving database or db mirroring or cluster, any DB OP that might invovle different sql instances, namely, the destination database is located in another sql instance and user is not aware of the state of the destination. I recommend you first isolate whether this fail is during connection stage or data operation stage.
a. During data operation, you are normally asked to type in the destination server name whether it is default to "(local)" or another server "<remotemachinename>". So, remember the exact string that represent the target instance, then when the error repros, open command line, use "sqlcmd -S<representitive> -E" ,see what happens, if the connection fail, please follow up above I - IV troubleshooting lists. otherwise continue.
b. If you can make basic conection, but still face the error, then there must be something that server reject the connection or client close the connection for some reason.
VI. Please try basic connectivity tests between the two mahcines you are working on. One simple way to verifty connectivity is to use command line tools, such as osql.exe. For example, osql -E -Stcpervername\instancename. If it connects cross-machine successfully, please also verify that your connection string in your scenario is correct.
Here are some blogs which could be helpful: just follow the basic connectivity troubleshooting guidelines on the SQL Protocols blog, see:
SQL Server 2005 Connectivity Issue Troubleshoot - Part I
http://blogs.msdn.com/sql_protocols/archive/2005/10/22/483684.aspx
and
SQL Server 2005 Connectivity Issue Troubleshoot - Part II
http://blogs.msdn.com/sql_protocols/archive/2005/10/29/486861.aspx
Hope this helps.
Maybe you are looking for
-
I need some advice on a small servers network please !!
hi every one. i need a small help please. i have a collage project that is upgrading a network and my part is the server's network. actually it is 65servers, windows and non-win. i wish to know what are the important issues that should be considered
-
Restarted computer and lost a weeks worth of histo...
I closed out all rporams and restarted my compputer. When I reopened skype a week of history was gone as well as contacts I added since 10/2 (today is 10/9). Is there a way to retrieve this? I also see no options on any skype menus for backing up co
-
Balance in transaction currency - Message no. F5702 During Depreciation Run
Hello All, When trying to execute the depreciation run, I get the below error Balance in transaction currency Message no. F5702 Diagnosis A balance has occurred in transaction currency 'USD' with the followin details: Exchange rate '0
-
Illustrator desktop icons change after trying Inkscape?
A couple of days ago, just out of curiosity, I tried out Inkscape. Of course, I was unimpressed, trashed it, and removed XQuartz. Afterwards, I found that all of my Illustrator desktop icons had changed to odd square generic document icons with the "
-
Error restoring to iOS 6 Beta 1
Hey all, fairly new to these forums. I had an issue that I thought I could get some help with. I registered my UDID with Apple today and downloaded iOS 6 Beta 1. And yes, I updated my iTunes to 10.6.3 as well. So when I tried to Option+Click the Rest