Error -214746726​2 "No such interface supported" when open an ActiveX automation reference to proprietar​y DLL, why?
I got the error -2147467262 "No such interface supported" when open an ActiveX automation reference to a proprietary DLL. I check the forum which suggested solutions related to comcat.dll and IE6.0. I also tried to re-reqister the dll by regsvr32.exe, still does not work. However, I did nto get any luck. I was told that the DLL support iDispatch interface and should work ok with ActiveX in labview. Any suggestions? I appreciate it.
Hello, Nandini,
I am using the WinXP and I am calling the DLL provided by Pirouette for their chemometrics software. I just solved the error -2147467262, but the new error comes out is :
Error code: -2147467259 Exception occured in IxAsObjs.CoSIMCAPredict.1, Language Server QueryInterface failed: No such interface supported.
Here is a few word for the problem from priouette:
" just a few more words that might help you understand the nature of the problem. your LabView client talks to AlgSuite.dll using IDispatch interfaces AlgSuite.dll communicates with the language server on an IUnknown interface.
Your client knows nothing about the internal workings of AlgSuite.AlgSuite communicating with objects that do not have IDispatch interfaces should be irrelevant to your client."
Since the VB demo works fine in my machine, so they though it is percular to labview. Any comments? I appreciate it.
LvvL
Similar Messages
-
There are error message "No such interface supported" when play Audio/Media from USB thumb disk with Metro APP like Xbox in windows. how can I solve this problem? if I use destop player like windows media player, no such error.
would you please give some solution for this error? thanks!OS is window10, Metro APP is Xbox or MultiMedia 8; any video format will occur error only by following steps:
a. Put Audio / Media / Photo files into USB thumb disk or Micro SD card.
b. Connect USB thumb disk / Micro SD Card to Platform.
c. Open 'File Explorer', click USB thumb disk.
d. Open audio file with metro app: Music. / Open Media file with metro app: Video./Open Photo file with metro app. -
64 bits Error -2147467262 - No such interface supported
Hi,
It will be very kind of you in case you can help me.... I have a very particular issue... trying to consume a COM object developed by myself through a JAVA application. so we have 3 components:
(All inside windows 7 64 bits environment)
1) Java application
2) JNI (c++) library
3) COM object.
A simple Java application, used library 64 bits C:\Program Files\Java\jdk1.6.0_45
and the code looks similar to that:
public class DP {
static {
System.loadLibrary("JNIDP");
private native boolean Init();
public static void main(String[] args) {
DP dp = new DP();
dp.Init();
I have generated the JNI interface:
JNIEXPORT jboolean JNICALL Java_com_ncr_asr_DP_Init
(JNIEnv *, jobject);
and create a library JNIDP to comsume the COM object like that:
JNIEXPORT jboolean JNICALL Java_com_ncr_asr_DP_Init(JNIEnv *env , jobject obj )
hRes = CoInitialize( NULL );
IDPPos* pDPPOS = NULL;
hRes = CoCreateInstance(CLSID_DPPos, NULL, CLSCTX_ALL, IID_IDPPos, (void**)&pDPPOS );
return !FAILED( hRes );
When I execute the Simple Java Application everything goes well and the Init() method works successfully.
Now, If I try to consume the JNI library through a bigger Java Application, also using the library 64 bits C:\Program Files\Java\jdk1.6.0_45
The CoCreateInstance inside the Init method return error: -2147467262 (No such interface supported).
I am unable to realize what is going on... and why the bigger java application is getting this error trying to consume the COM object through JNI.
I am really confuse and not sure what to try. Any help will be appreciated.
Thanks in advance.
SebastianLet see... I make some testing related to your suggestion... so, I have made a new COM component for testing propose base on ATL, just this example:
http://msdn.microsoft.com/en-us/library/dssw0ch4(v=vs.90).aspx
Then I have updated my DLL (The one that java application consume with JNI) to call this new component exactly the same as the client application does in the example....
1) First Test: Simple Java Application consume the JNI DLL and I can see printed the "101" as the example COM is doing... so, It works successfully.
2) Second Test: Bigger Java Application consume the JNI DLL and I got bad news... a file was generated with information about the issue... like that:
Any suggestions?
# A fatal error has been detected by the Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fef4575dc9, pid=6156, tid=5352
# JRE version: 6.0_45-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.45-b01 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [JNIDP.dll+0x5dc9]
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
--------------- T H R E A D ---------------
Current thread (0x0000000007795000): JavaThread "GdPos:dispatch" [_thread_in_native, id=5352, stack(0x00000000092e0000,0x00000000093e0000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000000
Registers:
RAX=0x0000000000000000, RBX=0x000000077cea0b38, RCX=0x0000000000000000, RDX=0x00000000093ddc38
RSP=0x00000000093ddb90, RBP=0x00000000093ddd00, RSI=0x00000000000000ff, RDI=0x00000000093ddbc0
R8 =0x0000000000000000, R9 =0x0000000000000000, R10=0x000007fef45fc4b8, R11=0x0000000000000001
R12=0x0000000000000000, R13=0x000000077cea0b38, R14=0x00000000093ddd20, R15=0x0000000007795000
RIP=0x000007fef4575dc9, EFLAGS=0x0000000000010202
Top of Stack: (sp=0x00000000093ddb90)
0x00000000093ddb90: cccccccccccccccc cccccccccccccccc
0x00000000093ddba0: cccccccccccccccc cccccccccccccccc
0x00000000093ddbb0: cccccccccccccccc cccccccccccccccc
0x00000000093ddbc0: 00000000093ddc80 000007fef457197e
0x00000000093ddbd0: 00000000093ddc18 00000000093ddc38
0x00000000093ddbe0: 0000000000000000 cccccccc00000017
0x00000000093ddbf0: cccccccccccccccc cccccccccccccccc
0x00000000093ddc00: cccccccccccccccc cccccccccccccccc
0x00000000093ddc10: cccccccccccccccc 0000000000000000
0x00000000093ddc20: cccccccccccccccc cccccccccccccccc
0x00000000093ddc30: cccccccccccccccc 0000000000000000
0x00000000093ddc40: cccccccccccccccc cccccccccccccccc
0x00000000093ddc50: cccccccccccccccc cccccccccccccccc
0x00000000093ddc60: cccccccccccccccc cccccccccccccccc
0x00000000093ddc70: cccccccccccccccc cccccccccccccccc
0x00000000093ddc80: 00000000021c5b22 00000000021d1386
Instructions: (pc=0x000007fef4575dc9)
0x000007fef4575da9: 00 00 00 e8 9f 07 01 00 83 f8 01 75 03 cc 33 c0
0x000007fef4575db9: 48 8b 44 24 40 48 8b 00 48 8b 4c 24 40 48 8b 09
0x000007fef4575dc9: 48 8b 00 4c 8b 44 24 48 48 8d 15 98 6c 08 00 ff
0x000007fef4575dd9: 10 48 83 c4 30 5f c3 cc cc cc cc cc cc cc cc cc
Register to memory mapping:
RAX=0x0000000000000000 is an unknown value
RBX=0x000000077cea0b38 is an oop
{method}
- klass: {other class}
RCX=0x0000000000000000 is an unknown value
RDX=0x00000000093ddc38 is pointing into the stack for thread: 0x0000000007795000
RSP=0x00000000093ddb90 is pointing into the stack for thread: 0x0000000007795000
RBP=0x00000000093ddd00 is pointing into the stack for thread: 0x0000000007795000
RSI=0x00000000000000ff is an unknown value
RDI=0x00000000093ddbc0 is pointing into the stack for thread: 0x0000000007795000
R8 =0x0000000000000000 is an unknown value
R9 =0x0000000000000000 is an unknown value
R10=0x000007fef45fc4b8 is an unknown value
R11=0x0000000000000001 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x000000077cea0b38 is an oop
{method}
- klass: {other class}
R14=0x00000000093ddd20 is pointing into the stack for thread: 0x0000000007795000
R15=0x0000000007795000 is a thread
Stack: [0x00000000092e0000,0x00000000093e0000], sp=0x00000000093ddb90, free space=1014k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [JNIDP.dll+0x5dc9] ATL::CComPtrBase<IUnknown>::QueryInterface<IObject1>+0x69
j com.DPLogger.Init()Z+4
j com.DPClient.Init()Z+39
j com.DPMgr.init()V+11
j com.Engine.eventInit()V+254
j com.Main$1.windowOpened(Ljava/awt/event/WindowEvent;)V+3
j java.awt.Window.processWindowEvent(Ljava/awt/event/WindowEvent;)V+58
j java.awt.Window.processEvent(Ljava/awt/AWTEvent;)V+69
j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+573
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
j java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+65
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+41
j java.awt.EventQueue.access$400(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
j java.awt.EventQueue$2.run()Ljava/lang/Void;+12
j java.awt.EventQueue$2.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
V [jvm.dll+0x1eac57]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.DP.Init()Z+0
j com.DPLogger.Init()Z+4
j com.DPClient.Init()Z+39
j com.DPMgr.init()V+11
j com.Engine.eventInit()V+254
j com.Main$1.windowOpened(Ljava/awt/event/WindowEvent;)V+3
j java.awt.Window.processWindowEvent(Ljava/awt/event/WindowEvent;)V+58
j java.awt.Window.processEvent(Ljava/awt/AWTEvent;)V+69
j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+573
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
j java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+65
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+41
j java.awt.EventQueue.access$400(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
j java.awt.EventQueue$2.run()Ljava/lang/Void;+12
j java.awt.EventQueue$2.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.security.AccessControlContext$1.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+28
j java.security.AccessControlContext$1.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+6
j java.awt.EventQueue$3.run()Ljava/lang/Void;+11
j java.awt.EventQueue$3.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.security.AccessControlContext$1.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+28
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+73
j java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+204
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30
j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j java.awt.EventDispatchThread.run()V+9
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x00000000073db000 JavaThread "GdPos:AS" [_thread_blocked, id=3612, stack(0x000000000b5c0000,0x000000000b6c0000)]
0x00000000073da800 JavaThread "HSQLDB Timer @2602585e" daemon [_thread_blocked, id=7680, stack(0x000000000b4c0000,0x000000000b5c0000)]
0x00000000073d9800 JavaThread "GdPos:ticker" [_thread_blocked, id=9184, stack(0x000000000b3c0000,0x000000000b4c0000)]
0x00000000073d9000 JavaThread "ScaleSimulator" [_thread_blocked, id=4652, stack(0x000000000b2c0000,0x000000000b3c0000)]
0x00000000073d8000 JavaThread "LUUpdateThread" [_thread_blocked, id=3188, stack(0x000000000b1c0000,0x000000000b2c0000)]
0x00000000073d7800 JavaThread "ServerPriceThread" [_thread_blocked, id=7136, stack(0x000000000b0c0000,0x000000000b1c0000)]
0x00000000073d6800 JavaThread "com.ncr.asr.FileAccessClient" [_thread_blocked, id=7320, stack(0x000000000afc0000,0x000000000b0c0000)]
0x00000000073d6000 JavaThread "GdPos:hotnote" [_thread_blocked, id=5316, stack(0x000000000aec0000,0x000000000afc0000)]
0x00000000073d5800 JavaThread "GdPos:pumper" [_thread_blocked, id=5248, stack(0x000000000adc0000,0x000000000aec0000)]
0x00000000073d4800 JavaThread "MICRSimulator" [_thread_blocked, id=7976, stack(0x000000000acc0000,0x000000000adc0000)]
0x00000000073d4000 JavaThread "ScannerSimulator" [_thread_blocked, id=7472, stack(0x000000000abc0000,0x000000000acc0000)]
0x00000000073d3000 JavaThread "MSRSimulator" [_thread_blocked, id=9188, stack(0x00000000093e0000,0x00000000094e0000)]
0x00000000073d2800 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=8304, stack(0x000000000aac0000,0x000000000abc0000)]
0x00000000073d1800 JavaThread "RMI RenewClean-[192.168.56.1:49980]" daemon [_thread_blocked, id=1092, stack(0x000000000a8f0000,0x000000000a9f0000)]
0x00000000073d1000 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=7188, stack(0x0000000009cb0000,0x0000000009db0000)]
0x0000000007bb2800 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=8812, stack(0x0000000009bb0000,0x0000000009cb0000)]
0x000000000813b800 JavaThread "RMI TCP Accept-1099" daemon [_thread_in_native, id=8896, stack(0x0000000009ab0000,0x0000000009bb0000)]
0x0000000008310000 JavaThread "GC Daemon" daemon [_thread_blocked, id=8260, stack(0x00000000099b0000,0x0000000009ab0000)]
0x0000000007c0c000 JavaThread "RMI Reaper" [_thread_blocked, id=7588, stack(0x00000000098b0000,0x00000000099b0000)]
0x0000000007bb8000 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=9036, stack(0x00000000097b0000,0x00000000098b0000)]
0x00000000005cf000 JavaThread "DestroyJavaVM" [_thread_blocked, id=6524, stack(0x00000000020c0000,0x00000000021c0000)]
=>0x0000000007795000 JavaThread "GdPos:dispatch" [_thread_in_native, id=5352, stack(0x00000000092e0000,0x00000000093e0000)]
0x0000000007103800 JavaThread "AWT-Shutdown" [_thread_blocked, id=6732, stack(0x00000000091e0000,0x00000000092e0000)]
0x00000000075c6800 JavaThread "GdPos:blinker" [_thread_blocked, id=3684, stack(0x0000000008e70000,0x0000000008f70000)]
0x00000000073b7800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=6552, stack(0x0000000008f70000,0x0000000009070000)]
0x00000000073b6000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5356, stack(0x0000000008c10000,0x0000000008d10000)]
0x0000000006528800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5064, stack(0x0000000006bb0000,0x0000000006cb0000)]
0x0000000006523800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=8068, stack(0x0000000006ab0000,0x0000000006bb0000)]
0x0000000006511000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=7412, stack(0x00000000069b0000,0x0000000006ab0000)]
0x000000000650e000 JavaThread "Attach Listener" daemon [_thread_blocked, id=8308, stack(0x00000000068b0000,0x00000000069b0000)]
0x0000000006509000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3632, stack(0x00000000067b0000,0x00000000068b0000)]
0x000000000052e800 JavaThread "Finalizer" daemon [_thread_blocked, id=1116, stack(0x00000000066b0000,0x00000000067b0000)]
0x000000000052d000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5480, stack(0x00000000063b0000,0x00000000064b0000)]
Other Threads:
0x0000000000525000 VMThread [stack: 0x00000000062b0000,0x00000000063b0000] [id=2548]
0x000000000655a000 WatcherThread [stack: 0x0000000006cb0000,0x0000000006db0000] [id=3880]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
PSYoungGen total 37888K, used 28346K [0x00000007d5b60000, 0x00000007d85a0000, 0x0000000800000000)
eden space 32512K, 73% used [0x00000007d5b60000,0x00000007d72cbc40,0x00000007d7b20000)
from space 5376K, 81% used [0x00000007d7b20000,0x00000007d7f62e48,0x00000007d8060000)
to space 5376K, 0% used [0x00000007d8060000,0x00000007d8060000,0x00000007d85a0000)
PSOldGen total 86656K, used 4938K [0x0000000781200000, 0x00000007866a0000, 0x00000007d5b60000)
object space 86656K, 5% used [0x0000000781200000,0x00000007816d2820,0x00000007866a0000)
PSPermGen total 40256K, used 31716K [0x000000077c000000, 0x000000077e750000, 0x0000000781200000)
object space 40256K, 78% used [0x000000077c000000,0x000000077def9168,0x000000077e750000)
Code Cache [0x00000000021c0000, 0x0000000002430000, 0x00000000051c0000)
total_blobs=775 nmethods=273 adapters=455 free_code_cache=48966080 largest_free_block=12288
Dynamic libraries:
0x0000000000400000 - 0x000000000042f000 C:\Program Files\Java\jre6\bin\javaw.exe
0x0000000077150000 - 0x00000000772f9000 C:\windows\SYSTEM32\ntdll.dll
0x0000000076ee0000 - 0x0000000076fff000 C:\windows\system32\kernel32.dll
0x000007fefd660000 - 0x000007fefd6cb000 C:\windows\system32\KERNELBASE.dll
0x000007fefdba0000 - 0x000007fefdc7b000 C:\windows\system32\ADVAPI32.dll
0x000007feff150000 - 0x000007feff1ef000 C:\windows\system32\msvcrt.dll
0x000007feff1f0000 - 0x000007feff20f000 C:\windows\SYSTEM32\sechost.dll
0x000007fefede0000 - 0x000007fefef0d000 C:\windows\system32\RPCRT4.dll
0x0000000076a70000 - 0x0000000076b6a000 C:\windows\system32\USER32.dll
0x000007fefdaa0000 - 0x000007fefdb07000 C:\windows\system32\GDI32.dll
0x000007fefef60000 - 0x000007fefef6e000 C:\windows\system32\LPK.dll
0x000007feff210000 - 0x000007feff2d9000 C:\windows\system32\USP10.dll
0x000007fefdb70000 - 0x000007fefdb9e000 C:\windows\system32\IMM32.DLL
0x000007fefecb0000 - 0x000007fefedb9000 C:\windows\system32\MSCTF.dll
0x000000006d830000 - 0x000000006dfec000 C:\Program Files\Java\jre6\bin\server\jvm.dll
0x000007fefb8b0000 - 0x000007fefb8eb000 C:\windows\system32\WINMM.dll
0x000000006d7a0000 - 0x000000006d7ae000 C:\Program Files\Java\jre6\bin\verify.dll
0x000000006d3c0000 - 0x000000006d3e7000 C:\Program Files\Java\jre6\bin\java.dll
0x000000006d7f0000 - 0x000000006d802000 C:\Program Files\Java\jre6\bin\zip.dll
0x000000006d000000 - 0x000000006d1c4000 C:\Program Files\Java\jre6\bin\awt.dll
0x000007fefb660000 - 0x000007fefb6d1000 C:\windows\system32\WINSPOOL.DRV
0x000007fefdc90000 - 0x000007fefde93000 C:\windows\system32\ole32.dll
0x000007fefdf20000 - 0x000007fefeca8000 C:\windows\system32\SHELL32.dll
0x000007fefdea0000 - 0x000007fefdf11000 C:\windows\system32\SHLWAPI.dll
0x000007fefc020000 - 0x000007fefc214000 C:\windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll
0x000007fefb880000 - 0x000007fefb898000 C:\windows\system32\DWMAPI.DLL
0x000007fefbd50000 - 0x000007fefbda6000 C:\windows\system32\uxtheme.dll
0x000000006d2a0000 - 0x000000006d315000 C:\Program Files\Java\jre6\bin\fontmanager.dll
0x000007fefd4e0000 - 0x000007fefd4ef000 C:\windows\system32\CRYPTBASE.dll
0x000007fef4570000 - 0x000007fef4628000 C:\NCR\caja\testing\JNIDP.dll
0x000007feff2e0000 - 0x000007feff3b7000 C:\windows\system32\OLEAUT32.dll
0x000000006d620000 - 0x000000006d637000 C:\Program Files\Java\jre6\bin\net.dll
0x000007fefef10000 - 0x000007fefef5d000 C:\windows\system32\WS2_32.dll
0x000007fefdc80000 - 0x000007fefdc88000 C:\windows\system32\NSI.dll
0x000007fefce20000 - 0x000007fefce75000 C:\windows\system32\mswsock.dll
0x000007fefce10000 - 0x000007fefce17000 C:\windows\System32\wship6.dll
0x000000006d640000 - 0x000000006d64c000 C:\Program Files\Java\jre6\bin\nio.dll
0x000000006d4e0000 - 0x000000006d515000 C:\Program Files\Java\jre6\bin\jpeg.dll
0x000007fefd030000 - 0x000007fefd047000 C:\windows\system32\CRYPTSP.dll
0x000007fefcb80000 - 0x000007fefcbc7000 C:\windows\system32\rsaenh.dll
0x000007fefc8d0000 - 0x000007fefc8ee000 C:\windows\system32\USERENV.dll
0x000007fefd5b0000 - 0x000007fefd5bf000 C:\windows\system32\profapi.dll
0x000007fefaea0000 - 0x000007fefaeb5000 C:\windows\system32\NLAapi.dll
0x000007fef6af0000 - 0x000007fef6b05000 C:\windows\system32\napinsp.dll
0x000007fef6ad0000 - 0x000007fef6ae9000 C:\windows\system32\pnrpnsp.dll
0x000007fefcca0000 - 0x000007fefccfb000 C:\windows\system32\DNSAPI.dll
0x000007fef6ac0000 - 0x000007fef6acb000 C:\windows\System32\winrnr.dll
0x000007fef6ab0000 - 0x000007fef6ac0000 C:\windows\system32\wshbth.dll
0x000007fefc9c0000 - 0x000007fefc9c7000 C:\windows\System32\wshtcpip.dll
0x000007fefa290000 - 0x000007fefa2b7000 C:\windows\system32\IPHLPAPI.DLL
0x000007fefa280000 - 0x000007fefa28b000 C:\windows\system32\WINNSI.DLL
0x000007fef5a70000 - 0x000007fef5a78000 C:\windows\system32\rasadhlp.dll
0x000007fef9f00000 - 0x000007fef9f53000 C:\windows\System32\fwpuclnt.dll
0x000000006d6c0000 - 0x000000006d6c6000 C:\Program Files\Java\jre6\bin\rmi.dll
0x000007fefd480000 - 0x000007fefd4d7000 C:\windows\system32\apphelp.dll
0x0000000077310000 - 0x0000000077317000 C:\windows\system32\PSAPI.DLL
VM Arguments:
jvm_args: -Djava.library.path=c:\testing -Dfile.encoding=Cp1252
java_command: com.ncr.asr.Main
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_45\
CLASSPATH=.;.;C:\PROGRA~2\JMF21~1.1E\lib\sound.jar;C:\PROGRA~2\JMF21~1.1E\lib\jmf.jar;C:\PROGRA~2\JMF21~1.1E\lib;
PATH=C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Dell\DW WLAN Card;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\Common
Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Enterprise Vault\EVClient\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program
Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Java\jdk1.6.0_45\jre\bin;C:\eclipse\MinGW\bin;C:\apache-maven-3.2.1\bin
USERNAME=
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 37 Stepping 5, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 Service Pack 1
CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 37 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
Memory: 4k page, physical 8312664k(4321372k free), swap 16623468k(11952492k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (20.45-b01) for windows-amd64 JRE (1.6.0_45-b06), built on Apr 1 2013 12:31:37 by "java_re" with MS VC++ 8.0 (VS2005)
time: Mon Jun 02 16:03:14 2014
elapsed time: 47 seconds
Sebastian -
BO PCM: 80004002 no such interface supported
Hello All!
I developed a model in BO Profitability and cost management Model builder and sometimes I have an error 80004002 no such interface supported. But sometimes the system works correctly. Do you know anything about this error?
Configuration:
vmware 7.1.4
MS SQL SERVER 2008 R2
Windows Version: 5.2 (Build 3790) - Win 2003 Server
Windows Patch: Service Pack 2
Builder Version: Version 7.5.12 Build 2818)
PCM Username:
PCM Model:
PCM Server:
PCM Model Server:
Error Code: 80004002See the flowchart attached to SAP Note [1352504|http://service.sap.com/sap/support/notes/1352504] which covers several possible causes of this error.
Also...there are about 15 other SAP notes that mention this error. Please check for Notes yourself before posting here. For example:
According to SAP Note [1351124|http://service.sap.com/sap/support/notes/1351124] it says:
Cause
The EPM/PCM system is installed to use the SOCKETS protocol; however the client workstation is unable to contact the primary applications server because it has multiple network adaptors and their binding order is wrong.
Resolution
On the client workstation change the binding order of TCP/IP on the network cards so that the network card that has the connection to the PCM systems is the first in the list. The binding order can be changed in u201CNetwork Connectionsu201D as follows: [see note for further explanation]
According to SAP Note [1514751|http://service.sap.com/sap/support/notes/1514751] it says:
Reproducing the Issue
There are no specific steps to force this condition to occur other than using the PCM system for several days without restarting the system or any of its services.
Cause
There is a memory leak in the PCM TransportService which causes PCMMainIPS.exe and PCMModelIPS.exe to consume more and more memory until these services fail causing the error message.
Resolution
Upgrade to PCM v7.5 SP10.
As I believe you are indicating you are on PCM v7.5 SP12 - please report the issue to SAP Support by creating a message on the Service Marketplace if neither of above resolves the issue. In the meantime, you may be able to stop and restart all the PCM services to work around the issue.
Best regards,
[Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
SAP Labs, LLC
BusinessObjects Division
Americas Customer Solutions Adoption (CSA) team -
Windows 7 explorer.exe Error "No such interface supported"
Hello, i have encountered a problem with the Windows 7 RC. I have instaled it a while back and it seemed to work ok.
Yesterday I installed IE 7 Standalone . The newly instaled IE7 did't work so i uninstaled it.
I think that the previous operation messes something up in the registry because now when i try to duble click any folder i get : explorer.exe "No such interface supported". The same thing happens when i try to open Control Panel, or Add Remove Programs and other System utilities (the title zone reads something like : "::{26EE0668-....}\0\::{...}")
If i right click a folder and select open it works ok.
I have sfc /scannow but with no success.
Unfotunately i haven't made a system restore point previousely.
Is there any way i can fix the problem or must i reinstall?
Thanks.Hi I was searching for a solution to a same issue that a customer had and was able to resolve it going through this forum, however I used a different batch file that i created and was able to resolve it.
cd /d %SystemRoot%\system32
regsvr32 comcat.dll /s
regsvr32 shdoc401.dll /s
regsvr32 shdoc401.dll /i /s
regsvr32 asctrls.ocx /s
regsvr32 oleaut32.dll /s
regsvr32 shdocvw.dll /I /s
regsvr32 shdocvw.dll /s
regsvr32 browseui.dll /s
regsvr32 browseui.dll /I /s
regsvr32 msrating.dll /s
regsvr32 mlang.dll /s
regsvr32 hlink.dll /s
regsvr32 mshtml.dll /I /S
regsvr32 mshtmled.dll /s
regsvr32 Wininet.dll /I /S
regsvr32 msjava.dll /S
regsvr32 urlmon.dll /s
regsvr32 softpub.dll /S
regsvr32 wintrust.dll /s
regsvr32 initpki.dll /s
regsvr32 Dssenh.dll /s
regsvr32 rsaenh.dll /s
regsvr32 Gpkcsp.dll /s
regsvr32 sccbase.dll /s
regsvr32 Slbcsp.dll /s
regsvr32 plugin.ocx /s
regsvr32 sendmail.dll /s
regsvr32 scrobj.dll /s
regsvr32 mmefxe.ocx /s
regsvr32 corpol.dll /s
regsvr32 jscript.dll /s
regsvr32 msxml.dll /s
regsvr32 msxml3.dll /s
regsvr32 mssip32.dll /s
regsvr32 imgutil.dll /s
regsvr32 thumbvw.dll /s
regsvr32 cryptext.dll /s
regsvr32 rsabase.dll /s
regsvr32 inseng.dll /s
regsvr32 iesetup.dll /i /s
regsvr32 cryptdlg.dll /s
regsvr32 actxprxy.dll /s
regsvr32 dispex.dll /s
regsvr32 occache.dll /s
regsvr32 occache.dll /i /s
regsvr32 iepeers.dll /s
regsvr32 urlmon.dll /i /s
regsvr32 cdfview.dll /s
regsvr32 webcheck.dll /s
regsvr32 mobsync.dll /s
regsvr32 pngfilt.dll /s
regsvr32 licmgr10.dll /s
regsvr32 icmfilter.dll /s
regsvr32 hhctrl.ocx /s
regsvr32 inetcfg.dll /s
regsvr32 tdc.ocx /s
regsvr32 MSR2C.DLL /s
regsvr32 msident.dll /s
regsvr32 msieftp.dll /s
regsvr32 xmsconf.ocx /s
regsvr32 ils.dll /s
regsvr32 msoeacct.dll /s
regsvr32 inetcomm.dll /s
regsvr32 msdxm.ocx /s
regsvr32 dxmasf.dll /s
regsvr32 l3codecx.ax /s
regsvr32 acelpdec.ax /s
regsvr32 mpg4ds32.ax /s
regsvr32 voxmsdec.ax /s
regsvr32 danim.dll /s
regsvr32 Daxctle.ocx /s
regsvr32 lmrt.dll /s
regsvr32 datime.dll /s
regsvr32 dxtrans.dll /s
regsvr32 dxtmsft.dll /s
regsvr32 WEBPOST.DLL /s
regsvr32 WPWIZDLL.DLL /s
regsvr32 POSTWPP.DLL /s
regsvr32 CRSWPP.DLL /s
regsvr32 FTPWPP.DLL /s
regsvr32 FPWPP.DLL /s
regsvr32 WUAPI.DLL /s
regsvr32 WUAUENG.DLL /s
regsvr32 ATL.DLL /s
regsvr32 WUCLTUI.DLL /s
regsvr32 WUPS.DLL /s
regsvr32 WUWEB.DLL /s
regsvr32 wshom.ocx /s
regsvr32 wshext.dll /s
regsvr32 vbscript.dll /s
regsvr32 scrrun.dll mstinit.exe /setup /s
regsvr32 msnsspc.dll /SspcCreateSspiReg /s
regsvr32 msapsspc.dll /SspcCreateSspiReg /s
exit
Copy the files above to a notepad and save it as reg.bat onto the desktop and run it.
the issue will get fixed in 3 mins at the most. -
"No such interface supported" JRE 1.4 Win2000 install error
During installation of the latest JRE (j2re-1_4_0-win-i.exe) onto a friends PC I get the following message:
(during the "preparing the installshield wizard" part of the install)
"An error occurred while parsing command line arguments or reading setup.ini - No such interface supported."
Now, Nigel's PC used to have win95 on it - he couldn't get the thing to network with a win2000 computer so win200 was installed over win95 (I'm 85% sure that win95 wasn't fully deleted from the PC first).
It's easy to assume that the error is caused by the double installation of the windows OSs, but I was wondering if this is maybe a problem with the install shield itself.
Has anyone seen this type of error before, or know of a possible solution. (I'm about to tell him to simply reinstall win2000 from scratch)
cheers
RayInstallShield seems to refer to this problem in the following
knowledge base article
http://support.installshield.com/kb/view.asp?pcode=ALL&articleid=Q105146
I searched for "No such interface supported". -
Group Policy Management | No such interface supported
Running Windows Server 2008 R2 as a Domain Controller and when I open Group Policy Management, click on a GPO, then click on the Settings tab, it pops up an error message that says "No such interface supported". I've found several articles
that talk about registering .dll files and I've done that and nothing. I've uninstalled GPMC and reinstalled and that didn't fix anything. Can anyone help resolve this?Hi Jason,
Before going further, do we have other domain controllers? If yes, does GPMC work correctly on these domain controller? GPMC reports the error "No Such interface supported" normally is due to a missing or corrupted Windows component.
Besides, do we update the server to the latest? If not, we can update the server to the latest and then reinstall the GPMC to see if the issue persists.
TechNet Subscriber Support
If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
Best regards
Frank Shen -
No such interface supported - Windows Media Player 12 Windows 7 Home 64bit
I have Windows 7 Home 64 bit on my laptop...it's an original install.
When I double click on .mp3 files, .avi files or .mpeg I get an error message that says "No such interface supported". All files are set default to open with Windows Media Player.
If I open WMP I can play the files directly through there...however clicking on the file to open it will result in the error.
Anybody know how to fix this?Open the Start Menu, go to All Programs - Accessories , right-click
Command Prompt , and select Run as administrator . In Command Prompt, type the following:
sfc /scannow
and press Enter. Let it run until it completes. Does it find any problems, and if so, is it able to fix them? Do you still get the messages afterwards?
Tim De Baets
http://www.bm-productions.tk -
Hi, I'm moving my application from LV/DSC 8.5 to 8.6.1 and I'm getting the following problem.
I created an OPC Client I/O server to connect to the Eldridge Engineering Inc. Modbus - OPC server (http://www.opcsystems.com/modbus.htm). This server is DA 2.5 and supports Hierarchical browsing. Looking to the client loggin file I found the following error:
| |-QueryInterface IID_IOPCBrowse: (FAILED, HRESULT=0x80004002 No such interface supported )
Apparently the client / server behaves properly when I read (by the "Distributed System Manager" tool) few items at time, but the client is disconnected when I ask to read few tens of items in one shot. There is no way to reconnect it, only way is to undeplpoy the client and deploy it again. I don't know if the two problems are related each other.
Any help is really welcome :-)
cheers
gaetano maronHi Gaetano,
error 80004002 may require that you re-register the OPC server. See the following document for details:
Errors Connecting to OPC Server When Using DataSocket as an OPC Client in LabVIEW
Tools for Troubleshooting OPC Interface Problems
Furthermore, I have a couple of questions:
Do you have both LV 8.5 and 8.6.1 installed on the same machine? Or they run on different PCs?
I've browsed to the URL you forwarded http://www.opcsystems.com/modbus.htm It seems that Eldridge server also has a Modbus interface for communicating between applications. As a possible workaround, have you tried to use a Modbus I/O server for interfacing with Eldridge SW? Here there are some tips about how doing this:
Using Modbus I/O Servers (DSC and RT Modules)
Troubleshooting Modbus I/O Servers (DSC Module)
Introduction to Modbus (see chapter "MODBUS I/O servers")
Hope this helps,
Best Regards,
Fabio
Fabio M.
National Instruments
Embedded & OEM Systems Engineer -
No such interface supported (OpenDocument)
I'm trying to open a document (written on deski) like many examples I've seen on the web. However I keep getting an error on the last line:
System.InvalidCastException was unhandled
Message=No such interface supported
I'm using BOXI 3.1
Am I doing something wrong?
string sampleReportName = "Report1";
SessionMgr sessionMgr = new SessionMgr();
EnterpriseSession enterpriseSession = sessionMgr.Logon("user", "pass", "boxi", "secWinAD");
InfoStore infoStore = (InfoStore)enterpriseSession.GetService("InfoStore");
InfoObjects infoObjects = infoStore.Query("Select SI_ID From CI_INFOOBJECTS Where SI_NAME ='" + sampleReportName + "' And SI_INSTANCE=0");
InfoObject infoObject = infoObjects[1];
EnterpriseService tempService = enterpriseSession.GetService("", "RASReportFactory");
ReportAppFactory reportAppFactory = (ReportAppFactory)(tempService.Interface as ReportAppFactory);
ReportClientDocument reportClientDocument = reportAppFactory.OpenDocument(infoObject.ID, 0);Hi,
See this [sample |http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/80a43b7c-dc66-2b10-06a6-ee380b8f509b]to view deski report in html..
Deepu. -
Error "Expected end of color space" when opening converted OTF - PDF.
Hi experts,
I need help. I'm converting from otf to pdf and it works fine. However when i tried putting a bitmap 256 color to the smartform and generate pdf with CONVERT_OTF FM the pdf result in an error "Expected end of color space" when opening the document and it goes blank.
Can anyone tell why ?
Thanks,
FelixHi Peter,
I can open it with another acrobat version. However, the image is not displayed. Do you know why?
Thanks -
Why do I keep getting an error "insufficient data for an image" when opening a document
why do I keep getting an error "insufficient data for an image" when opening a document in Adobe Reader XI 11.0.06
I am also having this problem, especially with scanned documents. Since I need to download scanned documents in my work this is a big problem!Sometimes I can read but not save the document, sometimes one or two of the pages will be blank from the start. I have the latest version of Adobe Reader XI (11.0.10). I tried reducing the page zoom, a suggested workaround on this page: Acrobat: “Insufficient data for an image” error after updating to 10.1.4 or 9.5.2, but that did not help at all. FWIW I use a Windows 8.1 PC with 4 GB RAM. I usually download PDFs from the internet using Firefox.
-
ActiveX Automation Reference getting corrupted when sharing with Teststand
I am using ActiveX Automation to interact with a 3rd Party Software. I use LabVIEW Functional Global to store the activeX reference. I have some low-level APIs with the Automation Refnum In and Out and few high level APIs which use the reference from Functional Global. I am also using these APIs in Teststand. When I store the Automation Reference in the Teststand Local Variable and pass it to the low-level APIs, It was working fine. But when I pass the Reference from the Teststand Local Variable to the Functional Global and use it afterwards, the reference is getting corrupted and I am getting error.
I have created a prototype of the situation using ActiveX call to Skype from LabVIEW. The attached file has 3 Teststand sequences explaining the situation.
Debug1.seq : Passes the reference from TS Local to LV Functional Global : Generates error
Debug2.seq : Uses the reference from TS Local alone : No error
Debug3.seq : Uses the reference from LV Functional Global alone : No error
Can anyone suggest why is the reference loses its validity or any solutions?Hello, Nandini,
I am using the WinXP and I am calling the DLL provided by Pirouette for their chemometrics software. I just solved the error -2147467262, but the new error comes out is :
Error code: -2147467259 Exception occured in IxAsObjs.CoSIMCAPredict.1, Language Server QueryInterface failed: No such interface supported.
Here is a few word for the problem from priouette:
" just a few more words that might help you understand the nature of the problem. your LabView client talks to AlgSuite.dll using IDispatch interfaces AlgSuite.dll communicates with the language server on an IUnknown interface.
Your client knows nothing about the internal workings of AlgSuite.AlgSuite communicating with objects that do not have IDispatch interfaces should be irrelevant to your client."
Since the VB demo works fine in my machine, so they though it is percular to labview. Any comments? I appreciate it.
LvvL -
Error in /Service/Service.svc/bhb when open MDS Explorer
Hi! I get stuck when opening the MDS Explorer on MDS Server and already tried all suggestions from forums but have no progress.
I append my Environment, Log(IIS, MDS, Fiddler, UI) , and related config.
Hope you could give me some advice. Thank you!
Environment
OS : Windows Server 2008 R2SQL : Microsoft SQL Server 2012 - 11.0.2100.60 (X64)
Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)
IIS7
Silverlight (64 bit) 5.1.20513
Browser : IE9 , FF22, Chrome 28
MDS Server is installed on VM, in Windows Domain
Login user has system administration permission.
Application Pools Setting
MDS Application
(a) Managed Pipeline Mode = Integrated
(b) Identity = ApplicationPoolIdentity,
UI Error Message
When opening MDS Explorer, the UI popup error messages like this.
First error message window
WebException: [HttpWebRequest_WebException_RemoteServer]
Arguments: NotFound Debugging resource strings are unavailable
Second error message window (only show up in Firefox)
System.Reflection.TargetInvocationException: [Arg_TargetInvocationException]
Fiddler Log
seems I don't have permission to access the request URL : mdsdev:88/Service/Service.svc/bhb
HTTP Error 401.2 - Unauthorized
You are not authorized to view this page due to invalid authentication headers.
Detailed Error Information
Module IIS Web Core
Notification AuthenticateRequest
Handler svc-Integrated-4.0
Error Code 0x80070005
Requested URL http: // mdsdev:88/Service/Service.svc/bhb
Physical Path C:\Program Files\Microsoft SQL Server\110\Master Data Services\WebApplication\Service\Service.svc\bhb
Logon Method Not yet determined
Logon User Not yet determined
Failed Request Tracing Log Directory
C:\inetpub\log
IIS Log
bhb again, not sure how to access it.
/Explorer/AttributeSL.aspx MID=1&VID=1&EID=3
/Service/Service.svc/bhb
2013-07-21 13:14:24 W3SVC2 fe80::208e:fa0c:31e5:901%10 GET /ScriptResource.axd d=jzBYvlgjGckxbHmd645HrUCsak8pPcTsujxzxXp5gfykwH0og-wOaIEfQRCkVtHUZaU9O-WZs75NSCtNmb4qyzx09zzgZlqq_Hxfv_GJZEA_V7wJtJkFpfiSaTBMqU17icKQwTLbTKf4fmtiRlbLYQ2&t=ffffffffb9f9f042 88 domain\nick fe80::208e:fa0c:31e5:901%10 HTTP/1.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:22.0)+Gecko/20100101+Firefox/22.0 mdsdev:88 200 0 0 1
2013-07-21 13:14:26 W3SVC2 fe80::208e:fa0c:31e5:901%10 GET /Explorer/AttributeSL.aspx MID=1&VID=1&EID=3 88 domain\nick fe80::208e:fa0c:31e5:901%10 HTTP/1.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:22.0)+Gecko/20100101+Firefox/22.0 mdsdev:88 200 0 0 326
2013-07-21 13:14:27 W3SVC2 fe80::208e:fa0c:31e5:901%10 POST /Service/Service.svc/bhb - 88 domain\nick fe80::208e:fa0c:31e5:901%10 HTTP/1.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:22.0)+Gecko/20100101+Firefox/22.0 mdsdev:88 500 0 0 157
MDS Log
Only first two rows mention error, cannot figure out what they mean.
MDS Error: 0 : Service started successfully, Assembly version: 11.0.0.0, file version: 11.0.2100.60 ((SQL11_RTM).120210-1917 )
DateTime=2013-07-21T13:26:55.2677163Z
MDS Error: 0 : ApiContractVersion: 5102
DateTime=2013-07-21T13:26:55.2686929Z
MDS Start: 1 : Service.InitializeExpirationStatus
My Settings
Authentication
(a) MDS Website : Enable Windows Authentication. Disable Anonymous Authentication.
Under Windows Authentication > Advanced Settings > set Extended Protection = Accept or Required
(b) Service Folder : Enable Windows Authentication. Enable Anonymous Authentication.
Web.config :
In MDS Web.config, add policyEnforcement = WhenSupported
My Web.config
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="mdsWsHttpBehavior">
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
<serviceDebug includeExceptionDetailInFaults="false" />
<serviceThrottling maxConcurrentSessions="400" />
<dataContractSerializer maxItemsInObjectGraph="999999999" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<wsHttpBinding>
<binding name="mdsWsHttpBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
<readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" />
<security mode="Message">
<message clientCredentialType="Windows" />
<transport clientCredentialType="Windows">
<extendedProtectionPolicy policyEnforcement="WhenSupported" />
</transport>
</security>
</binding>
</wsHttpBinding>
<basicHttpBinding>
<binding name="mdsBasicHttpBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
<readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" />
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Windows" />
<extendedProtectionPolicy policyEnforcement="WhenSupported" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<services>
<service behaviorConfiguration="mdsWsHttpBehavior" name="Microsoft.MasterDataServices.Services.Service">
<endpoint binding="wsHttpBinding" bindingConfiguration="mdsWsHttpBinding" bindingNamespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" contract="Microsoft.MasterDataServices.Services.ServiceContracts.IService"
/>
<endpoint address="bhb" binding="basicHttpBinding" bindingConfiguration="mdsBasicHttpBinding" bindingNamespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" contract="Microsoft.MasterDataServices.Services.ServiceContracts.IService"
/>
</service>
</services>
</system.serviceModel>
My applicationHost.config
<location path="MDS">
<system.webServer>
<security>
<authentication>
<basicAuthentication enabled="false" />
<windowsAuthentication enabled="true" useKernelMode="true">
<extendedProtection tokenChecking="Allow" />
</windowsAuthentication>
<anonymousAuthentication enabled="false" />
</authentication>
</security>
</system.webServer>
</location>
<location path="MDS/Service">
<system.webServer>
<security>
<authentication>
<basicAuthentication enabled="false" />
<anonymousAuthentication enabled="true" />
<!--anonymousAuthentication enabled="true" userName="" /-->
<windowsAuthentication enabled="true" />
</authentication>
</security>
</system.webServer>
</location>
Hi! Elvis,
Thanks for your response , I try those settings but still not work. The current IIS setting is as below
Authentication :
(a) MDS Website : Enable Windows Authentication. Disable Anonymous Authentication.
Under Windows Authentication > Advanced Settings > set Extended Protection = Accept or Required
(b) Service Folder : Enable Windows Authentication. Enable Anonymous Authentication.
I trace by Fiddler
and Green arrows point out the bad request when I access Explorer.
Detail error is https://dl.dropboxusercontent.com/u/12915406/MDS/fiddler-log.html
HTTP Error 401.2 - Unauthorized is still the same even apply the suggestions from the links you provided.
I wonder what \Service.svc\bhb is , find bhb in Web.config and set some Authentication to None to test if I can bypass it.
Now the Fiddler has different error.
a:DestinationUnreachable
The message with To 'http://mdsdev.tw.companynet.org:88/Service/Service.svc/bhb' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. Check that the sender and receiver's EndpointAddresses agree.
This link has similar problem but I have no idea where I can apply his workaround in my environment.
http://social.msdn.microsoft.com/Forums/vstudio/en-US/b5ae495b-f5fb-4eed-ae21-2b2280d4fec3/address-filter-mismatch-wcf-addressing
Append my Web.confg and applicationHost.config snippet for your reference.
Thank you so much!
Web.Config
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="mdsWsHttpBehavior">
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
<serviceDebug includeExceptionDetailInFaults="false" />
<serviceThrottling maxConcurrentSessions="400" />
<dataContractSerializer maxItemsInObjectGraph="999999999" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<wsHttpBinding>
<binding name="mdsWsHttpBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
<readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" />
<security mode="Message">
<message clientCredentialType="Windows" />
<transport clientCredentialType="Windows">
<extendedProtectionPolicy policyEnforcement="WhenSupported" />
</transport>
</security>
</binding>
</wsHttpBinding>
<basicHttpBinding>
<binding name="mdsBasicHttpBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
<readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" />
<security mode="None">
<transport clientCredentialType="None" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<services>
<service behaviorConfiguration="mdsWsHttpBehavior" name="Microsoft.MasterDataServices.Services.Service">
<endpoint binding="wsHttpBinding" bindingConfiguration="mdsWsHttpBinding" bindingNamespace="
http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" contract="Microsoft.MasterDataServices.Services.ServiceContracts.IService" />
<!--Silverlight doesn't support wsHttpBinding -->
<endpoint address="bhb" binding="basicHttpBinding" bindingConfiguration="mdsBasicHttpBinding" bindingNamespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" contract="Microsoft.MasterDataServices.Services.ServiceContracts.IService" />
</service>
</services>
</system.serviceModel>
applicationHost.config
<location path="Default Web Site">
<system.webServer>
<security>
<authentication>
<basicAuthentication enabled="false" />
<windowsAuthentication enabled="true" useKernelMode="true">
<extendedProtection tokenChecking="Allow" />
</windowsAuthentication>
<anonymousAuthentication enabled="true" />
</authentication>
</security>
</system.webServer>
</location>
<location path="MDS">
<system.webServer>
<security>
<authentication>
<basicAuthentication enabled="true" />
<windowsAuthentication enabled="true" useKernelMode="true">
<extendedProtection tokenChecking="Allow" />
</windowsAuthentication>
<anonymousAuthentication enabled="false" />
</authentication>
</security>
</system.webServer>
</location>
<location path="MDS/Service">
<system.webServer>
<security>
<authentication>
<basicAuthentication enabled="true" />
<anonymousAuthentication enabled="true" userName="" />
<!--anonymousAuthentication enabled="true" userName="" /-->
<windowsAuthentication enabled="true" />
</authentication>
</security>
</system.webServer>
</location> -
Error results when trying to send JSON content to a service which is internally hosted and requires windows authentication.
Here is the sample code :
let
Content1 = "{""query"":....."},
Source1 = Web.Contents("http://MyWindowsAuthenTicatedService:####/" ,[Content=Text.ToBinary(Content1)])
in
Source1
Here is exact text from the error:
[DataSource.Error] Web.Contents with the Content option is only supported when connecting anonymously.
BTW, I tried configuring the Privacy and "Fast Combine" options and that does not work either
Thanks for your help !Thanks Curt, for the prompt reply.
In our case, the users are internal and so is the service which accepts the content. Once the user is authenticated by the windows account, it reasonable to allow content.
Would it not be better anyway to have the restriction for anonymous access as opposed to this case where the account is already authenticated on an internal windows domain ?
Maybe you are looking for
-
I am doing a school project and no one seems to know how to use graphics, sound, and most importantly KEY AND MOUSE EVENTS. Anyways I can't get my events for the mouse and keyboard to work correctly, so if anyone knows what is wrong or has some sugge
-
Problem with a href tag in JSF
Hi, I am developing an application in JSF, but facing a problem. In the application where I am using <a> tag for example , when I pressing this link each time I it adds faces/faces/faces to the link. e.g. faces/faces/faces/ads.jsp How I can solve thi
-
I create a new Setting Group which appears as an Untitled Folder in the Settings Dialogue. I have double clicked on the name, right clicked, Spaced, Returned... I can't figure out how to change the name of the folder. Any thoughts? Thanks! TAK
-
I have a cluster CCM 4.1 and i have One HQ site and 4 Remote Branch i have a IPMA configured in all sites and it's working fine except one site. The IPMA configuration is the some in all sites. My probleme is when a call a Manger DN ( 2000 =Micheal)
-
How do i reset my icon size?
I'm just curious but now that i can resize my icons in Snow Leopard, is there anyway way to completely reset the all the icons in finder windows and on the desktop to the default size like the way the came when it was first installed?