The ZMan's Q&A profile
SQL Server Sql Server Management Studio Error
I'm trying to do a basic upgrade of a 2000 database to a 2005 database leveraging the copy database wizard in the Sql Server Management Studio tool. When the wizard executes the package it is failing on the last step. It then prompts to look at the eventlog for details. The below message is what I am receiving. There is no other details available in the event logs. How can I get more meaningful messages so I can understand what went wrong SQL Server Scheduled Job 'DAFTransfer' (0xDCE8F43E24C36E479E7A282DAF8658E1) - Status: Failed - Invoked on: 2005-11-22 17:33:15 - Message: The job failed ...Show All
SQL Server Automated export of report?
Hello. Is it possible to have a report automatically export the results to one of the available formats (HTML, Excel, Web Archive, etc) when the report is generated ...rather than having to select the format and click Export Thanks, Jake The out of the box endpoints (Reports & ReportServer) will display HTML first. If you want some other behavior you will have to write your own application which uses either the HTTP endpoint or SOAP access to render the report into your desired format. ...Show All
Windows Forms how to open a pdf file from a windows form
hi, on a button click event i want that a pdf file which is stored on my hard disk will open. how can i do it (i use c#) System.Diagnostics.Process p = new System.Diagnostics.Process(); p.StartInfo.FileName = @"c:\filename.pdf"; p.Start(); ...Show All
Visual C++ C++ compiler /analyze switch question
Moving question back here. This specific to the C++ compiler. On this test, I expected it to report a use of an uninitialized variable. Is this correct expectation of the /analyze switch I'm using VS 2005 B2. void foo( int & x ) { printf( "%d" , x ); } int main() { int uninitialized; foo( uninitialized ); return 0; } Hi Brian, This is not a bug. Code analysis is done per function, so in main there is no info how x will be used in foo. Assumptions are done in favor of noise reduction, so assumption here is that foo will ini ...Show All
Visual C# compile fast, build _sloooow_
when i compile one of the projects in my solution, the 'compile' time is very short: the 'compile complete' message appears almost emmediately. (this is with the public beta of vs2005) however, afterwards, the ide will begin to do things on the hard drive for up to 2 minutes (each time !). after that, the 'build succeeded' message appears. what is it doing in this time what can i do against that this makes it almost impossible to work with the ide. WM_QUERY thomas woelfer http://www.die.de/blog Wow, thank you! that changed things a lot. the ide just went from 'barely useable' to 'fast'. WM ...Show All
Software Development for Windows Vista TransactionService sample problem
Hi, I am getting the following error when running TransactionalService sample: "Connection currently has transaction enlisted. Finish current transaction and retry." The error occurs in the following function internal void CreditAmountInAccount(System.Transactions. Transaction transaction, Int32 amount) { SqlCommand command = new SqlCommand (); command.CommandType = CommandType .StoredProcedure; command.CommandText = "dbo.CreditAmount" ; command.Connection = new SqlConnection (connectionStringValue); command.Connection.Open(); command.Connection.EnlistTransaction(transaction); // *** ERROR HER ...Show All
.NET Development object reference
If in form1 I use User user = new User(); to create my user object. When I go to form2 how do I reference the same user object Thanks Mike I have a similar problem but with using a customRoleProvider My IsUserInRole method is set to public overrides isUserInrole so when i change Public Overridable function IsUserIRole(username as string, Rolename as string) to Shared Overridable function ... VS yells at me and says that I can;t share an overridable function any ideas where i'm actiually getting the error is here Protected Sub Page_Load( ByVal sender As Object , ...Show All
Visual Studio Express Editions How to I create a login form with visual basic express editions and mysql
Hi everyone, I need some help here, I'm new with visual basic express. How to I create a login form with visual basic express editions and mysql. Anyone can help me For example : After I submit my Login ID and Password at "Form1". How to I connect it to mysql and pass the posted value into the mysql query to checked whether is a valid member or not. If is a valid member how to I create a SESSION to store the member details like "username" and "user ID" Then these values I able to use in Form2 or another. Someone can help me please ... !!! THANKS A LOT 1 - www.vb mysql .com/ is dedicated to connecting VB to MySQL ...Show All
Visual Studio 2008 (Pre-release) Speed of XAML
Is it possible for you guys to give us a realistic timeline on when XAML wil be ready to be a actual viable option to develop applications for E.g when will the whole framework standardize and when will we be able to develop apps that won't run at snail speed Thank you very much, Jaco There are many applications in development today, and some are even available for evaluation. The February CTP is the build you should use. There are companies that have been developing WPF applications since PDC 2003, and they are fairly well into their development at this point. Is there some specific iss ...Show All
Visual C++ Isolated Application? What is it?
Hi, plz allow me to ask all of you a very simple question. What is an isolated application Who isolates our apps from who Some docs start with the following sentence; An application is considered an isolated application if all of its components are side-by-side assemblies. Do you understand this Me No, I do not. I suspect that these days Microsoft is encouraging us to write manifest-based apps. If I am right, you may call every application isolated applications. Help me understand the concept of an isolated app. So far I have read more than 10 docs about deployment. Very sadly, I am getting to conclude t ...Show All
Visual Studio Express Editions C1083: Cannot open include file: 'afx.h': No such file or directory
I downloaded a working project from the internet and tried building it. I received the following error: Compiling... StdAfx.cpp c:\projects\win_services\icon_service\stdafx.h(15) : fatal error C1083: Cannot open include file: 'afx.h': No such file or directory I searched for this file with no hits. Do I have to download the Platform SDK as well, to get this project to build Would appreciated any help that anyone can provide thanks in advance Sixpack wow, thanx you figured out my problem! :) , They should really talk more about this problem, or set up express C++ to tell you that you need the ...Show All
Visual C# Talk to me VS 2005: Why do you go from 25 MB to 300 MB in less than 60 minutes ?
MSFT VS 2005 IDE coders VS 2005 IDE takes a lot of memory..wonder what it is doing Is there anything I can do to help it consume less memory. It sucks I don't know if you guys will be proud of 35 MB to 3000 MB in less than 60 mins.. Memory leak uh Vague question, is there anything that you guys need that I can send to help you solve this problem Thanks Siva, Could you please provide us with some more details on the type of project you’re working on Is it a C++ project, web project, C#, or VB Was it a brand new one you created in Visual Studio 2005, or one upgraded form Visual Studio 2003 What versio ...Show All
Smart Device Development SerialPort Component IOException issue
I have a Ipaq Pocket PC. It connects to a bluetooth GPS Receiver (COM6). Whenever I try to open this COM Port using the SerialPort component I get an IOException. I have even tried listing all COM ports on the PPC, and opening each one inturn. Some work and some throw an IOException. Does anyone have a suggestion I think you will find that even though an IOExeption is raised, the serialPort is still open. put a try catch block around the open method, and do nothing. after opening the port, try reading/writing to it. Cheers ...Show All
Windows Forms Finding what Domain a user is a member of.
All, Is it possible to programatically find out what Domain a user is a member of -Mabuti Both classes seem to hold this information so take your pick. ...Show All
SQL Server RDA Pull Error table
My dev environment: VS2005, SQLServer Mobile, SQLServer 2005 server db, PPC windows app. Having a problem with pull. First pull works fine. I request an error table from the pull. When I need to repull, I drop the table, but if I try to programmatically delete the error table, I get the message that the table has restricted DDL operations allowed. Apparently Drop is not allowed. Sometimes dropping the main table deletes the error table, sometimes it doesn't. If I try to repull and the error table is there, the pull fails. I've tried "flushing" my cache by closing my connection and reopening, but that doesn't work. Any id ...Show All
