Chris Holt's Q&A profile
SQL Server Job Execution Failed - Need security guidance
I am trying to install the sample execution log reports provided with SSRS. http://msdn2.microsoft.com/en-us/library/ms161561.aspx I follow the above steps on my local development machine and everything works correctly. When I try to install them on our development server everything goes fine until I try to start the job (step #13 in link above) "Execution of job 'RSExecutionLog_Update' failed. See the history log for details. When I view the history I get: "Executed as user: WILWHAPP\SYSTEM. The package execution failed. The step failed" From the error provided I'm guessing this is a security issue. I just don't know what and where I should change something. I have posted to two Reporting Services F ...Show All
Visual Studio 2008 (Pre-release) What about delegates inheritence ?
if i have for example delegate T MyDelegate<T,A>(A a); i want to be able to do so delegate MyNotGenericDelegate : MyDelegate<int,string>; so that i can use the base delegate without passing type parameters each time, and still to be able to use extension methods declared for MyDelegate ... i was a bit too happy to find a solution :) alias solves the problem partialy, but i cant use it out of the namespace, so it is not exactly what i wanted, and i agree with ur idea in fixing one of the type parameters, i really hope that will be present in c# 3.0 specially having a lot of functional programing, aliases can be tricky BUT not as good :) ...Show All
SQL Server Microsoft.SqlServer.Dts.Runtime & ASP.NET Identity Problem
Greetings, I have an ASP.NET web form that calls out to a component which includes the following code which leverages the Application and Package classes in the Microsoft.SqlServer.Dts.Runtime namespace: Application application = new Application (); Package package = application.LoadFromDtsServer( @"File System\MyPackages\MyPackage" , "MyMachine" , null ); string id = package.ID; Microsoft.SqlServer.Dts.Runtime. DTSExecResult result = package.Execute(); I am logged in to the app as Domain\Me. I have Windows Integrated Authentication configured in IIS and am using Windows Authentication in ASP.NET. I am using impersonation to impersonate a fixed identity, say Domain\Bob . This has t ...Show All
Visual Studio Express Editions help parsing a varing space delimited file
I am having some trouble parsing a file that has varing spaces between the data. I'm using the textfield parser and setting the delimiter as a single space. (" ") Some of the code is below. The problem is the spacing is not a constant and the data ends up in different fields based on the spacing. Is there a way around this Can you set the delimiter to use a varing length amount of space a only one Data Example: 9/28/2006 534 23 12/28/2006 235 25 Code Snip: Dim delimiter As String = " " 'Space seperator Using parser As New TextFieldParser(filename) parser.SetDelimiters(delimiter) parser.TrimWhiteSpace = True 'doesn't do much While Not parser.EndOfData ......yo ...Show All
Windows Live Developer Forums New mush up
Hello people, i want to invite you all to see a new Virtual Earth mash up we've een working on for a while: Trippish Better see it with Internet Exploer Greetings, Dario John, Did you manage to get Radar data overlaid on top of V.E. working. I now have a real need to do this myself and could use some pointers - I can get hold of Radar images as gif files here http://www.srh.noaa.gov/ridge/Conus/RadarImg/ - do you use these as a transparent gif on top of the map DIV Aslo how would you handel the map zoom etc - I guess that the radar location is fixed so gould i use the Radar Gif as a giant pushpin ...Show All
Visual Studio 2008 (Pre-release) UDDI Sample Questions
1) Does the uddi sample work with only basicHttpBinding only Or can you use wsHttpBinding also 2) I noticed that UDDI related code is not coming from .net framework but appeared to have been generated with some internal schema or published uddi wsdl. Does this mean this code will look like this until WS-Discovery support is in place Thanks. Thanks for the explanation. On item (2), is the UDDI client library already included (in July CTP) as part of .net fx 3.0 I did not see any such library. Did the name change I would appreciate if you could let me know which assembly to look for. If it is not included in July CTP, is it going to be in the future releases of .net fx 3.0 ...Show All
SQL Server SQL Server Reporting Services 2005 - Validating Date parameter field
Hello, My problem is with Validating Date parameter filed, when I user enters wrong (assume user is entering date instead of selecting from date picker). Where following are scenarios I would like to validate. When user enters non-date. When user enters 30/feb/yyyy. When user enters 29/feb/yyyy. (for non-leap year). When user enters 31/mm/yyyy. (for months does not includes day 31) Could you explain in a little more detail how to accomplish this thanks in advance, Ramesh KS Hi Ramesha, Please see the below links related to custom code : http://msdn2.microsoft.com/en-us/library/ms155798.aspx http://www.yukonxml.com/chapters/apress/reportingser ...Show All
Visual C++ How to get Data from C++ Program from C# program through Dll Import?
I have created an application in C++, Now through dll Inport in C# I am accessing the method of C++. I wan to return some data from C++, can any one tell how this is possible. -------C#Code----------------- [ DllImport ( "Sabs.dll" )] public static extern int GetDataFromCPlus( string path); --------C# Code------------------ The C++ code is: extern "C" { __declspec ( dllexport ) void GetRdrData( char * path) { //---------Code----- } } Here's a somewhat better version in which the memory is allocated on the C# side using Marshal.AllocHGlobal. This is then passed to the native data reader function, which fills it in. We also pass the size to make ...Show All
.NET Development Post data to aspx page, which is protected by Passport Authentication
Hi there. I need to post some data to the aspx page. First of all I can't post data to the regulary aspx page. I tried using HttpWebRequest but it doesn't help. Server return 500 error code. I think maybe something wrong with ViewState hidden field.... So, question #1. Can I post some data to the aspx page thru HttpWebRequest and how Question #2. Actually, aspx page, thats i need, protected by Passport Authentication. So I need first simulate Passport sign in. I tried to do this. But with no luck.Cant get auth cookie. Any help would be great :) PS. Sorry for my english. Hope you'll understand what I wrote here... ... and here ^^^^ :) I ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using multiple passes in same technique
I'm trying to render two separate models (x-files) with the same shader-technique but each with a different pass. Is this possible I tried this but keep seeing the rendered objects rendered with the first pass. ... Passes within a technique are not really intended to be used individually ... Well, unless you need to improve performance and thus, decide to avoid changing techniques -and consider a pass as a "different technique"- to gain some speed ... ...Show All
SQL Server SELECT Query duplicating rows
Hi, I have a small problem that i cant seem to get my head around regarding the results of the following SELECT query. The result set contains two rows for every Employee - one for Annual (EntitlementID = 1) and one for Long (EntitlementID = 2) Where have i gone wrong Thanks in advance. --Tables: Employee (EmployeeID, EmployeeCode) -- EmpEntitlementValue (EntitlementID, EmployeeID, Balance) -- Entitlement -- Department -- Position -- Contact (FName, LName USE Employees go SELECT EmployeeCode As 'Employee Number', FName + ' ' + LName As 'Employee Name', Department .[Name] As 'Department', Position .[Name] As 'Position', CAST(DAY(DateStarted) ...Show All
SQL Server upgrading from SqlExpress2005 to SQLEXP2005Advanced
Hi, I am newbie with SqlExpress. I have SqlExpress2005 installed on my computer and created some databases on that. They are working fine. Now, for the sake of full text search and other facilities, I would like to upgrade this to SQLEXP2005Advanced. My questions are: 1. Shall I need to uninstall SqlExpress2005 first to install SqlExpress2005 2. How I can take backup of existing databases on SqlExpress2005 so that I can immediately restore them on SQLEXP2005Advanced Thanks in advance for any help in this regard.... Regs Tony No uninstall is required. When you run the SQLExpress Advanced setup it will ask you to select either a default instance or a named instance. Click the button to view existing instan ...Show All
SQL Server connection to AS cube error
Hey all, wondering if any of you can help me.. I have built an AS cube and deployed it. I am now trying to set up a model in report manager so that i can build reports off the cube.. I have setup the datasource as follows : Name: GAPLSales_DS Connection Type: MS SQL AS Connection String: Data Source=MANT4003;initial catalog= GAPLSALES GAPLSALES is the name of the database on AS Intergrated Security.. I then try to create a model, and i get the following error: Cannot create a connection to data source '' . (rsErrorOpeningConnection) Get Online Help For more information about this error navigate to the report server on the local server machine, or enable remote erro ...Show All
Visual Studio Tools for Office Stack overflow in calling Range.InsertXML()
I'm using Range.InsertXML() to display an xml blob on a particular area on the document. The xml blob comes from the database and I use recursion to insert all records on the word document. I'm getting a stack overflow error when the records gets too big (50+ pages). I saw a thread on stack overflos in excel and it suggests using Application.EnableEvents set to false before calling a method. Word don't have this event. Any ideas how to prevent this error Recursion... Any idea how many "layers deep" this is getting Are you concatenating all the information into one "xml blob" before using Range.InsertXML Or are you using the method "rapid-fire" into the document ...Show All
SQL Server Will Non-clustered INDEX really help!!!
Hi, I have a table Student with N number of columns. One of the column (int) is flgActive - which currently holds only 2 values either 0 / 1. Depending on the operation I want do - I either include the where clause flgActive = 0 or flgActive = 1 in my queries. Basically I either fetch non-active students or active students. Whenever I need to turn a student to Nonactive - flgactive column is updated to 0. Will a non clustered index on flgActive column help in my querying - when all the records in the table is going to contain only 2 different values. (Assume that the student table holds abt 2 Million records with about 30% of the students nonactive.) Thanks, Loonysan Hi Loonysan, As t ...Show All
