Kmbhat's Q&A profile
SQL Server Query to another server
Hi, I'm trying to do a query from ine server to another, something like this: " SELECT * FROM FILESERVER . SharePointConnectingDB . dbo . vDepartmentsNames" where FILESERVER is the other SQL server name, SharePointConnectingDB is the the DB in the other server, etc. as a return i get the following error (in spanish becuse the server is in spanish): in El proveedor OLE DB "SQLNCLI" para el servidor vinculado "FILESERVER" devolvio el mensaje "Especificacion de autorizacion no valida". Msg 7399, Level 16, State 1, Line 1 El proveedor OLE DB "SQLNCLI" para el servidor vinculado "FILESERVER" informo de un error. Error de autenticacion. ...Show All
Windows Forms List Box Problem
Ok, I have a listbox with some items in it, Now, i want it to be, when i click on this item, it will know what item i clicked on and will display a number in a label. I already know how to code how it will display the number into the label, but how do i set it up so, when i click on it, i can enter code for that text, Hope that made sense, Thanks ahmedilyas wrote: in the listbox, you implement the Click event. In designer view, select the listbox and look at the events property (click the lightning symbol in the properties) and double click the "click" event. Then in this event, you simply show the item number selected. The selectedIndex will give you the item number selected (the index) and is 0 based: if Me. ...Show All
Software Development for Windows Vista Statemachine Design and NullReferenceExcetion
Hi all, could anyone please tell me: - how can i create the edge between States by statemachine - why do i have a NullReferenceException for wf-instance Creation in the sequenzial Wf Thanks a lot in advance Regards EP Also you can get the edges directly from the states by the small dots that appear in center on the four edges of the EventDriven activity(dropeed in a State) and dragging it to the next state you need. Thanks, Kushal. ...Show All
Visual Studio Debug.Print in command window
Hello all, When using the debug.print command to display a structure in the command window I get the following message: < More... (The first 100 of 234 items were displayed.) >. How do I get the rest of the structure to display Thanks, jeff. Hi Lisa, Same problem. I briefly contemplated throwing my computer out the windows as I thought my VS install became corrupt. However, it turns out to be a simple fix. I had to go to Build->Configuration Manager, and change my build to Debug from Release loop ...Show All
Visual C++ Visual C++ compiler error
When I try to build a C++ file I get an error having to do with "Unresolved external _main". I searched through all the related files and there was no such string. What would cause this I didn't see any field for entry point under the properties menu selection. It wasn't under the projects menu either. I am working with Microsoft Visual Studio 6.0. Isn't that the one you are referring to I am a musician also. I play jazz written by people like Dizzy Gillespie and Thelonious Monk. I have heard of your spouse, but unfortunately I am not up to date on the current popular artists. It's a pleasure to make your acqaintance, so to speak. ...Show All
SharePoint Products and Technologies Anonymous access not working for lists and libraries
I am banging my head against a wall here on what should be a trivial issue. I have just one site set up that is going to be used predominantly as an internet, but have a component for users to login as an extranet. I have gone thru everythign and still I am having a significant issue. Anything that is a list or library is not visible when logging and requires a password if I enter the URL directly. Background: * SharePoint 2007 installed and all components of the website appear to work correctly when anonymous access is not enabled and I login. * "Anonymous Access" setup on IIS. (done) * Central Admin -> Application Management -> Authentication Providers -> "Enable anonymous access" is checked (done) **** ...Show All
Visual C# Problem in accesing functions in a dll
Hi All, I have a strange problem... I have VS2005 on WinXP and am making a Windows Project.When I ran the project I got an error "Unable to find an entry point name "foo" in dll "foo.dll". However the dll is present in Windows\System32 directory and the Path also references the directory So I added a reference to the dll in the System32 folder but it showed an error that "A reference to ....dll cannot be added.Please make sure that the file is accessible, and that it is a valid assembly or COM component". Next I ran "tlbimp foo.dll" from VS2005 command prompt.I got an error "The input file 'foo.dll' is not a valid type library.So I ran "regsvr32 foo.dll" and I got an error &quo ...Show All
Windows Forms how can i get a username or password from mydatabase??
Does anybody know how can i get data from my database. I construct login and register forms. In the registration there is no problem. Form add all information of user to the database. But In the login form, I have to make search entered username in my database or mydataset. I tried so much but i have nothing. pls help ..... In my form, Login button's code is as follows : if ( this .textBox1.Text == "" && this .textBox2.Text == "" ) MessageBox .Show( "Enter username and password" , "Error Message" , MessageBoxButtons .OK, MessageBoxIcon .Warning); else { if ( this . ...Show All
Visual Studio Team System Development Project Plan not picking up all information
When I open the Development Project Plan and load all the work items, the start dates and end dates are not loaded. Which may or may not lead to that the blue bars on the right are not shown. Why isn't Microsoft Project picking up the start dates and end dates /Chris Hello Chris, Please make sure you are opening the project plan in edit mode(In Team Explorer right click on the mpp and select edit) and saving it back to the Sharepoint. Saving should save the work items to mpp and next time you should be able to see them. If it still does not work, try creating the mpp. Regards, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where is the "Make Game" button?
i've looked all over for it, but it doesn't seem to be there. Is that because this is a beta i know for sure that the "Make Game Go on XBox 360" button won't be there until the full version hits at Christmas, because i have read the FAQ. But i'm surprised that the XNA team would not offer even a tiny, hard-to-read "Make Game" button, maybe tucked into the corner somewhere, so that with a lot of trial and error and reading the manual, you could eventually find it and make a game. Sheesh. - MrSock (no - he's just being a smartass ;) i'm picturing everyone downloading the app right now, getting all ready to click the "insert zombie ninjas into first person shooter" butt ...Show All
SQL Server Append SQL Query into XML at runtime ?
hi , I want to ask a specific question , supposing that we have the following XML document <sql:query> SELECT CurrencyID FROM Currencies WHERE CurrencySymbol =''$'' FOR XML AUTO,ELEMENTS </sql:query> I want to know that, If I pass this XML document to openxml() function , it will execute the Query that is between <sql:query></sql:query> and return the result in a XML document format that I can use inside the openxml And If Not What Can I do to perform this task which is :- Appending SQL Query result into XML Document I work on MSDE 2000 SP3 Any help , please thanks moooore ...Show All
SQL Server How can I verify the availability of an SQL server
Hello everyone, I have an ASP application mainly connected to one SQL database that works great but now I am trying to add some functionality that requires to connect to another remote SQL server. Till now all is fine except that the remote SQL server is not always online and of course when this happens my ASP application stops with the following error: Error Type: Microsoft OLE DB Provider for SQL Server (0x80004005) [DBNETLIB][ConnectionOpen (Connect()).]Specified SQL server not found. in my Global.asa I setup my session variables for DSN connections and in my pages I call my SQL connection as follow: Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open Session("MySQL") SQL = "my SQL stat ...Show All
.NET Development ADO.Net 2.0, SQL Server 2005 Express & VB 2005 Express: How to Use A DataAdapter to Create DataTables in VB Forms?
Hi all, In my SQL Server 2005 Management Studio Express (SSMSE), I created a database "ChemDatabase" with 3 .dbo tables. In my VB 2005 Express, I created a VB 2005 Express Windows Application project (called it "AveRpd" ) and tried to use ADO.Net 2.0 to connect the database "ChemDatabase" that is in SSMSE and to create the 3 tables in the App_Data folder of the "AveRpd" project as a DataSet for my Windows Application. I studied the .NET Framwork Developer's Guide "Populating a DataSet from a DataAdapter" in http://msdn2.microsoft.com/en-us/library/bh8kx08z.aspx , but I could not understand this article and the "Console Application" source code used in this article confused me g ...Show All
.NET Development Web Service - view xml?
Hi, I'd like to be able to view the raw xml that my web service reference is sending during a method call. Is there a way to do this, or should I just use a packet sniffer Thanks, Mike Unfortunately nothing build in the product for this, but there are number of external tools available, you can download number of then from gotdotnet: TcpTrace, WebServiceStudio,.. or you can just use netmon, or write a soap extension. Thanks, Elena Kharitidi ...Show All
SQL Server Error 18452 (not associated with a trusted sql server connection)
Using sql2005 on a Novell network... When attempting to log into Mgt Studio using windows authentication I am getting the error: Error 18452 (not associated with a trusted sql server connection) . I added my domain\userName in sql with no problems and added the account to the sysadmin server role. However, I noticed my credentials on my pc are not listed as domain\userName but rather ComputerName\UserName. I think this is what is causing the problem but I am not sure. Can anyone lend a hand I'd appreciate any help, Thanks. Scott Hi, switch on the login audits at SQL Server to see which user tries to logon to the server. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
