Duncan-Countrywide's Q&A profile
SQL Server Unable to retrieve data from AdventureWoks
Hi all, I have one question. It looks easy, but, I couldn't figure out the problem. I download and attach the AdventureWorksDB and AdventureWorksDW sample databases. I run the following query to test its functionality. use adventureworks go select * from production.location go and it gives me an error messeges which says: Msg 208, Level 16, State 1, Line 1 Invalid object name 'production.location'. Similar type of query is executed successfully in the adventureworksDW database. Please let me know if you have any idea Hello, Where is the Location table located It cannot find the table. ...Show All
Visual C++ how to get a handle to a control
Hi I started a new process from my application, and I want to enter some data in some of the controls in the new application. I was thinking to do that with the SendMessage function but how do I get the handle for a control in that window. Thank you for the help. What type of application are you writing, MFC, ATL, managed, etc Is this control part of your application, or are you tryiing to set the data of a control in another application ...Show All
SQL Server Page or File Restore - Warning Message
Hi, When testing out file or page level restores, I get the following message: The roll forward start point is now at log sequence number (LSN) 17000000031000001. Additional roll forward past LSN 17000000031800001 is required to complete the restore sequence. I've been restoring the full backup, and then the latest tail backup - so I'm not sure why I'm still getting this message Best Regards, Joe I am glad to hear it. I will double-check on our end that we clearly document this step Thanks Mirek ...Show All
Visual Studio Class diagram repository
.cd files saves information about classes and files names. - Where the class members are kept - Where can I find help/sdk about class designer api (Microsoft.VisualStudio.EnterpriseTools.*) As you mention, we don't store any member information in the class diagram files - only the diagram information is persisted. The class and file names stored in the diagram file are used to sync up with the code when you load the diagram (i.e., member information is retrieved from the source code files/assemblies). This allows us to support the notion of the diagrams being another ...Show All
Visual Studio Team System Migrating TFS RC from one domain to another
The process aim was to move an RC server from one domain to another. The databases were copies from the source domain's TFS server to the new one The databases were restored from backup The TFSadminutil was run to rename data tier, activate app tier and change user's accounts to the new domain Results : Team explorer was connected to the projects but didn't display any data Only the web services under the services virtual root worked – all other services didn't work and supplied 503 error In the Eventlog we received the following error: "Exception Message: An error has occurred while establishing a connectio ...Show All
Visual Studio Express Editions Visual Web Developer 2005 Express Edition - ASP 1.1 or ASP 2.0
If I use Visual Web Developer 2005 Express Edition can I develop in ASP 1.1 Hi! Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was going on. The best place to ask ASP.NET questions is over on the ASP.NET forums at http://www.asp.net/welcome.aspx tabindex=1&tabid=39 David was right, VWD will only allow you to do development of ASP.NET 2.0 applications. Sorry. HTH, PEte ...Show All
Windows Forms Read profile and membership properties in a Winform application
Hi All, I'm developing a small website with a backoffice winform application. The website has a profile section with user preferences, and I'm using the profile manager in web.config. The backoffice (winform) application needs to read some profile properties per user. I can access the membership information, but I didn't find any class or method to read the user profile, with their custom properties. I already referenced the System.Web namespace and included the membership and profile information in the app.config file.. Thank's for any help, Fabio Hi Fabio, The System.Web.P ...Show All
SQL Server Does creating KPI require cube reprocess?
The Analysis Service help says that after creating a KPI you need to process the cube in order to browse it. However, that's not the behavior I'm seeing - it looks like the KPI becomes available immediately. What behavior should I be expecting here The Books Online is being incorrect in this case. You dont need to re-process your cube after creating KPI's. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Visual Studio Tools for Office How can I standardize SIGNATURES in OUTLOOK for all the employees?
Hey guys, The Marketing director for the company I work for has asked that I research a way to standardize all the e-mail addresses in the company. Can anyone think of a way that this can be accomplished I know that Outlook stores all the signature files in the folder: C:\Documents and Settings\<USER NAME>\Application Data\Microsoft\Signatures\. But, is there an alternative way of doing this Perhaps through Exchange Administration or something Thanks! Todd You can use the CIW (custom installation wizard) or other administrative means to do this. At the end of the day, a signature is simply a file on disk (rtf, ...Show All
Windows Forms generate thumbnail from a non-image document file?
I want a pciturebox to display a thumbnail from a file (e.g. a word document, powerpoint document, html, text, openoffice file). WindowsXP seems to have this built in (thumbnail view). How can I expose this functionality inside my application An idea I had for doing this for web pages would be to load the document into a webbrowser control and then bl ...Show All
SQL Server remove specific string from text field
is there a way to look up a string of text and remove it in a text field that resides in my table datatype of the field is text. So I want to lookup a string in that field for all records in that table and remove the string of text but leave the rest of the field's text in tact e.g. -------------------------------------------------------------------- DECLARE searchStr VARCHAR(20) SET searchStr = 'text to search for' UPDATE Table1 SET col1 = REPLACE(CAST(col1 as VARCHAR(8000)),searchStr,'') WHERE col1 LIKE = '%' + searchStr + '%' AND ...... --------------------------------------------------------- ...Show All
Visual Studio Express Editions Register for multiple users
Hi I downloaded and installed VC++ EE to my XP Pro SP2 PC. I did this whilst logged on with Admin rights. I registered and saved the key that I received in a .txt file. I use the PC on a day-to-day basis whilst logged on with Limited rights and, when I tried to use VC++, it said that I needed to register. I used the same key that I'd used when I registered with Admin rights but it was rejected. I was under the impression that I could register the software several times, if necessary. How do I go about registering the software for use as a Limited user Do I have to get a further key from MS If I do and register with Lim ...Show All
.NET Development POST fails on larger messages/slower connection
I have a webservice receiving encoded strings of a size usually between 1k and 20MB which will be sent by a special application. When the application is started, it sends about 1000 of these strings to to the server, checking response and sending again, if necessary. Im using Framework 1.1, no additional stuff (like WSE) installed. Only known users are allowed to access the webservice. The server is configured to handle these bigger requests by adding maxRequestLength="40960" and executionTimeout="3600" to its web.config httpRuntime-Node. To reduce the number of requests sent by the client, i set the PreAuthenticate-prope ...Show All
Windows Forms Getting Output Debug screen messages to show on a listbox in windows form
Hi... How do I get output debug messages generated by the debug mode (ie. Start with debugging) If I can get them, I wish to display them to listbox that I have in the windows form I created. Is there a smarter way other than using the following : lstDebugMessage.Items.Add("Whatever is inside debug message"); Where lstDebugMessage is the listbox I generated in my windows form. Thanks for any ideas! hi try { //Operation } catch (Exception ex) { lstDebugMessage.Items.Add(ex.Message); } Hope this helps ...Show All
Visual C++ vector iterator in for loop gets compile error C2679
I'm fairly new to the STL, so I may be missing something obvious. I'm getting error C2679 on a for loop that uses an iterator for a vector that uses a pointer type. I use a similar for loop just above this one, which compiles fine. Here's a partial listing of the function: bool DEVGRP::ConnectToAudioServer( const CDMAudioServerInfo* pInfo ) { ... std::vector<LPVOID>::iterator iterate; DA56RpcClient* pClient; std::vector<CDMAudioDeviceInfo*>::iterator devices; CDMAudioDeviceInfo* p_device; ... // for( iterate = m_AS.begin(); iterate != m_AS.end(); iterate++ ) { pClient = (DA5 ...Show All
