Mark Macumber's Q&A profile
SQL Server Error Locating Server/Instance Specified from ASP.NET site
I'm currently learning my way around with SQL Server 2005 and asp.net 2.0, and for this I wrote a little site that uses SQL Server for it's backend. I developed it on my laptop, and it works great, until I deployed the website to my test server, so it's visible to the outside world. The instance I try to access any page that invokes the database, I get the following error: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified). The server doesn't differ much from my laptop setup, except t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Windows Logo testing
Torwards the end of the install under XP, I get an error stating 'The software you are installing has not passed Windows Logo testing to verify its compatibility with Windows XP. This software will not be installed.'' Whats up with that Okay I got it to finally work. I had to restart my computer, exit out of the shell then from the command prompt I deleted Systtem32\CatRoot2 directory. I then launched the setup from the command prompt. I now have a successful install. ...Show All
Visual Studio Express Editions Command Line in C++
Hi, Guyz, I have encountered a problem, i have installed VS C++ 2005 Express Edition on my computer and have realised that there is not 'devenv.exe' that would go with it or with the PSDK that i have downloaded too. if anyone knows or had similar issues on how to call / build / compile etc projects in VS C++ 2005, please post the commands that are used, or links that would tell me how. It seems to be a simple thinkg, but i just cannot get the answer, i was looking for so long on the web. Any help would be appreciated. Many thanks, in advance, Dmitry Thanks for your help a lot Ayman .... i was actually trying to build the project now...with VCBUILD and it gives me errrors saying that it ...Show All
Visual C# C# Excel programming Question 2
I figured I may need to create a new thread for this question... Is there any way to add fonts info to header and footer info. This is the code for Header and Footer. (Thanks to mEt) Microsoft.Office.Interop.Excel.Application excelAPP = new Microsoft.Office.Interop.Excel.ApplicationClass(); Microsoft.Office.Interop.Excel.Workbook wbk = excelAPP.Workbooks.Add(XlWBATemplate.xlWBATWorksheet); Microsoft.Office.Interop.Excel.Worksheet myWS; myWS = (Worksheet)wbk.Worksheets[1]; myWS.PageSetup.CenterHeader = "Test Header"; myWS.PageSetup.CenterFooter = "Test Footer"; excelAPP.Visible = true ; If I am not mistaken, you should use the formatting of Excel like if it was VBA. Try t ...Show All
Software Development for Windows Vista Designer rehosting and code beside files
If I host the workflow designer component and use it to create a workflow with a code beside file in C# and then save the workflow to disk - how can I then load the workflow back in at a later time for editing My concern is how I parse the c# code beside file when loading it back in to the workflow editor because the Microsoft CodeDom does not expose a c# parser. This would on the face of it seem to make the idea of building ones own workflow designer tool less attractive if you can't reload and parse a code beside file. Am I missing something ..and before anybody suggests I use xoml only workflows - for my project I need to used code beside workflows :) If you are really *sure* yo ...Show All
SQL Server Database Mail does not work from SQL Agent Job
Receiving Message: [264] An attempt was made to send an email when no email session has been established Just installed Service pack 1 and that did not help. We are having the exact same problem and restarting the SQL Server Agent did not help. We run SP1 on x86. We get both the "[264] An attempt was m..." error and the "2812, Could not find stored procedure 'msdb.dbo.xp_sqlagent_notify'...." error. Send test email works. ...Show All
Smart Device Development Does CF 2.0 support app.config?
Hi all, I would like my application to use the XML app.config file, but can't get the namespace's I require. Doesn't CF 2.0 support this Ok, here's another question to come off this. If I create my own custom XML Configuration file (config.xml), I create it in VS 2005 and place it in the following location (Debug\bin). Now if I debug through VS, this file doesn't seem to get copied across to the handheld. How can I get the file to be copied across when I run the application (debugging) through VS, and what would be the path that I supply to the XmlTextReader() Constructor (would it be relative ) Thanks ...Show All
Customer Care Framework a problem with SSO Single Sign-On
when i followed steps in lab D "Lab D: Use of SSO" Exercise1 and Exercise2 with application named " SSODemoLoginWebApp " every thing run ok, but when tryed to do the same with my application i found that username text box and password textbox not filled with username and password data, and nothing is happend. i tryed this with many applications i have, and when try to use my application url with the same name of the application " SSODemoLoginWebApp " in sample Lab D it works fine, i think there is one step is missed, please i want to know is there any missing steps i appreciate your help OK.....done that. Modified the ApplicationSigner.cs as well, but the DoLogin() event is not gettin ...Show All
SQL Server Error when restoring the database in SQL
I have 3 database in SQL Server 7.0 (e.g. Company_1, Company_2 and Company_3), and I'm create 2 for new Db (Company_4 and Company_5), when I'm trying to restore from the backup data into the new Db which I just created, there is encounter the error as follow : "Microsft SQL-DMO (ODBC SQL State : 42000). Backup or restore operation terminating abnormally." Then the Database has corroupted and not able to open for Db Information. However, I'm able to do restore in the other Db (the first 3 Db). Do 'restore verifyonly from <backup_device>' to check out the backup file. The message in your post simply means you have a corruption and sqlserver is not able t ...Show All
Visual C++ C++/CLI InteliSense from XML comments breaks with generics
When creating C++/CLI classes to use in C# applications, the InteliSense information created from XML comments fails to appear for a method if any of the parameters to said method use generics. Example: Say I have the following C++/CLI class: /// <summary> /// Stuff about Class1 /// </summary> public ref class Class1 { public : /// <summary> /// Does value stuff in the first class /// </summary> /// <param name="a"> The lone value parameter </param> static void DoStuff1( int a) { return ;} /// <summary> /// Does reference stuff in the first class /// </summary> /// <param name="a"> The lone reference parameter </param> stat ...Show All
Visual Studio 2008 (Pre-release) Populating ComboBox IFeedManager(RSS) Help Please..Thxs
I need some help populating a ComboBox with RSS Feeds i have in IE7,I would like the ComboBox to List the the Feeds RootFolder..Than i can select that particular feed and have the RSS (feed) show up in my ListBox..That way i can change out the Feeds just by using the ComboBox..This is what i have so Far:: In IE7 i have a few Feeds ( FilePlanet,SplinterCell PodCast & MSDN:Visual C#) I want these to show up in the ComboBox,than when i select one those feeds will show up in the ListBox... private IFeedsManager feedManager = new FeedsManagerClass (); private void AddIE7FeedsClick( object sender, RoutedEventArgs e) { IFeedFolder feedrootFolder; IFeedsEnum colSubFolder; IFeedsEnum colFeeds; feedro ...Show All
Visual C# Code alignment lost
I prefer to have my code aligned in such a way that a straight-forward edge detection results. For example (from a .Designer.cs file): private System.Windows.Forms. Label prefix_LAB; private System.Windows.Forms. TextBox prefix_TBX; private System.Windows.Forms. Button retrieve_BTN; private System.Windows.Forms. Label user_LAB; private System.Windows.Forms. TextBox user_TBX; However, if I cut and paste the code, I obtain private System.Windows.Forms. Label prefix_LAB; private System.Windows.Forms. TextBox prefix_TBX; private System.Windows.Forms. Button retrieve_BTN; private System.Windows.Forms. Label user_LAB; private System.Windows.Forms. TextBox user_TBX; Problem: I want to keep the automat ...Show All
Windows Forms How to load XML objects into custom .Net classes?
Hi all, Hoping someone can point me in the right direction here. I'm writing a VB.Net 2.0 WinForms admin app to allow users to do maintenance on an Oracle database behind another very large app. To keep the size of the admin app down and to avoid a maintenance nightmare when the tables (about 70 of them) change I am trying to write it so it's totally automated. I already have code to read the schema of each table to get the columns and then I have a form that adds an appropriate custom control for each table column. This works very well but I need it to be advanced enough to hide some columns, make sure others are entered, validate some others, etc, etc. So my idea is to have an XML file (see XML below) containing the tables and colum ...Show All
Windows Live Developer Forums Another website implements Virtual Earth and MapPoint
Hi, just like to introduce our website that has introduced mapping solution with Virtual Earth and MapPoint. Two areas on website Hays.com Job Search: After searching for jobs, users can view jobs on map [UK jobs only], they can then drag and move map to display jobs in surrounding areas that meet their criteria. Office Locator: Under the Contact Us menu page, users can search for Offices near their locations. They can also drag and move the map to view offices in surrounding areas. We chose Virtual Earth over Google and Multimap solutions as we believed that Microsoft gave better support and help during development and implementation as well as the look and feel of Virtual Earth felt to be more Corporate and blended well with ...Show All
Visual Studio FileCodeModel null for page without code-behind
Why is the FileCodeModel for a C# project item null for a web form without a code-behind file There is a script block with runat="server" that contains code functions. Shouldn't that show up as a FileCodeModel for this project item Can I force the FileCodeModel object to populate AFAIK, in previous versions (VS.NET) the FileCodeModel was available only for code files, not for .aspx files. In VS 2005 I think that there is also a FileCodeModel for .aspx files, but I am not 100% sure. Other thing that I noticed is that to get a FileCodeModel you may need to open the window: - Call ProjectItem.IsOpen(view) to know if it is open - Call ProjectItem.Open(view) to open it. This return a Win ...Show All
