Raph304's Q&A profile
SQL Server "Action Canceled" Message when running long MSRS 200 Reports
Hello, We are experiencing a problem were My Reporting Services Report are showing "Action Canceled" Message. Which says Internet Explorer was unable to link to the page you requested.The page might be temporarily unavailable. The report shows the message after an hour of running. I am running the report on a SQL Server 2000 Reporting Services with SP2. I see the execution log saying the report finished with rsSuccess in 38 mts but I never get to see the reports. Also I can run the reports in History Snapshot but whenever I run this report real time..I get the above error. We have removed the time limit from the subscription page and Execution time out is set not to time out for the Execution. Any help will be appr ...Show All
Visual Studio Team System HELP: Accidently deleted an important project and I need it back!
[Originally posted under Version Control but it was suggested I ask this over here because I might have a permission issue.] Hi all, Here is the deal. I was attempting to move a project in TeamSystem to another project. I had everything checked in and I had a copy on my hard drive. I deleted the project with TFSDeleteProject.exe and then went to create a new one but when I set up my new Workspace and started to add my source I found my source was no longer on my drive. Ok. So I started to freak because this was approx 3 months work for me. We have nightly backups but I had left the backup to my systems team and they only backed up the databases. So I created a new install of TeamSystem on another machine and restored the databa ...Show All
Visual C++ __wchar_t and wchar_t
Greetings, What's the difference between __wchar_t (two leading underscores) and wchar_t (zero leading underscores) Thanks http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcepbguide5/html/wce50grfZcwchar_t-Wchar_tIsNativeType.asp explains the relationship between the two types. ...Show All
Visual Studio Team System How to find the "using statements" inside a project using FxCop
Hi, I am creating a custom rule to find all the "using statements" of a .cs file, I am unable to find it, can any one provide me a solution for this. Simon is correct, using is just syntactic surgar. You’ll notice that the following two methods produce nearly the exact same IL. public static void WriteSomething1() { using (StreamWriter sw = new StreamWriter(@"c:\temp\log.txt")) { sw.WriteLine("Hello World"); } } public static void WriteSomething2() { StreamWriter sw = new StreamWriter(@"c:\temp\log.txt"); try { sw.WriteLine("Hello World"); } finally { if (sw != null ) sw.Dispose(); } } That said I did notice that it is ...Show All
Visual Basic Getpixel for JPEG
as i was searching the forum, i encountered Getpixel which is easy to use for image manipulation, my problem is i need to manipulate a JPEG file, how could i incorporate or address this problem thanks An image (.jpg, .bmp, ...) is usually represented as a Bitmap object, so if you want to look at the pixelcolor of an image inside a picturebox, it's easier to make the Bitmap object yourself so that you have a variable pointing at it, and then load that Bitmap as the image in the PictureBox. The pixel that you want to get the color of, needs to be specified by x,y coordinates on the Bitmap, so x can go from 0 to Bitmap.Width, and the y coordinate can go from 0 to Bitmap.Height. To find the right bitmap x,y coordinates takes a bit of rec ...Show All
Visual C# Trying to do a report viewer in the c# windows app PLEASE HELP ASAP.
I have a report with a text box and a report viewer. The text box tells the report how many reports passing a parameter. The problem is when I try to print the report it does not report the whole thing. It prints fine when i click on the tolbar and click the report layout and print it from that look. Why is that Can I write code to make the report load with the Print Layout look The following code sample may help you to print a report utilizing a print preview dialog. Please note that I have used to print a hard-coded string; you may wish to construct the same string from reading a database table to temporarily save into a file for print preview purpose (you may then delete the temp file after the us ...Show All
Visual Basic Convert a stored value in a database to an object
I am storing the name of controls in a table and want to load the value of those controls with a value in the database. How can you access every control in a form (not "on" the form like Me.Controls because that doesn't see everything in group box ect.) ex. cbo as combobox cbo = AllControls .item(Row!ControlName) cbo.SelectedValue = Row!ControlValue Thanks. Can you assign a key to the AllControls list so you can access a specific control like... cbo = AllControls("cboPipe") or something Dan, how does this look Dim cbo As ComboBox Dim chk As CheckBox Dim txt As TextBox Dim c as Control Rows = myModel.LoadModelDefaults(mModelID) ...Show All
Visual C++ A final WMI question (I hope)
Hi Folks; I need to use WMI to determine the disk drive sizes in a system with multiple drives. The system I've tested this on has the drives but WMI seems to add the drive sizes together. I've looked on the msdn site and checked out the Win32_DiskDrive table but couldn't find anything to specifically meet my needs. I was wondering if there was a way to pull out individual drive sizes. OK. What I need though is not so much the free space but the sizes of the drives. So if I had an 80Gb and 20Gb then I need a query that returns a list 80Gb,20Gb as opposed to what it does now and that is return 100Gb. ...Show All
.NET Development application.exe.config
I have the following in the application.exe.config < applicationSettings > < Maintenance.Properties.Settings > < setting name = " LUPattern " serializeAs = " String " > < value > .45 </ value > </ setting > I am trying to get the .45 value using the code : this .label1.Text = "Pattern " + System.Configuration. ConfigurationSettings .AppSettings[ "LUPattern" ]; Which returns nothing. Can anyone show me whats wrong. AppSettings is different than the section you gave. AppSettings maps to the appSettings element and will consist of key-value pairs. ApplicationSetting ...Show All
Visual Studio Express Editions project settings
hello. i recently downloaed visual c++ express edition and am planning to utilize it while i begin to learn opengl. as per the instructions, i am told to create a win32 application, and go to project settings to add opengl libraries... i can seem to find project settings. how do i view the project settings of my project and successfully LINK the opengl libraries into my build environment thanks in advance. so add those lines on the top of every .cpp file i create in that project so i created a file called testGL.cpp the top should look like this: NOTE: my OpenGL32.lib, GLu32.lib, and GLAux.lib are stored in C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib NOTE: my project files ar ...Show All
Visual Studio Workround for Subreport within a subreport??
I have a main report, whith details of a "work order". Within this report is a subreport, and this details all revisions for that work order. This is a requirement. I've been asked by the users to create a summary report for each of them, and from there allow them to expand into the main report. Doing so obviously then gets rid of my revisions subreport. I've read into using hyperlinks but upon trying this I get the same problem. Is there a way to get around this successfully Will this be an implementation into a later version of CR for .NET (is this a limitation to CR.NET, or is it an issue in all CR products ) Any help would be greatly appriciated. Kind Regards, Luke I ended up re-structur ...Show All
SQL Server db_dtsadmin role
Our DBA has given me access to MSDB on the SSIS service on one of our servers as db_dtsadmin. When I try to connect to the server using Integration Services in the connect drop down menu, I get the following generic error msg: connect to SSIS service on server 'xxxx' failed: access is denied. I'm told this role should be sufficient to give me access. Do I need other server access roles to use in conjunction with db_dtsadmin or are we missing something really easy here. Thanks. DBRICHARD wrote: Our DBA has given me access to MSDB on the SSIS service on one of our servers as db_dtsadmin. When I try to connect to the server using Integration Services in the connect drop down menu, I get t ...Show All
SQL Server Difficult Query. Is it possible?
Hi, I am looking for a type of aggregate function for a string. Instead of finding a Max value or the average of a column, I would like to build one string value holding the aggregate. Example: Source data RecordID PersonID Name Course Score 1 1 Fred Maths 70 2 1 Fred Science 78 3 2 Mary Maths 65 4 2 Mary Science 60 5 2 Mary History 85 I would like my query to return the following resultset: Name Scores Fred 70; 78 Mary 65; ...Show All
Visual Studio 2008 (Pre-release) Not able to get "A Visual" from VisualCollection object, although it exists
I am drawing lots of custom visuals; some using custom geometry objects using streamgeometry and some are drawn using plain vanila draweclipse using drawingContext. Once all of the above objects are created and displayed on the form,On hit testing I am not able to reference back any of the objects created by the streamgeometry. None of this working ... _currentVisualCollection.IndexOf((Visual)_hitResultsList ) _currentVisualCollection.Contains(((Visual)_hitResultsList ) Using VisualTreeHelper .GetDrawing(visual), i do get the visual back but I cannot do anything if I cannot locate the same visual in the visualCollection and remove it as I need to update the layout. Any leads.. Hopefully this post will catch any M ...Show All
Software Development for Windows Vista SDK 6.0 Compile Issues
I have both VS 2005 and VC 6.0. Normally use VC 6.0. Recently downloaded and installed the new 6.0 SDK. Tried some of the examples with VS 2005, but all generate compile errors. C:\program files\microsoft sdks\windows\v6.0\include\mediaobj.h(183) : error C2061: syntax error : identifier '__RPC__out' Any ideas Ed ...Show All
