Jarod.Net's Q&A profile
SQL Server How to choose the default hierarchy for a dimension?
I created a server-time dimension and generated several hierarchies within the same dimension, does anyone know how to select a particular hierarchy as the default one I didn't see it on the properties for the dimension or hierarchy. It's a time dimension and there are 3 hierarchies defined: Reporting Year -> Reporting Quarter Year - Quarter - Month - Date Year - Week - Date It seems as though the Reporting Year -> Reporting Quarter hierarchy is used by default, how would I change the configuration to use a different hierarchy by default ...Show All
SharePoint Products and Technologies Please someone get me out of this mess
Hello all, I am new to Sharepoint but have spent a ton of time on this the past 3 weeks. I have gotten one W2K3 Server running with Sharepoint but even that one has issues i.e. I cannot get rid of the search service event log entries that correspond to the gatherer service Event ID: 2424. The 2 new Servers I have installed and configured just do not want to work. When I go into the admin console I immediately get a login box to which I input a domain account with admin priviliges and the login box keeps popping up many times until it finally will stop and display the page I want to see. Then when I click any other link the same scenario happens all over again Why is this happening I did not do anything different with this ins ...Show All
SQL Server Single sign-on with forms authentication
Hi, We are using forms authentication as per this article http://msdn.microsoft.com/library/ url=/library/en-us/dnsql2k/html/ufairs.asp frame=true#ufairs_topic3 We want to get single sign-on working in SQL Server RS 2005. Users log on to our web application and we use forms authentication. We want the same logon credentials to automatically log you onto to the report manager too, so that when you navigate from our app to the report manager you don't have to log on again! I used the information from here http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconformsauthenticationacrossapplications.asp to try to get the 2 web apps (Report Server and my Web app) to share the authentication cookies, but it only ...Show All
SQL Server How SQL Server deals with on the occasion if I imput unicode characters into a varchar column?
Hi all, I want to know how SQL Server deals with it if I imput unicode characters into a varchar column Will it truncate or do something else Thanks! Samsudeen B wrote: Hi Robert, SQL Server implictly converts the unicode character to the Varchar type,If the unicode character is same as the (say English) the SQL Server installed Language ( say Language) and there will not be any data loss.If the unicode character is some other language there are chances of Data Loss Regards, Samsudeen B Hi Sam, I think what you said is right on the occasion that the collation was set to the default SQL_Latin1_General_CP1_CI_AS. But if the collation was set to Chinese_PRC_CS_AI, the si ...Show All
SQL Server UPDATE-Cannot shut down VS after using report designer
Routinely when I use BIDS to work on a report design, I cannot close BIDS because I get a message box that says: Microsoft Visual Studio cannot shut down because a modal dialog is active. Close the active dialog and try again. Of course, there is no visible dialog open. I actually have to terminate the process from task manager. I do not get this problem when using SSIS or SSAS. Only SSRS. Any Ideas Thanks! BobP Still using task manager here. Can't find anyone that has an answer... I'll keep looking... the truth must be out there. BobP ...Show All
Smart Device Development MonthCalendar DateSelected event?
Dear all, How can i trigger "Select Date event" of monthCalendar in .net compact framework, just like the DateSelected event in .net Framework. Urgent!!! Thank you too much Take a look at this blog post of mine: http://blog.opennetcf.org/ayakhnin/SearchView.aspx q=datetimepicker It shows you how add missing events for the DateTimePicker. You can do the same for the MonthCalendar. The message you are after is MCN_SELECT : const int MCN_SELECT = (-746); HTH... Alex ...Show All
Visual Studio Team System Load test response time identical with or w/o gzip compression
We have two web servers: one is configured with gzip compression while the other one is not. I'd expect that when we run the load test against the web server w/gzip compression, the response time would be faster. But our testing shows both servers have similar response time. Any idea why I ran the webtest, reviewed the request headers from the results, and I could see "Accept-Encoding : gzip". What else should I check ...Show All
.NET Development Yes I'ts a bug
Using also a very simple implementation of Serialization Surrogate the deserialization fail, if there is a forward reference, with a SerializationException and a message: "The object with ID 1 was referenced in a fixup but does not exist." this is a sample to see the bug: Can anyone tell me if I'm wrong or confirm the error. Also any workaround are welcome. ------------ using System; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters; using System.Runtime.Serialization.Formatters.Binary; using System.Reflection; namespace SerializationTest { static class Program { [STAThread] static void Main() { MyClass ci = new MyClass(); ci. ...Show All
SQL Server Excel (source) and parameters ?
I want to query my excel source sheet with a paramater so i create a sql statement like select * from xxx where name like 'fred%' Then I want to parameterise it with select * from xxx where name like @Name or select * from xxx where name like both allow me to map the Parameter neither syntax works in the data flow or preview but still works in the build query window ! Anyone know the correct Param declaration for the Excel Source (i believe it should be oledb @Name declaration is this a bug or am i missing something here ... Cheers Colin Colin, Could you provide more details about the error you are receiving and data type of the column you are mapping the parameter to I ...Show All
Visual Studio Team System The TFS Report doesn't update, TF50801 The TFSServerScheduler service did not initialize
I got the same error as http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=553325&SiteID=1 . 事件 型: 事件 源: Tfs 事件种 : 事件 ID: 3059 日期: 2006-11-16 事件: 16:12:14 用 : N/A 算机: TEST 描述: TF53010: Team Foundation 件中 生了意外情 。 此 包含的信息提供 您的站 管理人 。 技 信息(供管理人 使用): 日期(UTC): 2006-11-16 8:12:14 算机: TEST 用程序域: TFSServerScheduler.exe 程序集: Microsoft.TeamFoundation.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 程 信息: 程名: TFSServerScheduler 程 Id: 3780 程 Id: 3348 名: TFSservice 消息: TF50801: TFSServerScheduler 服 未初始化。Team Foundation 注 服 返回以下 : 此 算机的注 表 有 Team Foundation Server 的 ,或包含了 Team Foundation Server ...Show All
Visual Studio Parameterising ProjectType in VS2005 templates
Is it possible to parameterise the ProjectType node in studio 2005 template files The problem I have is like this, our development team write in both C# and VB and I want to write a guidance package to help speed up development in both code camps. The classes within my package are generated using code (CodeDomProvider, etc) so I can squirt out class code in either language Ok. But I have hit a problem when it comes to solution & project files as they are templated and have the language set in the ProjectType element. Do I need to write 2 packages with the majority of stuff exactly the same but different solution & project templates or am I missing a trick here Can I either: parameterise the ProjectType element in ...Show All
Smart Device Development Square screen help..
hello, In my design windows while creating a new project, it asks for qvga or vga but wont show square screen. And the buttons get mis-aligned in square screens. What i need to know is, if i download the emulator image for square screen, will i be able to get the option to develop for square screen in the design window itself Regards Carty.. Hello, Yes, I did see a square screen emulator where the objects are displayed properly. But when the same application is run on real device, the buttons move away. The buttons are in position on the emulator. Why is this and is there any way to fix the buttons on place instead of finding the screen size and adjusting its position programmatically If no, can you please assist ...Show All
Visual Studio Express Editions Web Browser Help
Hi, I'm trying to add alot of stuff to my web browser. I searched in google, but I didn't find anything. I tryed writting codes to see if I can get it, but I can't get it :( 1. Favorites 2. View Text Size 3. Web Browser site Name something like this (Visual Basic General - MSDN Forums - Mozilla Firefox) 4. History 5. Enter button when you type in the URL 6. Show the URl in the URL bar for every link. And I'll try to figure out the rest, because I have alot of stuff that I want to learn, but I think it's rude to ask for too much. Thanks. For the Icons, you will need to do some research on MSDN. That involves more than I usually do with VB & the webbrowser control. As Renee pointed out , you need to ...Show All
Visual C# Making a Web Browser with Tabs
Hi, ive been making this web browser with tabs but i just can't get it to work. Does anyone have any ideas on what i'm doing wrong. Here is my code; #region Using directives using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Windows.Forms; #endregion namespace MyOwnTabbedBrowser { public partial class Form1 : Form { int current_tab_count = 0; ArrayList tabpages = new ArrayList (); ArrayList webpages = new ArrayList (); public Form1() { InitializeComponent(); tabControl1.TabPages.Clear(); ...Show All
Audio and Video Development Problem Solved
I am trying to build the MFT_Grayscale sample project. I simply copied the project from the SDK tree into my personal code development tree and made no changes to the code. It compiles fine however when I try to register the built dll with regsvr32.exe I get the following error message: The module "C:\code32\vista\MFT_Grayscale...\MFT_Grayscale.dll" was loaded but the call to DllRegisterServer failed with error code 0x80070005. I am using Vista Beta 2 and Vista SDK beta 2 with Visual Studio 2005. Does anyone have any suggestions Thanks, Mark But, how can this run as administrator, when user account control is truned on ...Show All
