Aaron Marten - MSFT's Q&A profile
SQL Server Can't connect to SeptCTP x64
I've built and deployed cubes on a x64 server, with x64 SQL2005 SeptCTP. Works pretty much fine. I can run 32 bit Excel on the server, and browse the cubes no problem. However, if I fire up 32 bit Excel on my 32 bit client machine, and go through the MultiDimensional data source wizard to connet to the cubes, after I put the server name in, it throws this error: "The peer prematurely closed the connection" Then this error: "An error was encountered in the transport layer" Like a fool, I went from 32 bit to 64 bit and from JunCTP to SeptCTP at the same time, so I don't know which is to blame. I'm aware of the classic "re-register msolap90.dl ...Show All
Visual Studio Express Editions Making an app look like a Windows XP app
I am currently porting a VB5 app to VB2K5. I have installed VB2K5EE at home. I am trying to do the basic menu/toolbar. The trouble is that I can't seem to make those two look like regular Windows XP menu/toolbar. I.E. I look at the MSPaint and Wordpad menus and I can't make the menus in VB2K5 look and act the same. I can select System in the RenderMode property but it looks like a default Windows XP menu bar but acts like a Office2K3 menu. What am I missing I tried adjusting the padding property. But that didn't help much. - Ronald i know what you mean. and i know that you can change it in t ...Show All
Software Development for Windows Vista Issue Moving Lab 04 (Beta 2) to VB
In order to try and have a workflow example running in VB (I tried the code examples that I got from http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=139052&SiteID=1 and they don't seem to build properly - could they be for ver.1.2 ) I've taken my favorite example, (StateMachine, 04) and I've tried to move it to VB. The actual code in the OrderWorkflows project was easy enough but the code in form1 from the OrderApplication project was somewhat more challenging. The good news is that I think I'm almost there. The bad news is that I've hit a rather large snag with the StateMachineTrackingService.RegisterInstance method in the Sta ...Show All
SQL Server Calling a stored procedure that inserts records and generates an output parameter
I will be calling a stored procedure in SQL Server from SSIS. The stored procedure inserts records in a table by accepting input parameters. In the process, it also generates an output parameter that it passes as part of the parameters defined inside the stored procedure. The output parameter value acts as the primary key value for the record inserted using the stored procedure. How can I call this stored procedure in SSIS This is just one of the n steps as I will be extracting the output parameter generated by this stored procedure for the succeeding steps. The Execute SQL Task sounds best suited to this scenario: http://www.sqlis ...Show All
Visual C++ *.xsd add query (2005)
When i add query in Design View of my *.xsd file - all ok. But, when i add one more query - appears such errors that i even do not know what to think... Point in that, that all what i created was in a visual mode by the studio designer view, instead of in a code. Thus it turns out that all these mistakes have been made by visual studio personally. So I dare to believe that it's you bug :) ------ Build started: Project: SI_prj, Configuration: Debug Win32 ------ Compiling... SI_prj.cpp c:\documents and settings\serge\desktop\vs projects\si_solu\si_prj\Form1.h(112) : error C2039: 'SI_DataSet' : is not a member of 'SI_pr ...Show All
.NET Development Missing MSVCR80D.DLL needed to run a.NET application?
I have developed a .NET application using Visual C++ .NET 2005 Express Edition. I have several users doing Beta testing for me. I included the latest dotnetfx.exe redistributable runtime on my distribution CD-ROM and instructed my testers to install it first, before attempting to run the app. One user, on Windows XP Home, SP2, says that even after installing the .NET Framework 2.0 from dotnetfx.exe, the application fails to launch with the following error message: A required dll file MSVCR80D.DLL was not found Since this file is related to debugging with Visual C ( I believe) it should not be required for use with end user apps. ...Show All
SQL Server Problem Xquery about XML node called 'data'
I have a xml code: <root> <data id="1"> <value>80</value> </data> </root> I execute the following query XQuery in C# .NET: For $b IN document(\"filename.xml\")/root/ data WHERE $b/@id =\"1\" RETURN $b/value and XQuery show me the following error: '(' expected. Maybe you are using a known function name like last, data, text etc as an identifier. For this release , this is not allowed. I can't change the name "data" for my Xml Node so how can I solve my problem using the word "data" in XQuery Dear Luig ...Show All
.NET Development IIS Installation
Hi, I am attempting to run the QuickStart Tutorials for Microsoft .NET Framework SDK v2.0 and am getting the following error message: "The QuickStart tutorials are written in ASP.Net and require IIS." I've tried going to my Control Panel - Add/Remove Programs, and then clicking on Add/Remove Windows Components. I do not see an option for installing IIS. I am running on Windows XP Home Edition v5.1 What can I do Thanks for your help, Anne XP Home Edition won't come with IIS. You either need Professional or others ...Show All
Visual Studio Express Editions code prob
ok i've got this code Dim sText As String = InputBox("Enter some text") If String.Empty.Equals(sText) then return If sText.length <= 0 Then Return Dim oTW As IO.TextWriter Try oTW = New IO.StreamWriter("c:\text.txt") oTW.WriteLine(s) Catch ex As Exception MessageBox.Show(ex.Message) Finally If oTW isnot Nothing then oTW.Flush() oTW.Close() End If oTW = Nothing End Try This shouls save my input to a text file. it's making the file alright but the text isn't getting saved also i've got and error around the "If oTW i ...Show All
Visual Studio Team System rsitemnotfound error
When we access the team portal, we are getting rsitemnotfound errors for the bug rates, build, quality indicators and remaining work reports. The exact error is for bug rates is : The item '/RylandCom/Bug Rates' cannot be found. (rsItemNotFound) I assume this is a SQL Reporting services issue, but am not sure how to configure this in TFS. Has anyone else run into an issue like this Thanks in advance, I'm having similar problems, the reports that it says are missing are Exit Criteria Status and Issues both giving the error that the item cannot be found. This occurs when using MSF agile. I'm running the b ...Show All
Visual C++ resources and dll's
Hi I have a windows component written in c and I am loading a custom mouse cursor like mouse_cursor = (HCURSOR) LoadImage(GetModuleHandle(0), MAKEINTRESOURCE(IDC_ZOOM_CURSOR), IMAGE_CURSOR, 0, 0, LR_DEFAULTSIZE); SetCursor(mouse_cursor); This works fine when I compile the control and a function to test the control into a executable. However when I compile the control as a separate dll and try to test that the cursor doesn't load. The error is 1812 "The specified image file did not contain a resource section.". I assume the problem is GetModuleHandle(0) is not the handle to the dll but the executable. ...Show All
.NET Development SQL user permissions
Using C# how do I obtain information about the access permissions on an SQL Server database. For example, I need to discover if a user is alllowed to perform select, add, delete & updates on a table. I dont think it is implemented. If you ask me, it would be a potential security risk if you would supply a list of stuff a user can do. ...Show All
Visual Basic How to update timestamp - Please help
Hello All, I am new to VB.NET (was a VB 6 programmer for the last 8 years). In my database, I have a CreatedBy, CreatedTime field in my "Transaction" table. CreatedBy should be updated with the currently logged on UserID. CreatedTime field should be updated just before the user clicks on "Save". I simply dragged and dropped the "data table" on the form and VB.NET created the grid and also generated all the code for me [Great feature]. However, I do not want the user to type in the value for "UserID" or "Created Time". Instead I would like to do that behind the scenes just before the data is ...Show All
.NET Development Performance issue spotted.
In my last thread, I posted a serious performance issue I was getting with VS .Net 2005 IDE while running the application from there(either debug or release modes). This performance issue seems not to exist if i run the application from windows (windows explorer, start-run). Now, after some careful step into debugging functions, I have realized that performance is severely damaged on the following lines: for ( int i = 1; i < bmpToConvert.Palette.Entries.Length; i++) { pal.Entries[ i ] = bmpToConvert.Palette.Entries[ i ]; } What is happening to this code Why is this so slow on .net 2005 ...Show All
Visual Studio Team System Enterprise Architecture Framework
Which Enterprise Architecture Framework best pairs with MSF 4.0/3.0 IEEE, TOGAF, Zachman Which Enterprise Architecture Framework does Microsoft employ internally I would assume that the resources on GotDotNet are also valid. http://www.gotdotnet.com/team/architecture/enterprise/default.aspx http://www.gotdotnet.com/workspaces/workspace.aspx id=ed15cee0-b51e-4172-9115-5c6f4d5d92d8 ...Show All
