Jotnarta's Q&A profile
Visual Studio ReportViewer and Impersonation
Hello, I am using the ReportViewer inside of a web application. I am trying to use impersonation to control the access to the reports. However, I am still getting a 401: Unauthorized error. I have disabled anonymous access through IIS and enabled impersonation and Windows authentication in the web.config. Any steps I might have missed I am able to call the System.Security.Principal. WindowsIdentity .GetCurrent().Name.ToString() method within my page and it returns the correct username. However, the reports still fail. Again, I am trying to use Windows authentication and impersonation to control the access to my reports. I have been trying to search for imporsonating the credentials for th ...Show All
SQL Server DataReader output column length
Hello, I have an ODBC connection manager to a Progress database. In that database there is a column declared as a string of 10 characters long. However, some data in this column is actually up to 15 characters long. This makes my DataReader Source fail everytime I try to run my package because it sets the output column like this : Datatype : Unicode string [DT_WSTR] Length : 10 Is there any way to solve this without changing the datatype in the Progress database (that is beyond my control) tanks in advance ... renyx wrote: Thanks for the suggestion, but that did not work. I also tried a query on the column in management studio (linked server) and that also did not work. OLE DB pr ...Show All
Visual Studio VS 2005 (Final) Install failure -- Setup Failed on component Microsoft Document Explorer 2005
I have ran the clean up tool to remove the previous beta version of VS 2005. So please don't suggest that. I still receive errors while trying to install Visual Studio 2005 Final version. This is the error log file: [11/02/05,10:50:40] Microsoft Document Explorer 2005: [2] Error code 1603 for this component means "Fatal error during installation. " [11/02/05,10:50:40] Microsoft Document Explorer 2005: [2] Setup Failed on component Microsoft Document Explorer 2005 [11/02/05,10:50:45] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InstallManagerHelper() with HRESULT -2147023293. [11/02/05,10:50:45] setup.exe: [2] Component error string not specified in ISetupManager::AddToActionR ...Show All
Smart Device Development about "FindFirstFile",how to pass the argument if i want to search 2 kinds of file?
for example:i want to get the file list of mp3 and midi at the same time,need i call "FindFirstFile" twice Use "path\*.*" as your argument to FindFirstFile, then filter out the .mp3 and .midi files you get back. ...Show All
Visual Studio Team System Multiple vsmdi files
Hi, We are getting multiple vsmdi files.Everytime someone runs a unit test the solution is automatically checked out and a new vsmdi file is created using the naming pattern MySolutionName1.vsmdi, MySolutionName2.vsmdi, etc. I've compared the files and they are the same. They live in the solution root and always have. The workaround that we have is to undo checkout on the files in question and then it works fine unti one next restarts the IDE. Any ideas anyone else getting odd behaviour with vsmdi files I've C&P'd the XML contents below: < xml version="1.0" encoding="utf-8" > - < Tests > < edtdocversion branch =" retail " build =" 50727 " ...Show All
Visual Studio Team System Code Analysis not working for team build
hi.. i have created a team build with the code analysis checkbox selected. I have set a custom configuration for code analysis for the project.... when i run code analysis for the website, it shows the errors...but when i run the team build, the code analysis is not performed... i also checked the TFSBuild.proj file...the <runanalysis> has a value 'DEFAULT'.... is there any thing more i should do Thanks, Bob Bob, I haven't used TeamBuild with a web site (yet) so I'm not sure if/how it differs from standard projects but you might try changing the RunCodeAnalysis setting to "Always" - e.g. < RunCodeAnalysis > Always </ RunCodeAnalysis > This woul ...Show All
Software Development for Windows Vista WorkflowRuntime drastically slows down application?
I have these two simple test methods: public void TestRuntime() { this.Cycle(); //takes 30ms WorkflowRuntime wr = new WorkflowRuntime(); wr.StartRuntime(); this.Cycle(); //takes 5500ms } public void Cycle() { for (int i = 0; i < 100; i++) { Trace.WriteLine(i); } } When I start TestRuntime(), the first call to Cycle() takes about 30ms, but the second call (after runtime start) takes above 5000ms. Subsequent calls to Cycle() take between 3000 - 8000ms. Is this usual behaviour or I am doing something wrong (There are no running workflow instances.) I find out, that it has connection with workflow debugger. The problem o ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Pix problems
Hello I have some problems with pix. I do not know what I did wrong, but now pix only shows dissambly when I try to debug a pixel. Any help is greatly appreciated. Best regards Mnd1 ...Show All
Visual Studio Team System tfsbuild.exe.config AllowedTeamServer
Hi, I'm having trouble executing a build from the command line or through TE on my build machine- which is also the TFS. I get the same error when I try each way TF42053: The build machine is not configured to build for server http://<servername>:8080/ . ... To change the team foundation server for the build machine update the AllowedTeamServer key in the config file for TFSbuildService.exe ... I don't see a config file for TFSBuildService anywhere but, I have tried to add this key to the Tfsbuild.exe.config file- the key did not exist when I looked at the file the first time. I did restart the build service after I added it. my config file looks like this- is this the right file Is this the way the key is supposed to l ...Show All
Visual Studio Tools for Office Error while trying to run project: unable to start debugging
Hello all, i'm currently working on an add-in for microsoft Excel and i have many problem to debug my code. I checked the 'properties - configuration debugging - start external program ' it's correctly filled with my Excel.exe path But when i run a debug there is an error message : Error while trying to run project: unable to start debugging Unable to start program 'C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE' Please help me. Regards Prakash Same here, I was able to debug before installing VS 2003 SP1. Now I get this error "Error while trying to run project: unable to start debugging. Unable to start the program "c:\...myprogram.exe" I am able to debug using Windows Task Manager r ...Show All
SQL Server Question for designing a SQL Job Admin
I want to design a login named "JobAdmin" who can add/modify/delete any SQL Agent Jobs but can't access my "db1" database. The jobs would execute some stored procedures in db1, and it could be a user "db1dbo" with db_owner role in db1 to execute the stored procedures. How could I let JobAdmin impersonate db1dbo to run these jobs Thanks in advance. i don't think this is possible and honestly, to me it does not make sense also. B'coz the JobAdmin is already a user of MSDB. There is no harm in creating a sp as i told. If a login is not a user of a db then i don't think this Execute As also help you. Can u tell me is there any particular reason to do so Madhu ...Show All
Visual Studio Express Editions WebBrowser Document Links
Hey there, how can I excecute a link within the webbrowser document, or something like that, the thing is that I have a link that has an Hyperlink and I need to fire that action just with code but I don't know how, please help.. Hi, If you want to open following link in browser the assign this link to some string for example... string docHTML="<td align=center><a href="go.php action=skip&last_user=10565&last=0&start=1"><b>Skip</b></a></td>"; then do following steps to parse the link and load in webbrowser ... int startindex=docHTML.IndexOf( "href=" ); //find starting point int endindex= docHTML.IndexOf( '>' ...Show All
Visual Studio Express Editions Problem wif my counter
I display the result of my calculation inside textbox2. I have textbox1 displaying the values inside buffer list. I observe that it only calculates the average for the first two value from the buffer list. It has no effect on the next 2 values and so on.. Something wrong wif my counter Private counter As Integer Private total As Integer Private Sub Timer1_Tick( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick total += buffer(counter) counter += 1 If counter = 2 Then TextBox2.Text = (total/2) counter = 0 total = 0 End If End Sub "EDIT. Sorry ReneeC. I just saw the same answer from you to th ...Show All
Visual Studio How to add COM component into Toolbox in Visual Studio 2005?
Hi all, Does anybody know, how to add COM component into Toolbox in Visual Studio 2005 It is simple in VS 2003, but in VS 2005 added component is hidden and isn't appeared at all, until I choose "Show All" from popup menu. Please, help me :) Thanks! George, Are you still having issues What Josh said is correct. Not all designers support all toolbox items. So if your particular COM control is not supported in the active designer (i.e. Winforms designer, or Webforms designer), it won't show up. You can right-click on the toolbox and choose "Show All" to see your component, but it maybe grayed out if the active designer does not support it. thanks, James Lau Program Manager, VS Ecosystem ...Show All
Visual Basic Inherited Members are hidden with an ObjectDataSource
Hi, I hope this is the right forum to post this question... from what I read I think it is. Edit : This is the third time that the moderators move my post from forum to forum... I am aware that this is not VB-related at all, but my post was moved here. I have the following structure : - An IDictionaryView<T, U> interface which defines a function called "Count" - An IWritableDictionaryView<T, U> interface which extends IDictionaryView<T, U> with a couple of methods - A DictionaryEx<T, U> class which implements IWritableDictionaryView<T, U> - A Test class which holds a private instance of DictionaryEx<T, U> (the actual types do not matter here), with a property that exposes it publically (read/wri ...Show All
