Microsoft.SharePoint.SPException was unhandled
Message="Cannot create an item at the requested destination. Verify that the folder exists and that you have permission to edit in it."
Source="Microsoft.SharePoint"
ErrorCode=-2130575221
StackTrace:
at Microsoft.SharePoint.SPCopy.CopyIntoNewItem(SPListItem src, SPFolder targetFolder, String targetUrl)
at Microsoft.SharePoint.SPCopy.CopyIntoItem(SPListItem src, String targetUrl)
at Microsoft.SharePoint.SPListItem.CopyTo(String destinationUrl)
at Tenplates.Program.Main(String[] args) in C:\Documents and Settings\dev1admin\Desktop\Tenplates\Tenplates\Program.cs:line 142
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()