ahmedilyas's Q&A profile
SQL Server Remote Connection Issue
Hello, I have a leb setup to install and test Microsoft Identity Integration Feature Pack. I have two servers running in two different forests and SQL running on one of the servers. I must connect to the SQL server from the othere machine but when I try connecting I get an error message that says "The service account cannot access SQL server. Ensure that the server is accessible, the service account is not a local account being used with a remote SQL server, and that the account doesn't already have a SQL login." Any ideas what i could be doing wrong Hi, Which Account is used to start the server is it domain account with proper privilege refer the links http://support.microsoft.com/k ...Show All
Internet Explorer Development Moving from DirectAnimation to HTML+Time2.0
Hi there Because of the security patch, the DirectAnimation objects are no longer rendered in our web application. I saw information that users of DA are suggested to start using HTML+Time 2.0. I would like to embrace it too, but I can't seem to find usage of HTML+Time 2.0 in graphs. Our system uses DirectAnimation to draw some graphs, and we've used DirectAnimation methods such as Rotate3Degrees(), Scale3Uniform(), Translate3(), etc. Are there any equivalents of them in the HTML+Time 2.0 world We're NOT using .NET, we're still only use classic ASP yet, so I'm not even sure if I can use HTML+Time 2.0. I just don't know what alternatives there are for us. Please help. Thanks KK ...Show All
Visual C# Make end of statement ";" optional?
I think microsoft should make the end of line statement, (i.e. the ";") optional. If you program VB.net like I do and is inevitably forced to write/read C# code, having to write the ; after each statement is annoying. I know C/C++/java etc all have it but in an enviroment like Visual studio where the IDE makes life so much easier the end of line statement is unnecessary. Who agrees with me Daticus wrote: Just look at the express versions of C# and VB, VB has two fold more traffic, which means VB is more popular with up and coming programmers. True (probably, I don't know the actual numbers). However, you're missing the big picture here. Of all the world's programmers, 90+% use some form of Visual Basic (VB.Ne ...Show All
Visual Studio 2008 (Pre-release) Getting an Operation's Action from the OperationDescription
Is there an easy way to get an operation's SOAP Action when all you have is the OperationDescription representing the method Here's the scenario I'm looking at: I have a custom service behavior that injects a custom IDispatchMessageInspector into several of the endpoints of the service. That part works just fine. However, when I get to the AfterReceiveRequest() method, all I have in hand is the request message, from which all I know is the SOAP Action it contains, and what I really need is the name of the operation it maps to. I can get the System.ServiceModel.Description.ServiceDescription object directly in my service behavior and pass that to my message interceptor, and from there on I could easily get at the OperationDescription objec ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Texture Surface Level
I am encountering problems sizing using the following code: textureA = TextureLoader.FromFile(device, filename); SurfaceA = textureA.GetSurfaceLevel(0); the file that I am using for textureA has dimensions of 549 x 710 yet the SurfaceA is coming up with dimensions of 1024 x 1024. What am I missing Thanks! wow. 60+ views and no one has a potential suggestion Ok, I've tried changing the texture to be rendered to to be a texture created in photoshop with an alpha channel. windowTexture = TextureLoader.FromFile(device, Path + WindowTextureTest, windowWidth, windowHeight, 1, Usage.RenderTarget , Format.A8R8G8B8 , Pool.Default, Filter.None, Filter.None, colorValue); I do... sprite.Be ...Show All
SQL Server sql prob
hi, i get Msg 208, Level 16, State 1, Line 1 Invalid object name 'a1'. i do have a1, what is the problem here thanks set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER PROCEDURE [dbo] . [STP_InvoiceByPono] AS BEGIN SET NOCOUNT ON ; declare @Fieldname varchar ( 25 ) declare @stmt varchar ( max ) declare fields cursor for select amounttype from Inv_AmountTypes set @stmt = 'Select distinct a1.date_, a1.suppliercode, a1.invoiceid, a3.pono' open fields fetch next from fields into @fieldname while @@fetch_status = 0 Begin set @stmt = @stmt + ',(Select b3.amountfc from invoice b1 inner join Inv_Detailed b2 on b1. ...Show All
Visual C# Understanding Threading
I am trying to understand threading... its been hunting me ever since c and pythong.. and now c# and I can't hide from it anymore... I was wondering if some one can show me a really simple threaded snippet and explain it to me if ok... as we speak Im creaing a pdf file about threads.. but It's being a pain. I need some baby steps here.. and this is one of the only place to look for help.. besides other forums that I know. Ok.. I know that I would probably not need threading here.. but Just for knowledge purps how would I implement threading in something like.... using System; using System.Windows.Forms; using System.Threading; class Threading { static void Main() { Application.Run( new MainAppl( )); } } class MainAppl : Form { La ...Show All
Windows Forms sorting datagrid view on update
Me .BillDataGridView.Sort( Me .BillDataGridView.SortedColumn, Me .BillDataGridView.SortedColumn.SortMode) hi, if i sort my grid and update a value in the grid, i have to call the sort method again for the grid to display properly. then it is only setting the sortmode to descending. if it is ascending, it still changes to descending. why is this happening got the solution and i think it is stupid from the developpers part. the sorted column ordering is 1 and 2 for asc and dec while the sort order function for the view take 0 and 1 resp. Me .BillDataGridView.Sort( Me .BillDataGridView.SortedColumn, _ Me .BillDataGridView.SortOrder - 1) ...Show All
SQL Server DB index performance
I'm not an index expert, but I think I need help from one. I have a table with 4.9 million rows. Its PK is a composite key on 2 unique FLOAT columns. The floats are actually long ints; there are no decimals. The 2 fields are a LOW and a HIGH, and together they define a unique numeric range. Given a number input, I need to retrieve THE row where the input number falls within that row's LOW & HIGH range. Here's essentially what I'm doing: SELECT * FROM theTable WHERE @inputNumber BETWEEN RangeLow AND RangeHigh My question is on the best way to do the indexes -- right now I'm getting results, but the query takes a good 15 seconds. Isn't there a way to make such a search faster, even though there are tons of rows ...Show All
Windows Forms Web Browser CTRL+ Toolbar problem AND Status Bar Help
I am working on a browser. I have a toolbar with the address bar on it. On most browsers, you can enter (for example) google then press CTRL+ENTER and it'll put www.google.com . I implemented that, and it worked fine before I put the address bar on the toolbar. Now when I press CTRL it selects the File menu. Can I get it to intercept the CTRL Also, I made a status bar. I want to know how to get the current status of the webbrowser component (not the progress--I already did that). For example, in most browsers when you load a page it will say "Opening Page [page]" "Downloading picture [pic]" etc. Is there a way to do that in Visual C# I have Visual C# 2005 Express Edition. Thanks for t ...Show All
SQL Server unable to create maintenance plan
I get an Ole db error while trying to create maintenance plans: An ole db error ox80004005( unable to create client connection)occurred while enumerating packeges. If I make the the sql startup account a local admin, everything works fine. I have checked to see according to the kb article to see that the account has all the necessary windows permissions and the account does have all the necessary rights. Thanks in advance for the help KRSE KRSE wrote: No, Just sp1 so far. Do you have any plans to install SP2 to see if that resolves your issue Paul A. Mestemaker II Program Manager Microsoft SQL Server Manageability http://blogs.msdn.com/sqlrem/ ...Show All
Visual Studio new connectors
Hello, Can you please describe how new connectors can be added I would like for example to implement the dependency relationship between elements of a class, but after defining the domain relation, I still do not see how a new corresponding connector can be added to the diagram elements thank you philippe Yes, it's missing from the toolbox. However, you can do it in the DSL Explorer window. (If that isn't showing, go to the VS View menu and find it under Other Windows.) Right-click on the DSL - that is, the very top of the tree in the DSL Explorer. Choose Add Connector. Once you've added the connector, you need to add a connector map (to associate it with the relationship) - that's in t ...Show All
SQL Server MDX Calculated Member Problem
Hi, I am trying to create a calculated measure, but since I am new to MDX, I have no idea how to go about it. I have two measure groups. One contains the number of customers recruited and is associated with one dimension (Start Week number). The other measure group contains the amount of of sales (£) and has two dimensions (Start Week number + Actual week number). What I want to do is create a calculated measure of sales amount per customer recruited. The number of recruited customers will obviously be constant for any given start week, and the sales amount will be different for each actual week. Could anybody advise on a way to do this. Many thanks, Dave Here is a simple example of a ca ...Show All
Visual Studio 2008 (Pre-release) XAML Navigation and Control Access
Can someone provide direction on how I might achieve the following I have an empty Main Page (PageMain.xml) in which I have navigated to another page file (in an external project). Within PageMain I would like to access controls on this new page which I have just navigated. I haven't been able to find resources yet. Any guidance or suggestions would be greatly appreciated. Thanks. In the app I set the StartupUri to my blank page. After it's loaded I call my Init method which has the following: NavigationWindow navWindow; navWindow = ( NavigationWindow ) App .Current.MainWindow; UiPageIUIMain pageIUIMain = new UiPageIUIMain (); <-- This is defined in an external project pa ...Show All
Software Development for Windows Vista test case 12: ICE warnings
Is it necessary to remove the ICE warnings I tried to create a destributive with the Visual Studio Setup Project, and came across two warnings: ICE83 WARNING The MsiUnpublishAssemblies action SHOULD not be present in AdvtExecuteSequence table, since it does nothing. ICE03 WARNING String overflow (greater than length permitted in column); Table: RadioButton, Column: Text, Key(s): ShutdownOption.1 The second warning occurred when I added the MsiRMFilesInUse dialog and entered a record to the RadioButton table with column Text: "Automatically close all applications and attempt to restart them after setup is complete." No it is not necessary to remove warnings. Only errors. Unless the warning p ...Show All
