Chris Fraelic's Q&A profile
SQL Server Expression-based Data Source + subscription = No-go?
Set up reports to use expression-based data sources and everything works fine as far as executing and viewing the reports. The ConnectionString expression includes the credentials, and the "No credentials required" option is selected. Unfortunately, am getting this when trying to create a subscription for same report. WTF eportingServicesService!processing!3!12/20/2006-12:20:07:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'XXXData'., ; Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'XXXData'. ---> System.InvalidOperationException: The ConnectionString property h ...Show All
SQL Server Mysterious login error message
I get the following error messages in the sql server error log Source Logon Message Error: 18456, Severity: 14, State: 11. and Source Logon Message Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. [CLIENT: 185.23.11.33] The scenario is: We set up log-shipping (LS) between a clustered sql server system (source server) and a stand-alone sql server box (target server). (SQL Server 2K5 EE + SP1), and LS goes very well, but on the target server, we found the above-mentioned error messages. BTW: the two servers are in the same domain. Did I miss something in configuration Thanks in advance for your help.. Jeff It looks like a delegation problem. Most likely the credentials from a 3rd machi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Drawing 2d Graphics
I'm just begining programming with Visual Basic Express Edition. I have no idea how to draw graphics. Can you give me any code Well, DirectX isn't very VB friendly. Although you _can_ write samples in VB, you'll find yourself in a very lonely place, since we only supply samples in C# (for managed code, with one lonely VB.NET exception that's not aimed at beginners). My recommendation is that you download Visual C# Express and then take a look at the tutorials in the DirectX SDK. In particular, you will want to look at the Simple2D sample in the SDK. If you absolutely, postively insist on using VB.NET, you can look here: http://www.thezbuffer.com/articles/187.aspx ...Show All
Visual Studio 2008 (Pre-release) Connect and WPF - MS Comment?
Hi there, just wondering when will the connect db for WPF be cleaned and updated not only is the v1 release missing from what you can fill bugs for, but all the old bugs and issues related to old CTPs are still present, and in some case not closed. Can we expect a new ladybug db or a clean-up of the current one Or at the very least adding v1 in the product list I can't imagine filling bugs that I or other reports but not reporting the correct version. Thanks for reporting. We've had a shuffling of responsibilities in this area and it should get cleaned up soon. Thanks, Rob Relyea Program Manager, WPF Team http://rrelyea.spaces.live.com ...Show All
SQL Server alter databse TestDB set TRUSTWORTHY on fails
Hi all, When I try to execute the following command: alter databse TestDB set TRUSTWORTHY on I get this error: Msg 102, Level 15, State 1, Line 1 Incorrect syntax near 'databse'. Msg 195, Level 15, State 5, Line 1 'TRUSTWORTHY' is not a recognized SET option. Can someone tell me why Thanks in advance. sobo1 wrote: I get this error: Msg 102, Level 15, State 1, Line 1 Incorrect syntax near 'databse'. Msg 195, Level 15, State 5, Line 1 'TRUSTWORTHY' is not a recognized SET option. Can someone tell me why Thanks in advance. SSMO has detected it and reported it correctly. but we did not notice that.. Madhu ...Show All
Visual C# Singelton & Garbage collectors
Hello all, I have a singelton: public class MySingelton { private static MySingelton instance = new MySingelton(); public static MySingelton Instance {get {return instance;}} private MySingelton(){} public void DoSomething(){} ... ... } My client could do this MySingelton.Instance.DoSomething(); All good so far. My question is when will MySingelton be garbage collected by the VM Will it ever be garbage collected by the VM If understand this correctly the static initializer will fire off once the class is loaded...I guess there is no telling when the class will be off loaded (When the vm shuts down ) Thanks Houman ...Show All
SQL Server What version to use?
We've used SQL 7.0 for the last 6 years and now I'd like to buy a new computer and install a fresh SQL server in it. What version I can use We create web pages in the fly using Active Server Pages by querying from the sql server. Enterprise Manager is what we usually use to add/edit tables int the SQL server and Visual InterDev is the one we get connected to the SQL to view/edit data. Those who visit our web pages are the only ones who get connected to the SQL server. No seat. Nothing fancy. Can I use workgroup Or do I have to buy the standard version! Thanks, That depends on your feature needs, see the feature comparison to see if you can go along with the Express edition up to the Enterprise edi ...Show All
Visual Studio Express Editions Data + Graphics Database & Dataset Update Problem
I am trying to create a Program with a database on the form in the Details view layout of the table called "Mak" in the Database Created by me Named as "store.mdf". This table has one coulmn for ID No , Name of Employee, Date of Join and Photo. The ID and Name are in the varchar(50), identity null , allownulls. And the photo has the property as image and the date of join has property as small date time. Now when i load the data and photo in JPg format or any format by using the add navigation control key, the data and the image loads correctly and i can view all the data and image correctly by using the navigation move next & previous controls. But when i press the save button on the Navigation control ...Show All
Visual C++ MSVC 2003: ctor-try-block error: possible compiler bug
This message was originally posted to comp.lang.c++.moderated ----------------------------------------------------------------------------------------------- Hi! I 've faced a problem in my production code. I could deduce this problem to program shown below. It seems, that try-block in constructor doesnt work as it should (compared to case where no try block exists at all). I tested this small program on my MSVC .NET Pro 2003 (and separately on PC with MSVC2003 SP1 installed). In both cases I experienced the same behaviour - access violation. Please see comment inside the program body. To get this sample work - just comment out try block in ctor. Have anyone faced such behaviour before Is there known workarounds Thanks. Kiri ...Show All
Visual Studio Reality Check?
First I want to apologize for the long post. Ok. I will admit that I am just entering into the whole GAT arena so my question might be absurd. If so I apologize. I am Architect for a development company that is embarking on a web app that will involve over 200+ pages. And as with ALL projects, we do not have enough time or people. I have been recently dividing my thoughts into 2 areas for this initiative. Reuse & Repeat. Reuse - This is from my classical OO background. Areas where the functionality is shared we will develop the appropriate assets (i.e. Custom Components, user controls, master pages, etc.) This part is under control. However it is the new one I would appreciate some feedback on. Repeat - There ar ...Show All
SQL Server Triggers Priority
Hello, I've got 4 triggers on the table A, all of them are executed when an insert occurs, which trigger is executed first (how does the dbms which one is going to be executed first) Could I assign a priority for triggers execution Thanks Jens K. Suessmeyer wrote: Hi, the trigger order is undefined except for the last and the first trigger which can be set. see the sp_settriggerorder for more information on that. HTH, Jens K. Suessmeyer. ---- http://www.sqlserver2005.de ---- Thank you so much !! ...Show All
.NET Development Should Close() cause CloseReason.UserClosing in Form_Closing event.
I have some code that does the following // Somewhere in the bowels of the code... if (myResult = DialogResult.Cancel) throw CloseDownQuietlyException(""); ... I catch this and issue .... MyMainForm.Close() This is caught in the Form_Closing event and I check the FormClosingEventArgs.CloseReason . For some 'reason' this is being reported as CloseReason.UserClosing . The documentation says this reason code is only returned by the UI. Am I misreading something private void AncestorForm_FormClosing( object sender , FormClosingEventArgs e) { switch (e.CloseReason) { case CloseReason .ApplicationExitCall: case CloseReason .FormOwnerClosing: case CloseReason .TaskManagerClosing: case ...Show All
Visual C# question marks in parameter list
I have a Fill Method and when i mouse over it the parameter list reads int, bool, string....this means nullable right How do i pass values to nullable types....when i pass it 12, false "hello"....It tells me that the arguments i have specified are are invalid for this method any help with this..... So, what about the first param called ETFreightDataSet1 . LegRateConfimationReportDataTable The method have 6 params, but you pass 5 to it, it's nature that it doesnot work. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Smooth movement
I did a "game" where a ball bounce around the screen. It's running at 60 fps but it isn't a smooth movement. It's an issue from XNA Framework Beta I am working with SpriteBatch class... Are you using a mult monitor setup I found the same thing. Switching to full screen v-synch didn't help. I was however, running my nvidia 5300 with two monitors. After disabling the 2nd monitor it's now smooth. Maybe my results are unique, but I'd hazzard a guess that XNA beta doesn't play well with multi monitors. ...Show All
Software Development for Windows Vista Vista documentation on DirectShow lacking
Its well known that the documentation on directshow was very poor for Windows 2000/XP. I was hoping/expecting that this would improve with the Vista SDK but after dowloading the Vista SDK and reading all the new DirectShow documentation I see that things have not improved. Example, the new EVR sounds great. But come on, does Microsoft really think that expect that a couple of (minimal) help pages which do not much more then showing the bare interfaces without explanation or examples or giving an overview is enough for us developers to fully understand it I've been programming DirectShow for 3 years now in various applications but now i've seen the new documentation, it makes me want to cry and work in other area's which are well doc ...Show All
