Neil K.'s Q&A profile
SQL Server Memory Error
Hello- After processing a cube and when attempting to add a heirarchy to the cube I receive the following error : The query could not be processed: o Memory error: While attempting to store a string, a string was found that was larger than the page size selected. The operation cannot be completed. I've seen reference to a hotfix for this issue, but I don't know what the hotfix number is. Any help or suggestions on this Thanks! Sorry no fix, but I am getting the same error on SQL 2005 Enterprise RTM 32 bit. I get the error only when I run queries from a certain BI client on anothe ...Show All
Visual C++ rand() not being random!!!
OK An other problem which I really need assistance with I'm using srand to generate random numbers out of a range BUT i always get the same sequence of numbers!! But I notice the problem come from rand() i tried to create a new project with only this : #include <ctime> #include <iostream> using namespace std; void main() { srand(time(NULL)); cout << rand() << endl; cin.get(); cin.ignore(); } rand() does give me 7880 - 7920 - 7934 - 7946 as time goes. I even tried closing VS completly and try again, i Get approximatly the same result. What's wrong ! Like i Said, i do ...Show All
Visual Studio Can't get LAN Booster client to use server
When loading a solution in VC++ 2005 (RTM), I get the message "Unable to use SourceSafe LAN service, performance of SourceSafe operations will not be optimal". SSService is running on the server and there are no errors in the application log of the server related to it. The only entry is a message indicating the service has started. The server is a Windows 2003/SP1 system that is NOT running Windows Firewall or any other firewall. The client is a Windows XP Pro/SP2 system. I've not tested any other clients thus far. I'm trying to get a test system working first. The VSS database was originally created with VSS 6 ...Show All
Visual C++ Graphics Issue
Hey, For my final project for school, I decided to program the known game SOKOBAN in Visual C++. We didn't learn much about graphics but it's vital i'll use it. So, what I have so far is all the classes for the game ready, and their implemntation, reading a level from a .txt file and import it to a viewable level by printing bits of images into a whole level (the level printing is being done by the BitBlt function) My next thing to do was to clear the screen off all images and produce a second level, after the first one got finished (by clicking on a button for now) and I would like to know how can I clear the screen from all con ...Show All
SQL Server <Code>-8462</Code>
Hi: My service broker is working with 2 different instances in local server.But could not able to get working on 2 different servers because of Conversation ID cannot be associated with an active conversation error which I have posted. After I receive the message successfully...in the end I get this message sent... < Error xmlns = " http://schemas.microsoft.com/SQL/ServiceBroker/Error " > < Code > -8462 </ Code > < Description > The remote conversation endpoint is either in a state where no more messages can be exchanged, or it has been dropped. </ Description > ...Show All
Windows Forms How to get the databound combobox selected text in the datagrid
I follow http://64.78.52.104/FAQ/WinForms/FAQ_c44c.asp#q480q to create and use a databound combobox in the datagrid. I can get the combobox selected value (ValueMember). My question is how to get the combobox selected text (DisplayMember). Of course, I can use one hashtable to get the text by the value. But I think there should be a easy way. Any help, Thanks a lot. ...Show All
.NET Development 'FromObject' is not a member of 'System.Nullable'
I tried to build a project that ran flawlessly in vs 2005 beta2. I did two searches before I submitted this post. However the compiler generated 6 errors in the dataset designer. All were of the type error BC30456: 'FromObject' is not a member of 'System.Nullable' in similar if blocks: If ((returnValue Is Nothing) _ OrElse (returnValue.GetType Is GetType(System.DBNull))) Then ...Show All
.NET Development Windows Service and Form
Hi everyone. I'm reasearching this for a class project and could really use the help! I have a simple windows service that I followed from MSDN - you, know, the one that writes to an eventlog every xx seconds. This worked great. However, what I am trying to do is launch a windows form at the timer_elapsed event. My approach was as followsL I created a form called frm_test in my service application with a simple button to close it. I instantiated the form at the timer_elapsed event using the following: dim myform as frm_test = new frm_test myform.show() unfortunately, this didn't work. When I attached a debugger to it, it ...Show All
Visual J# How to hit BreakPoints in VJ#
Hi all, i have made breakpoints in our web application porting from vj++ to vj#.The break points were hitting and were enable to track using f11 and f10 keys. But in vj# ,when insert new break points,it don t seems to hit.Please give us some ideas where it is lacking, inorder to hit the break points. thanks praveen Hi Raj, I tried the way as you said to hit break points.now it is hitting for me.The reason for not hitting the breakpoints is that we launch the application through IE.So when it is get launched ,it already attach the IE process and not trying to hit break points. ...Show All
Visual Studio Team System Exception in PreRequest event: The hidden field group name is invalid
Build: 8.0.50215.44 (beta2.050215-4400) Repro: 1.) Record a web test 2.) Play it back 3.) [Do not generate code or implement anything in the PreRequestEvent] Results Exception on GET/POST requests (no pattern) even though HTTP response shows 200 (OK) or 302 (FOUND) on same URL requests as exception is thrown on. The HTTP response <body> for requests that raise the exception is always "Object Moved". Strangely, most of my recorded tests play back flawlessly. I checked, and none of my requests are set to use a proxy server (testing on an internal NTFS domain web server running IIS 6 / ASP.NET 1.1). Sta ...Show All
Smart Device Development running a program inside emulator
I am using Win CE emulator 5.0 after I build the application on VS.2005 I reach it from emulator by main menu-file sharing. Althought my project is win CE project I can not run it in the emulator how do you run your program in the emulator regards Hi, what does you emulator write out and error message ro what When I make applications for smart device, I just deploy them to the emulator via Build menu (I press CTRL+F5, I really don't remember what it stands for, but something like Run without debugging ) Then it asks me where to deploy my application and I choose the emulator. But the shared directo ...Show All
SQL Server Programmatically extending the project tree
Hi, I need to write an add-in, that when installed it will add a virtual folder to the project tree (in which I can later add other stuff). The problem is even more complicated since the project I want to extend is an SSIS project (SQL Server Integration Services), and it doesn't let you customize the project structure even from the project explorer itself (can't add folders). I appreciate any help on this. Thanks. You can't add new folders to SSIS project, neither from UI nor programmatically. We automatically assign file to one of the predefined folders (based on file extention - you may no ...Show All
Visual C# Hosting ASP.Net runtime in Winforms app to display asp.net pages from memory stream
I'm currently trying to build an application which uses a webbrowser control to display formatted data. The pages I am trying to display might not be found on the harddrive of the local machine: they may be on a server or in a compressed file somewhere. To handle simple html requests I have created an asynchronous pluggable protocol to handle any requests and supply the pages from wherever they might be stored. What I'm trying to do however is display ASP.Net pages. I don't have a web server to use to serve these file so I have to use the winforms application to host the asp.net runtime. I'm managed to implement that and have b ...Show All
Visual C# i need help with basic things
Im new to visual C, but i know the fundimentals of prgramming, and i cant figure out how to make a form pop up or how to change the start screen to another form, any help You've asked in the C# forum, but you say you're using Visual C. do you mean C# To create a form, you need to call it's ShowDialog method, or it's Show method if it's to be modeless. Your entry point is static void main, this method creates the starting form and calls it. ...Show All
.NET Development SqlTypes and Strongly Typed DataSets
Is it possible to create Strongly Typed Datasets (especially through the VS2005 visual editor) that use the System.Data.SqlTypes rather than the standard data types If not, why not It seems like such datasets would have most of the advantages of standard strongly typed datasets and would be able to handle NULLs much more easily. ...Show All
