Answer Questions
Stéphane Beauchemin System.ServiceModel not in GAC?
I had difficulties installing the WinFx SDK RC1 so I tried to install the various MSI one by one. Looks like it went all right but I hit a problem with an entry in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\web.config mentioning <add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> There does not seem to be any "System.ServiceModel" in the GAC... Would you know which MSI in the SDK ( ) installs this Thanks Eric I see that message too when opening App.config and looks like the XSD in C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas\Do ...Show All
Matthew Langley Receiving Sendtimeout after 10 requests to a service
We have a service which isrunning in IIS on the Feb CTP. This service calls another service. In IIS we a running in memory problems, when calling out of a service another service. So we make the decision to upgrade to the new version (June CTP) of WinFx. Now we have a new problem. After 10 request we are geting the following error: The request channel timed out while waiting for a reply after 00:03:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'http://localhost/HelloWorld/HelloWorld.svc' has exceeded the allotted timeout of 00:03:00. The tim ...Show All
Marek Istvanek Custom binding Problem
Hi I am currently using the following custom binding settings. it uses server username and password to authenticate the client. Is it possible to plug in my own username password validator < customBinding > < binding name = " UserNameBinding " > < security authenticationMode = " UserNameForCertificate " keyEntropyMode = " ServerEntropy " > </ security > < httpTransport /> </ binding > </ customBinding > Regards Raguvind Hi Pedro Felix Thanks for that. it worked once i changed the behaviour. Regards Ragu Hello: See http://msdn2.microsoft.com/en-us/library/aa702565.aspx Ho ...Show All
learnerplates AddOLEObject causes the Embedded File to open....
Hi All, Hi Amrish As you've been informed a number of times, automation questions should be directed to the office.developer.automation newsgroup . Please ask your questions there. ...Show All
Ryan Stemen Restricting my editor/designer to certain Xml files.
Hi, On the one hand I would like to create a custom designer for specific Xml files, not all the Xml files. For exemple I need to check the name or the xsd of the file. Maybe I can open all the Xml files with my EditorFactory and create the default editor for the files I do not want to open in my custom editor. However I do not know how to return the default Xml editor. On the other hand I would need to have the same behavior as the xsd file editor, i.e. the user can hit F7/ Shift+F7 to switch between the default editor and the custom editor. I wonder to tell VS that my View/Editor is a design view and that it should not replace the default view. Are you using the Managed Package Framework If so, crea ...Show All
Shobha69358 Cannot create VSTO Word 2003 document or template - error library not registered
Hi everyone, When I try to create a new VSTO project selecting either Word document or Word template from the Visual Studio installed templates choices, I am unable either to create a new document or to copy an existing document. In both cases I get this error message: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)) I'd be grateful for any advice on how to resolve this. Thanks, Louise Hi there, Yes, I re-installed VSTO and it's now working, which is great. Thanks, Louise Hi Louise Yes, the order of installation could be a problem. Especially if the .NET Framework 2.0 wasn't installed on the machine before Office was installed. Then the PIAs wouldn't ha ...Show All
hrhoe SandCastle (or SHFB?) problem with compiler generated code
While trying to document a project that makes heavy use of iterators and anonymous methods I stumbled over some problem with Sandcastle and/or SHFB. Seems like the CSharp compiler uses method and class names like ' <>__SomeString ' for the auto generated code. The < and > tags usually throw an error during the build on either auto documenting the constructors, adding <missing> tags, or finally in the ReflectionToManifest transformation. I understand, that the api name '<>....' does neither make a valid topic name or constitute valid markup, so I see two possibilities to solve the problem: Just have MRefBuilder (possibly by config) strip all methods & classes carrying a CompilerGenerated a ...Show All
Ryan Schwartz Custom fields
Hi, First of all, great work! Our application has the notion of custom fields which are stored directly in the owner table with alter table statements by a nice ui. As far as I know from the documentation, that scenario is not really possible in the present release. What would be needed I think is a new element as children of EntityType like this < EntityType Name = " Client " Key = " ClientId " > < Property Name = " ClientId " Type = " Int32 " Nullable = " false " /> < Property Name = " Name " Type = " String " Nullable = " false " MaxLength = " 50 " /> < Property Name = " Age &quo ...Show All
OnuferT ADO.NET vNext : System.Data.DataRowView defined in two assembly
If I try using a System.Data.DataRowView object in my code I get this error: Error 15 The type 'System.Data.DataRowView' exists in both 'c:\Program Files\Microsoft SDKs\ADO.NET vNext CTP\Reference\System.Data.CTP.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll' [...] I'm using the new ADO.NET vNext and the LINQ preview Thanks forn any idea or help Lorenzo Soncini Trento - Italy Hi Lorenzo, The ADO.NET vNext CTP includes System.Data.CTP.dll, which replaces System.Data.dll for this CTP (this will go back to normal in the near future). So your Visual Studio projects for ADO.NET vNext should have a reference to System.Data.CTP.dll and not to System.Data.dll. Visual Studio sometimes automatically r ...Show All
imillicit IIS multiple endpoint problem
Hi Im having a problem getting two endpoints with differing bindings working on IIS. The issue is described well in this earlier post, However my service is not behaving as the solution in that post indicates. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=338311&SiteID=1 I have a simple service with two endpoints with different bindings, specified as follows in web.config: I just tried it with the latest version of WCF, and I didn't have any problems (see full code below). Were you using the final version of WCF Service interface/class: using System; using System.ServiceModel; namespace WCFTest { [ServiceContract] public interface ITest { [OperationContract] string Echo(string text); } public class Ser ...Show All
RPagels MailMerge.CreateDataSource
Is there anyway to get a Dataset or a DataTable as the source The header in any case would be > 255 characters. Is there another way to have <<variable>> fields populated without using MailMerge TIA Yes actually we can make word fool to overcome that problem. what we can do is if headerlength is greater then 255. then we will make it smaller so we will change all headers to "a0,a1,a2", so in this case we have 128 Merge Feilds as legth is only 2 per field. second thing we can do all things and then without saving the doc(dont save "a0,a1,...." like merge fields) close it. so we will delete all merge fields and temporary keep them into array (I mean array of Range). and generate new M ...Show All
Burgz How do I use a dataview to sequence a report with a dataset source
Currently I set the DataSource as follows and everything works great. Dim ReportDataSource1 As ReportDataSource = New ReportDataSource Dim DataTable1BindingSource As System.Windows.Forms.BindingSource = New System.Windows.Forms.BindingSource() DataTable1BindingSource.DataMember = "Header" DataTable1BindingSource.DataSource = dataset ReportDataSource1.Name = "LastOrderDS_Header" ReportDataSource1.Value = DataTable1BindingSource ReportViewer1.LocalReport.DataSources.Clear() ReportViewer1.LocalReport.DataSources.Add(ReportDataSource1) Me .ReportViewer1.RefreshReport() How would I code the above to use the defalutView of the LastOrdersDS_Header table thanks ...Show All
Dabi dll reference doesn't work on another machine
Hello, I hope someone will have an answer to this question... I have two projects: An addin project and a console project. Both are sending/receiving a struct using the following from the addin project: MyObj.GetType().InvokeMember(sMethodName, System.Reflection.BindingFlags.InvokeMethod, null, MyObj, oParam); // where MyObj is the console project. All of that works on my development machine just fine!! But when I try to send that to any another machine that does NOT have Visual studio installed, the program breaks at the line above saying: "an error occurred here: Exception has been thrown by the target of an invocation. and exception System.Runtime.Interopservices.COMException (0x8002801D): Library not registered... (TYPE_E ...Show All
carehart library.xml not created when called from MSBuild
Hi; If we build out J# based DLL using VS 2005 or nant - it created WindwardReports.dll and WindwardReports.xml. If we build it using MSBuild, no WindwardReports.xml. We have a C# library also and it does have the .xml file built. Any ideas thanks - dave Hi, We are realy sorry for the inconvenience caused. We will surely keep your suggestion in mind. Thanks. Support, You can drop this issue as it is a known bug. --TeleRiddler Hi, In C#, C# compiler generates the xml file and binaries both but J# implementation is different. In J# xml files are not generated by compiler but by the IDE Language services. When you build from IDE, IDE invokes the j# compiler (which only bu ...Show All
Flintman XAML auto-completion lack
I've VS2005 with the latest "orcas" upates. Why VS xml editor doesn't help me with hints on code tags and attributes like it does while i edit configuration files I'm already opening it with xml editor and if i digit < i receive only: <!-- <![CDATA[]]> < This looks strange to me. :-\ Thanks for the feedback. The XAML intellisense in the current CTPs is an interim solution based on an XML schema. It will improve in future CTPs mark ...Show All
