KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

WMI Explorer cannot view namespace remote
Goto page 1, 2  Next
 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
Kehama



Joined: 17 Nov 2008
Posts: 11

PostPosted: Fri Feb 20, 2009 4:42 am    Post subject: WMI Explorer cannot view namespace remote Reply with quote

Hi,

We're using Hostmonitor 7.78 and WMI Explorer 1.04 (latest versions I think).

We have an odd problemen where we cannot views instances in a NON-DEFAULT namespace from a REMOTE system. The Namespace is Root\MicrosoftBizTalkServer. If we build the test anyway we get OLE error 80131904.

So (this is all done with the same user, the user HM runs under):

* If I use WMI explorer from the monitor server, I can navigate through the classes, but there are no instances.

* If I use WMI explorer from my desktop, I can navigate through the namespace classes, but there are no instances.

* If I use WMI explorer from the monitor server or my desktop and connect to the default namespace (root\cimv2) I can navigate and see instances. We don't see instances in other namespaces either.

* If I log on to the target server, I can navigate through the namespace classes, and there ARE instances...

I'm wondering if anyone has seen this before...
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12807
Location: USA

PostPosted: Fri Feb 20, 2009 7:22 pm    Post subject: Reply with quote

We cannot find any error description for error 80131904 except "SQL Server does not exist or access denied" that probably is not related to this problem
What Windows is installed on that remote system? Service Pack?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Kehama



Joined: 17 Nov 2008
Posts: 11

PostPosted: Sat Feb 21, 2009 1:23 pm    Post subject: Reply with quote

Alex,

Both systems (hostmonitor server and server we're trying to query) are Windows 2003 R2 Enterprise servers with all the latest service packs (SP2) and updates.
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Mon Feb 23, 2009 5:58 am    Post subject: Reply with quote

Could you, please, provide information what exact version of BizTalk Server do you use?

Regards,
Max
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Kehama



Joined: 17 Nov 2008
Posts: 11

PostPosted: Mon Feb 23, 2009 8:20 am    Post subject: Reply with quote

That would be BizTalk 2006 R2 Enterprise Edition.
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Mon Feb 23, 2009 2:23 pm    Post subject: Reply with quote

Hm. Actually, we tested WMI Explorer in order to check some non-default namespaces (root\WMI, root\MicrosoftActiveDirectory, root\perfmon) on remote systems and everything works fine.
We will try to install BizTalk 2006 server and figure this issue out.

Regards,
Max
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Kehama



Joined: 17 Nov 2008
Posts: 11

PostPosted: Tue Feb 24, 2009 1:01 am    Post subject: Reply with quote

Thank you. A little more (thorough) testing shows that it's just the BizTalk namespace that doesn't seem to have any instances remote.
Back to top
View user's profile Send private message
greyhat64



Joined: 14 Mar 2008
Posts: 246
Location: USA

PostPosted: Tue Feb 24, 2009 11:07 am    Post subject: Reply with quote

Do you guys have an general advice for using/troubleshooting the WMI test method?

I've been working with another namespace 'root\SecurityCenter', that does not present itself in WMIExplorer either. If it is present it's a great source of info for Firewall and AntiVirus status.
I could modify the VBScript snippet below to work, but it seems I should be able to use the HM's WMI test method to accomplish this.
Code:
Option Explicit
On Error Resume Next

strComputer = "."
   
Set oWMI = GetObject( _
  "winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\SecurityCenter")
 
Set colItems = oWMI.ExecQuery("Select * from AntiVirusProduct")
For Each objItem in colItems
  With objItem
    WScript.Echo "Company: " & .companyName
    WScript.Echo "Product Name: " & .displayName
    WScript.Echo "Version: " & .versionNumber
    WScript.Echo "GUID: " & .instanceGuid
    WScript.Echo "ScanEnabled: " & .onAccessScanningEnabled
    WScript.Echo "ExePath: " & .pathToSignedProductExe
    WScript.Echo "UserNotified: " & .productHasNotifiedUser
    WScript.Echo "State: " & .productState
    WScript.Echo "UptoDate: " & .productUptoDate
    WScript.Echo "WscNotifications? " & .productWantsWscNotifications
  End With
Next
Note: Not all properties are available with all AV products.

The fact is that I'd like NOT to , but I'm building up quite a WMI code library because of situations like this.
Back to top
View user's profile Send private message Send e-mail
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Tue Feb 24, 2009 11:09 am    Post subject: Reply with quote

Well, we have installed Microsoft BizTalk Server 2006 R2 on Windows 2003 SP2 machine. And looks like WMI explorer works fine. Almost fine.
Some classes really shows OLE C0C024BC error, but most of the classes works fine and instances are visible and accessible either localy or remotely. What exact WMI classes are you going to monitor? MSBTS_Setting, MSBTS_ServiceInstance, MSBTS_Service, MSBTS_ServerSetting, MSBTS_HostInstance and other works just fine.

Our configuration is following:
Microsoft BizTalk Server 2006 R2 is running Windows 2003 SP2.
WMI Explorer 1.04 is running on Windows XP SP3

I have to mention that I faced to problem enumerating instances where Biz Talk server was not properly configured. But after it was reinstalled and configured in proper way, everything starts working smoothly.

Do you see any suspiccious messages in the Event Log on machine, where BizTalk Server is running?

Regards,
Max
Back to top
View user's profile Send private message Send e-mail Visit poster's website
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Tue Feb 24, 2009 11:27 am    Post subject: Reply with quote

greyhat64 wrote:
Do you guys have an general advice for using/troubleshooting the WMI test method?
Actually, I think, problem is related to BizTalk configuration. When our BizTalk server was not properly configured, WMI requests thru VB scripts crached as well. Even standard Windows wbemtest utility showed us error.
However, everything starts working properly after BizTalk server was configured and BizTalk Runtime was started.

Regards,
Max
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Kehama



Joined: 17 Nov 2008
Posts: 11

PostPosted: Thu Feb 26, 2009 1:14 am    Post subject: Reply with quote

Max,

Do you have any insight into what you changed to the BizTalk configuration that made remote WMI possible ? Our developers (the ones who set up and control the application) don't see what is wrong about their configuration.

I know this is not something you're supposed to troubleshoot for us, but just vaguely pointing us in the right direction might help us out.
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Thu Feb 26, 2009 3:33 am    Post subject: Reply with quote

Hm. Actually, I'm not so experienced in BizTalk Server. I just can say when I start "BizTalk server" configuration utility, it shows all Ok statuses (green circles) in "Overview" pane for all the features listed (Enterprise SSO, Group, Biztalk Runtime, MSMQT, Business Rules Engine, HWS Runtime). When I installed BizTalk Server for the first time, "Groups" and "Biztalk Runtime" features were marked as failed (red circle) because of problems with MS SQL (BizTalk requires at least MS SQL 2004 SP3). On this stage, WMI Explorer was not able to gather BizTalk classes instances. However, after MS SQL had been upgraded, we were able to configure "Groups" and "Biztalk Runtime" features properly and since then WMI Explorer has been working fine with BizTalk classes instances. Not sure it will help you but that is.

Regards,
Max
Back to top
View user's profile Send private message Send e-mail Visit poster's website
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Thu Feb 26, 2009 3:35 am    Post subject: Reply with quote

Could you, please, try standard Windows wbemtest utility to gather information from any BizTalk class? Does it work?

Regards,
Max
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Kehama



Joined: 17 Nov 2008
Posts: 11

PostPosted: Thu Feb 26, 2009 6:04 am    Post subject: Reply with quote

No, wbemtest doesn't work either. It connects, but when I try to get a list of classes, I don't get any classes (in any instance, even root\cimv2 - even though I can get stuff with WMI explorer).

So in the Object editor, Qualifiers and Methods are empty (which is not what I'm used to at all) and Properties only has the System properties (the ones that start with ___).

On our other servers, wbemtest works fine.
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Thu Feb 26, 2009 6:38 am    Post subject: Reply with quote

Sorry, I cannot help much.
There are several *.mof and *.mfl files located deeper in BizTalk server folder (BTSWMISchema.mof, BTSWMISchemaXP.mof, Microsoft.BizTalk.Hws.AdminWMIProvider.mof). You can try to recompile this files one by one using Mofcomp.exe utility, e.g.:
Mofcomp.exe BTSWMISchema.mof
Mofcomp.exe BTSWMISchema.mfl
...

Also you may register Microsoft.BizTalk.Hws.AdminWMIProvider.dll, e.g:
regsvr32 Microsoft.BizTalk.Hws.AdminWMIProvider.dll

After that you may restart WMI service.
It might help.

Regards,
Max
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index