0

My code says that the freetextbox (ID is txtQuestion) is not declared (shown below)

enter image description here

But I have the complete configuration in my web.config

enter image description here

And in the .aspx file

enter image description here

And I already installed it.

enter image description here

Before I transfer all these files into the server, it works well but when transfer these files into a server (and I edit the codes from a remote PC connected to the server), it has this error. Can anyone help me? The installation of freetextbox is its assembly configurations only right?

eirishainjel
  • 570
  • 7
  • 25
  • Do you have actual control in your ASPX file (not just `register` refefence) ? – Yuriy Galanter Nov 07 '13 at 01:46
  • You mean like this? ``. It says that element Freetextbox is an unknown element. – eirishainjel Nov 07 '13 at 01:59
  • I just think that may be freetextbox is not working in a production server yet will only work in a "localhost-based". – eirishainjel Nov 07 '13 at 02:01
  • It should work everywhere - when you uploaded project to the remote server - did u also upload FreeTextBox.dll into the Bin folder? – Yuriy Galanter Nov 07 '13 at 02:16
  • Yes sir as shown in the last image above. What I observe is that when I run the local version I have in my PC, it works well. But when I try to run the server-side version, it has errors so I assume that freetextbox will only work locally. – eirishainjel Nov 07 '13 at 02:24
  • Do other pages of your site (ones that do not havetheFreeTextBox) load normally? Also, try removing reference from Web.Config, let's see if it loads directly from Bin. – Yuriy Galanter Nov 07 '13 at 02:27
  • It loads normally. I use freetextbox to insert data into my database. I already tried it but it still doesn't work. :( – eirishainjel Nov 07 '13 at 02:42

1 Answers1

0

My problem was related to the Application Pool settings.

Process Model - Load User Profile = True

Rapid-Fail Protection - Enabled = False

Recycling - Regular Time Interval (minutes) = 0

One or some of the above solved the problem.

Of course you should check General - .NET Framework Version

nes
  • 101
  • 8