Add freetextbox external controls to ASP. NET (including issues and solutions)

Source: Internet
Author: User

 

FreetextboxIs an ASP. Net open source Server Control Based on mshtml Technology in Internet Explorer. This is an excellent free software. We can easily embed it into web forms for online editing of HTML content, in news publishing, blog writing, Forum communities, and other Web systems.

Http://files.cnblogs.com/soman/FreetextBox.zip (click to download controls)

 

To create an ASP project, select HTTP

Right-click on the toolbar and choose "add tab ".

Create a tab (easy to differentiate)

Right-click this tab to create a selection item

 

When the select toolbox option dialog box appears

In. NET Framework components

Browse-select freetextbox. dll

 

After adding

The toolbar appears.

 

And put it on the desktop like other controls.

 

It's so easy to add

 

However, problems often occur during running.

 

Possible scenario 1: An error occurred while accessing the IIS metadatabase.

An error occurred while accessing the IIS metadatabase.
Note: An unhandled exception occurs during the execution of the current Web request. Check the stack trace information for details about the error and the source of the error in the code.

Exception details: system. Web. Hosting. hostingenvironmentexception: An error occurred while accessing the IIS metabase.

The process account used to run ASP. NET must have
IIS: // servername/W3SVC. For information about how to modify the metadatabase permission, see
Http://support.microsoft.com /? Kbid = 267904.

Source error:

An unhandled exception is generated during the execution of the current Web request. You can use the following exception stack trace information to determine the cause and location of the exception.

Stack trace:

[Hostingenvironmentexception: An error occurred while accessing the IIS metabase.]
System. Web. configuration. metabaseserverconfig. mappathcaching (string
Siteid, virtualpath path) + 690

System. Web. configuration. metabaseserverconfig. system. Web. configuration. iconfigmappath. mappath (string siteid, virtualpath vpath) + 9
System. Web. Hosting. hostingenvironment. mappathactual (virtualpath
Virtualpath, Boolean permitnull () + 174
System. Web. cachedpathdata. getconfigpathdata (string configpath) + 398
System. Web. cachedpathdata. getconfigpathdata (string configpath) + 263
System. Web. cachedpathdata. getvirtualpathdata (virtualpath,
Boolean permitpathsoutsideapp () + 166
System. Web. configuration. runtimeconfig. getlkgruntimeconfig (virtualpath
Path) + 187

--------------------------------------------------------------------------------

 

Solution

Version: Microsoft. NET Framework Version: 2.0.50727.42; ASP. NET version: 2.0.50727.42

Solution:

Enter cmd in the running environment, and then enter the following in the msdos environment:

Cd c: \ WINDOWS \ Microsoft. NET \ framework \ v2.0.50727, press ENTER

Enter aspnet_regiis/R and press enter to solve the problem.

 

I installed IIs before vs2005 and used the mini ASP server to add freetextbox yesterday.

Baidu

If you install vs2005 and then install IIS, a problem may occur, causing access to the IIS metadatabase to fail. You need to solve this problem.
CMD, go to cd c: \ WINDOWS \ Microsoft. NET \ framework \ v2.0.50727, and press ENTER
Input aspnet_regiis.exe-I --- registration successful

After the solution is completed, it appears again
"Failed to create mutex,

Solution

Close your vs2005 and Open c: \ windows \ microsoft. net \ framework \ v2.0.50727 \ temporary ASP. net files find the directory of the program you just debugged to delete it, close the IIS server, and re-open it once.

 

Finally, run and find OK.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.