hlj16's Q&A profile
Visual Studio 2008 (Pre-release) debugging WCF service in IIS 7
How do you debug a WCF service hosted in IIS 7 in Vista I turned on Windows Authentication under IIS/WWW Services/Security, and have set the service up for Windows Authentication in the IIS manager. I can attach to the w3wp.exe after hitting the service in a browser ( https://ferrari/CommerceServices/TestService.svc ) but I get "The breakpoint will currently not be hit. No symbols have been loaded for this document." Am I attaching to the right process On a side note, is there any way to get F5 debugging support working for IIS7 hosted services Thanks Debugging symbols are created for any project that produces an assembly (be it an EXE or DLL) that is built using a debug (vs. release) ...Show All
Visual Studio Tools for Office Saving excel as an image file
Anyone knows how can I save an Excel file to a image file (.gif or .jpg ) using VSTO Note that, I want to export the entire worksheet (there are no charts in it). Thanks. Douglas: Of course we can solve in Excel using VSTO However, I don't spend any time with an "open - ended" question unless the OP comes back and explain: using or not VSTO This is a VSTO forum which don't deal with other non-VSTO technologies. ...Show All
Windows Forms Combo box did not pick up the selection
Hi, all, I have a win form app in vs03. One of the combo box has a bug. If the user click and scroll down to select from the dropdown list, then click a save button, every thing is fine. But if they type the first couple letters to bring up the selection, then tab away to Save, the selection did not get saved. Here is how I populated it: Dim dsDropdowns As DataSet = SqlHelper.ExecuteDataset(cn_Pro, CommandType.StoredProcedure, "CT_getCLGDefault") dsDropdowns.Tables(0).TableName = "LogType" cboNoteType.DataSource = dsDropdowns.Tables(0) cboNoteType.DisplayMember = "TypeName" cboNoteType.ValueMember = "TypeId" And here is how I retrieve the selection Dim arParms() ...Show All
SQL Server Setting width of parameter text box?
Is there a way to set the width of the parameter text boxes in the Report Server UI As luck would have it, I need it to be just a few characters wider. Thank you, Dick Campbell Thanks. That certainly sounds like what I am looking for but I can't find it. Where is this setting to be found. Best regards, Dick Campbell ...Show All
Visual Studio Tools for Office Starting Excel with C#
I have written some simple code to open Excel in C#, but for some reason a SecurityException is thrown instead. MSExcel.Application xl; xl = new MSExcel.Application(); The code compiles fine, but never executes well at runtime giving only: An unhandled exception of type 'System.Security.SecurityException' occurred in TestApp02.exe Additional information: Security error. Does anyone have an idea as to what I am missing I have written similar VB6 code using GetObject(), but I can't remember ever coming accross a security issue. As this is not a VSTO project, strictly speaking you should be not be asking here, but in group such as http://msdn.microsoft.com/newsgroups ...Show All
Visual Basic simple question textbox to textbox
i am working with one form, i want the text inputed by a user from one textbox to be displayed in another read-only textbox thanks for your time It's hard to say what's going on without having some more information. If by publishing you're referring to ClickOnce Deployment, I'd say it was some kind of security issue... What's the text you're assigning to the textbox Where are you getting it from What's the condition for setting it Can you confirm that actually is some value in the text string, before you assing it to the textbox (You can check that by showing it in a message box or something...) Andrej ...Show All
SQL Server Integrate more than one SSIS packages into one package
Hi I'm new to SSIS field. I'm importing data from flat files to sql server 2005 through SSIS packages. I have around 30 packages which transfers data from flat files to corresponding database tables. I want a single package that will run all the 30 packages by running that single package. Like in a single stored procedure we can run multiple stored procedure, I want the same solutions for my packages. Is there any method which can solve the above issue Please kindly guide me . Its urgent. please reply soon. Thanks in advance. You can actually have them execute all at the same time by NOT connecting them to each other with the control flow arrow connectors. T ...Show All
SQL Server sys.sp_testlinkedserver
According to BOL extended stored procedure sys.sp_testlinkedserver returns 0 on successfully connecting to linked server and 1 when it fails. But I tried this Created a linked server to default instance of 2000 called TEST and used following script to test the extended stored procedure and instead of printing my PRINT statement it generated error -- CHECK LINKED SERVER CONNECTION DECLARE @ServerName sysname DECLARE @a int SET @ServerName = 'TEST' IF EXISTS( SELECT 1 FROM master . dbo . sysservers WHERE srvname LIKE @ServerName ) BEGIN EXEC @a = sys.sp_testlinkedserver @servername = @ServerName IF @a = 0 print 'LINKED SERVER ''' + ISNULL ( @ServerName , '' ) + ''' IS CONNECTED.' ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Link Broken!
One reason we release beta software is to put it in the hands of the community and start getting feedback on what we'll be releasing. How you give feedback depends on the type of feedback you have. We hope many of you have already joined the XNA Beta Program through the Microsoft Connect Web site http://connect.microsoft.com . If you haven't signed up at the Microsoft Connect Site, it couldn't be easier. Sign in using your Windows Live ID or Passport account (if you haven't already). Click Available Connections. Scroll down. In the table that lists the various programs available, select XNA Game Studio Express Beta 1, and then click Apply. After filling out the short survey, you will be enrolled automatically. Micro ...Show All
Visual Studio Team System TF14043: An error occurred computing the delta. Not enough storage is available to process this command
We're attempting to migrate a fairly sizeable SoruceSafe database into a dual-tier TFS server configuration using VSSConverter. After running analyze.exe, VSSConverter Analyze, then half-way through VSSConverter Migrate we start seeing errors in the EventLog. The app-tier server had been running for about 3 weeks, so we've restarted it and are starting a fresh VSSConverter Migrate. Searching for the win32 error "Not enough storage space is available" seems to indicate that it's run out of memory. However this is a Dual Xeon hyper-threaded box with 3.5Gb of memory and plenty of free disk space. The 2.0 Framework machine.config has <processModel autoConfig="true" /> Can you provide any clues as to wha ...Show All
Windows Forms how te get date only?
I am using this code to get all available doctors in a specefic dates (regardless of the time). sql_command = new SqlCommand ( "sp_get_available_staff" , sql_connection); sql_command.CommandType = CommandType .StoredProcedure; sql_command.Parameters.Add( "@starttime" , SqlDbType .DateTime).Value = e.Start.Date; sql_reader = sql_command.ExecuteReader(); and this is mt stored procedure: SELECT working_schedule . id_number , persons . person_name FROM working_schedule INNER JOIN persons ON working_schedule . id_number = persons . id_number WHERE DATEDIFF ( mi , starttime , @starttime ) = 0 ORDER BY persons . person_name but it's not retriveing anything t ...Show All
.NET Development Generating XSL for the given XML
Hello all, I have an XML whick has the details regarding the function names and parameters. I'll have to display the details in a table format. The sample XML and table format required are given below: XML Format: <Result> <IOParameters> <Inputs> <Parameter> <ParameterName>input</ParameterName> <Value>value</Value> <Unit>unit</Unit> </Parameter> <Parameter> <ParameterName>input</ParameterName> <Value>value</Value> </Parameter> </Inputs> <Outputs> <Parameter> <ParameterName>sdg</ParameterName> <Value>sdg</Value> <Unit>sdg</Unit> ...Show All
Windows Forms Mater Details records in DataGridView
Is it possible to show mater detail in DataGridView. If you bind DataSet with relationship defined to DataGrid it show records in drill down manner (+ to expand details) but DataGridView does not. Thanks ...Show All
Internet Explorer Development Touchpad Back Gesture Not Working In IE7
Hi, windows update just installed IE7 on my laptop and the Back gesture on the touchpad does not now work. The scoll up and down gesture still works. Any ideas on how to fix this problem It is a Toshiba Satellite laptop with an Alps Electric touchpad. Guy same problem...hope someone comes up with a potential solution. I have been searching, but to no avail yet. Seth ...Show All
Windows Forms Accessing objects on a form via a class
I have a form with a text box and I need to access the textbox and some other events within the form class from a seperate class. How can I get access to that textbox The form is making a call to a method within the class class.getCommand(command); and then the getCommand method needs to be able to modify the textbox within the form. Any suggestions would be great! Thanks! Scionwest Thanks, I tried something similar to that already but the method is going to parse a couple houndred different commands and do something different for each one. I want to break them down into manageable pieces of code within a class. Will something like the following work FORM class: pub ...Show All
