If you create a web part using Visual Studio 2008 extensions for Windows SharePoint Services 3.0, v1.3 you may not be able to Deploy your Web Part to your SharePoint web site (WSS\MOSS). Your first step off course should be to read the release notes posted by Microsoft as suggested by the error message. In my case the issue turned out to the security account that was linked to the VSeWSS WCF Service did not have administrator permissions.
Steps that caused the error
1. Create new web part project and solution, choose deployment to bin directory.
2. Choose the Deploy option by right clicking on the solution in the Solution Explorer.
Solution that worked for me à Added the ‘Network Service’ account to the Administrators group.
Finding Root Cause and Solving it (if it was similar to mine)
1. Open IIS and navigate to the Web Sites folder. Select VSeWSS.
2. Open the properties window for VSeWSS. Note the Application Pool value under the Home Directory tab.
3. Under IIS go to the Application Pools folder, locate the Application Pool for VSeWSS.
4. Open the properties window for the Application Pool. Note the Security Account value under the Identity tab.
5. Open Computer Management. Locate the Administrators Group under Local Users and Groups.
6. Make sure the Security Account is added to the Administrators group.
· If the security account is not under the Administrators group your root cause should be similar to mine.
· Helpful Note: If you are working on a Virtual\Local Server you may not be able to find your security account e.g. you may not be able to find your Network Service account, make sure you are searching for the account in the right spot by choosing the right Location (Network or local machine) when the Add Users… dialog comes up.
7. Restart IIS if you had to add the security account and try deploying your web part again.
My Error Description (When trying to Deploy the web part)
“Error 1 VSeWSS Service Error: Assembly C:\Documents and Settings\username\My Documents\Visual Studio 2008\Projects\MyWebPartsOne\bin\Debug\MyWebParts.dll not found. This may occur because the VSeWSS WCF Service does not have local administrator permissions. Please review the release notes.
VSeWSS Service Logging Error: Access to the path 'C:\Documents and Settings\Default User\Application Data\Microsoft\VSeWSS 1.3' is denied.
Logging failed attempting to write to C:\Documents and Settings\Default User\Application Data\Microsoft\VSeWSS 1.3\VSeWSS1.3 service.log. This may occur because the VSeWSS WCF Service does not have local administrator permissions. Please review the release notes. “
URL for Visual Studio 2008 extensions for Windows SharePoint Services 3.0, v1.3
http://www.microsoft.com/downloads/details.aspx?FamilyID=B2C0B628-5CAB-48C1-8CAE-C34C1CCBDC0A&displaylang=en