13one's Q&A profile
Smart Device Development Connection to SQL Server 2000
Hi, I am trying to connect to an SQL Server 2000 database using VB.NET 2005 CF. When I run the application (code below), I get the following error: An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.SqlClient.dll Additional information: SqlException Can anyone help me solve this problem When I use the same code in a windows application from, it works fine, but it doesn't when ...Show All
SQL Server Null Problem
Hi, i have this problem (I'm using analisys services 2000) i have a fact table Services with two dimensions Clasifications, and Prices. The fact table has three dimensions IdServices, IdClasifications and IdPrices, idclasifications and idprices are fk to the tables of Clasifications and Prices. I wan to count the services so i have measure on the field IdServices wiht count. The problem is that it doesn't count all the services, all the ...Show All
Windows Forms Combobox Usage VS2003 -> VS2005
I need to populate a C# Combobox with potentially several thousand items. I know this is not recommended but this is after horiz data splitting so it's the best I can do. In VS2003, I tried binding to a dataset but this was way too slow so I started loading the Itemlist from a datareader and it worked great. No more than 2 seconds to load several thousand items and memory usage stayed well within reasonable limits. I tried the same code compiled ...Show All
Visual Studio 2008 (Pre-release) FK column and related tables
When using sqlmetal.exe against a database I step into the following problems: - Some (not all) of the identifiers are written to the .cs file in what I guess is ASCII, even though they are Unicode identifiers (e.g. a column named "Descripcion"), which makes non-alphanumeric characters (ascii chars > 128) appear in the middle of the names, rendering the file unusable. - So ...Show All
Visual Studio Team System Report server problem.
When I try to navigate to http://<application-tier>/Reports I get the following error message: "The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version." We're running Windows 2003 servers with SQL 2005 as the data tier. If I go to the Configure Report Server settings then everything looks like it's good. How can I fix this After looking in the ...Show All
Visual Studio Team System Where to download MSFWinBuild?
I'm in the process of customizing the MSF Agile Process Guidance. I have been using the Process Guidance Customization Guide from the Visual Studio October SDK. This guide mentions that the MSFWinBuild Tool is useful to pre-render the HTML files. The guide says that this tool can be downloaded from http://msdn2.microsoft.com/en-us/library/ms243893.aspx . However, I can't find the download. Where can I download t ...Show All
Visual Studio Team System Database error while trying to merge between branches
Hi, I don't know if anyone here has bumped into this problem. While trying to merge a changeset between two branches I get the following error: A database error occurred (SQL error 2627) ---> Violation of PRIMARY KEY constraint 'PK__#1146012A__123A2563'. Cannot insert duplicate key in object 'dbo.@mergingIntoDeletes' . Is this a known issue, anyone has any ideas Any help wold be appreciated. Thanks a lot in advance, BMosc ...Show All
Visual Studio Express Editions I get 3 build errors while publishing (Please Please Help)
Error 1: Cannot publish because a project failed to build. 1 1 Band Web Browser(BETA) 1.0.0.0 Error 2: Unable to copy file "bin\Release\Band Web Browser(BETA) 1.0.0.0.exe.manifest" to "bin\Release\Band Web Browser(BETA) 1.0.0.0.publish\Band Web Browser(BETA) 1.0.0.0_1_0_0_0\Band Web Browser(BETA) 1.0.0.0.exe.manifest". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 ...Show All
.NET Development WSE/DIME - ResponseSoapContext.Current = <undefined value>
Why isn't the ASP.NET runtime providing a valid reference to the ResponseSoapContext object to my WebService I'm trying to use WSE and DIME to send attachments via Web Service. I created a brand new WebService project and added in the reference to WSE. I didn't modify the Web.Config file myself, but when I looked I was pleasantly surprised to see that all entries were added automatically for me (see Web.config file below). Here is the Web Servic ...Show All
SQL Server Where are the Graphs saved from Data Mining model viewer
Hi, all here, I tried to find the graphs I saved from Data Mining Model Viewer, but where is it saved As we see from the mining model viewer we could save the graphs there by clicking the 'save graph' button, but where is the graph Really need help for that. Thank you very much in advance for any guidance and help for that. With best regards, Yours sincerely, Do you mean the Query Builder results There is no way to &qu ...Show All
Visual C++ Optimizing Link Times
I'm trying to merge our multi-dll project into a single EXE to get more advantage out of LTCG. The problem I'm having is that making this change has taken link times from 20-30 seconds up to 2:20, without enabling LTCG (in a debug build). I have incremental linking and use library dependancy inputs enabled, and with the uber-verbose output, it appears to be functioning. My final exe size in debug is 38 MB, and my .ilk file is 127 MB. Are there a ...Show All
.NET Development getting a connection string from a text file
Hi I have created a small data access app. I want to pull the connection string for the SQL database from a text file. But I am getting it a bit wrong can anyone help at all Dim connStr As String = "" Dim SqlConnection1 As SqlConnection = New SqlConnection Dim sr As New StreamReader("C:\Program Files\MDM\ScanViewSetUp\ConnectionString.txt") connStr = sr.ReadLine() SqlConnection1 = connStr ...Show All
Visual J# Visual J# General
What is Visual J# General Re: Visual Studio Licening and... Since I haven't finished my post on the subjet, I'll copy & paste what Prashant Sridharan had to Re: How do I learn to write ga... Michael Abrash summarized the secret to success in three points: Hard work Hard work, and Hard work Re: LINQ May 06 CTP installed ... Here is the proper command line override to work around skipped over installation actions due to V ...Show All
Visual Basic I need a little help
I want to create an option in my project where you can check and download updates for it. How would this work Thanks After doing My .Application.Deployment.Update(), is there a simple way to restart the app for the user In the past, I'd create a batch file that includes a time delay before starting the app, to give time for the current instance to close completely. Right now, if there's an update available, I sim ...Show All
Visual Basic Launch and control a command line program from VB form
I can launch a command line program such as cmd.exe from a VB form using: Shell( "cmd.EXE" , AppWinStyle.NormalFocus) How do I write data to the program as if I were typing at the keyboard How do I capture the response of the program so I can parse it I assume I have to redirect its IO streams. Can't figure out how. I'm not sure if it will do all you need but have a look at the ProcessSt ...Show All
