XCT Adolfo's Q&A profile
SQL Server How to deploy a Package?
Hallo I created my first Package and i am not able to deploy it in my SQL server. I created a Development Utility and in the OutputPath i got a *.dtsx and a *.SSISDevelopmentManifest file. When i run the packaage (*.dtsx) it works but when i try to install the package with *.SSISDevelopmentManifest it just genereates a folder in the selected Folder (...\Microsoft SQL Server\90\DTS\Packages\) and no more. What am i missing All the "Deployment" does is copy the *.dtsx files to the file system or MSDB on the target SQL server. You apparently selected "file system". It did exactly what it was suppose do. Now you need to connect to the "Integration Services" on the server ...Show All
Windows Forms n-tier design
Hi, I am trying to build an n-tier architecture for my project. At present this is what I have: There is one Solutioin which contains the following: 1) The client (WinForms) project has a reference to the BusinessLayer project. 2) BusinessLayer project has a reference to the WebService 3) WebService has a reference to the DataLayer project. 4) DataLayer project calls the sql server. Would you say if I call the webservice direct from the client (WinForms) then this is a good idea or do you think the above 4 steps construct a good design Thanks ...Show All
Visual Studio OpenType fonts
Is it possible to use OpenType fonts in SQL Reports I have an OpenType font loaded on my PC (Myriad Pro Light) but it is not available in the designer. Unfortunately it is my client's corporate font and they REALLY want to use it. Some OpenType fonts are supported by the .NET Framework. See this discussion: http://groups.google.com/group/microsoft.public.dotnet.general/browse_frm/thread/e7c74235bed5b2ed/38dfcc313cf03c76 lnk=st&q=%22Usage+of+Open+Type+Fonts+with+.Net+%22&rnum=1#38dfcc313cf03c76 ...Show All
Visual Studio MSCTF.dll exception
Hello, Im trying to debug this application which works but gives some exceptions in the complete beginning. Why would a program try to call MSCTF.dll (which has something to do with office..) 'video1.exe': Loaded 'C:\WINDOWS\system32\MSCTF.dll', No symbols loaded. First-chance exception at 0x7c918fea in video1.exe: 0xC0000005: Access violation writing location 0x00000010. 'video1.exe': Unloaded 'C:\WINDOWS\system32\MSCTF.dll' 'video1.exe': Loaded 'C:\WINDOWS\system32\MSCTF.dll', No symbols loaded. First-chance exception at 0x7c918fea in video1.exe: 0xC0000005: Access violation writing location 0x00000010. 'video1.exe': Unloaded 'C:\WINDOWS\system32\MSCTF.dll' I turned off automatic updates and did what you said and it worked great... ...Show All
Visual Studio Team System check-in policy that checks source code
Is anyone aware of a product that would check the source code to ensure it complied with certain development standards that can't be checked through static code analysis This would certainly be nice, we actually would like to enforce that xml comments were applied to all public methods prior to checkin. ...Show All
Windows Forms UserControl as Container
Hi all, Just a quick question and I am sure there is a simple solution but I just haven't found it yet. I know how to make my UserControl a container by using ParentControlDesigner etc. This works fine and I can drag and drop Windows Forms Controls at design time. However, if I add a Panel to my UserControl Class, compile it and then try to drag and drop another control on the Panel, the Panel does not act as a container. So my question is: If I have a UserControl which consist of a single Panel, which is a pretty lame control I know, how can you get the Panel to act as a container at design time Any help in this would be greatly appreciated. Kind Regards AM PS. The UserControl that I have written does not consist of a ...Show All
Visual Studio 2008 (Pre-release) Issue with WCF method in client app
have a Web Project called secure that I would like to use a WCF service on the server. In the Solution, I have another project, WebFuncs, that is some common code, and includes the Service Reference to my WCF Service. Because secure imports WebFuncs I was able to use this code: Private proxy As New OrderCompletion.OrderCompletionProxy ... Private Sub btnSend_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSend.Click ... OrderNum = proxy.CreateOrder(Me.CartID, Me.tbComments.Text) ... End Sub However, in use I get this error: System.MissingMethodException: Method not found: '!0 System.ServiceModel.ClientBase`1.get_InnerProxy()'. at secure.OrderReview.btnSend_Click(Object sender, ...Show All
.NET Development Searching Database for results
Hi everyone i needed a little help with my coding what i wanted to do is allow my users to search a table in the database for links that are stored there for a user searches for a ringtone by a artist and the search returns any results with that value to the sure to be able to download the ringtone. I am using ODBC as well all help is appreciated and this will bring up the search results in the datagrid also how do i make the odbc to connect and load info into the dataset this is what i have now using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespac ...Show All
Visual Studio 2008 (Pre-release) Enterprise UDDI Services and a SQL 2k Cluster?
Hello All, I have a couple of UDDI Services questions here. In the document "Enterprise UDDI Services: An introduction Evaluating, Planning, Deploying, and Operating UDDI Services" there is mention of using multiple Web servers to connect to a single database instance. What is not mentioned is whether the reverse is supported. Can I have a single UDDI instance connect to a SQL 2000 Cluster Specifically, how does the UDDI service behave in the event of one node failing over to another If I have a box die and I need to put up another box in its place and I have backups of the DB, can I simply install UDDI on the new box, restore my DB's, and redirect the App tier to the new box What's the best practice ...Show All
.NET Development File.Delete takes too much time.....sometimes control never comes back
Hi...... I am using System.IO.File.delete method in my project. I takes too much time and sometime control never comes back. my file size is 170 mb. When I debug it, I found that once file.delete g ets called, it will never come out of the call and next instruction is not executed. Please help me....what can I do.. code is simple... if (File.Exists(filepath)) { File.Delete(filepath); } Hi, Are you sure the file is not in use anymore You might want to perform the deletion in a separate thread. Are you using a Windows Application then you can use the BackgroundWorker component. This gives the benefit that you can continue working with the application while the file is being deleted. Here is ...Show All
Visual Studio Express Editions cl.exe really missing from install dir
Some months ago I installed VC Express 2005 + SQL Server and MSDN, then after a while I uninstalled them from Control Panel -> Add Remove Programs to get some space on the disk. But some of them refused to uninstall, so I removed the rests by hand (not a good idea I understand, but too late). So far so good, yesterday I tried to re-install VC Express again. First, the setup program does not follow the usual sequence, but proposed me to add new components, uninstall it or repair. I tried uninstall but it failed with a messsage saying that it cannot determine the order of installs. OK, second try: repair. It downloaded some files on the internet, did its job and exited. I start the VC Express from the Start->Programs and it seems to wo ...Show All
Visual Studio Tools for Office Obtaining Host Items from Com Addin
As I understand from the following post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=166238&SiteID=1 It is not possible to get host items such as workooks/worksheet from a COM Addin, only the underlying Office Model items from the PIA, as its not possible to get the runtimeCallback. I would really like to be able to, so that I can get a worksheet and insert a user control in the control collection. I would like to be able to do this for any workbook/worksheet and hence there would not be any code behind. Hence the reason for tyring out the Add-in option, but I dont want to display these controls in forms (either modal or not). If this is indeed possible, then any pointers would be gratefully recieved. Im also wo ...Show All
.NET Development XSLT compile error when using XslCompiledTransform.Load indirectly called from unmanaged code.
I have a component I wrote in C#. Among other things it performs a XSLT transform on XML data it collects. When I test this feature using another C# project that uses the component it works just fine. However when I export the component as a COM component and try to use this feature from a unmanaged application it fails on the XslCompiledTransform.Load command with an XSLT compile error. If I take out the template tags then it loads just fine, of course it will not actually do anything then either. Thanks for any help you can provide, Rich Inner exception: {"Overflow or underflow in the arithmetic operation."} Stack Trace: at System.Xml.Xsl.Xslt.QilGenerator.Compile(Compiler ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Sun to affect a terrain? How?
Hi. I have an FX code that I wanted to show you (if it helps) to process the light to the terrain. Here is the code: float4x4 WorldViewProjection : WORLDVIEWPROJECTION; texture UserTexture; float4x4 xRot; float4 xLightPos; float4 eye; float4 ambientMaterial; float4 diffuseMaterial; float alpha; float xLightPower; struct VS_OUTPUT { float4 position : POSITION; float2 textureCoordinate : TEXCOORD0; float3 normal : TEXCOORD7; }; sampler textureSampler = sampler_state { Texture = < UserTexture >; magfilter = LINEAR ; mipfilter = LINEAR ; }; struct Pi ...Show All
Visual C# Windows Vista Bug?
Hi to all, i have a problem with Process under windows Vista. My product working fine under windows 2000 & XP. Is this a Windows Vista Bug Process.Start always return null. This is code: ProcessStartInfo Processo = new ProcessStartInfo(nomefile); Processo.WindowStyle = ProcessWindowStyle.Maximized; Processo.UseShellExecute = true; try { X = Process.Start(Processo); X.WaitForExit(); File.Delete(nomefile); } catch (Exception ex) { MessageBox.Show(ex.Message, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error); } in the exampe --> nomefile = @"c:\test.tif"; Tnx Luca Have no idea why you have different behaviour but i can propose to change the source l ...Show All
