Wednesday, March 2, 2022

UPnP device host service often begins using 25% of CPU indefinitely (fully uses single core)

UPnP device host service often begins using 25% of CPU indefinitely (fully uses single core)

Restarting service helps for some time.

 

What may be the cause of this problem? What features depend on this service (I want to disable it)?

 

P.S. By the way, this problem is hunting me since Vista Beta from time to time. On different computers.



Reply:
According to this site, there is only one service that relies on the uPnP Device Host and that is Windows Media Player Network Sharing Service. However, you may have devices which rely on uPnP. According to this site, uPnP Device Host, "[u]sed in conjunction with SSDP Discovery Service, it detects and configures UPnP devices on your home network. If any external device does not function because of this service being disabled, place it back in to Automatic. MSN Messenger uses this service in conjunction with supported UPnP devices, to provide support for networks behind a NAT firewall, gateway or router. Also, if you are experiencing difficulty connecting to multiplayer games that use DirectX(7,8,9), place this service to Automatic and ensure you download all security updates. Furthermore, if you use Windows Firewall/Internet Connection Sharing and wish to make use of the “allow others to modify this connection” feature, enable UPnP."

------------------------------------

Shut down problem

At the time of shut down a window showing prgramme not responding, end programme now(ONLINENT.EXE)
s.s.

Reply:

This question is more appropriate for the Windows Answers Forum at the following address

http://answers.microsoft.com/en-us/windows

That file should belong to the software Quick Heal Total Security: maybe you could contact the software's manufacturer and ask for support.

Bye.


Luigi Bruno - Microsoft Community Contributor 2011 Award

------------------------------------

DHCPV6 not giving out addresses - where to start?

I have a test server (virtual network), on which I have the DHCP role installed and configured.  I have set up both IPV4 and IPV6 scopes, and activated them.

Now, my client only picks up the IPV4 DHCP address from the server, but does not get any IPV6 information.  The only IPV6 address configured on the client is the link-local address.

Does anyone have any hints as to find out what the problem might be?


Grant Ward, a.k.a. Bigteddy

What's new in Powershell 3.0 (Technet Wiki)

Network Live Audit - Powershell script
  • Changed type Bigteddy Wednesday, February 1, 2012 5:49 PM No resolution found

Reply:

In reality you need to configure the client (Windows Vista/Windows 7) to obtain DHCPv6 addresses. By default Vista and W7 have the following configuration:

Router Discovery                   : enabled
Managed Address Configuration      : disabled  
Other Stateful Configuration       : disabled

It means it will get IPv6 addresses generated based on IPv6 Router Discovery. That means even if you configure a Stateful DHCPv6 the client will not obtain any address until you ajust the configuration to:

Router Discovery : disabled
Managed Address Configuration : enabled <== This allows client to obtain IPv6 from DHCPv6
Other Stateful Configuration : enabled <= This allow the client to obtain DHCPv6 Options

You have to run netsh commands as shown in KB 961433:

How to configure a Windows Vista client to obtain an IPv6 DHCP address
http://support.microsoft.com/kb/961433

Daniel Mauser


------------------------------------
Reply:

A few questions:

1) what server OS

2) what client OS

3) on server, what is the output of: 

      a) 'netsh int ipv6 sh int'

      b) 'netsh int ipv6 sh int <ind-number>'
             (probably the number of the "Local Area Connection" interface)

      c) 'netsh int ipv6 sh route'

-------

Just this week I have setup a similar environment in my lab (W2K8-R2 & Win7 Ent, running on VMware Workstation 7.1.5, with both VMclients pointing to the local VMnet interface).

I had the exact same scenario as you have, client would not get DHCPv6 addr.

I did not make any changes to the client, but the server required the following:

a) netsh int ipv6 set int interface=<idx#> for=ena advertise=ena advertisedef=ena store=per

b) rerun the 'netsh int ipv6 sh int <idx#>', verify "managed" and "other" are still enabled, if not, you may need to run this command:

 'netsh int ipv6 set int interface=<idx#> man=ena oth=ena

[one time it all looked ok on the server but client still didn't get its DHCPv6 addr, so I rebooted the server, set the man and oth flags again (as they were now disabled), then the client got its DHCPv6 addr.]

c) netsh int ipv6 add route prefix=::/0 interface=<idnx#> publish=no

 without the above command, my client would not set its def g/w being the on-link server link-local, and would therefore not be able to ping the server global unicast addr.

--------

The issue I saw (via Wireshark) was the server was not sending a Router Adevrtisement after the client asked for one. After making the first set of changes, I started getting the RAs, but the client was not setting its def g/w until I added the static route in the server.

--------

Now the client has link-local and global unicast (via DHCPv6) IPv6 addresses, no other IPv6 addresses (this is expected result).

 

The procedure above is what worked for me and I was able to re-produce it a number of times.

After I got one network working, I setup a second network in the server and at this time I actually have 2 network interfaces in 2 different VMnets, multiple IPv4 & IPv6 scopes, and each VMnet has a client. Each client gets a DHCP/DHCPv6 addr and pings all work across the interfaces on the server, client-to-client.

 

hth...Jeff

 

PS, let us know if you get it working, and what you did to get there :-)


Jeff Carrell

------------------------------------
Reply:

Thanks for both your replies.  I first tried adjusting the client, as described in the kb article, but this didn't work.  So then I tried the server-side commands, and they all completed successfully.  However, from my client (another 2008 Server), this is the result I get:

C:\Users\administrator>ipconfig /renew6    Windows IP Configuration    An error occurred while renewing interface Local Area Connection : The semaphore   timeout period has expired.


Grant Ward, a.k.a. Bigteddy

What's new in Powershell 3.0 (Technet Wiki)

Network Live Audit - Powershell script

------------------------------------
Reply:

Glad the server side notes helped :-) I assume that meant your client received a DHCPv6 addr ?

Hmm on the W2K8 interface...I have found that sometimes ipconfig /renew or renew6 does not work to well.

Try disable/enable on the interface (via GUI) or simply unplug/replug the Ethernet cable.

hth...Jeff


Jeff Carrell

------------------------------------
Reply:

Glad the server side notes helped :-) I assume that meant your client received a DHCPv6 addr ?

Hmm on the W2K8 interface...I have found that sometimes ipconfig /renew or renew6 does not work to well.

Try disable/enable on the interface (via GUI) or simply unplug/replug the Ethernet cable.

hth...Jeff


Jeff Carrell

They didn't help.  My client is still not receiving Site-Local addresses from the DHCP Server.  As I said, I followed the steps to enable the DHCPV6 client, and the DHCPV6 Server, but I have had NO successs.
Grant Ward, a.k.a. Bigteddy

What's new in Powershell 3.0 (Technet Wiki)

Network Live Audit - Powershell script

------------------------------------
Reply:

I have never made any changes to a client, but I also can't say what would happen if making the changes as posted from the kb article on a client.

Can you post the output of the following commands from the server:

 a) 'netsh int ipv6 sh int <idx-number>'
             (probably the number of the "Local Area Connection" interface,
               can be derived by running 'netsh int pv6 sh int')

 b) 'netsh int ipv6 sh route'

 

I will be back in my lab in a bit, and I'll post some info on what specific pkts you should see in sequence between the client and the server for ICMPv6 & DHCPv6. You can run Wireshark and see what your computers are doing.

I'll also change a client as ref in the kb to see what happens.

back soon...Jeff

 


Jeff Carrell

------------------------------------
Reply:

Here is a scrn shot of the pkt flow between the client and srvr for ICMPv6/DHCPv6.

I disable/enable the clients interface, then the client starts with an RS (pkt 2763), the srvr replies with an RA (pkt 2765), then the client sends the DHCPv6 Confirm (pkt 2783) [the very first time a client will send a DHCPv6 Solicit and the DHCPv6 srvr will reply to that, my client had an IPv6 addr before, so it tries to get the same addr again by asking for a confirm] and srvr replies with DHCPv6 Reply (pkt 2788), then client asks for DHCPv6 Renew (pkt 2820) and srvr replies with DHCPv6 Reply (pkt 2821).

There are some NS/NA in-between for DAD checks, etc.

Then I could ping from client to srvr on the srvr DNS name, to its global unicast addr. 

hth...Jeff


Jeff Carrell

------------------------------------
Reply:
Can you also post the output of the following commands from the "client":

 a) 'netsh int ipv6 sh int <idx-number>'
             (can be derived by running 'netsh int pv6 sh int')

 

It will help to see both "server" and "client" current configs on their IPv6 portion on the interfaces.

Thanx...Jeff


Jeff Carrell

------------------------------------
Reply:

Following that kb, I just set a Win7 client with:

netsh int ipv6 set int [index] routerdiscovery=disabled

netsh int ipv6 set int [index] managedaddress=enabled

netsh int ipv6 set int [index] otherstateful=enabled

then I disabled/enabled the interface.

I rec'd a DHCPv6 address, but the default gateway for IPv6 did not get set, as expected since the client was told not to send an RS, and therefore doesn't see RAs and has no way to get def g/w.

When I netsh int ipv6 set int [index] routerdiscovery=enabled,  disable/enable the interface, got the DHCPv6 addr and the def g/w was set to the servers link-local addr as expected.

btw2, I just loaded up a Vista ULT SP2 client, and its default state is the "router, managed, other" all "enabled", just like my Win7 SP1 clients are. That is why I've never made any config changes to the clients.

Changes in DHCPv6 operations are generally made by the "router" advertisements (my initial email for the W2K8-R2 srvr acting like a router for DHCPv6 purpose) as those control the network side...the controlling flags are "A", "L", "M", "O".

 

hth...Jeff


Jeff Carrell

------------------------------------
Reply:

I've been pondering a bit of my description in the last post I had, and I wanted to make a slight clarification.

The W2K8-R2 srvr is acting like a router, from the standpoint it is sending RAs, with only the M and O flags set, and it also supplies an ICMPv6 option type of "Source link-layer address", which is what allows the clients to set their def g/w to the srvr (router in the case) link-local addr. The client sends a NS with the link-layer of the srvr looking for its link-local in the NA from the srvr.

hth...Jeff


Jeff Carrell

------------------------------------
Reply:

Thanks to all who posted here.  I really had no idea that IPv6 DHCP would be so complex and difficult!  It's really not that important, I just thought I was doing something basic wrong.

So, let's call it quits, and move on.  Thanks again.


Grant Ward, a.k.a. Bigteddy

What's new in Powershell 3.0 (Technet Wiki)

Network Live Audit - Powershell script

------------------------------------
Reply:

IPv6 is "not that hard" (only from one who has been playing with for awhile now), but it is definitely different :-)

I would be happy to continue working with you on this if you have interest, online or offline...

I also had to make a slight change in my VMware/real computer network interface setup to get it working....I haven't tried HyperV.........I guess I will need to mock this up in HyperV for my own knowledge now :-)

The key in IPv6 address autoconfiguration, there is a "router" function and/or a "DHCPv6" required if you want more than the Link-Local address...and that's what I am using the W2K8-R2 server for - both functions...it can work.

 

Anyway, you got me to try a few things, and for that I thank you :-)   I'm all about learning new stuff!

Regards...Jeff


Jeff Carrell

------------------------------------

Three-state workflow issue

Hi Friends,

 

I am stuck with the three-state workflow process in the following situation:

I have created a three-state workflow wherein when user 1 creates an item in a discussion board, it is automatically redirected to his manager, User B, who is the reviewer and once B approves it, it then goes to C for final approval.  But the requirement here is there are 10 users who have different managers (reviewers) and the final approver is the same, user C; how should I go about creating the workflows for these different managers (reviewers) in the same discussion board?


Reply:

Here's a potential solution if you don't already have one (perhaps someone has a better idea).  Note:  This solution makes the following assumptions: 1) you are using the built-in three-state workflow; 2) the manager field within Active Directory is being utilized and has been imported into the user profile store; and 3) you have installed the "Useful SharePoint Designer Custom Activities" found on CodePlex:  http://spdactivities.codeplex.com/.

Here's my thought:

  1. Create a new column in your discussion board.  The column should be of type Person or Group.  For the sake of these instructions I will call the column ManagedBy, but you can name it whatever you want.
  2. Configure your out-of-the-box three-state workflow to be started manually (uncheck the other "automatic" options).  Also, configure the three-state workflow to use the new ManagedBy column for the "reviewer" in your scenario above.
  3. In SharePoint designer, create a new workflow.  The workflow should be configured to start automatically when an item is added to the list. 
  4. The first thing you'll probably want to do in the new workflow is wait until the item is checked in (Wait for Change in Document Check-out Status action).
  5. Next, you'll populate the new ManagedBy column using the Lookup Manager of a User action.  Then take the value returned and assign it to the ManagedBy column.
  6. Use the Start Another Workflow action to kickoff your three-state workflow.

Well, there it is.  Hope it helps.


------------------------------------

How to Install AntiSpam Agents in Exchange 2010 - Steps for Beginners

How to Install AntiSpam Agents in Exchange 2010 for Beginners

Experts Please Excuse -

http://careexchange.in/how-to-install-antispam-agents-in-exchange-2010/

 


Satheshwaran Manoharan | Exchange 2003/2007/2010 | Blog:http://www.careexchange.in

When does a HEAD request succeed for a BLOB being uploaded?

I am trying to identify we're able to verify an image exists in Azure storage via FetchAttributes, but then subsequently the file is missing from the container.  I can say, there is no process that is deleting content from the container... we are only uploading to it.

After an image is uploaded, we peform a blob.FetchAttributes() to confirm it's existence in Azure and mark the result in the DB.  Sometimes, we notice images that are missing, but the database confirms the process marked it as being successfully loaded and verified in Azure.

I believe it may be a concurrency issue with our application.  We have a windows service that polls a database table for a list of images to upload to Azure (sometimes many thousand at a time).  It loads those records into an in-memory queue, which X-number of worker threads have access to when processing the individual records.  If the queue is very long, subsequent polling of the DB for unprocessed records may result in duplicate records being appended to the queue.  Since the workers do not re-upload images if they already exist in Azure, this duplciation is tolerated.

Because we see the images missing sporadically, I'm wondering what Azure would do if 2 separate threads were to upload the same blob (image file) at the same time.  Could there ever be a condition where a FetchAttributes would return successfully without having the blob actually committed to Azure?

Obviously, we are working to resolve our concurrency issue to prevent the possibility of 2 threads working on the same file at the same time.  But right now, this is just a theory, and knowing how Azure handles a condition like this might give us confidence in any fix we implement.

Thanks in advance for any response.

 


Reply:
This should not happen. If a blob doesn't exist, a HEAD request should return 404. If later you send a HEAD request in a seperate application to those missing images, what do you get? If two threads try to create the same blob at the same time, only one should succeed.

------------------------------------
Reply:

I would tend to agree...  but what if the 2 threads start to upload the blob concurrently, and after the 1st thread completed, the 2nd thread subsequently failed.  Would this yeild a result where the blob exists in Azure for a brief moment, but then is removed from the container because the 2nd thread of execution did not complete it's upload?


------------------------------------

Inserting zip file into SQL DB in hex format giving error

Hi ,         I am archiving zip file into SQL DB by using WCF-SQL Adapter, Its working fine but in some scenarios its giving below error.          A message sent to adapter "WCF-SQL" on send port "ArchieveSubmissionZip" with URI "mssql://idr36354//DB?" is suspended.      Error details: Microsoft.ServiceModel.Channels.Common.XmlReaderParsingException: The input data for the field/parameter "parm1" is invalid according to the expected SqlDbType VarBinary. ---> System.FormatException: Invalid length for a Base-64 char array.     at System.Convert.FromBase64String(String s)     at Microsoft.Adapters.Sql.MetadataHelper.ConvertXmlValueToDotNetObject(String xmlString, String fieldParameterName, SqlDbType sqlDbType, Int32 maxLength, Int32 precision)     --- End of inner exception stack trace ---         Server stack trace:      at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)     at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)         Thanks,    Chandra


Reply:

From the error message, it looks like the length of your message might be the issue.

Are you able to resend the same message again to see if it is failing every time? Check the maximum length of your SQL column for the binary data against the length of your message data.

I did a bit more research and found many references to the data length to be evenly divisible by 4.  You might consider opening up a case with Microsoft and have them investigate.

Are you sending the data signed or encrypted?  If so, just send the raw zipped data without any encoding.


David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.
  • Edited by David K. Downing Wednesday, February 1, 2012 3:17 AM Additional information

------------------------------------
Reply:

I am not sending encrypted data, its raw zip file, I am using in SQL varbinary (max) data type in table to store zip file and its working ,I stored 54 kb zipped file and 11 kb also ,and it failed for 33 kb zipped file ,So I am trying to understand what is the problem here.

 


------------------------------------
Reply:

From the research I've found by doing a search on Bing (link below), it seems likely that your issue is a bug in the WCF-SQL adapter or the inner processing within BizTalk.  Raw data is raw data and if you are not operating on the data, the issue must be in the processes that are transmitting the data.

http://www.bing.com/search?q=System.FormatException%3A+Invalid+length+for+a+Base-64+char+array.&qs=n&form=QBLH&pq=system.formatexception%253A%2520invalid%2520length%2520for%2520a%2520base-64%2520char%2520array.&sc=0-0&sp=-1&sk=

You should consider opening up a support case with your Microsoft representative.  Make sure you include the 33 kb zipped file if it reproduces the issue each time.

 


David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.

------------------------------------

Site Simple URL Lync

Hi, in our Lync enviroment we have site specific URLs created to allow users homed on various servers to connect to the TMG/ISA that is closest to the front end server they are situated on.  Recently we have added 3 more sip domains to our setup and can't seem to add the meet urls for the relevant domains to each individual site.  Any help would be appricated.

Reply:

What error are you seeing when you attempt to add the new simple URLs?

Are you seeing the error when you apply the new simple URLs to the simple URL configuration for the site?


Justin Morris | Consultant | Modality Systems
Lync Blog - www.justin-morris.net
Twitter: @jm_deluxe
If this post has been useful please click the green arrow to the left or click "Propose as answer"


------------------------------------
Reply:

This is the error

 

Set-CsSimpleUrlConfiguration : Object reference not set to an instance of an ob
ject.
At line:1 char:29
+ Set-CsSimpleUrlConfiguration <<<<  -Identity "site:<site>" -SimpleUrl @{Ad
d=$simpleUrl3}
    + CategoryInfo          : NotSpecified: (:) [Set-CsSimpleUrlConfiguration]
   , NullReferenceException
    + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Rtc.Mana
   gement.Internal.SetSimpleUrlConfigurationCmdlet


------------------------------------
Reply:
My latest blog post on site level simple URLs might help you out here - http://www.justin-morris.net/configuring-site-level-simple-urls-in-lync-server-2010/

Justin Morris | Consultant | Modality Systems
Lync Blog - www.justin-morris.net
Twitter: @jm_deluxe
If this post has been useful please click the green arrow to the left or click "Propose as answer"


------------------------------------

Copy document to a document set

Hi,

I have a document library where users can upload a document. When they do that  a document set is created in another library (with SPD workflow). Now I want to create a workflow that would copy the document from the first library to the created document set in the second library. I've managed to copy the document to another library:

            SPListItem item = workflowProperties.Item;
            string libName = "destinationLibrary";

            using (SPSite site = new SPSite("destinationURL"))
            {
                using (SPWeb web = site.OpenWeb())
                {
                    if (item.File != null)
                    {
                        SPFolder library = web.Folders[libName];
                        library.Files.Add(
                        item.Name, item.File.OpenBinary());
                        library.Update();

                    }
                }
            }

How can I copy the document to a document set? The document set should have the same name as the document title.

Sandra

 


Sandra Ratis

Reply:

Hi,

I've managed to create a workflow that creates in library B a document set and then moves the file from library A to the created document set in Library B. Now I have the problem with Content types that are available to this Document Set have been added or removed.  And even if I click on the Update the document set nothing happens. I added the code for the docset_LastRefresh that i found here but it doesn't help.

SPSite myDestinationSite = new SPSite("http://server/");
            SPWeb myDestinationWeb = myDestinationSite.OpenWeb();
            SPList myDestinationList = myDestinationWeb.Lists["LibraryB"];
          
            //the document name
            SPListItem sourceItem = workflowProperties.Item;
            string SourceNaslov = sourceItem["Name"].ToString();
        
            //substring file extension from the filename
     int index = SourceNaslov.LastIndexOf(".");
            string SourceNaslov1 = SourceNaslov.Substring(0, index);
        
            SPContentType docsetCT = myDestinationList.ContentTypes["Document Set"];
            Hashtable properties = new Hashtable();
            properties.Add("DocumentSetDescription", "New Document Set");
          
            SPFolder parentFolder = myDestinationList.RootFolder;

            //create the document set with the name of the document
     DocumentSet mydocSet = DocumentSet.Create(parentFolder, SourceNaslov1, docsetCT.Id, properties, true);
           
            SPSite mySourceSite = new SPSite("http://server/");
            SPWeb mySourceWeb = mySourceSite.OpenWeb();
            SPList mySourceList = mySourceWeb.Lists["LibraryA"];

            //get the file
     SPFile file = mySourceWeb.GetFile("http://server/LibraryA/" + SourceNaslov);

            string destinationFolderUrl = mydocSet.Folder.Url;
            destinationFolderUrl = (!destinationFolderUrl.EndsWith("/")) ? destinationFolderUrl + "/" : destinationFolderUrl;
            file.MoveTo(destinationFolderUrl + file.Name, true);
            mySourceWeb.Update();

            //update the docset_lastRefresh
     SPFolder ds = myDestinationWeb.GetFolder("http://server/LibraryB/" + SourceNaslov1);
            ds.Item.Properties["docset_LastRefresh"] = SPUtility.CreateISO8601DateTimeFromSystemDateTime(DateTime.UtcNow);
            ds.Item.SystemUpdate(false);

 

Can someone tell me what am I doing wrong?

 

Sandra


Sandra Ratis

------------------------------------

Connect my Office DC to a remote DC server R2

I have a Dc in Islamabad and another Dc in Karachi i want to connet them?

Please help me out

Sorry for not good english

Regards S.Fahim


manutd

Reply:

Hi Fahim,

 

Thanks for posting here.

 

At first we need to connect both sites with each other by crossing internet with setting a VPN site to site connection , this can be done by using RRAS feature in Windows Server or VPN solutions form third party :

 

Common Remote Access Scenarios

http://technet.microsoft.com/en-us/library/dd469830.aspx

 

Branch Office over the Internet

http://technet.microsoft.com/en-us/library/cc736396(WS.10).aspx

 

We can also apply a dedicate line between to sites form ISP, however that may will cost more spending.

 

Once connection is up then we can have domain controllers and DNS servers at each site with setting AD sites and replication to support this active directory system between different locations:

 

Understanding Sites and Replication

http://technet.microsoft.com/en-us/library/cc757232(WS.10).aspx

 

Sites Sites Everywhere…

http://blogs.technet.com/b/askds/archive/2011/04/29/sites-sites-everywhere.aspx

 

Thanks.

 

Tiger Li


Tiger Li

TechNet Community Support


------------------------------------
Reply:

Hello Tiger Li

 

Thanks for replying here is the issue i have two forest who are remotely present i want to connect them, ok.

Do i have to first follow the above way to connect those two offices.

After connection how do i connect those forest, make thier trust.

Regards S.Fahim


manutd

------------------------------------
Reply:

Hi Fahim,

 

Thanks for update.

 

Yes , connection between sites over internet is required .

Once connection is created we should configure name resolution in order to create trust relationship, for the detail explanations please refer to the replies in the thread below:

 

http://social.technet.microsoft.com/Forums/en-US/winserverDS/thread/d1416b04-2bca-43a6-914b-453febd13b54

 

Thanks.

 

Tiger Li


Tiger Li

TechNet Community Support


------------------------------------
Reply:

Hello Tiger Li

 

Ok i will let you know as i am doing this a a test requirement.

Thank You for your quick reply.

I will continue you with you over in here in the same post

Regards S.Fahim


manutd

------------------------------------

GFI MailArchiver - Oulook 2007 connector

Hi,

I will also post this in a GFI forum, but i thought i would ask it here too.

We have Exchange 2010 with all out clients running office 2007. We have GFI MailArchiver installed.

It was working fine until we went over our licensed user quota. I have since removed enough uneeded mail boxes and GFI is functioning again.

The issue i have is that there are a number of staff were the GFI toolbar icon is greyed out. To remedy this they have to go to 'File > Data file mamangement > add > and add GFI MailArchiver'.

Is there a way in exchange to enforce this to be done automatically as i cant have all my clients forever checking their GFI status.

Regards,

Kevin Bennett


Kevin Bennett

Managed Metadata Service Permissions and AD Account deletion

We have a SharePoint 2010 farm with a Managed Metadata Service configure. The original setup of this service was made by an Administrator who left us soon after. Our company policy is once an employee leave, his Active Directory Account is deleted.
Because this Administrator was the creator of the Managed Metadata Service, his AD account was put in the Connection Permissions (Permissions button in the Application Services). Once is account was deleted in AD, the Application Services page stop working and an error was displayed that an Active Directory Account or a Group is missing.

At this point, we didn't know the problem was with the Managed Metadata Service Connection Permissions. We only knew the change made was deleting this Admin account in AD. So we knew this AD account was configure somewhere in the Application Services, but we didn't have any clue where it be. And since the Application Services Page stop working, we were unable to look in the configuration of each service.

We tried PowerShell, no much luck either. The PowerShell cmdlet return the same error. Even deleting services wasn’t working in PowerShell.

We tried to recreate the account in AD, but because the Account SID was different, it didn’t work.

Reinstalling SharePoint was out of the question. So we decided to look in the SharePoint Databases. Our thinking was if SharePoint need the AD Account SID, it probably stored it somewhere. So we looked in each Application Services Database. We found some reference of this Account but no SID. So we look in the SharePoint Config Database. And in the Objects table Properties column, we found the Account and the SID. We backed up the Database before doing any modification. The Properties column contains data in an XML format. We removed the reference of this account and save the modification. The Application Services page started working again.

I just want to let you know. I know it’s not a support action to mess up with the database, but it saved us to reinstall the SharePoint 2010 Farm.

 


Francois Lessard

Reply:
Using myself as a Farm Admin, I would have gone down the route of giving myself Administrator Full Control Permissions to the Service Application, then gone to Manage the service application and made myself the Term Store Owner.
SharePoint Solution Architect, Developer

------------------------------------
Reply:

I'm working through a similar problem right now. From what I can tell, the problem isn't that there's no access - it seems that if a "bad" account gets into the security for a service application, there's an unhandled exception that won't let you at the security page. What's worse is that it's looking like the same exception eats powershell applets - going into the database may be the only solution.

 

[Edit] Ended up rebuilding the farm - there was no recovering from it.

Philo


Philo Janus, MCP Author: Pro InfoPath 2007 Pro PerformancePoint 2007 Pro SQL Server Analysis Services 2008 Building Integrated Business Intelligence Solutions with SQL Server 2008 R2 & Office 2010 Blog @ http://philo.typepad.com/with-all-due-respect/
  • Edited by Philo Janus Monday, February 6, 2012 7:11 AM

------------------------------------

How to mole SPField of Type "SPFieldUser' in SharePoint

Hi, Im writing unit test case for my SP app using Moles...currently Im stuck up with the implementation of

SPField moling.

I need to test the below code..

SPList list = web.Lists[ALERT_CONFIGURATION_LIST];
                list.Update();

                list.Fields.Add("Subscriber", SPFieldType.User, true);
                list.Fields.Add("Topic", SPFieldType.Text, false);

                list.Update();
                web.Update();


                SPField subfield = list.Fields["Subscriber"];
                SPFieldUser userfield = (SPFieldUser)subfield; //line causing error

I'm able to mole list,web, listfields etc.. but when I encounter the line

  SPFieldUser userfield = (SPFieldUser)subfield;  Im getting the below error

"IvalidCastException, Unable to cast object of type 'Microsoft.SharePoint.SPField' to type 'Microsoft.SharePoint.SPFieldUser'."

Any clue on it?


Reply:
Well this is a cast error as given....i don think that works that ways... what exactly are you trying to do... u cant just change one field to another type
"T" | My blog updates | My Twitter | Our Products | Mail Me | LinkedIn | My Virtual Business Card

A THOUGHT ABOUT MY WORKPLACE :)

------------------------------------
Reply:
maybe you have to use SPFieldUserValue

SharePoint 2010 PowerShell

------------------------------------
Reply:
  What are you trying to implement. If you want to fetch value of some User type field in a list then you can do something like below  

SPFieldUser userField = (SPFieldUser)item.Fields.GetField("Subscriber");
                      
SPFieldUserValue userValue = (SPFieldUserValue)userField.GetFieldValue(item["Subscriber"].ToString());

SPUser user = userValue.User;

Not sure what is the exact requirement so it would be helpful if you can elaborate.

 


------------------------------------
Reply:

hi im trying to write unit test case using Pex and Moles for the above piece of code..

Somehow Im not able to mock the above line properly...

Original code

public void AddList(SPWeb web)
        {
            using (web)
            {
                //Creates 'AlertConfiguration' custom List using Custom List template

                SPListTemplate listTemplate = web.ListTemplates["Custom List"];
                web.Lists.Add(ALERT_CONFIGURATION_LIST, "It containt Alert Content Type", listTemplate);

                web.Update();
                SPList list = web.Lists[ALERT_CONFIGURATION_LIST];
                list.Update();

                list.Fields.Add("Subscriber", SPFieldType.User, true);
                list.Fields.Add("Topic", SPFieldType.Text, false);

                list.Update();
                web.Update();


                SPField subfield = list.Fields["Subscriber"];
                SPFieldUser userfield = (SPFieldUser)subfield;
                userfield.SelectionGroup = web.Groups["Focal Points"].ID;
                userfield.Update();
                subfield.Update();
                list.Update();
                //Adds the column to the default view
                SPView defaultView = list.Views["All Items"];
                defaultView.ViewFields.Add(list.Fields["Subscriber"]);
                defaultView.ViewFields.Add(list.Fields["Topic"]);

                defaultView.Update();
            }
        }

Related Unit test case

 [TestMethod]
        [PexMethod]
        [HostType("Moles")]
        public void TestListWebPartWithBehaviors()
        {
            string fieldName = "Subscriber";
            bool required;
            MSPSite.BehaveAsNotImplemented();

            
            BSPListCollection lists = new BSPListCollection();

            BSPList objList = new BSPList();
            //objList.InstanceBehavior = BehavedBehaviors.

            BSPField objFieldSub = new BSPField();
            objFieldSub.Title = "Subscriber";
            objFieldSub.Type = SPFieldType.User;
            objFieldSub.Required = true;

            BSPField objFieldTopic = new BSPField();
            objFieldTopic.Title = "Topic";
            objFieldTopic.Type = Microsoft.SharePoint.SPFieldType.Text;
            objFieldTopic.Required = true;

            objList.Fields.SetAll(new[] { objFieldSub, objFieldTopic });
            lists.SetAll(new[] { objList });

            MSPListTemplate custTempalte = new MSPListTemplate();

            MSPListTemplateCollection templates = new MSPListTemplateCollection();
            templates.ItemGetString = (name) => custTempalte;
           
            MSPWeb web = new MSPWeb();
            web.Dispose = () => { };
            web.ListTemplatesGet = () => templates;
            web.ListsGet = () => lists;
            web.Update = () => { };
           

            Feature2EventReceiver receiver = new Feature2EventReceiver();
            receiver.AddList(web);
        }

When I run the , "Pex Explorataions", Im getting the invalid case exception mentioned above...

 

 


------------------------------------
Reply:

instead of this

 

   SPField subfield = list.Fields["Subscriber"];

                SPFieldUser userfield = (SPFieldUser)subfield;

 

Try

 

   SPFieldUser  userfield = list.Fields.GetField("field displayname") as SPFieldUser;


"T" | My blog updates | My Twitter | Our Products | Mail Me | LinkedIn | My Virtual Business Card

A THOUGHT ABOUT MY WORKPLACE :)

------------------------------------

hi

i feel great to join this forum.

Excel 2003

I would like something like a drop down box with a list above a certain column.

when an item on that list is selected, i would like a column from a different sheet to be inserted into the column below the drop down box.

Is this achievable ?

look forward to your reply

thank you

Very Important

There is a problem with the device where it is when I open the program protection or Skype message appears telling me that he was halting the program have a problem with a copy of Windows and must solve them first Fberja help me to solve the problem as quickly as possible.
Thank you
Mohamed Ahmed

Reply:

Could you tell me the detailed message? Or provide us with a screenshot.

Regards,

Miya


Miya Yao

TechNet Community Support


------------------------------------

Display drivers issue

Hi, could advise on an error I am getting around  - VGA display issues on client machines after developing a five application an image.

Please help.


Reply:
Can you give us some more details?
Kent Agerlund | My blogs: blog.coretech.dk/kea and SCUG.dk/ | Twitter: @Agerlund | Linkedin: Kent Agerlund

------------------------------------
Reply:
Have you added the video drivers to the driver package?
My Microsoft Core Infrastructure & Systems Management blog - blog.danovich.com.au

------------------------------------

Microsoft RDS and Microsoft with citrix xen desktop

Hi,

What type of desktop delivery methods are supported with Microsoft alone and when we have with Citrix xendesktop?

 

Regards,


Reply:

I am not sure if you question is related with Lync VDI support?

If this is the case, you can refer to "Client virtualization support for the Lync 2010 client and the Lync 2010 Group Chat client".

 

 


------------------------------------
Reply:

Microsoft has a KB article detailing the support provided:

"Client virtualization support for the Lync 2010 client and the Lync 2010 Group Chat client" http://support.microsoft.com/kb/2560826

If you are using it in a published desktop environment, your mileage will vary depending on all of the usual variables, but issues surrounding those are questions best left for a different group:

  • the client and server hardware
  • client and server versions/patching
  • how Citrix/Hyper-V/App-V/RDS is configured

With a published/streaming application environment, you will get essentially the Lync Standard CAL features.


------------------------------------

iTunes Quit Recognizing Outlook 2010

I've been using Outlook 2010 on my Windows 7 PC for about a year, and I'm using iTunes 10.5.2.11.  Suddenly, iTunes doesn't recognize Outlook.  I've reviewed the past questions that are similar to mine, but they aren't quite the same.  Ideas & thoughts?
  • Changed type Max Meng Thursday, January 5, 2012 1:29 PM 3rd-party product issue

Reply:
Have same issue

------------------------------------
Reply:

Are you using 32 or 64bit Outlook? Do you know when it quit working? If you can identify a date and have a restore point, try restoring to before that point.

 



Diane Poremsky [MVP - Outlook]
Outlook Daily Tips | Outlook & Exchange Solutions Center
Subscribe to Exchange Messaging Outlook weekly newsletter

------------------------------------
Reply:

My PC is 64 bit. 

I've done some more digging since I sent in my question, and I realized the problem occurred right after I installed & ran System Mechanic (iolo product).  I found on an Apple forum that several other people have the same problem, so I called iolo's customer service.  They talked with me a while and tired a simple fix -- which didn't fix it, so they requested a copy of my set-up log files and a system snapshot so they can determine the cause.  As soon as I hear back, I'll post their response.

They're great to work with and if you also use System Mechanic, you may want to contact iolo too, so they can look into a software tweak for iTunes/PC users.

Stay tuned.....


Gratefully Yours, Linda

------------------------------------
Reply:
Just curious, what if you have the System Mechanic removed? Will it work?

Max Meng

TechNet Community Support


------------------------------------
Reply:

Linda,

 

I don't know if you resolved your issue yet but I had the exact problem. Windows 7, iphone, Outlook 2010, Iolo. I resolved it by doing a repair on Office 2010 through Programs and Features.  Took about 8-10min.

 

Ernie

PC Rescue Tech

Spring, Tx


------------------------------------
Reply:

Ernie, thanks so much for your reply.  I actually tried repairing Office, and it worked - until System Mechanic ran again.  Then it was the same old thing.  After reading the trials & tribs others were having on the Apple Support Community site, I ended up canceling System Mechanic.  I tried several things suggested by others on that site, and nothing I tried worked.  Apparently that was the case for a lot of the other folks, too.  I did hear that a System Mechanic upgrade fixed the problem (cost involved), but I'm now pretty leery about messing with the registry again.

Best wishes & thanks for the suggestion!


Gratefully Yours, Linda

------------------------------------

pocket excel will no longer display excel 2002 spreadsheets

Since my excel 2002 on my laptop was updated to SP3, my iPAQ 1910 will no longer display spreadsheets. I am running pocket pc version 3.0.11171.

What is needed to get the spreadsheets to display again? Right now every spreadsheet now shows "this sheet is a placeholder for and unsupported sheet type."

This happens to every spreadsheet that the laptop opens then is updated through microsoft ActiveSync to the iPAC.


Reply:
wrong forum
RPA

------------------------------------

I can not ping a server 2008 R2 - Firewall is turned off

I can not ping a server 2008 R2 - Firewall is turned off

Afternoon,

We have a new 2008 R2 server.  I can team viewer onto it.  i can not rdp onto it (remote access is enabled).  i cant ping it from another server but i can ping other machines from the new server.  I can get the internet on it.

Windows Firewall is turned off.

 

Any ideas woudl be much appreciated.

 

Thanks


Reply:

Have you try below command.

 

 netsh firewall set icmpsetting 8 disable

 

Thanks

 


------------------------------------
Reply:

If the firewall is turned off, i shouldnt need to run that command, should I?


------------------------------------
Reply:

Hi,

 

Please open a cmd windows on the server and run the following commands and post the output:

  • netstat -aon | find "3389"
  • telnet localhost 3389

Thank you.


Regards, Liran.

------------------------------------
Reply:

Hi,

 

 

Thanks for posting here.

 

> Now cannot ping it with either name or IP

 

How does this server obtain address ? DHCP or statically assigned ?

 

Have you verified the ARP cache on source host where you performed ping test form in order to ensure that the MAC address of this windows server 2008 R2 host has been correctly listed .

 

 

Meanwhile, you might also try solving it by resetting TCP/IP for this problematic host:

 

How to reset Internet Protocol (TCP/IP)

http://support.microsoft.com/kb/299357

 

 

Thanks.


------------------------------------
Reply:

Please see if you have following scenario

Unable to Connect to Server Through RDP : Event ID: 1048 - Terminal Service Start Failed. The Relevant Status Code Is, "No such interface supported."

http://social.technet.microsoft.com/wiki/contents/articles/5633.aspx


Vote As Helpful, if you find my information useful ! This posting is provided "AS IS" with no warranties or guarantees and confers no rights.

------------------------------------
Reply:

Thanks for the replies.

This actually resolved itself..


------------------------------------

Discuss Private Cloud Physical Hardware Platform

In this article we discuss the physical hardware platform for hosting a Private Cloud Infrastructure as a Service capability within an organization. The physical hardware platform is the environment that the Private Cloud Management and Operations Layers will operate upon to orchestrate the provisioning and management of resource instances provided by the platform. Check it out at http://social.technet.microsoft.com/wiki/contents/articles/6620.private-cloud-physical-hardware-platform.aspx and talk about the private cloud physical hardware platform here. Thanks!

Tom


MS ISDUA/UAG DA Anywhere Access Team Get yourself some Test Lab Guides! http://blogs.technet.com/b/tomshinder/archive/2010/07/30/test-lab-guides-lead-the-way-to-solution-mastery.aspx

Boston Area PowerShell User Group

If you live in the Boston area and are interested in becoming part of a PowerShell User Group please sign up at http://powershellgroup.org/boston.ma

Thanks, and sorry for the spam,

Justin


Justin Rich
http://jrich523.wordpress.com
PowerShell V3 Guide (Technet)
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Reply:

I like Boston, I like powershell, guess I need to hop on a plane? :)

WebEx it and I'm in


------------------------------------
Reply:
If im as smart as some people think I am (ie im teaching valuable stuff) I
will setup a webex. that probably wont be for a few meetings. at this rate
I'd like to get this going before the scripting games, but so far only two
people.
 
I just started to broadcast it yesterday so we'll see what sort of interest
I get.
 
 

Justin Rich
http://jrich523.wordpress.com
PowerShell V3 Guide (Technet)
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

------------------------------------

PowerShell V3 differences from PowerShell V2

Here's a really interesting article on PowerShell V3, including an example of one coding construct that works in V2 that does not work in V3.  The article calls it an inconsequential breaking change, but the "DLR" (Dynamic Language Runtime) background information is interesting now that it applies to PowerShell V3.
http://huddledmasses.org/powershell-3-finally-on-the-dlr/

Reply:

Has anyone gone far into exploring/exposing the DLR for the masses? 

Good link.


------------------------------------
Reply:

Interesting that some v2 code may be broken if run in v3. So much for backward compatibility.

But something that doesn't get much press is "forward incompatibility". The "#requires -version 2.0" directive basically seems to say: "hey, we need at least version 2.0 to run", or "we cannot run with version 1.0". That is all well and good.

But, in our environment we currently have a mixture of v1 and v2 systems, and may eventually add some v3 while v1 and v2 are still present. I would rather develop script using v2 (and v3 when available) for the enhanced functionality like the ISE. Unfortunately, when developing a script to run on one of our v1-only systems, scripts developed on v2 invariably contain code that requires v2.

What I would like to see is a directive that, when testing, flags constructs not available in the target environment as errors. Something like "#requires -notVersion 2.0".

It seems that the only option for testing code targetted for a 1.0 system is to run it on a system not having 2.0 installed. It would be nice if one could have both versions installed on a development machine, however, I understand that this is either not possible, or that it does not cause v2-only code to fail when run with v1.

 


------------------------------------
Reply:

Yes, the -version 1 switch doesn't work, although the -version 2 switch does.  So, in my case, I can test V2 code on my V3 system by using -version 2.

But, AFAIK, the only way to test for backward compatibility is to run on a version 1 machine.

 


Grant Ward, a.k.a. Bigteddy

What's new in Powershell 3.0 (Technet Wiki)

Network Live Audit - Powershell script

------------------------------------
Reply:

Yes, the -version 1 switch doesn't work, although the -version 2 switch does.  So, in my case, I can test V2 code on my V3 system by using -version 2.

But, AFAIK, the only way to test for backward compatibility is to run on a version 1 machine.

 


Grant Ward, a.k.a. Bigteddy

What's new in Powershell 3.0 (Technet Wiki)

Network Live Audit - Powershell script


Interesting, thanks for that info that you can test v2 code on a v3 system using -version 2. Do you know if you can test v1 code on a v3 system in the same manner?

 


------------------------------------
Reply:
No, I tried that ( -version 1 on V3), but the result is the same as with V2, you get a V2 engine.
Grant Ward, a.k.a. Bigteddy

What's new in Powershell 3.0 (Technet Wiki)

Network Live Audit - Powershell script

------------------------------------
Reply:
No, I tried that ( -version 1 on V3), but the result is the same as with V2, you get a V2 engine.
Grant Ward, a.k.a. Bigteddy

What's new in Powershell 3.0 (Technet Wiki)

Network Live Audit - Powershell script

Thanks.

------------------------------------
Reply:
its by design, i brought it up once and was told thats how it was in V2 and there was a reason, for chuckles i posted a connect case and it was closed as by design. there is a good reason for it, but, i dont recall the details..
Justin Rich
http://jrich523.wordpress.com
PowerShell V3 Guide (Technet)
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

------------------------------------
Reply:
 
"Posted by Microsoft on 10/26/2011 at 4:24 PM
PowerShell version 2.0 is fully backwards compatible with version 1.0 and is an in-place upgrade to
1.0. As a result, running powershell.exe -version 1.0 is essentially a no-op."
 
Is that reasonable?
 
.
On 2/1/2012 5:53 PM, jrich wrote:
> its by design, i brought it up once and was told thats how it was in V2 and there was a reason, for
> chuckles i posted a connect case and it was closed as by design. there is a good reason for it,
> but, i dont recall the details..
 
 

------------------------------------
Reply:
reaonable? inescapable fact of life?

------------------------------------
Reply:
you'll be happier if you consider those two statements the same thing :)
 

Justin Rich
http://jrich523.wordpress.com
PowerShell V3 Guide (Technet)
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

------------------------------------
Reply:
My point exactly!

------------------------------------

Outlook not connecting

Im using self sign certificate. when i try to connect outlook client it show this message

There is a problem with the proxy server's security certificate.
The security certificate is not from a trusted certifiying authority.

Outlook is unable to connect to the proxy server


feroz syed ;)

Reply:
if you want to use self signed certificate then you have to install the ROOT CA certificate on the client pc as trusted certificate authority. Once you have install it you will be able to use the outlook using https connection.

------------------------------------
Reply:

Hi Feroz,

 

  • Make sure that you have all domain names in the certificate SAN feild of the certificate. You can check that by using Get-ExchangeCertificate |FL
  • Make sure that you install the internal CA certificate on problem computers Trusted Certification Authorities store.

 

Install CA on Client PC : Access by using WebApp & it shows the cert icon in IE. Save it on disk & install it. It should work.

It should ask you automatically when you start outlook.

 

Regards
Anand S 


Thanks & Regards Anand Sunka MCSA+CCNA+MCTS

------------------------------------
Reply:

hi,

by default, exchange can use his proper certificate with local outlook client, try to check if the certificate is expired or no.

if the certificate is expired, try to generate other certificate, using "new-exchangecertificate" commande.

the better method, is to generate certificate from a root CA using an exchange certificate request and install certificate on exchange server and clients PC.

Thanks,


------------------------------------
Reply:

hy

Thanks for your ideas.currently im moving my mail server to hyperV.

i ill post my result after my work finish


feroz syed ;)

------------------------------------

windows7

can i
leoneldearaujo
  • Changed type Cloud_TS Friday, February 3, 2012 3:43 AM

Reply:
yes you can

------------------------------------

hi

i am an exchnage administartor. One of my customer is facing the issue. When we create a new user the legacy exchange DN attribute is appended with 3 hex value randomly. Recent changes 2010 sp1 ru6(updtaed ru6)

Reply:
pls help me in this issue
pravin sachin

------------------------------------

Sorting taks by categories in Outlook Web App

Hello,
When will we be able to sort tasks by categories in Outlook Web App (and also in Windows Phone 7)?
This is a feature I use so much on Outlook (desktop), and really is missing on the web app.
Thanks,
Alexgand

Reply:

Hi,

You may read following articles, hope this helpful:

Using Outlook Web App Web Parts

Outlook Web App

Outlook Web App is more Microsoft Exchange server related. In order to get the answer effectively, it is recommended to post a new thread in Exchange Server Forum for further discussion.

http://social.technet.microsoft.com/Forums/en/category/exchangeserver/

Best regards.


William Zhou

TechNet Community Support


------------------------------------

SSRS Chart - Calling javascript is not working Safari browser.

Hi,

I've created a aspx page containing microsoft reportviewer control. I'm using server report.

ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
ReportViewer1.ServerReport.ReportServerUrl = new System.Uri(http://MyServer/ReportServer); 
ReportViewer1.ServerReport.ReportPath = "/Sample/MyReport";

The report has chart, I'm calling a javascript function by setting "Action" to enable hyperlinks and "Go To URL" of chart series properties.

For the "Select URL"field I've set the expression as

="javascript:MyFunction();"

It is calling the function "MyFunction();" in Internet explorer and Firefox. But the function call is not happening in safari.(I'm using Safari 5.0.3).I've checked the settings of the browser,javascript is enabled. This is the body of the function 

function MyFunction() {     alert('test');    }

 

Is there any solution for this?

How can I do this?

Thanks

Nickybeit




Reply:

facing the similar kind of issue and is not working even in IE too..

Can you help me out?

 


Raj

------------------------------------

Client VPN - no client MAC address

After troubleshooting with the Cisco voice system, we came to the following conclusion:

- The (Cisco) voice servers need to be able to record the MAC addresses of the client
- Both in PPTP and L2TP the MAC address of the VPN server is send, INSTEAD of the MAC address from the client
- Hence, the server can’t register the phone because the MAC address is not known and cannot be registered

 

Does anybody have a solution to this problem, so we can see the real MAC addresses of the VPN clients, instead of the VPN server MAC addresses ?


Reply:
So far no solutions... does anybody have an idea ?

------------------------------------
Reply:

Hi joeribar,

 

Thanks for posting at Windows Server forum.

 

The following link is the same question asked at Cisco forum, generally is no way or workaround to fix this issue.

 

VPN Clients all have same MAC Address

https://supportforums.cisco.com/thread/2080448

 

As they mentioned, you may manually configure the MAC address in Windows Registry. Hope it helps.

 

How to change MAC address in Windows Registry

http://www.windowsreference.com/networking/how-to-change-mac-address-in-windows-registry/

 

 

Best Regards,

Aiden


Aiden Cao

TechNet Community Support


------------------------------------
Reply:

Hi, OK thanks. But the Cisco solution is about CISCO client VPN. We use MICROSOFT Client VPN, clients using L2TP connectivity through the Microsoft solution, not the Cisco one. So my question is, if this is possible through the Microsoft VPN solution.

The softhphones are Cisco, but not the tunnel setup.


------------------------------------

What are the steps to create a criteria-based Distribution Group in the portal that includes both Person and Contact (custom) type of objects?

Can the filter statement for a distribution group accomodate more than one object type?

TIA

 


Reply:

<del>Yes. You need a search scope for contacts.</del>

Sorry, I read your question too quick. That would only work for manually managed DG's

Instead you can choose "all eligible resources"


------------------------------------

Great new Learning Resource

We've been working hard with our teams here to get better/more/good information out to our users. We've created a new a customized Windows Live search, that limits results to Books Online. Check this out, and make sure you let your contacts know to visit it and provide feedback:
http://search.live.com/macros/sql_server_user_education/booksonline
 

We want to generate as much traffic as possible here so that we can see if this is useful to our users. We'd love to hear back from everyone we can!


Reply:

This is a great idea, but I still prefer going directly to Books Online to look for more information. I seem to be able to find what I am looking for more quickly with Books Online. Maybe it is just because I am used to it, but I think Books Online provides more alternative routes to finding information, which makes it more useful to me.


------------------------------------
Reply:

The web search is using Live Search from Microsoft, filtered just to SQL Server 2005 Books Online. The search in BOL is used in the DHELPEXPLORER program that renders the help.

 

I agree - I like the web search better.

 

- Buck Woody, SQL Server Program Manager


------------------------------------
Reply:
One more difference is that we can get updated articles in web search!

------------------------------------
Reply:

Hello,

 

I think i will disappoint you with my 1st test.

I have searched for ResourceLastUpdateDateTime ( property of the class Information in the namespace

Microsoft.SqlServer.Management.Smo )

i give you the link i obtained for the search

http://search.live.com/results.aspx?q=ResourceLastUpdateDatetime&go=Rechercher&form=QBJK&q1=macro%3Asql_server_user_education.booksonline

I was expecting to find this link :

http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.smo.information.resourcelastupdatedatetime.aspx

No

7 retrievals

http://0.r.msn.com/?ld=2vPMCVcr4YRhsghdOut1+RMQjt/tJt3ml/ib8fjFFK8ofmPtGnhE6b6/0hGXQl1L/EZgjr5POorYYOWxYgnAjuD4mPv1MI40QG9sowSXrLeX4rEp2TccjnViE9mF0c0OBIpJw9y5wmrKlUPFP7lavVNeh6IlhYtihaomvUgkez3dhFp7trt7eVznXCFJb/+z36urkApfBIT0flZw2Cyoh9HHDuTQs=

 

useless and not related to my search

http://325578.r.msn.com/?ld=2vOnZ7/hIHrITysU+eWu+j/xeaJCMyxEtflo3+6jBlDJn5ZubEsUA4oq1hhVJWC2qRB2btVKduGZgrS/DCTKJxBaeUNr2zFHAVRObsxqaRPadd8vz6EDXjwD9RVUWF2WSZhSbVRB72DUGjLYYpyWJ7paG02oX9Mmqr/ve61iR5Y5Pg5Fr5m5j63g4Fjd3ywYgSfT5nVYmopZOPYh+qcuosuB6Bhb8boV5+t6g9+ndV70RrD+UaxQ7Rblt/Rslqr6dkURKAMZPwSE9HLgNGV8pJKGgmgzIL

useless

 

http://msdn.microsoft.com/ja-jp/library/ms190940.aspx

i am not reading japanese

 

http://msdn.microsoft.com/ja-jp/library/ms174396(SQL.90).aspx

correct but in japanese useless

 

and finally the two expected links ( in English OK ) for Sql Server 2005 and 2008

 

I avoid Live Search like plague as i am sure that at least 50% of the links are not concerning what i search ( and the few obtained  results , that's a loss of time )

 

I have a search in the French BOL ( sorry i am french ) ( i have a direct Internet link to the BOL ) 

i obtained 72 results

http://social.msdn.microsoft.com/Search/fr-FR/?query=ResourceLastUpdateDatetime&ac=3

 

at least, at the top i found the correct link ( not in french because the BOL is far to be completely translated , i don't care )

but the results are related to what i wanted

 

Sorry, it is maybe a problem with the french site, but i reject your new search

For me, too long, not complete and with irrelevant results

 

Have a nice day

 

PS : i will send this post for feedback to SQLServerUE@hotmail.com


------------------------------------
Reply:

This is a great idea, but I still prefer going directly to Books Online to look for more information. I seem to be able to find what I am looking for more quickly with Books Online. Maybe it is just because I am used to it, but I think Books Online provides more alternative routes to finding information, which makes it more useful to me.


I get a web page not found on :

http://search.live.com/macros/sql_server_user_education/booksonline


Kalman Toth SQL SERVER 2012 & BI TRAINING
New Book: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2012
  • Edited by Kalman Toth Sunday, September 30, 2012 8:01 AM

------------------------------------
Reply:

I also receive a not found error.


------------------------------------
Reply:
I think this link is dead. I receive a not found error on given link.

------------------------------------
Reply:

Hello,

It says that webpage does not exist.


------------------------------------

SQL 2008 SP2 is now supported as DPM 2010 backend

The SQL backend for DPM 2010 server can now be on SQL 2008 SP2 version. If you have a remote SQL backend, it can also be upgraded to SQL 2008 SP2. Both the configurations are fully supported.


Thanks Praveen T [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.

Reply:

Hi Praveen,

Please can you give some more information about the if DPM 2010 is working with a remote instance of SQL 2008 R2.  I still find only info that the setup is not working wiht SQL 2008 R2.

Can you explain how this must be done?
Currently I am in an migration of DPM 2007 (on Win 2008, x64) with a remote instance of SQL 2005.  We want to upgrade (= same machine) to DPM 2010 (on Win 2008 R2, x64) with a SQL 2008 R2 remote instance (we do not have have SQL Server 2008 in house, only 2008 R2).
My upgrade path is the following:
  1. DPM 2007: change remote instance to local instance
  2. Upgrade DPM: Upgrade DPM 2007 with local instance to DPM 2010 with local instance
  3. upgrade Windows: Upgrade Windows Server 2008 to Windows Server 2008 R2
  4. upgrade SQL Instance:  When hotfix is avalailbe upgrade SQL 2008 local instance to SQL 2008 remote instance

If SQL 2008 R2 as remobe/local instance is already supported, it saves me a lot of effort and time

Thanks

Ray


------------------------------------
Reply:
Good to hear that Praveen. Should DPM 2010 Server require any hotfixes/rollups to support SQL 2008 SP2 as backend? To be precise should the DPM Server be any better than version 3.0.7696.0?

------------------------------------

Rapid right-click/left-click on Jump Lists cause window to duplicate instead of close

I have an issue with the taskbar Jump Lists. Let's say I have an Windows Explorer window open. Often I will right-click on it on the taskbar and then left-click on "Close window". The problem occurs when I try to do this too fast. Now, if I try to hit "Close window" before the "Frequent" items load (and depending on the program, it can take a second or two), it often will duplicate the window instead of closing it. Has anybody else encountered this issue?

RSS CDATA

I work on an internal SharePoint server. the site that I am working on contains a calendar with RSS enabled. There are three views created for this calendar, with one default view.

The RSS returns CDATA all though-out the code like so:

<item>

      <title>Additional test internal</title>

      <link>https://insight.usgs.gov/Lists/USGS Calendar/DispForm.aspx?ID=57</link>

      <description><![CDATA[<div><b>Start Time:</b> 1/2/2012 3:00 PM</div>
<div><b>End Time:</b> 1/2/2012 4:00 PM</div>
<div><b>Description:</b> <div></div></div>
<div><b>Category:</b> Conference and Trade Shows</div>
<div><b>Audience:</b> Public</div>
<div><b>Activity Type (tag your event):</b> Climate and Land Use Change</div>
<div><b>Cancel this event?:</b> Edit event to Cancel</div>
<div><b>Overall Status:</b> Not Canceled</div>
<div><b>Request Status:</b> Pending</div>
]]></description>

      <author>Newman, Andrea J.</author>

      <enclosure url="/_vti_bin/owssvr.dll?CS=65001&amp;Cmd=Display&amp;CacheControl=1&amp;List={9db2dbdd-e6a8-4831-abf9-5a3959ad7481}&amp;ID=57&amp;Using=%2FLists%2FUSGS%20Calendar/event.ics" type="text/calendar" />

      <category>Conference and Trade Shows</category>

      <pubDate>Tue, 24 Jan 2012 21:54:33 GMT</pubDate>

      <guid isPermaLink="true">https://insight.usgs.gov/Lists/USGS Calendar/DispForm.aspx?ID=57</guid>

    </item>

As you can see the "category" tag is the preferred format for the entire file.. Can you  help me understand this?

Replacing BPOS MigrationToolkit - Needed for Updated PowerShell Commands, Notably Get-MSOnlineUser Cmdlet

Hi all, as many of you know Microsoft is in the process is moving BPOS tenants into Office 365 to provide the next version of hosted Microsoft Online Services.  In earlier postings I've discussed the use of the updated Microsoft Online Migration Toolkit, with an updated Get-MSOnlineUser cmdlet in order to run reports on who has not changed their password since x day.

If you are needing to update your BPOS Mail Migration Tool in order to use this new cmdlet and run these reports, as outlined here (http://social.technet.microsoft.com/Forums/en-US/bpostransition/thread/04fe3272-322c-4306-9326-f2c1b3385ef1) you will need to make sure and perform the following steps:

  1. Uninstall the existing BPOS Mail Migration Toolkit application
  2. Reboot this machine
  3. Install the new BPOS Mail Migration Toolkit, from the following location:

Resources:

  1. Download the latest Microsoft Transporter Suite Tool: http://www.microsoft.com/download/en/details.aspx?displayLang=en&id=5015
  2. Learn more about the updated Get-MSOnlineUser and Set-MSOnlineUser: http://www.microsoft.com/online/help/en-us/helphowto/337f0b2d-facf-4e2d-8d4c-58ae5bab80c9.htm

Note - Unless you uninstall and reboot your machine you may find that the Migration Command Shell will error citing "Unable to find the Get-MSOnlineUser powershell cmdlet", at which point you will not be able to run the Get-MSOnlineUser cmdlet (http://social.technet.microsoft.com/Forums/en-US/bpostransition/thread/04fe3272-322c-4306-9326-f2c1b3385ef1), used to run reports on who has changed their password since X day.


Transitions Community Lead ...Ryan J. Phillips

service account

I am looking more about service accounts creation, configuration , how will work for all machine

Reply:

Which service accounts are you asking about? ConfigMgr. runs the client under the local system account and also the other services that runs on the server.


Kent Agerlund | My blogs: blog.coretech.dk/kea and SCUG.dk/ | Twitter: @Agerlund | Linkedin: Kent Agerlund

------------------------------------
Reply:
All fo this is covered within the Help file, what is unclear within the help file?
http://www.enhansoft.com/

------------------------------------
Reply:

You can have a look at the following section on technet:

http://technet.microsoft.com/en-us/library/bb681067.aspx

It describes the Windows Accounts Used by Configuration Manager.


This posting is provided "AS IS" with no warranties or guarantees, and confers no rights. Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. Click on "vote as Helpful" if you feel this post helpful to you. This can be beneficial to other community members reading the thread.

------------------------------------
Reply:
I want to know workstation & servers local system account. can i have link for the same

------------------------------------
Reply:

What is wrong with the link provided by Reneb79_1?

 


http://www.enhansoft.com/

------------------------------------

Dealing with a Large Dimension

I have a Relation dimension which is {RelationID int, RelationType varchar(50)}. This is a kind of "Super" dimension because it covers many other potential dimensions. For example Customers, Suppliers, PurchaseOrders, SalesOrders, etc. There are currently 50 different dimensions that might be covered by such data. The main fact table associated with it is RelationUpdate {RelationID, RelationType, UserID, Role, Date} - which is counting what object a user updated.

If you wanted to have a better relationship with real dimensions what would be the best way forward? 

It suggests expanding the RelationUpdate fact table with many columns, one for each RelationType. Is it possible and reasonable?


Reply:

Trying to get a better understanding of what your relation dimension is, how does it cover the other dimensions.

On your RelationUpdate fact table one thing to avoid are the varchar columns. If you already have a RelationID, you should avoid including the RelationType in the fact.


mustafa hussain

------------------------------------

I need help creating a report in Access

I need to create a report in Access with data pulled from an Issue Tracking list in Sharepoint. I need the report to, depending on the item's criteria, put it into 1 of 3 lists. For example, if the item has a "resolved date" entered i need it to display that item under "resolved items", if it does not have a resolved date, it needs to show on the report under "open issues", etc. How can i create a report like this?

WAIK RTM Bug Adding Packages

I believe I've found a bug in the RTM version of the WAIK for Windows 7 or maybe someone can explain to me what I'm doing wrong.  I had the RC version of Windows 7 and the RTM version of the WAIK and kept getting "The system cannot find the path specified." when trying to add a package to WinPE.  Thinking it was a mismatch between the RC and the RTM versions, I formatted my work PC, installed the RTM version of Windows 7 Enterprise and the RTM version of the
WAIK.  Again, I ran into the same issue.  However, once I converted the name of the CAB files to be all lowercase, then it works?!

See below...only thing that is different between the two command lines is the case of the package name:

The DISM log file can be found at C:\Windows\Logs
C:\winpe7>Dism /image:C:\winpe7\mount /Add-Package /PackagePath:"C:\Program File
s\Windows AIK\Tools\PETools\x86\WinPE_FPs\WinPE-HTA.cab
"

Deployment Image Servicing and Management tool
Version: 6.1.7600.16385

Image Version: 6.1.7600.16385

An error occurred trying to open - C:\Program Files\Windows AIK\Tools\PETools\x8
6\WinPE_FPs\WinPE-HTA.cab" Error: 0x80070003

Error: 3

The system cannot find the path specified.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

C:\winpe7>Dism /image:C:\winpe7\mount /Add-Package /PackagePath:"C:\Program File
s\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-hta.cab"

Deployment Image Servicing and Management tool
Version: 6.1.7600.16385

Image Version: 6.1.7600.16385

Processing 1 of 1 - Adding package WinPE-HTA-Package~31bf3856ad364e35~x86~~6.1.7
600.16385
[==========================100.0%==========================]
The operation completed successfully.

The interesting thing is that the CHM file supplied has all CAB file names in lower case.  So if you are copying and pasting from the CHM file, you may never run into this issue.

  • Edited by Adam Leinss Tuesday, August 18, 2009 4:45 PM Grammer

Reply:
I had my package file names in lowercase, but not C:\, when I changed that to c:\ (lowercase c) it worked!
How STUPID is that!  Doesn't anyone test this stuff???
Ed Hammond - System Admin

------------------------------------
Reply:

I had the same error message and came here to find an answer.
Only after reading that the problem could be as stupid as changing a capital C into a lowercase c I found my problem.

The error says it cannot open the file >>C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\WinPE-HTA.cab"<<
but it should be looking for the file     >>C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\WinPE-HTA.cab<<

So I left out the final " sign and that solved the problem for me.
It appears they really do not test this stuff!


------------------------------------
Reply:

I tried all three of the methods here; all lowercase letters in filename, all lowercase in full filename (including "c:"), and removing end quotes, also tried removing all quotes...stillgetting identical error you did:

 

An error occurred trying to open - c:\users\administrator\desktop\amddriver.cab  Error: 0x80070002    Error: 2    The system cannot find the file specified.


I renamed the .cab file to amddriver.cab, but just fyi, I did get the file direct from Windows Update.

Any ideas on how to get this .cab installed lmk please.

Thanks.

 



  • Edited by GeekyAdam Wednesday, February 1, 2012 8:33 PM

------------------------------------

Setup is Split Across Multiple CDs

Setup is Split Across Multiple CDs Lately I've seen a bunch of people hitting installation errors that have to do with the fact th...