Last post Apr 18, 2005 09:07 PM by shahab
Mar 29, 2005 08:30 AM|whitehouser|LINK
I am developing an applicaion in vb.net on an old studio .net version (7.0.9466).
I have downloaded and succesfully developed an application using the web controls treeview. This has also been successfully transferred to a test server, both the development and test machines have .net frameworks 1.0.3705 and 1.1.4322 running. However
the web controls were compiled using the 1.0.3705 framework as when compiled using 1.1.4322 when I tried to assign to the toolbox an error occured and it didn't appear.
Now comes the problem - I have transferred this to a new server running Windows 2003, the application run except the treeview comes out as plain text or if I create a virtual directory for the webctrl_client completely blank! I have tried many permutations
but am getting nowhere fast. It appears that there is a copy of both 1.0.3705 and 1.1.4322 on the target server as the directories are there.
To deploy I am copying the webctrl_client and application directories from the development machine to the target machine.
Please please if anyone can help it really would be appreciated as I do not know where to go from here - all other applications without the webcontrols work fine!
Mar 29, 2005 10:35 AM|GPilotino|LINK
Remenber that you need to copy this to the production server too:
Mar 29, 2005 10:57 AM|whitehouser|LINK
Thanks for the response, much appreciated!
I have copied this to the root of the production server but with no luck, out of desperation I have also copied it into the root of the application. One interesting fact is that when copying it to the root of the application it stops displaying the text
and goes completely blank!
Anybody esle got any ideas?
Mar 29, 2005 10:01 PM|AgentM|LINK
I have the same ptoblem. The treeview or any other control doesn't display images.
I downloaded the setup program from the website and noticed that when you run the build.bat file, it gives an error css.exe. nto found.
Have you noticed this error.
I am using XP pro and running IIS on this local machine.
Mar 30, 2005 02:31 AM|ssmark|LINK
csc.exe, the c# compiler is in the Microsoft.NET framework folder whose correct path usually is C:/Windows/Microsoft.NET/Framework/v1.1.4322/csc.exe. I have v1.1.4322, i f you have a different version, change the version number.
What you might need to do is to execute build.bat from the command prompt. In the command prompt navigate to where your IE Web Controls folder is and then execute build.bat inside this folder. This should compile the required dll and you should see it in
your build folder.
Mar 30, 2005 09:39 AM|GPilotino|LINK
Check this, I think it coul be usefull to you...
Mar 30, 2005 11:31 AM|whitehouser|LINK
Many thanks to all who took the trouble to help - it was appreciated but I believe I have an answer!
The compiled version of the dll and webctrl_client directory works when it is compiled on a development machine which only has a framework of 1.0.3705 on it (1.1.4322 is NOT installed). This was copied to the target server (which had both 1.0.3705 and 1.1.4322
frameworks on it) and all worked (can't tell you how happy I was to see the treeview working!)
However when the dll and webctrl_client directory are compiled (yes the compiler used was the one in the 1.0.3705 framework) on a development machine which has a framework of 1.0.3705 and 1.1.4322 on it, it works on the development machine, however when
copied to the same target server as above it doesn't work.
Anyway the long hours have proven fruitful and I hope this proves of use to someone else to same them the same grief!
Mar 30, 2005 02:32 PM|ssmark|LINK
Mar 30, 2005 05:58 PM|Chip Pumphrey|LINK
If your application isn't in the root directory, but a virtual directory, you must have the webcrtl_client directory stuff in the virtual directory's root as well. (took me dang near 5 hours to figure that out)
Apr 17, 2005 12:58 AM|dalastw|LINK
Thanks for resolving my probelm!!
Thank you very much!!!
Apr 18, 2005 09:07 PM|shahab|LINK
Copy all the HTC and the images to a folder in your application and then add the follwing to your web config file under configuration element and it should work.