Ashish Derhgawen's Q&A profile
SQL Server SQLCEReplication: Error 28037 - HResult -2147012892
Hi! Since a few days we get sometimes the following error message: A request to send data to the computer running IIS has failed. For more information, see HRESULT. HResult: -2147012892 NativeError: 28037 I havent't found anything about the HResult -2147012892. What does this error mean Before this everything works fine for about 4 Months. We use SQL Server 2005 Juni CTP and Visual Studio 2005 Beta 2. The replication works over a GPRS connection at the PocketPC, through a ISA Server 2004. Sometimes it works and sometimes not. best regards, Markus Hi Tommyitvn, We solved this problem by using SQL server replication, Please check ur SQl server settings..... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. GraphicsAdapter.SupportedDisplayModes;
I'm using the code below to check the supported display modes of my adapter. DisplayModeCollection modes1 = new DisplayModeCollection(); modes1 = GraphicsAdapter.DefaultAdapter.SupportedDisplayModes; I've tried this code at work on a laptop and at home on a desktop (2 different vid cards) and each time the DisplayModeCollection is empty (count = -1). All the other members of the GraphicsAdapter class are showing up (driver version, name, deviceID etc. etc.). I'm trying to make a config panel template so therefore need to know what resolutions the user's vid card can handle. TIA, lushdog See the thread at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=682921&SiteID=1 ...Show All
SQL Server Transmission queue ?
Hi There I have sent messages and they are all sitting in the transmission queue with a blank status, why is service broker not trying to send them They are no errors in the sql log. BOL says this is blank when it has not tried to send the message Service broker is definately activated in the database. How do i force sql server to send anything in the transmission que I have no idea what is wrong or where to check Thanx Dietz wrote: We have checked endpoint security certificates are cool, however if a dialog was done with an inocrrect certificate for dialog security importing correct dialog certificates wont help because surely the message is stamped with the original certificate, ...Show All
Visual Studio 2008 (Pre-release) Overriding OnLoadCompleted not working for some reason...
Hi all. I have a sample application that overrides the OnLoadCompleted in the Application code behind. This works fine. However, for some reason, when I create my own project and I use the same code, it doesn't work :(. All I am doing is: public partial class App: System.Windows.Application { protected override void OnLoadCompleted(NavigationEventArgs e) { MessageBox.Show("hello"); base.OnLoadCompleted(e); } } For some reason the OnLoadCompleted isn't firing... is there any specific thing I need to fulfill to have this event fire Any ideas Nevermind ... figured it out due to my own stupidity. Turns out the XAML for my app defined the class as "App" but my code behind defined the ...Show All
.NET Development help regarding requiredfieldvalidator
Dear All, i am making web application using asp.net ,C# (Visual studio 2005).i have a web page with couple textbox conntrol and dropdownlist controls(Some of them autopostback is true). In order to check whether this control is not blank i use requiredfielfvalidator control. my problem is i want all required validator only check at save event event not whenever there is postback. that is let say textbox control having postback true only check all its previous required validator. Not succesor validator Is it possible. if yes how can i do it . please guide me Find each control that causes a post back and shouldn't check required fields and change the CausesValidation property of the control to False. ...Show All
Visual Studio Express Editions ntddk.h and ntifs.h
express says "ntddk.h no such file or directory" when i try to include one and/or both of these, are there any alternatives for these or any way to get them to work thanks in advance you need to make sure the headers reside in either on of following directories: 1) your project folder 2) one of "Additional Include Directories", reach by "Project | properties | configuration properties | C/C++ | General" 3) one of "Include Directories", reach by "Tools | Options | Projects and Solutions | VC++ Directories ", set "Show Directories for" to "Include files". ...Show All
Visual Studio Team System TFS Email notification not working
hi I am working with TFS build notifications.I am trying to automate the process of sending email notifications when a build completes.The project alerts have been setup.I tried using the bissubscribe tool to subscribe to TFS events,but I am getting the following error in TFSEvent log file.Please help me resolve this. Event Type: Error Event Source: TFS Services Event Category: None Event ID: 3032 Date: 11/28/2006 Time: & ...Show All
Visual Studio 2008 (Pre-release) Header and Content Template
How can i find when the Header or Content Template are applied I want to get a control from my template but if I try in OnHeaderTempalteChanged i get this exception : This operation is valid only on elements that have this template applied. Is there a solution this doesn't work very well The thing is that I have a TabItem and I have 2 HeadeTemplates, one for default and one for selelected. When the TabItem is selected I have saome buttons on it And i need to acces them somehow. But i don't know when they are loaded. I've tried OnSelected but it doesn't work. I can't retrieve the buttons. Any ideeas ...Show All
Visual Studio 2008 (Pre-release) RayMeshGeometry3DHitTestResult and mesh side ?
How can I determine mesh side from RayMeshGeometry3DHitTestResult when both Material and BackMaterial are specified You can't directly, unfortunately. If you only had a few transformations in your scene and knew them offhand you could transform up and do the orientation test yourself. In general this isn't easy because we don't have 3D transformation services. If one of the material properties is set to null, that set of triangles will be ignored. So the easiest thing that should work in general is doing two hit tests: one with just Material set and one with just BackMaterial set. If you get a result for both tests, take the closer one. ...Show All
Visual Studio 2008 (Pre-release) storyboard animation in DataTemplate
I'm trying to define a DataTemplate to make an image rotate when I move the mouse cursor over it, and snap back when I leave the area again. This works fine with an EventTrigger defined on the Image in the template. But there's a little problem: I move the mouse cursor over the image, and it starts rotating. At some point, the rotating image is not under the cursor anymore, so the "MouseLeave" is triggered and the image snaps back. Which causes the "MouseEnter" to fire... Not really what I wanted. So, I now want to trigger the image animation by mouse events on an enclosing Border element. Here's the template code: <DataTemplate x:Key="RotatingImage"> <Border Background="Blue" Bo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Assign to Vector2?
This is probably an easy question, how do I assign to a Vector2 This was my first bad guess: Game1.Players .Position = (0f,0f); but it didn't work, I know I can assign to the .X and .Y of the Vector2 but I want to do it in one simple step. Also can you do it without creating a new Vector 2 Cheers Alfons Shawn, I think that my language skills might be to my disadvantage(and my lack of experience in programming). What I meant with "2 floats" was two values of the type float, or in other words, is there a way/method to change both the X and Y component in one line /Alfons from Sweden ...Show All
SQL Server Warm Cache in SSAS 2005
Hi All, I have a MDX query performance issue. When the MDX was executed at the first time, its duration is about 600 secs. However, in the next executions, the duration is 1 sec. It seems the server cache needs to be warmed first. How can I improve the performance of the MDX query at the first time The reason is that the same MDX queries will not be repeated in my scenario. I tried to tune the aggregation for the destination cube via Usage based opertimization. Is there any good way to reduce the duration for the MDX query at the first time Thanks in advance! Have a look at Chris Webb's Blog here: http://cwebbbi.spaces.live.com/Blog/cns!7B84B0F2C239489A!994.entry HTH Thomas Ivarsson ...Show All
Windows Forms passing data from one datagrid to another
Ok I have two datagrid on two different pages. First datagrid shows all the equipment on the database and has a check box field in the datagrid. So my question that when I click on the checkbox and click on the submit button, I want that row to add on the second datagrid on the second page. Do we do it with session but how. So how do we pass the data from datagrid to another datagrid. Any help me good. It goes to the next page, that all I got. private void bt_UpdateEquip_Click( object sender, System.EventArgs e) { bool isChecked; lblT.Text = "Hello"; //If needed, create/configure ADO.NET objects // Check each row/item and determine if the item should be processed foreach (DataGridItem dgItem in ...Show All
SQL Server Package Name Sorting
SISS packages do not sort by name in BIDS and they do not sort by name when deployed to a SSIS server if choosing to store in sql server. The packages do sort by name when stored in file system. We have more than 100 packages on the server and just could not keep up with the locations. The only thing I can do is to create many folders. But even folders have no way to be sorted. Do I miss something here Jamie, Thanks for your reply. I tried both solutions in BIDS. The first one works, but it seems too much work. The second one would be a good choice if I could make it work. When I try to sort the packages in a project folder called 'Test Packages', I continue to get the follow error message in th ...Show All
Visual Basic CSV file records
I am trying to read a CSV file into a datagrid (the csv file has 4 columns and up to 3000 records) and i found the following piece of code by JOE_MS which does exactly what i want: Using parser As New Microsoft.VisualBasic.FileIO.TextFieldParser( "c:\temp\myFile.csv" ) parser.SetDelimiters( "," ) While Not parser.EndOfData Me .DataGridView1.Rows.Add(parser.ReadFields()) End While End Using However i cannot find the textfieldparser in my system. Do i need to add a reference or does this only work in VB.NET 2005 as i am using VB.NET 2003 If i can't get it in VB.NET 2003 how do i do it Help please!! -EDIT NOTE- For some reason the forum won't let me ...Show All
