Saturday, September 13, 2008
Leaving Blogger
Friday, March 7, 2008
Error Adding WebReference in VS2005
The web services enumeration components are not available. You need to reinstall Visual Studio to add web references to your application.
I tried several solutions found online (except the one suggesting to uninstall and reinstall Visual Studio) but what finally did the trick was a simple command line:
Open the Visual Studio 2005 Command Prompt and type the following command:
devenv /resetskippkgs
Friday, February 1, 2008
New content not getting indexed in MOSS 2007
Monday, December 31, 2007
Uploading a file using Dojo
It was then brought to my attention that you cannot upload a file using xhrPost. You have to use either dojo.io.iframe.send() or dojox.xhrMultiPart.
I tried the dojo.iframe.send() approach and it worked just fine. The javascript looks like this:
dojo.require("dojo.io.iframe");
dojo.io.iframe.send({
method: "post",
url: "process.cfm",
handleAs: "html",
timeout: 3000,
handle: AddEditCallback,
form: dojo.byId('myForm')
});
Tuesday, December 18, 2007
Item Templates not showing up in VS2005
After converting the code and placing it in the appropriate folder (C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\VisualBasic\SharePoint\), the template was still not showing when creating a new project. This was because the templates cache had to be refreshed. I was able to solve this thanks to a post by Eric Hammersley (Missing an item template in Visual Studio 2005? Try this...)
The secret was just to open a VisualStudio Command prompt and run the command
devenv /installvstemplates
Thursday, December 6, 2007
The application-specific permission settings do not grant Local Activation permission for the COM Server application
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID{BA126AD1-2166-11D1-B1D0-00805FC1270E}
to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20). This security permission can be modified using the Component Services administrative tool.
Copy the GUID following the CLSID above, and Start-->Run-->regedit
With the registry editor open, ensure that your cursor is on the computer at the beginning of the tree (make sure you are not in the middle of some previous edit session in the registry editor).
Edit-->Find and paste in the GUID. It'll stop at the application entry - and you will want to note the application name on the right side pane. In this example, it was the Netowrk Connections Manager service that popped up.
Now, open Component Services (typically, from the server - Start-->Administrative Tools-->Component Services), expand Component Services, Computers, My Computer, DCOM Config. Scroll down and find the application (netman in this case). Right-Click-->Properties and select the Security tab. You'll have some options here - the first block Launch and Activation Permissions - ensure that the Customize radio button is selected, and click Edit. Now, add your service account - giving it launch and activate - and in some requirements - remote launch / activate permission.
Restart IIS and continue on.