Sunkyu Hwang's Q&A profile
Visual Studio Team System "The permissions granted to user '' are insufficient for performing this operation." when trying to view Report Site.
We are unable to access the reporting site for our TFS project. We are able to view individual reports from VS, but we cannot get to the reporting site to edit them. Whenever we try to go to it (By right clicking on Reports->Show Report Site in Team Explorer), we get the following error page: SQL Server Reporting Services Error The permissions granted to user '' are insufficient for performing this operation. The URL it's hitting is: http://[OurServer]/Reports/Pages/Folder.aspx ItemPath=/[OurProject ] I've checked the permissions for reporting services using the TFS Admin power toy, and all users have full permissions. Is there somewhere else that we need to grant permission Thanks. Logonto ...Show All
Visual Studio Team System Customising Work Item Web Page?
We would like to customise the look of the work-item web page and I am wondering if there are any reasons we shouldn't edit the WorkItem.xsl to do so The only repurcusion I can think of is if we found an error in the XSL and fixed that as part of a Service Pack or newer version, and overwrote your version of the WorkItem.xsl. However I will double check with some folks here. Thanks, ...Show All
.NET Development SerialPort component makes app blow up
Hi, We have some serious problem with the serialport component in .net 2. We are trying to interact with an industry scale. and it works _sometimes_ but 70% of the time , the app just blows upp , "the application has encountered a problem and needs to close" and we get the same problem on each of the machines. and it occurs directly when we try to do "port.Open()" and after that the comport is locked (or in use by the crashed process) Any ideas what can cause this First I thought it might be some gui threading issues but since it occurs directly on open I dont know what to think anymore. we have tried this on each of the machines at the place where the scales are and also tried connecting a scale to our ...Show All
.NET Development .Net 3.0 install error
I keep getting an install error #0x13EC when I try to install the 3.0 framework. XP Media Center VS2005 Any Ideas Thanks Well, it didn't help me. I don't have any versions of .NET framework 3.0, and I can't install it either. But, I did try to restore a backup...My computer also won't let me do a Repair install of Windows...for whatever that may or may not have to do with the situation. ...Show All
Visual Basic .Net Component in VB6.0
I have created a .net component and compile it with “Register for COM interop option” and used this component in VB6.0. Its working perfectly fine while tested locally. I created a package for the VB6.0 application and installed on a separate machine. It’s installed successfully. While I run the application it throws exception - ActiveX component can’t create object. Please Help! Assempbly is in the APPPath directory. And the remote machine will not be having the .Net Framework. I was able to fix the issue using regasm where remote machin has .net framework. Please Help ...Show All
Visual Studio Team System TFS Instalation of VS80sp1-KB926738-x86 failed with Error 28002.Error Unknown.
Hi, I try to install the SP1 of TFS on our server, and after installing the required KB919156, i get at the end of setup process "28002 - Unknown Error " I analyze the msi log file but i don't find any issue that can give me an hint. what's happened I saw a lot of issues regarding SP1 including on the connect bugs database, is any workaround for it And after the setup, i can not access the team system any longer from the tfs clients, it raise TFS31001, even after restart of the iis or whole machine. The TFS is an Workgroup edition, an i remove one of the users before installing KB919156 because of 5 users limitation. regards cosmin Cosmin, After looking at your install log it appears that you sti ...Show All
SQL Server TDSSNIClient init failure
I started getting this error when I tried to start my local SQL Server yesterday and nothing I do seems to help: Error: 17182, Severity: 16, State: 1. TDSSNIClient initialization failed with error 0x2, status code 0x35. Error: 17182, Severity: 16, State: 1. TDSSNIClient initialization failed with error 0x2, status code 0x1. Error: 17826, Severity: 18, State: 3. Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log. Error: 17120, Severity: 16, State: 1. SQL Server could not spawn FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems. The only thi ...Show All
Windows Forms Custom Control Error
I have created a custom control, and added it to my toolbox. I have then used it on a form in the same project, and it refuses to compile. I have made no modifications to the cutom control, using only trhe default code from the add item wizard. The error i recieve is The type name <my custom type name here> does not exist in <form name.form name> When I say form name it may be the namespace as they are the same.If i click it to take me to the problem, I get directed to the aut genearted InitializeComponent method. Whats going on Any help much appreciated, Mike Controls added in the Designer result in code being added to InitializeComponent. Properties that non-default are explicitly set insid ...Show All
Visual C# Having both C# Compilers (csc) in the Environment Path
Hi all I have both .NET Frameworks installed on my PC but have only the .NET 2.0 C# compiler (csc) in my system environment path, so I can, from anywhere, in the command prompt run the C# compiler. Now I would like to be able to do the same with .NET 1.1 C# compiler, but if I put csc at the command prompt it will think I require the .NET 2.0 C# compiler. Is there I way I can use both from the system environment path, or must I have to locate to the directory of the C# compiler that is not in my System Environment path in order to use that compiler Thanks in advance. Executables are searched for in the order the directories are in the path. So if your PATH variable looks like: PATH=%PathToDotNet2Stuff%;%PathToDotNet11Stuff%;%RestOfP ...Show All
Software Development for Windows Vista Power management and network applications
Hello, I am trying to understand the affect on socket based network applications when the system moves into S3 state. Would the transition in and out of S3 be seamless for these applications (assuming ofcourse that the wake on LAN/wake on wlan driver/firmware keeps the "other end" happy. As an extension to this question: Are network interfaces brought down before the system is taken to S3 Any reading material/white papers that discuss this Are there any tools that I may be able to run to check the behavior Preliminary investigation on my end indicates that messenger type applications are happy (as long as the Wake on interface keeps the other end happy). But I wanted to know if this is by design on Windows. Is this be ...Show All
Windows Forms How do I reference a control's properties?
I am new to VC++ but not to programming. I am trying to change the Text property off a textbox when I click a button. However I cannot determine the proper syntax to reference the text field. Form name - Form1 Textbox name - Textbox1 Button name - Button1 In Button1.Click I tried the following - all of which fail compile Form1::Textbox1->Text = "Hello World" ; /* error C2227 */ Form1::Textbox1.Text = "Hello World" ; /* error C2228 */ Textbox1.Text = "Hello World" ; /* error C2065 */ This can't be that hard, but I can't find where it is documented. If you're using .Text instead of ->Text, it's guaranteed to fail because Text is a String ...Show All
SQL Server "Hang" when deploying SSAS solution?
I've noticed that BI Studio seems to 'hang' when I do a Build -> Deploy Solution. The output window will just say "Sending deployment script to the server" and the Deployment Progress window will just churn, with no commands listed. It's been running for nearly ~ 1 hr without feedback - how can I tell if AS is working or not CPU on the AS instance is idle. The one workaround I've noticed is to open the database directly in BI Studio, and make the changes there, but this is obviously less than ideal for multiple reasons. Restart the Analysis Services Service on the target deployment server (if possible) before you try to deploy the roject again and see what happens. Seems like somet ...Show All
Visual Studio Licence options for the generated model
Hi, I'm working on a model to generate code for Castle ActiveRecord, a framework running on top of NHibernate. (See http://altinoren.com/PermaLink,guid,86dce2d8-83d4-46e3-906c-12ca14df5380.aspx) The question is, can I opensource my project Obviously, parts of the project is built by DSLTools, with Microsoft.VisualStudio.Moelling... references etc. If DSL tools, on the other hand, would be a part of the VS and not the SDK, this wouldn't be an issue, I believe. Any help Thanks. Gokhan Altinoren Thanks for the info. I'll check the SDK license. And I'm waiting for the v1, not because that distribution restriction you mentioned, but to wet my hands on the final product. It's a great tool, and I'm quite excited ...Show All
SQL Server Report takes long time loading
I have a report which is fairly simple but takes a very long time.. It involves the incidents being counted by categories hence it has several Union All. Also the report numbers are generetd through 2 tables hence within every Union All tehre is a left or an Inner join. sample code: SELECT 1 Sort_Order, COUNT(*) AS Call_Count, 'Incident Resolved at Level 1' AS Count_Type FROM HOUAPPS237.CallsAndIncidents.dbo.PROBSUMMARYM1 T1 INNER JOIN HOUAPPS237.CallsAndIncidents.dbo.PROBSUMMARYM2 T2 ON T1.NUMBERPRGN = T2.NUMBERPRGN WHERE PROBLEM_STATUS = 'closed' AND T2.THIRD_ASSIGNEE IS NULL AND T2.THIRD_ASSIGNMENT IS NULL AND T1.SECONDARY_ASSIGNEE IS NULL AND HAL_FIRST_RES='t' AND DATEPART(mm, DATEADD(hour, -@offset , CAST(T1.OPEN_TI ...Show All
Visual Studio Tools for Office COMException, when I try to add controls to DocumentActions Pane when Document Map pane is visible
Hi, App being developed in Word 2003 with VSTO 2.0 customization. During doc load, we add controls to the Document Actions pane, through a code like this: //Code for Adding the controls to the Actionpane and setting the stckorder ActionsPane.Controls.Clear(); ActionsPane.Controls.Add(objAttributePane); ActionsPane.Controls.Add(objActionsDropdownList); ActionsPane.StackOrder = Microsoft.Office.Tools. StackStyle .FromTop; This works fine in all scenarios except the following: 1. Open a word document 2. Make Doc Map visible 3. Now save and close the document. Next time you open any word doc, Doc Map pane would be displayed by default. 4. Now when I open my word doc with customization, the above code of .add ...Show All
