http://code-journey.com/2009/03/25/how-to-create-a-new-feature-in-sharepoint-using-visual-studio/
Search This Blog
Wednesday, January 13, 2010
Sharepoint feature receiver
http://www.nnihlen.com/blog/archive/2006/12/04/724.aspx
http://code-journey.com/2009/07/05/add-an-event-handler-feature-receiver-to-a-sharepoint-feature/
http://ivydotnet.spaces.live.com/blog/cns!F0ADF64956CA5930!291.entry
http://blog.tylerholmes.com/2008/03/walkthrough-creating-sharepoint-feature.html
http://dkeeling.spaces.live.com/blog/cns!1FF0B17B869C973!146.entry
Integrated Features not enabled in Virtual PC – Windows 7
I kept on receiving an error while trying to enable the integration features with virtual pc in windows 7.
with some R&D, I found out tht the administrator of the virtual PC had an empty password. So i set a password for that user.
Added my own user (which i was using to login to the VM) to remote users group and ensured that the VM allowed remote access
Document Library to FTP Upload
Private Sub onWorkflowActivated1_Invoked(ByVal sender As System.Object, ByVal e As System.Workflow.Activities.ExternalDataEventArgs)
Try
Dim request As FtpWebRequest = CType(WebRequest.Create(ConfigurationManager.AppSettings("FTPHost") + Me.workflowProperties.Item.File.Name), FtpWebRequest)
request.Method = WebRequestMethods.Ftp.UploadFile
request.Credentials = New NetworkCredential(ConfigurationManager.AppSettings("FTPUser"), ConfigurationManager.AppSettings("FTPPassword"))
Dim webCl As WebClient = New WebClient()
webCl.Credentials = New NetworkCredential(ConfigurationManager.AppSettings("SPUser"), ConfigurationManager.AppSettings("SPPassword"))
Dim buffer() As Byte = webCl.DownloadData(ConfigurationManager.AppSettings("CurrentSite") + Me.workflowProperties.Item.File.Url)
request.GetRequestStream().Write(buffer, 0, buffer.Length)
request = Nothing
Catch ex As Exception
End Try
End Sub
Tuesday, January 12, 2010
The requested URI is invalid for this ftp command
http://www.eggheadcafe.com/community/aspnet/2/60622/ftp-uri-invalid.aspx
http://forums.asp.net/p/1233240/2242751.aspx#2242751
Uri target = new Uri("ftp://ftp.placer.dyndns.org/test.css");
URI formats are not supported.
I was using File.OpenRead(xyzURL) when i received this error. the solution was to use a webclient
‘Access denied’ when deploying VS 2k8 Sharepoint workflow
(I couldnt get a resolution to this error but following is a workaround)
1. Create a directory in the features directory [C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\TEMPLATE\FEATURES] and drop both the feature.xml and workflow.xml files into the directory.
2. Install the feature on your farm, using the following command line statements
stsadm -o installfeature -name <<name>>
4. Activate the feature to a site collection
stsadm -o activatefeature –name <<name>> -url <<url>>
Replace <<name>> and <<url>> with the actual value
http://www.codeproject.com/KB/WF/sharepointworkflow.aspx?msg=2656569
***EDIT: Strange enough, I added System.Configuration reference in the project for some other purpose; and this error was gone :D