Dan Thomas's Q&A profile
Visual Studio Express Editions Server Error in '/' Application Failed to map the path
Need some help on this error. Everything was working fine for me. I had one site up and running with the Visual Web Developer 2005 Beta 2 and Microsoft Framework 2.0. I created a second website and put it in its own directory, configured IIS to use Ms Framework 2.0. Everything should work being the same just different directories. Unfortunately, now both websites are down. I have posted the error below. I have attempted creating the folder that ...Show All
Visual Studio Tools for Office Failed to update customization from the specified deployment manifest.
I created an WordML file with the following assembly code: < o:_AssemblyName dt:dt= "string" > * < /o:_AssemblyName > < o:_AssemblyLocation dt:dt= "string" > C:\tmp\WordTemplate1\WordTemplate1.dll.manifest < /o:_AssemblyLocation > When opening the wmlfile in Word I get the error: "Failed to update customization from the specified deployment manifest." Does anyone have an i ...Show All
SQL Server Same header in different reports
Hi! I would like to use the same header in different reports. Is there anyway I can do this without copy/past all the textbox/images Can I save the header in a file and import it, for example Thank you! You can try using a subreport to do that. The subreport would contain the header. And add the subreport to the location in the reports you want to place the header. ...Show All
SQL Server Unhandled Exception in Management Studio
At work we run a large SQL Server 2000 database that is usually administered using Enterprise Manager. I recently started playing around with SQL Server 2005 Management Studio and have been encountering an interesting problem. Whenever I browse tables/views in the Summary window, and then select a table/view (by hitting enter or double clicking) Management Studio encounteres an unhandled exception (below). Oddly, this behaviour only occurs when ...Show All
Visual C# Help - how to create a minifest file for DLL assembly
Hello, Does anyone have the experience of creating a minifest file for dll managed assembly All the information that I could find are for executables, for example, app.exe.manifest. But I need to create one for dll so that my dll can load the correct version of dependent assemblies. Thanks in advance You can try doing manifest injection like David mentioned. Here's a tutorial on how to do it. http://www.codeproject.com/dotnet/ManifestInjec ...Show All
Visual Studio Inherited classes and their compartment shapes
Hi! I am quite new to dsl tools, so forgive my basic-level question. :) In my meta model I have base class A and few classes B and C inherited from it. Again class A has reference to the class D. Class A can be expressed with the compartment shape in diagram, containing many D -instances in it. That's ok.. Now I want to promote A to be abstract class, so there is no more shapes for that in the actual diagram. Instead I want to have compartment ...Show All
Visual Studio How to get a programmatic reference on the DSL in-memory model from the corresponding VS ProjectItem?
Hi, I am writing a custom tool (supporting IVsSingleFileGenerator & IObjectWithSite) for a DSL file (say a .myext file). I don't want to use the T4 thing for various reasons. I have the current VS.NET ProjectItem class ready, but how can I get to the current model from there Thanks. BTW: I have found a way to automatically associate my custom tool with all my DSL .myext file using the IVsEditorFactoryNotify interface (this is cool!) H ...Show All
.NET Development Populate DataSet from CSV
Hi there! I'm trying to populate a DataSet from a CSV-File. The CSV-File looks like: "Name";"Given name";"Department";"E-Mail";"Telephone" "Test";"Test";"Dep 1";" Test@Test.com";"+49 555 555 555" And my Code looks like this: string strConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + System.IO.Path.GetDirectoryName(strFileName) +";" + "Extended Properties=\"Te ...Show All
.NET Development Web Service Logging
Hello! I have an application that uses the web service interface that is automatically created by Visual Studio 2003. However, because of some network problems, I need to log the transaction to the server and back, to find out where the problems are resulting. I’ve tried working with the SoapExtension class, but I couldn’t find a way to implement it into the web service class. I currently have installed WSE 1.0, but don’t know if thi ...Show All
Visual Studio Team System Namespace name
How do I get the whole name of the namespace for the class I'm checking How do I know if the method is void To get the namespace, use: string namespace = member.DeclaringNamespace.FullName; To determine if a method returns void, use: if (method.ReturnType == SystemTypes.Void) { } Regards David ...Show All
SQL Server SQL Server 2005 and 2000
When SQL Server 2005 finally ships, will one be able to install it on a machine with SQL Server 2000 already installed Where can I find instructions to install SQL Server 2005 Developer on same box as SQL Server 2000 Developer Do you want to select the SQL Server Database Services 8.00.761 for upgrade during the SQL Server 2005 installation I want to make sure I don't mess it up. Thanks. ...Show All
Windows Forms Unable to cast object of type 'X' to type 'X'
The actual projects structure is: + MyServerFramework |---QueryComponent.cs ... + MyServerFramework.Design |---QueryComponentDesigner.cs ... The MyServerFramework.Design project has a reference to MyServerFramework, and is compiled alone in its own solution which also contains MyServerFramework, and then placed in a folder that is referenced the SOFTWARE\Microsoft\.NETFramework\AssemblyFolders key so the IDE c ...Show All
Visual Basic sending a char
hello how can i send in visual basic a char i want to design a form with multiple textboxes and want the users to enter their text with some buttons. now i don't know how i can add the chars to the active textbox. greetings chris In the button click event set the textbox .text property Example in the Button1 click event Textbox1.text = "foo" will set the contents of a textbox of ...Show All
Visual Basic Thread Usage
I am working on an application that uses the Comm port. I have to send information to a device then it willl send it back. I would like to know if the way I want to use threading is correct or not. In other words is it correct to create a thread on each event or is there another way. The following is an example: Sub OnComm 'Called when 'Data received from comm buffer Dim t as new thread(Addressof ProcessData) Dim r as new thread(Addressof SendDa ...Show All
.NET Development Transactions across WebServices
What's the best way to handle the transactions across web services in .net How to perform a 2 -way commit Example: Client a makes a request to company ABC Server to add user. AddUser() operation is executed on Company ABC Webserver. Then a call is made to the web service to execute AddUser() operation on Company XYZ Server. ( data is synchronized on another database ) If either operation fails on eith company ABC or company XYZ ...Show All
