QWERTYtech's Q&A profile
SQL Server I am using the reportingservice web service, everything runs fine but does'nt display report
Please am i doing something wrong, i debug the code no where it is giving me an error: I am using the reportservice.asmx web service to render the report, but it is not displaying the report at all. it just shows me on IE saying Done with out any error, please can you tell me am i doing something wrong, after a very hard time i reached upto this point, on my form i just have a button on its click event i wrote the following code. and i have no other control on the form. except this code. just referencing the webservice. thank you. Dim rs As New ReportingService Dim LogonCredentials As System.Net.NetworkCredential Dim Items As CatalogItem LogonCredentials = New System.Net.NetworkCredential("usernam ...Show All
Visual Basic HELP WE NEED HELP VB.net 2003
we are having problums with visual basic.net 2003 and files being deleted magically i meen that can you help us we do not what to redo what we allready i'm in school PLEASE RESPOND Joe...Files don't magically get deleted...there is something or someone that is deleting them...and without further info there is no way we can tell you how they are being deleted....check the recycling bin to see if you can recover them there...if not there arfe some 3rd party tools on the market that can do low level recovery of files ...Show All
Smart Device Development modal form will not close
I have a C#, .NET Compact Framework 2.0 SP1 application. I have encountered a recurring problem where modal Forms displayed using the .ShowDialog() method sometimes will not close when their Dispose() method is called. When this problem occurs, the modal Form remains on-screen as the top-most window but is completely unresponsive and cannot be closed. This problem is actually worse than an application crash because the only way out is to use the Settings > System > Memory > Running Programs control panel to ‘Stop’ the application. The modal Form in question does not have a CancelEventHandler for the ‘Closing’ event. Is this a known problem If so, I urgently need a fix or work-around for this problem. I don't kno ...Show All
.NET Development Can't connect to database from web service!
I have a web service that I am trying to get to connect to a SQL 2000 database. I have tried connecting with ODBCConnection and OleDbConnection and I am not able to open a connection with either one. The code I tried with both of these connection methods works fine in a .Net Windows Forms application. It seems to fail both times on the connection.Open() call for whatever reason. Anyone know what might cause this and a solution I can do Thanks, Michael http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=687929&SiteID=1 ...Show All
Visual Studio 2008 (Pre-release) wcf building blocks
As per my understanding, wcf consists of four laayers: 1. Contracts- data contract,message contract,service contract 2.Service runtime-Transactional behaviour,error behaviour etc 3.Messaging- ws security channel,http channel,tcp channel 4.Activation and hosting-exe,windows service,com+ If we break these up in implemntation strategy, these should fall under follwoing endpoint body parts as folows: a).Address- I don't know b) Binding-consists of point 2 and 3 c)Contract- consists of point 1 Can somebody please validate this and let me know where address fits in. Answer 1 typed service resembles those service operations and that works on both complex and simple types.Normall ...Show All
Visual C# convert integer 1D array to int 2D array.
How can I convert int 1D array to int 2D array Thanks, Tammy This should work, you pick the desired size of the 2D array, then it fits as much of the 1D array in as possible. public static int[,] Covert1DArrayTo2DArray(int[] src, int desiredWidth, int desiredHeight) { int[,] dest = new int[desiredWidth, desiredHeight]; int count = src.Length; if (desiredWidth * desiredHeight < count) { count = desiredWidth * desiredHeight; } int index=0; for (int y = 0; y < desiredHeight; y++) { for (int x = 0; x < desiredWidth; x++) { dest[x, y] = src[index++]; if (index == count) { return dest; } } } return dest; } ...Show All
SQL Server Merge Join
All, I need to use Merge Join transformation to join two sources. One is from a PIVOT transformation and one of the output columns is ISSORTED, the other is from an OLE DB Source using a query. The Merge Join transformation requires both input source have to be sorted. I cannot find the ISSORTED property on the OLE DB Source!! I tried to use Derived/ copy transformations but cannot find the property also. How can set the OLE query sorted in order to use the MergeJoin Thanks a lot Jessie, You have 2 options. 1) Sort the data in your query in the OLE DB Source using an ORDER BY clause. If you do this you will have to manually set IsSorted=TRUE - you do this in the Advanced Editor. ...Show All
SQL Server Image not displayed while doing Subscriptions
Hi, I have scheduled subscriptions for a report which has an image in it. The report is subscribed to be saved in a Report Server File Share in HTML format. When i open the saved report i see a placeholder x instead of the image. When i change the subscription format to ADOBE pdf it works fine. Has anyone faced this problem Any help on this is appreciated. Thanks Sam Out-of-the-box file share delivery extension does not support saving all files for HTML (including images) into targeted share. You need to use MHTML format that allows embedding images (as MIME structures) within the report HTML. ...Show All
.NET Development There was an error while trying to serialize parameter
I tried to write a simple WCF example: With datacontract: <DataContract(Namespace:= "http://MyPhoneBook" )> _ Public Class LE <DataMember()> _ Public m_name As String Public Sub New ( ByVal name As String ) m_name = name End Sub End Class and servicecontract <ServiceContract(Namespace:= "http://MyPhoneBook" )> _ Public Interface IPhoneBook <OperationContract()> _ Function getLE() End Interface The implementation of the server returns a simple Test-LE: Public Function getLE() As Object Implements PhoneBookContract.IPhoneBook.getLE Return New LE( "Test" ) End Function I generated the client proxy with svcutil. So, when I start server ...Show All
Commerce Server Commerce Server Web site as a Visual Studio file system Web site
Hi, I was reading the MSDN documentation on creation of a Commerce Server Web site and it states that a Commerce Server site must be created as an IIS web site and not a file system site in VS 2005. Link to the same : http://msdn2.microsoft.com/en-us/library/aa545520.aspx Can someone explain why a Commerce Server Web site cannot be created as a Visual Studio file system Web site Regards. Husain Jagmag Hi Colin, As i understand, the ASP.NET Web Development Server is also basically a scaled down kind of web server. I was trying to find out as to why a web site project using the FILE system is not supported by Commerce Server and why does it insist on creating a web site project using HTTP protocol itself. I gue ...Show All
Windows Forms Readonly databinding with a business object
I tried to bind a property of a business object to a TextBox control. I used a BindingSource component to accomplish this task. So far so good :-) The property of the business object is a read only property. I thought that data binding recognize this and set the TextBox control to read only. I was wrong. But it's even worse. If I change the text in the TextBox control I can't leave the focus from the TextBox anymore. The focus is trapped in the TextBox control and the user doesn't get any error message. Is it possible that data binding recognize the read only property and set the bound control to read only Can I prevent the TextBox to trap the focus I think the usability for trapping the focus in a control if the validation ...Show All
Windows Forms How to get a CR in a TextBox to cause a subsequent action in the Form?
Greetings. I am a first time poster here, hope I've hit the right forum. I'm building a small form based application (in C#, though that's not germane to the question). The user continually enters words in a text box, and I want each CR to process the word, and the user just keeps pounding out the next word. I set up a KeyUp event handler, and whenever I get a Keys.Return KeyCode, I process the word. But I keep hearing a little Windows "bump" sound when this happens. I set KeyEventArgs.Handled and SuppressKeyPress to true, but either I've misread the documentation on this, or it doesn't work, at least to solve my problem. Any suggestions would be appreciated. Would rather not have users become as annoyed as I am by this ...Show All
Visual FoxPro We can not post images on this forum?
A picture is worth a thousand words It would be much easier to explain for error messages, form examples, report problems if displayed in an image. Member can even share their codes by compressing a small project and upload to the forum. I guess the major concern is the virus attack. But it is a good feature anyway. Believe MS has the strong wall against virus. ...Show All
SQL Server Microsoft.SqlServer.Dts.Runtime & ASP.NET Identity Problem
Greetings, I have an ASP.NET web form that calls out to a component which includes the following code which leverages the Application and Package classes in the Microsoft.SqlServer.Dts.Runtime namespace: Application application = new Application (); Package package = application.LoadFromDtsServer( @"File System\MyPackages\MyPackage" , "MyMachine" , null ); string id = package.ID; Microsoft.SqlServer.Dts.Runtime. DTSExecResult result = package.Execute(); I am logged in to the app as Domain\Me. I have Windows Integrated Authentication configured in IIS and am using Windows Authentication in ASP.NET. I am using impersonation to impersonate a fixed identity, say Domain\Bob . This has t ...Show All
Visual Studio 2008 (Pre-release) Binding Expression path error
i have an application that uses quite alot of binding, and it is working fine however when i fire certain events (by clicking buttons etc) i keep getting this error: BindingExpression path error: 'pointY' property not found on 'object' ''null''. BindingExpression:Path='pointY'; DataItem=''null''; target element is 'TextBox (Name='')'; target property is 'Text' (type 'String'); this is confusing because the bindings are still working and still present ! ! am i doing something wrong or any help is appreciated :-) thanks PS if you need to see any code just let me know <ListBox x:Name="lineList" MaxHeight="190" IsSynchronizedWithCurrentItem="True" ItemsSource="{Binding}"> ...Show All
