AntiSilence's Q&A profile
Visual Studio Team System TF50309: You do not have sufficient permissions to perform this operation.
Hi, we have written some customization code which generates workitems by using subscription service, it works fine in the development environment and one of our production server. Yesterday we tried installing it on a fresh server and it gives following error i.e. when our custom code tries to connect to TeamFoundation service (the only difference is that the fresh server running windows 2003 RC2) Detailed Message: System.Web.Services.Protocols.SoapException: Server was unable to process request . ---> System.Security.SecurityException: TF50309: You do not have sufficient permissions to perform this operation. at Microsoft.TeamFoundation.Proxy.BisRegistrationProxy.GetRegistrationEntries(String toolId) Any idea Regards Faraz ...Show All
.NET Development How do I enable useUnsafeHeaderParsing from code? (.NET 2.0)
Hi, We have several webservers that do not follow the correct RFC specification when performing some specific HTTP web requests, in order to communicate with them we need to enable unsafe header parsing. Changeing the webservers to respond correctly is NOT an option in our case. According to documentation, adding the following lines to the app.config enables the unsafe header parsing. <system.net> <settings> <httpWebRequest useUnsafeHeaderParsing = "true"/> </settings> </system.net> This works nicely for regular applications, however, the problem is that our .NET code is exposed and run as a COM object. And adding a .config file to .NET assemblies doesn't work, neither when being loaded b ...Show All
SQL Server Cannot create linked server
I cannot create a linked to a MySql database in Enterprise Manager. Here is the relevant info: Trying to create a linked server on a SQL Server 2000 Standard Edition Service Pack 4 running on a Windows 2000 Standard Edition server. The MySQL server is running on Red Hat - not sure of the DB or OS version. However the DSN I created connects to the server correctly. I can connect using any of the MySQL tools. I am using the latest ODBC MySQL drive 3.51...Here is the Provider string I am using... DRIVER={MySQL ODBC 3.51 Driver} ;SERVER=192.168.1.99;DATABASE=bug_tracker; USER=UserID; PASSWORD=Password; OPTION=3 I have also tried using a System DSN to connect with, but that does not work either. It appears to create the linked se ...Show All
Smart Device Development Back Up SMS online?!
Hello! I need a software for pocket PC 2003 to transfer arrived SMS from pocket PC to desktop computer as the SMS arrived. Please give me the download link or the name of the software! Thanks This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. Please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. ...Show All
Visual Studio Team System How to publish (clickonce) a solution
Hi, I havent been able to find anything to help me to do this. I can do this manually thru the IDE, but not thru the Build Types. What do I have to place in the Build Type to get the program and its files published to our website I tried the following with no luck I just get an Entry Point error and I dont understand why. Please help. ======== < GenerateApplicationManifest AssemblyName = " AdminUtilGUI.exe " AssemblyVersion = " 1.28.1.0 " EntryPoint = " @(EntryPoint) " OutputManifest = " \\dalxpdss\DMDB_CODE\MARS Branch Project\DailyBuild2\Sources\daily build\MARS_Platform\Tools\MarsServerAdmin\SysAdminTools\obj\Release\AdminUtilGUI.exe.manifest " > < ...Show All
Visual Studio Express Editions Application to generate MS Word document?
Is it possible for a C++ application to generate the MS Word *.doc files For example, if I had a form with two text boxes and a button on it. When the button is clicked, would it be possible for the program to make a new MS Word document that has a 2 cell table with the text box values in each cell, and save this Word file to the current directory If so, any pointers to the libraries to use or whatever tools I would need would be greatly appreciated. Thanks in advance instead of //#import "C:\\Program Files\\Microsoft Office\\Office\\MSO9.dll" rename("RGB", "MSRGB") you have to do: #import "C:\\Program Files\\Common Files\\Microsoft Shared\\OF ...Show All
.NET Development Calculated Column --> Using Custom Aggregate
I would like to create a calculated column that aggregates string values from a child table. Can someone point me in the direction of creating custom aggretagtion functions that can be used in the dataset designer (as opposed to sql server 2005 which is the only information I can find). What I want to do is something like this: Table: Person Table: CarOwners Table: CarModels Person can own many different CarModels CarModel can be owned by many different People I would like to have the dataGridView show the Persons details along with a comma delimited column Listing the models of cars he/she owns. Then when the user clicks on the calculated column I will launch an editing form to manage the many-to-many relationship. Thanks ...Show All
SQL Server Need example -- SQLCMD -y
Hi, Please can any one let me know jhow to use -y option with SQLCMD. This is because SQLCMD is not a SQL command, it is a DOS command. Once in sqlcmd, just execute the query, or set the db in the statement and run from dos. C:\>sqlcmd -y 8000 -Q"SELECT definition FROM lfin.sys.sql_modules WHERE object_id = OBJECT_ID('PLocation');" ...Show All
.NET Development Create a query based on data in the dataset
I'm looking for a way to retrieve data (e.g. for a report) from the dataset. To retrieve data from the database directly is no problem. Also it is no problem to retrieve the data from one table of the dataset, but I now want to do a select statement over more than one table and the data must come from the dataset. Is that possible And if so, how Do you need to join DataTables inside of the DataSet If yes, then you could use DataRelations between multiple DataTables. Here is also sample of the helper class to join http://support.microsoft.com/kb/325688/en-us ...Show All
Visual C# Method Value 16
Hi all, I'm trying to converting a piece of source code from C++ to C#. But i don't have any idea what this method for: m_source is an unsigned char pointer and already point to some of unsigned char array. C++: inline unsigned short MSufSort::Value16(unsigned int sourceIndex) { if (sourceIndex < m_sourceLengthMinusOne) { return *(unsigned short*)(m_source + sourceIndex); } else { return m_source[sourceIndex]; } } i then converting to C#: unsafe ushort Value16(uint sourceIndex, char* m_source) { if (sourceIndex < m_sourceLengthMinusOne) { return *(ushort*)(m_source + sourceIndex); } else { return m_source[sourceIndex]; } } The result ...Show All
SQL Server Nonstop datasource connection
Does anyone out there have any ideas on the best way to connect in integration services to a nonstop sql database running on a tandem computer We have some odbc drivers that have proven to be problematic and slow to use. What oledb products I can find apparently come with something that's around $36K per processor to buy. Thanks. Try the data access forum https://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=87&SiteID=1 -Jamie ...Show All
SQL Server query for date range
I use oledb (ACCESS database) in my application. i want to build a query to retrieve the number of Bookings from my Booking table where the appointment_date_time.timeOfADay is in range of 9am-12pm or 14pm- 7pm, that is (>= 9 and <12) or (>= 14 and < 17). Please help to build the query, I found some query sample like: select * from tblstudents where classID='1' and studentstartdate between ('2004-12-03') and ('2004-12-12') or WHERE DateField BETWEEN @StartDate AND @EndDate But I dont want to search year and month and day, i just want to search the actual hour of a day. i am stuck with the syntax, please help Did you try the HOUR function. I will return you the value of the actual hours, t ...Show All
Visual Studio 2008 (Pre-release) GridView padding??
There seems to be some Padding setting somewhere in the Columns when using a GridView. Where can I change this setting XAML to reproduce (note the white padding between the red columns): < Window x:Class = " XAMLSandbox.Window4 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " XAMLSandbox " Height = " 300 " Width = " 300 " > < Window.Resources > < DataTemplate x:Key = " dataTemplate " > < TextBox Background = " Red " Width = " 100 " Text = " {Binding Mode=OneTime} " /> </ DataTemplate > </ Window.Resour ...Show All
SharePoint Products and Technologies LOL: No Knowledge about Knowledge Network
Just thought it was funny that the "Knowledge Network" had no posts and thus no Knowledge about it :-) It is an excellent product! Unfortunately, looks like we can't count on an RTM release anytime soon. Half a year is a long time in our world! From the MS KN Team Blog http://blogs.msdn.com/kn/ "We’re planning on releasing KN in the first half of calendar year 2007 as a Technical Preview rather than as a supported product feature of Microsoft Office SharePoint Server 2007." ...Show All
Smart Device Development What is the differences between the 3 Mobile Form types
Hi all, can someone please explain the differences between the following... Microsoft.WindowsCE.Forms Microsoft..MobileForms Windows.Forms I'm just a little confused with the Form types appearing in my project. That would be namespaces, not forms. First one contain some device specific classes (no forms though). Second one is probably for ASP.Net mobile devices support or may be your custom namespace, it's not present on NETCF. Last one is just that - namespace with Windows forms and related classes. ...Show All
