preface
After deploying webpart in SharePoint, when viewing the webpart on the page, the resource file under the layouts mapping directory referenced by webpart cannot be found. The solution is as follows
Solution
1. In the vs project, double-click package.package
2. In the solution on the left, select the file you want to deploy, such as the layouts folder
3. Double click, or drag directly to the item in the right package, or click the middle arrow button
4. Just redeploy
Other related
[SharePoint] after deploying webpart, visit the webpart page to report an error and prompt “file not found”. The solution is as follows
An error was reported when deploying SharePoint webpart: the function installation failed in the process of deploying the solution. SP: the function with ID of * * has been installed in this server farm. Please use mandatory properties to re install the function – solution
When adding webpart to the [SharePoint] page, you will be prompted that the type cannot be found or the type is not registered as a security type solution
[SharePoint] after deploying webpart, the solution to the resource file in the layouts mapping directory referenced by webpart cannot be found
Read More:
- [solution] the resource file cannot be found in the jar package of Java
- No code, a solution to the error in the path of reading CSV file by Python: filenotfounderror: [errno 2] no such file or directory: ‘XX. CSV‘
- org.springframework.core.NestedIOException: Failed to parse mapping resource: ‘file
- Errors encountered by elasticsearch in creating index and mapping
- Solution to error opening trace file: no such file or directory (2) in Android
- Solution not found by JPS command
- Solution of header file StdAfx. H “no such file or directory” in Visual Studio
- Differences between the assets directory in Android project and the purpose of resource
- Shrio | java.io.IOException: Resource [classpath:shiro.ini] could not be found
- Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters:
- error: File not found by glob???
- (springmvc) Failed to load resource: the server responded with a status of 404 (Not Found)
- Wrong path to add PCH file. Apple llvm 9.0 – language cannot be found in the new project
- Solution to the error of @ resource annotation in eclipse spring
- Solution to device or resource busy error in docker redeployment service
- Error: your local changes to the following files would be rewritten by merge solution
- A fatal error C1083 occurred when compiling C + + code under. Net: unable to open the include file: “xuhk”_ Jnihelloworld. H “: solution to no such file or directory error.
- Solution to “550 create directory operation failed” in FTP operation file
- Vs2017 reported an error. Pthread. H header file cannot be opened and cannot be found
- In VS2010, the compiler cannot open the file “GL / glaux. H”: no such file or directory