HiddenNetwork.com Banner
Showing posts with label Office. Show all posts
Showing posts with label Office. Show all posts

Monday, February 06, 2006

VSTO wont compile

Not sharepoint related, but in blogger, there is no way to create categories! I just had a problem with VS2005 - I tried compiling a Visual Studio Tools For Office 2005 project and got "error occurred while attempting to persist the data". after a quick search in the google-groups I found a post by a guy called "Neil" which solved the problem- simply run the "C:\Program Files\Common Files\Microsoft Shared\vsto\8.0\Microsoft Visual Studio 2005 Tools for Office Runtime\install.exe" file to repair the VSTO installation. Thanks Neil!

Wednesday, January 04, 2006

SharePoint in a Stand Alone Server Gives Error On Being offline

Problem Description:

Well, this is an old one, but I always forget about it when I encounter it. When you use a stand alone SharePoint server (for example in a virtual machine like Microsoft VPC or VMware) to develop or test something, not all of the features work. For example:

  • DataSheet view will not update rows in a list or document library and will show you an error stating it is offline. "Cannot connect to the server at this time. Changes to your data cannot be saved."
  • Office task pane that is supposed to show you "document updates" and "Shared workspace", is also telling you you are offline. "You are currently working offline. Check your network connection and then click get updates."

Cause:

The reason for this behavior is that the office objects that connects office to sharepoint are checking the network status and they see that you don't have a network (since you are on a standalone server).

Solution:

Well, one way would be to setup another machine and connect the two, or maybe set up a loopback adapter.

But the easy way to solve this is to just stop the network sensing mechanism and fooling office! Here is how you do it:

  1. Close all office applications and internet explorer windows.
  2. Click Start>Run
  3. write in the text box "net stop sens" and press enter.

that's it! Now the datasheet view will update items and office-sharepoint integration will work smoothly!