Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Web Connection controls disabled in VS

$
0
0
Re: Web Connection controls disabled in VS
Web Connection 5.0
Re: Web Connection controls disabled in VS
Mar. 12, 2013
01:37 am
3QI1FFPYWShow this entire thread in new window
Gratar Image based on email address
From:Luca
To:Rick Strahl
dear Rick,
unfortunately I am in trouble again :(
Just to remember to you, I have reformatted my PC and reinstalled all again (Windows XP SP3). This time I installed Visual Studio 2010 english without SP.
All was right only for one working day!
Today I open my website in VS as usual and I am not more able to edit wc webpages (my custom extension is wc for webpages). I see code in Source view, but I do not see anything in Design view and Web Connection controls are disabled in Toolbox.
I checked file extension settings, but they are exactly like you explain in your manual (wc and wcsx opened in Web Form Editor).
I run Web Connection Setup in VFP menu and checked also web.config file, but it seems all right.
If I right click on a wc file in the VS project I see the window "Open With" and the automatic editor selector is XML by default, but XML editor has not the Design window. If I open a wc file with HTML editor I find a Design window, but there is no rendered object and Web Connection controls are disabled in Toolbox.
Please what is wrong again?
Thank you very much


Huh?

I think you might have assigned the extension to the wrong kind of editor. Make sure you assign to the Web Form Editor as shown here:

wcdocs:_1lo02ggfg.htm

+++ Rick ---



Hi Rick,
I uninstalled VS 2010 italian and its SP1, then I installed VS 2010 english version without SP.
Web Connection controls are enabled now, I added a TextBox but I see the following code both in layout and source section.
What is happended?
Do I have to format the PC?

"http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">id="ref-1" xmlns:a1="http://schemas.microsoft.com/clr/nsassem/System.Web.UI.Design/System.Design%2C%20Version%3D2.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db03f5f7f11d50a3a">truehref="#ref-5"/>href="#ref-6"/>id="ref-7">href="#ref-8"/>id="ref-9">wwWebTextBoxhref="#ref-10"/>id="ref-11">Westwind.WebConnection.WebControls.wwWebTextBoxid="ref-12">West Wind Technologieshref="#ref-13"/>id="ref-14"><{0}:wwWebTextBox runat="server" />0id="ref-5" SOAP-ENC:arrayType="a2:ToolboxItemFilterAttribute[2]" xmlns:a2="http://schemas.microsoft.com/clr/nsassem/System.ComponentModel/System%2C%20Version%3D2.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db77a5c561934e089">href="#ref-15"/>href="#ref-16"/>id="ref-6" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/System.Drawing/System.Drawing%2C%20Version%3D2.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db03f5f7f11d50a3a">href="#ref-17"/>id="ref-8" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection"><_Name id="ref-18">WebConnectionWebControls<_PublicKey href="#ref-19"/><_PublicKeyToken xsi:null="1"/><_CultureInfo>127<_CodeBase id="ref-20">file:///C:/Documents and Settings/luca/Documenti/Visual Studio 2008/Controls/Web Connection/WebConnectionWebControls.dll<_Version href="#ref-21"/><_HashAlgorithm xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SHA1<_HashAlgorithmForControl xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">None<_StrongNameKeyPair xsi:null="1"/><_VersionCompatibility xsi:type="a6:AssemblyVersionCompatibility" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SameMachine<_Flags xsi:type="a4:AssemblyNameFlags" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection">17<_HashForControl xsi:null="1"/>id="ref-10" SOAP-ENC:arrayType="a4:AssemblyName[3]" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection">href="#ref-22"/>href="#ref-23"/>href="#ref-24"/>id="ref-13" SOAP-ENC:arrayType="xsd:string[8]">id="ref-25">Filterid="ref-26">Bitmapid="ref-27">Descriptionid="ref-28">AssemblyNameid="ref-29">DisplayNameid="ref-30">DependentAssembliesid="ref-31">TypeNameid="ref-32">Companyid="ref-15" xmlns:a2="http://schemas.microsoft.com/clr/nsassem/System.ComponentModel/System%2C%20Version%3D2.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db77a5c561934e089">Requireid="ref-33">System.Web.UIid="ref-34">System.ComponentModel.ToolboxItemFilterAttributeSystem.Web.UIid="ref-16" xmlns:a2="http://schemas.microsoft.com/clr/nsassem/System.ComponentModel/System%2C%20Version%3D2.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db77a5c561934e089">Allowhref="#ref-11"/>"1"/>id="ref-17" xsi:type="SOAP-ENC:base64">iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAASdAAAEnQB3mYfeAAAAF9JREFUOE9jYKAU1M/d+Z9cDLYbpJkcANJHewOANmA4DiZGlAtINgCkAVkTjI8uBnIWhguwKcInhtUL6DaSZADNXIAtXLCGAamJiahoxGcoigEU5QVKMyMw5UDyBLkAAPhvbFTqj9mXAAAAAElFTkSuQmCCid="ref-19" xsi:type="SOAP-ENC:base64">id="ref-21" xmlns:a5="http://schemas.microsoft.com/clr/ns/System"><_Major>0<_Minor>0<_Build>0<_Revision>0id="ref-22" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection"><_Name id="ref-35">WebConnectionWebControls<_PublicKey href="#ref-36"/><_PublicKeyToken xsi:null="1"/><_CultureInfo>127<_CodeBase id="ref-37">file:///C:/Documents and Settings/luca/Documenti/Visual Studio 2008/Controls/Web Connection/WebConnectionWebControls.dll<_Version href="#ref-38"/><_HashAlgorithm xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SHA1<_HashAlgorithmForControl xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">None<_StrongNameKeyPair xsi:null="1"/><_VersionCompatibility xsi:type="a6:AssemblyVersionCompatibility" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SameMachine<_Flags xsi:type="a4:AssemblyNameFlags" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection">17<_HashForControl xsi:null="1"/>id="ref-23" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection"><_Name id="ref-39">System.Web<_PublicKey xsi:null="1"/><_PublicKeyToken href="#ref-40"/><_CultureInfo>127<_CodeBase xsi:type="xsd:anyType" xsi:null="1"/><_Version href="#ref-41"/><_HashAlgorithm xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SHA1<_HashAlgorithmForControl xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">None<_StrongNameKeyPair xsi:null="1"/><_VersionCompatibility xsi:type="a6:AssemblyVersionCompatibility" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SameMachine<_Flags xsi:type="a4:AssemblyNameFlags" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection">None<_HashForControl xsi:null="1"/>id="ref-24" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection"><_Name id="ref-42">mscorlib<_PublicKey xsi:null="1"/><_PublicKeyToken href="#ref-43"/><_CultureInfo>127<_CodeBase xsi:type="xsd:anyType" xsi:null="1"/><_Version href="#ref-44"/><_HashAlgorithm xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SHA1<_HashAlgorithmForControl xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">None<_StrongNameKeyPair xsi:null="1"/><_VersionCompatibility xsi:type="a6:AssemblyVersionCompatibility" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SameMachine<_Flags xsi:type="a4:AssemblyNameFlags" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection">None<_HashForControl xsi:null="1"/>id="ref-36" xsi:type="SOAP-ENC:base64">id="ref-38" xmlns:a5="http://schemas.microsoft.com/clr/ns/System"><_Major>0<_Minor>0<_Build>0<_Revision>0id="ref-40" xsi:type="SOAP-ENC:base64">sD9ffxHVCjo=id="ref-41" xmlns:a5="http://schemas.microsoft.com/clr/ns/System"><_Major>2<_Minor>0<_Build>0<_Revision>0id="ref-43" xsi:type="SOAP-ENC:base64">t3pcVhk04Ik=id="ref-44" xmlns:a5="http://schemas.microsoft.com/clr/ns/System"><_Major>2<_Minor>0<_Build>0<_Revision>0


Did you run the Configure Visual Studio option from the Web Connection menu in FoxPro? THat should set up all the editor associations. If you use a custom script map you'll have to manually add the association.

+++ Rick ---



dear Rick,
I uninstalled Visual Studio 2008 and installed Visual Studio 2010 (italian) with SP1.
I have run Configure Visual Studio menu item in Visual FoxPro.
However, when I open a Web Connection page (new or old) with HTML editor I see Web Connection controls disabled in toolbox and no visual object is rendered in the layout section. The code is ok in the source section. In the HTML editor I see only HTML controls enabled in toolbox.
I checked Visual Studio Configuration and Operation in your help, but it seems all right.
Maybe I do not have to open wc files with VS HTML editor? or I have to instal english version of VS, or reinstal WC?
Please any suggestion?
Thank you very much







Viewing all articles
Browse latest Browse all 10393

Trending Articles