NetWave's Q&A profile
Visual Basic issue with .papersize.rawkind is it a bug?
Hi, Can anyone help with this please I am trying to set the paper size for the print page method in code, however, It fails to change I have tried many properties and ways of setting it but it fails Basically I have a app that saves the page size to a xml file as an interger value that represents the paper size. Eg 8 = A3. I cannot seem to change the default value of the PoPrintPage_Printpage method from the value of 9 (A4 ...Show All
Visual Studio Internet Connection in VS 2005
Hi, I just installed VS 2005 on my machine, but my online help cannot be accessed. I keep getting the message: "The request failed with Http Status 407. Proxy authentication required". IE on my machine does have proxy authentication. Is there a fix for this Thanks, Arshad Hmmm... not really. We're using HTTP POSTs to make our web service calls. Are you able to do HTTP POSTs (not ...Show All
Visual Studio Team System query conflicts is not updated
Hello, I'm using the API in order to know if there are conflicts before doing a checkin. my problem is that sometimes when I use the QueryConflicts mehod of the Worksapce obejct it returns wrong result: It returns that there is no conflict when in fact there is one. BUT when I catch an exception later and call this function again the data is updated and everything works well. any clue Can you provide a little more detail here It ...Show All
SQL Server Forms Authentication Problem - Redirect to uilogon.aspx
I've used the sample that comes with SQL 2005 and managed to get the http://localhost/reports to show the login screen. I have registered a user which I have also made an Admin in the config file. The problem is that when I try login as that user it just redirects me back to uilogon.aspx...no errors or anything. Have I missed something Please help ...Show All
.NET Development TextReader or Stream from XmlReader?
My main question: "How can I get a TextReader or Stream object from an existing XmlReader ". Read on for more: I have an existing XmlReader. Let's call it reader1. // customContext and customSettings may or may not make use reader1's properties XmlParserContext customContext = new XmlParserContex ...Show All
SQL Server What are the implications for changing the remote distributor SQL server service details
Hi, I am replicating a couple of SQL2K databases via transactional rep and remote 2K distributor to 1 SQL2K5 database. I want the distributor to email me when/if any of the agents fail etc. In order to set this up, I think that I need the SQL Server service to use a domain account (from error messages that I have been getting). It is currently using a local system account (it was a test box in a previous life). I have tried this briefly ...Show All
SQL Server Missing SQL Server Project template
I have VS2005 Beta 2 (build 8.0.50215.44) and the June CTP of SQL Server 2005 Developer Edition installed. Within VS2005, when I go to File -> New Project, I don't have the "Database" project type under either VB or C#. Which also means that the "SQL Server Project" template is not being offered. Is there a manual way of adding the template, or some other workaround/solution Nevermind. I have VS.N ...Show All
SQL Server Passing rc:Toolbar=False in URL causes report to render incorrectly
I have a report that just displays different status images based on some data. I use an expression to choose an embedded image in the image property of the image. This report needs to be displayed in Sharepoint. I have tried using the report viewer web part, a page viewer web part, and a content editor web part, but whenever I try to view the report without a toolbar, none of the images are displayed. I pinned this down to the rc:Toobar=False ...Show All
Visual Studio Tools for Office Excel BeforeRightClick TransparentProxy
When VSTO was in Beta 2 the Excel "BeforeRightClick" event handler would receive an instance of an Excel.Range type. Now, instead of the range it receives a Transparent Proxy that consequently causes my Application.Intersect() method invokation to fail ( "No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))" ). I'm not sure where the Transparent Proxy came from, it was not in the Beta 2 code, ...Show All
SQL Server Minimum Hardware Requirement Warning
Hi all, we have released a shrink-wrapped software package that uses SQL Server Express as it's backend. I am currently tracking down an issue to do with SQL Server Express not installing correctly, and at the end of a lot of investigation I have come to the conclusion that it is a CPU problem. The CPU is not "PII Compatible" enough for SQL Express. It appears as though the Cache prefetching instructions are the most likely culprit, ...Show All
Visual Studio Remote debugging VS 2005 / SQL 2005
Hi there! We are developing T-SQL Procs on SQL Server 2005 and want to debug the procs on the client. When i "step into stored procedure" i get the error message: Unable to start T-SQL debugging. Could not attach to SQL Server Process on <MyServer>. Some remarks: Remote Debugging on the server is running, i've tried as service, as application, native without authentifaication and so on. Does'nt effect anything. I've tried so ...Show All
SQL Server Package executing correctly in Visual Studio, but NOT through Execute Package Utility
I have created a very simply package which does the following: 1. truncates tableA, 2. Loads data from tableB into tableA 3. Creates a derived column in tableB and fills every row with variable TestVar which has a value of "something" When I execute the task within Visual Studio, it executes properly. The data in tableB is correct. However, when I double click the DTSX through Windows Explorer an ...Show All
SQL Server How To Avoid Table Scan
Hello All, Is their any way I can avoid a Table Scan by modifying the follow WHERE clause WHERE tbl_mis_Dashboard.loan_active_flg = 1 AND [tbl_mis_Dashboard].[loan_create_dt] between DATEADD(dd, DATEDIFF(dd,0,dateadd(mm,-13,getdate())), 0) And getdate() The field loan_create_dt is indexed on the table tbl_mis_Dashboard. The query returns approximately 256K records which is appropriate and necessary. Thanks all, Orlanzo ...Show All
Visual C++ Change in C++ Project Property Sheet Editing 2005??
When editing a property sheet for a project (e.g., adding compiler options), in previous versions of VC++ .Net, if the "All Configurations" selection was selected as the configuration to modify, the common settings between the different configurations were displayed. You could modify these common settings or add new common settings (e.g., add compiler options to the command line). In VC++ 2005, when "All Configurations" is selected, the co ...Show All
Visual C# using keywords
Hi everyone, I have some doubts about the usage necessity of using keywords. Instead of using this keyword, it is enough to only add the packages into our Assembly(DLL files), so inspite of this, why do some programmer do both of them(add the packages into Assembly and also use using keywords for these packages). Thanks, Mert Regardless of your having added a package to your assembly, you need either a using statement, or a complete namesp ...Show All
