FSales's Q&A profile
SQL Server Detailed error reporting. How to?
The best I can get out of my detail log is this which is no help. How do I find out what really happened. My windows app log is no help either Date 5/24/2006 9:51:41 PM Log Job History (DTS_xx) Step ID 1 Server xx Job Name DTS_xx Step Name DTS_xx Duration 00:00:01 Sql Severity 0 Sql Message ID 0 Operator Emailed Operator Net sent Operator Paged Retries Attempted 0 Message Executed as user: xx\administrator. The package execution failed. The step failed. This KB article discusses various options: http://support.microsoft.com/kb/918760 ...Show All
Visual Studio Tools for Office VSTO Outlook Addin - Why doesn't my Property Page show up?
When I click Tools|Options here's what happens: 1. The following event handler executes: void ThisApplication_OptionsPagesAdd(Outlook.PropertyPages pages) { pages.Add(new ViewPoint.PropertyTab(), ""); } 2. bool m_Dirty = false; OK, class is obviously initializing... 3. Then InitializeComponent(); OK, class is obviously initializing... But then, that's it! No call into the TabCaption method as I would expect, to get the tab caption for the property page. And the tab doesn't appear! I have no idea what I'm doing wrong. I copied this code (see below) straight out of Visual Studio Tools for Office by Eric Carter and Eric Lippert, bu ...Show All
.NET Development Graphics in component forms for multi thread applications
I want to use a component form in a thread to process graphics in the backgroung. But the component module doesn't recognize the graphics code that a regular form does. For instance the component form gives me an error with this code: Public Sub getPic() Me .SetDesktopLocation(0, 0) Dim g1 As Graphics = Me .CreateGraphics() Dim MyImage = New Bitmap(Wid, Hgt, g1) Dim g2 As Graphics = Graphics.FromImage(MyImage) Dim dc1 As IntPtr = g1.GetHdc() Dim dc2 As IntPtr = g2.GetHdc() BitBlt(dc2, 0, 0, Wid, Hgt, dc1, XPos, YPos, 13369376) g1.ReleaseHdc(dc1) g2.ReleaseHdc(dc2) MyImage.Save(dest) bmp1 = ...Show All
Smart Device Development Wi fi Signal Stg..
Can Any1 Provide mi Source code for any Wardriving Programs i really nd 1 to start off my project. i am now doing a project to detect Wifi Signal Stg and to obtain its SSID. can any1 help pls.. thx.. Hi The following post should answer your question: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=124459&SiteID=1 Michael ...Show All
Visual Basic log on parameters error 20536 - common problem but whats the solution?
I have found lots of posts on the web citing this problem but none of them have solutions, please could someone shed some light on this and help me find a solution otherwise my applicvation will lose a lot of the functionality I have planned I have produced a program in VB5 and I have designed a report in crystal reports (4.6). I want to click a button on a form in the program and view the report in a view window not in the CR4.6 editor. I am using the following code to try to call the report however when it tries to start I get a 20536 - Incorrect log on procedures. Additional information: I'm running Win XP I have crystal report c ...Show All
Windows Forms Logging Best Practise for Destkop application
hello All, I know it is general question, but I think it is useful for all of us. I have a smart client app. calls services (remoting over iis) currently I log performace data as well as the exceptions. I would like to know the best practise to log information which will help me to repro exception produced on users' machines. which information should be looged, which format is the best. etc. ...Show All
SQL Server Detach sql2000 msde database using SMO.
Hello, I am trying to detach a database from an instance of msde 2000 using smo. When I call the Server.DetachDatabase function using my valid server object I get the following error. "This method or property is accessible only while working against SQL Server 2005 or later." Does anyone know if it is possible to detach a msde database using the .net smo objects. What I am trying to do is detach the database and then re-atach to an instance of sqlexpress. I thought about just stopping the server and copying the mdf file to a new location but I cannot figure out how to sto ...Show All
SQL Server Split txt file into multiple
How can I split this incoming file into separate txts. I want to cut out each Header/detail row section into a new txt. What I mean by header/detail row: incoming txt file: http: / / www. webfound. net/ split. txt basically want to cut out each section like this: http://www.webfound.net/what_to_cut.txt http: / / www. webfound. net/rows.jpg and a kicker...each new txt name must use a certain field (based on x numbers in header row) followed by another field whcih is the date form the header row. somethign like this: SUBSTRING(InputFieldBigString,LEN(InputFieldBigString) - 59,4) ...Show All
SQL Server "product level is insufficient" message during flat file import
I'm using the import wizard to create a new table from a flat file source. The table gets created but no data gets copied. What's wrong Here's the report: Operation stopped... - Initializing Data Flow Task (Success) - Initializing Connections (Success) - Setting SQL Command (Success) - Setting Source Connection (Success) - Setting Destination Connection (Success) - Validating (Error) Messages * Error 0xc00470fe: Data Flow Task: The product level is insufficient for component "Source - inSsrc_txt" (1). ...Show All
Visual Studio Tools for Office functionalities in Excel Chart
I am trying to programmitically add some functionality to excel chart that I am creating, one thing I am trying to do is to have the tool-tip/bubble show up for every time series being plotted by moving the mouse in the x-axis of the chart(line chart). Say I have 3 time series data and I created a line chart, so X-axis is a time line and say y-axis is share price, we will have three lines for 3 time series, if I place the mouse on any one time series, it gives me information about that point of that time series(with a pop-up or tool tip, I heard people are calling it bubble), it doesn't show me anything about the other 2 time series at the s ...Show All
Visual Studio Express Editions Problems Installing C# and Visual Basic 2005 Express Edition
I'm trying to install manuallly the two products in subject with no success. I downloaded the ISO images as specifyied in http://msdn.microsoft.com/vstudio/express/support/install/ , then I extracted files using IsoBurner but, when I run setup.exe, after a few seconds appears the message: "A problem has encountered while loading setup components. Cancelling setup". I installed Visual Web Developer 2005 Express Edition using the standard setup procedure and it worked fine. I am using Windows XP SP2 Could you please help me Thanks in advance and best regards. Alessandro Alessandro, ...Show All
SQL Server RUNNIG A JOB???
I HAVE A PROBLEM,, I``ve just deployed a package into my server..it runs without problems from my SSIS.. but when i set a job with the sql agent and the package to it,. the job just fails .. why any solution please somebody help me!!! yes, this question comes up a lot, I apologize for the confusion. We are working on a KB article to help explain issues around this. It should be ready within a few days. The short asnwer is that when you execute under agent, you are (miost likely) executing "as" a different user than when you execute in the dev studio or command line with dtexec.exe. So the reason a different login may ...Show All
Microsoft ISV Community Center Forums XML view in IE
Hi All, I am new to this forum and I am not sure if the following question has already been raised earlier. I have an xml file as follows: < xml version="1.0" encoding="UTF-8" > < xml:stylesheet href="styles.xsl" type="text/xsl" > <collection> <book> <index>1</index> <author year= "1990" > John Doe </author> <title> JavaScript </title> <price> 10.99 </price> </book> <book> <index>2</index> <author year= "2000" > Mary Jones </author> <title& ...Show All
SQL Server Configuring SQL Express -- getting login failed exception
I have a machine with Windows XP Pro w/SP 2, IIS, SQL Server Express and Visual Studio 2005 installed. When I attempt to open a database from an ASPX page, I'm getting an exception with the message: "Cannot open database "Tasks" requested by the login. The login failed. Login failed for user 'MYDEV\ASPNET'." I've searched the web and found a number of pages that talk about the "Login failed for MACHINE\ASPNET" issue, but I didn't find any with a solution. For your information (in case it makes any difference), the computer is connected to a domain. And the authentication methods for the virtual directory ...Show All
Visual Studio Squshing stuff together on designer and too much room on report
In order to have the correct spacing between text lines on the report I have to have them overlap in the designer. It makes it tough to design and I get warnings about overlapping fields from VS. I've tried adjusting the font property to lessen space around the top and bottom for each control from the default of 2pts but I still have to crunch it together in the designer. What am I doing wrong What about the style paddings properties The default value is 2pt. Thank you, Nico ...Show All
