Noam309's Q&A profile
SQL Server problem loading report manager: The XML page cannot be displayed
Hello all, I have completed the RS 2005 installation including the SP1, but it seems I'm unable to load the report manager… When I'm trying to access: http://localhost/Reports/Home.aspx I'm getting the following error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. OK, it seems like I solved the problem: Under IIS manager, enter to Web Site's properties, in the ASP.NET tab select the appropriate version (I changed it to 2.0.50727) Thanks, Liran ...Show All
SQL Server strange lookup behavior
I have a data flow two lookups components (call them lookup1 and lookup2). They both query the same relational table but with different values. Each has a single row result set containing one column and the each of the two columns is mapped to a corresponding package-level variable. The original data flow sequence had lookup1 executing after lookup 2. Each component redirects errors to a separate text file. Lookup1 succeeds but lookup2 fails on every row which populates its error text file; however I can construct a sql query from the lookup2 values that returns the expected result. If I reverse the sequence of components (lookup2 followed by lookup1) lookup2 still fails on every row. Whenever both lookups are present in the dataflow ...Show All
Visual Studio Execute target when (core)compile will execute
Hello, there must be a simple solution for this silly question, yet I cannot find it. I want to execute a target before compilation only when compilation will occur, i e when corecompile has been determined to execute (ie dependencies have been updated) then I want my target to execute before compilation. If corecompile does not run, I do not want my target to run either. So, is there a hook before corecompile is run after it has been determined that it will run Or is there a simple property that expresses the inputs / outputs used so that I can use the same dependencies /mawi Hello again, yes, that is exactly the workaround I am using now. I thought it felt cludgy, though - and hoped that a cleaner way ...Show All
Visual Studio Team System rebinding source control bindings in Vs6.0
I have asp projects in VSS6.0 now im migrating them to TFS. after the migration the developers should be able to connect to TFS from their Visual studio 6.0 and continue development. pls suggest me the steps to rebind the existing bindings with VSS to TFS.... regards, sundararajan.s Hello, I understand that for migration you are using VssConverter. If so, the steps should be the following (it's possible to change the bindings manually in project files, which makes sense when there are hundreds of projects; here I describe approach which modifies binding using VC6): sync the source code to your local workspace (using SCE in Team Explorer or command line) from TFS check out all project and wor ...Show All
SQL Server SQL Server 2005 Express SP2 on Vista RTM fails to install
When I was trying to SQL Server 2005 Express SP2 (November CTP) on Vista RTM, setup failed on the Database Services component with the following log messages: SQL service MSSQL$SQLEXPRESS started successfully waiting for SQL service to accept client connections Service MSSQL$SQLEXPRESS started at Sat Nov 18 09:21:28 2006 SQL_SUCCESS_WITH_INFO (1) in OdbcConnection::connect sqlstate=01000, level=-1, state=-1, native_error=5701, msg=[Microsoft][SQL Native Client][SQL Server]Changed database context to 'master'. sqlstate=01000, level=-1, state=-1, native_error=5703, msg=[Microsoft][SQL Native Client][SQL Server]Changed language setting to us_english. SQL_SUCCESS_WITH_INFO (1) in OdbcStatement::execute_batch sqlstate=01000, level=0, sta ...Show All
Visual Studio 2008 (Pre-release) How to get the name of client machine inside OperationContext Object?
Hi Everyone, Does anyone know where to get the name of client machine inside OperationContext.Current object I try to use OperationContext.Current.IncomingMessageHeaders.From property but it’s always null. Regards, Jdang Hello Jdang, The NetTcpBinding wraps a TCP socket as a channel and sockets don't have any built-in feature for for providing the sender's machine-name. In other words, it isn't povided by the underlying transport so we don't have a way to surface it to you. Do you have the option of modifying your contract so it includes the client's machine-name as one of the parameters Alternately, you could add a message-inspector that adds the machine-name as a custom header ...Show All
SQL Server Security Question - Please Help! :-(
Hi all, If anyone could help me with the following scenario, I'd be VERY grateful. I have a website using Forms Authentication. It's a public website with lots of user accounts stored in an SQL Server database. Each user of the site needs to be able to view a report thats specific to them. I've got a page within a website that's hosting a Report Viewer control. The Report Viewer control is configured to use my report, with the URL to the report passing the user's id as a parameter. The problem is, the report viewer is returning " The request failed with HTTP status 401: Unauthorized." I think this is happening because the Report Server is set up to use Windows Authentication. Can anyone tell me the easies ...Show All
Software Development for Windows Vista Why doesn't ActivityTrackingRecord.ContextGuid match any context guids in the rootactivity?
In my system, I need to track additional information about a workflow. I implemented a custom tracking service so when the a new activity tracking record is sent, I can inspect the activity type and determine what additional information can be tracked. My problem is finding the correct activity instance associated with the tracking record. When I try to find the instance based on the root activity, the qualified name, and context guid, I get nothing. The reason for this is the ContextGuid passed into the ActivityTrackingRecord does not match any guids returned from the Activity.ActivityContextGuid dependency property. I am using a simple sequential workflow. Any idea why this is Nate Garvey wr ...Show All
.NET Development Reading file sizes, name, date on the server
I'm trying to make a program that basically say that every morning run this directory and scan through all the files. Then record the name, size and the date and then compare with the one that already existed in the database. If everything is match then pop up message say GOOD. If something has been changed then pop up a message say NOT GOOD. But aslo if i know that there was an update on the file so the date has been changed, that program should also have an update function to update the database. For instance File1 800kb 7/18/2006 File 2 1mb 7/17/2006 because this is the first time i run this program so i have to insert this into the data base. so after inserting, the database will have a list of file 2 and 1 with ...Show All
.NET Development Webservice and Trace
Hi, i'm trying to put a WebService to capture Trace events in Trace.axd. I've configured web.config to enable trace ( <trace enabled="true" requestLimit="100" pageOutput="false" traceMode="SortByTime" localOnly="false"/>). The Requests to the WebService shown in the main page of Trace.axd (/myWS/Trace.axd), but when viewing the details of that request, there is no "Trace Information" entry. Where is the Trace.WriteLine going to When doing the exact same configuration on a WebApplication, the "Trace Information" shows as expected. Thanks, Joel ...Show All
Visual C# Thread Sleep Functionality without the Sleep
Are there any alternatives that would leave a responsive program that would accomplish a pause of a couple of seconds besides a timer of any kind I want to do something like Thread.Sleep(5000); but that causes an unresponsive program. I want to avoid timers as well. Are there any alternatives at all It's either one or the other. If the thread does sleep then it cannot be responsive. Normally you use timers for that but since you don't want timers the only option left is to create another thread and sleep in that thread. Not sure if this helps but without some more information it's the best you can get. Why do you want to "pause" and what "pause" means anyway ...Show All
Visual C# How to obtain current CPU Loading
Dear sir : who can tell me : How to obtain current CPU Loading Using C# Thanks PerformanceCounter theCPUCounter = new PerformanceCounter("Processor", "% Processor Time", "_Total"); Console.WriteLine(theCPUCounter.NextValue().ToString()); ...Show All
SQL Server MOSS 2007 Reporting Services Web Parts - Share Point 2007
Hi, I am trying to install reporting services web parts for Share Point 2007 where can I download these webparts. Any link to download will be apppreciated. Thanks, Ravi ...Show All
Visual C# Create a new object through the property grid
My apologies if I didn't label this subject appropriately. I couldn't think of anything better to put as the title. I don't know if this is even possible, but I figured this forum would be the best place to find out:) I have a property: [ BrowsableAttribute ( true ), ReadOnly ( false ), TypeConverter ( typeof (System.ComponentModel. ExpandableObjectConverter )), Category ( "Inherited Physical Values" )] public Shapes. Shape Shape { get { return _shape; } set { _shape = value ; } } The Shape property is from a parent class, "Physical" and is inherited in many child classes. The Shape class is obviously an abstract class which has m ...Show All
Visual Basic binary files as resources in VB 2005
I want to add binary files to my VB 2005 executable to make a single exe with all the required files which I can extract at will through my code, how do I do this pls. guide o how to add binary file (.exe) and extract them using resource files. I tried the following but was not succesfull '*** get current Assembly object. Dim asm As Assembly = Assembly.GetExecutingAssembly() '*** load embedded resource into stream Dim ResourceName As String = "App1.MyDep1.exe" Dim str As Stream = Me.GetType().Assembly.GetManifestResourceStream(ResourceName) Dim fs As New FileStream("c:\app1.exe", FileMode.Create, FileAccess.Write) Dim w As StreamWriter = New StreamWriter(fs) w.Write(str) w.Flush() ...Show All
