Visual Studio Debugger and Access Privileges
Hi,
I am having a problem running the Visual Studio Debugger on a production machine. I get the following error:
DllNotFoundException was unhandled
Additional information: Unable to load DLL 'AduHid.dll: The handle is invalid.
If I run VS as Admin, I don't have this problem and when I run the executable, the application runs with out an issue. The dll is in the C:\Windows\System32 directory. I also notice that I don't have this problem on another machine. I am
not sure if the is a permissions issue or VS configuration issue.
I was hoping you might be able to help me resolve this problem. If it is a permissions issue, maybe you can help me understand what I might tell our IT people that would still allow the system to be protected, but not force me to have to request admin
privileges when I am debugging the application. And of course, if it is a VS configuration issue, it would be great to know how to modify the configuration to not have to request admin privileges under this situation.
Thanks,
Jon
Hi Jon,
>>If I run VS as Admin, I don't have this problem and when I run the executable, the application runs with out an issue. The dll is in the C:\Windows\System32 directory. I also notice that I don't have this problem on another machine.
I am not sure if the is a permissions issue or VS configuration issue.
As you said that it doesn't have this issue in other machines, if so, do you run your VS as the admin in other machine? Whether you are the admin in other machines which work well if you run the same project? Whether all projects have the same issue?
If it works well after you run the specific project as the admin, one reason is that your dll file require the specific visit account but you are not the admin in that machine.
https://msdn.microsoft.com/en-us/library/jj662724.aspx?f=255&MSPPError=-2147217396
But if all projects have the same issue, please test it again with the following comment line.
devenv /ResetUserData
Or you could add a new user profile, test it again in your windows.
If it still has this issue, I suggest you discuss this issue with your IT, maybe they limit certain account for you.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
Can we develop a solution in Visual Studio 2012 and still deploy it on BizTalk 2010?
Can we develop a solution in Visual Studio 2012 and still deploy it on BizTalk 2010? or Is it that solutions developed in VS 2012 have to be deployed only to BizTalk 2013?
ThanksBizTalk 2010 projects are not compatible with Visual Studio 2012. To use Visual Studio 2012 with BizTalk 2010 projects, you must install
BizTalk 2013 on the computer that has Visual Studio 2012. The first time you open a BizTalk 2010 project, it is automatically upgraded to the BizTalk 2013/Visual Studio 2012 project system
Refer
this.
Please mark it as Answer if this answers your question
Thanks.
Mo
The contents I write here is my personal views, not the view of my employer and anyone else. -
Not able to install visual studio 2005 I am getting error “The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch” and for visual C++ 2005 after clicking the setup file nothing is displayed on the desktop. please guide. All the above software I am installing on windows server 2003 service pack2
Dear Gurus Please help meYou might want to try : MS Visual Studio 2008 and Visual C++ 2008 Express instead as this version is supported as well.
See:
For R12: Note 1070674.1 - MS Visual Studio 2008 and Visual C++ 2008 Express for Oracle E-Business Suite Release 12 on Windows
For 11i : Note 1095124.1 - Microsoft Visual Studio 2008 and Visual C++ 2008 Express for Oracle E-Business Suite Release 11i on Windows
Regards,
Ronald -
Windows 7 Enterprise with Visual Studio 2008 and 32 bit ODBC access
I have a 32 bit ODBC used to access Progress databases. We have to use the 32 bit driver. My development had been run on XP in the past with no issues. I have moved to a Windows 7 Enterprise workstation currently and cannot access
through my app. The ODBC was installed as 32 bit through the SysWow64\odbcca32.exe with no issues. I have tried to run my app with the x86 option but it still does not see the ODBC. I went in and created a fake ODBC in the 64 bit interface
and the app did see that ODBC so the app is running in 64 bit mode. How can I force this app to run as 32 bit on my machine? Thanks in advance.Hi,
Hello,
Thank you for your post.
I am afraid that the issue is out of support range of VS General Question forum which mainly discusses the usage issue of Visual Studio IDE such as
WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
and Visual Studio Editor.
For your issue how to force the app to run as 32bit, if you are working with Windows Forms app. please consult on Windows Forms Forum:http://social.msdn.microsoft.com/Forums/windows/en-US/home?category=windowsforms
If you are working with WPF app, please consult on WPF forum:
http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpf
If you are working with ASP.NET Web Application, I suggest that you can consult your issue on ASP.NET forum:
http://forums.asp.net/
for better solution and support.
If the app is a C++ win32 app, please consult on Visual C++ forum:
http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vcgeneral
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Federated identity and Visual Studio Online - Restricting Access
Hi,
Using federated identity, can I restrict access to Visual Studio Online only from the corporate network, the same way I can with office 365? If so anyone know what claim rules should be used. Going further can I restrict by client certificate?
ThanksHi PMLIO,
So the answer to your question is a mixture of both yes and no, depending on the level of restriction you desire.
VSO has deep integration with Azure Active Directory, which allows you to restrict access to your Visual Studio Online account to only users who exist in your corporate directory.
This page details more about this support and how to enable it. If you remove users from your Azure AD directory (which can be synced with your on-prem directory), they will lose access to your Visual Studio Online account automatically, without you
having to manually remove them from the account. Will that fulfill your requirements?
We currently don't support a scenario where only users who are connecting to Visual Studio Online from a corporate network are permitted to access your account. If that's something you need, we recommend an on premise deployment of Team Foundation Server.
We'd certainly welcome a feature suggestion on the
Visual Studio Uservoice to add support for this in Visual Studio Online!
Client certificate authentication falls into the same bucket as above: Visual Studio Online doesn't support client certificate authentication. There's a
UserVoice suggestion about supporting SSH auth that's in a similar vein, so it's definitely something we're hearing desire for.
Let me know if you have any more questions!
Regards,
Will Barr
Software Engineer | VSCS Developer Identity -
Visual Studio 2010 and SharePoint Foundation 2010
From a development perspective, if I have a Windows 2007 Operating System and download Sharepoint Foundation 2010, can I develop web parts using Visual Studio 2010? Are there other components I need?
When we convert to SharePoint Server 2013 in production, is there a version of VS that will allow me to remotely access that server?Hi,
If your server have already installed the SharePoint Foundation 2010, we can develop web parts using Visual Studio 2010/2012/2013.
If you want to convert to SharePoint Server 2013 in production, you need use Visual Studio 2012/2013 and install Microsoft Office Developer Tools for Visual Studio 2012 which can be found here:
http://www.microsoft.com/visualstudio/eng/office-dev-tools-for-visual-studio (direct install :
http://aka.ms/OfficeDevToolsForVS2012).
Best Regards
Dennis Guo
TechNet Community Support -
Getting Dynamic Context Sensitive Help API to work with Visual Studio 2012 and 64 bit?
We have RH 9.
Our developers are working on implementing RH's dynamic CSH API inside of our software product:
http://help.adobe.com/en_US/robohelp/robohtml/WSa7dd8288c271d662-26f4398e12b0c229082-8000. html
The instructions our developer found say:
Call your Help projects with the function RH_ShowHelp. The source code for this function is contained in the support files which you import into your development project. Languages supported are Visual Basic, C/C++, JavaScript, and Java. The files are in C:\Program Files\Adobe\Adobe RoboHelp [version]\CSH API. The files are:
CSH API\RoboHelp_CSH.cpp (C/C++, dependent on the .h)
CSH API\RoboHelp_CSH.h (C/C++, dependent on the .cpp)
I zipped up the CSH API from my RH 9 version and sent it to the developer. We're using Visual Studio 2012.
But now the dev is asking, "Is there a newer version? This one doesn't compile in win32 without me making some tweaks, and doesn't work at all in x64..." and "Is RoboHelp10 an option? 9 doesn't seem VS2012 compatible or x64 compatible."
Does anyone know if there are there is a later version of the API available that works for 64-bit / VS 2012?Hi,
The RoboHelp 10 API should work for WebHelp created with RoboHelp 9. Since the RH10 API will now support Multiscreen HTML5 (introduced with RoboHelp 10), I imagine it will work with VS 2012. But I’ve not tried that. You can try the RH10 API, but Adobe won’t support it
Alternatively: A colleague of mine created a custom C# API some time ago. That might work for you: http://www.wvanweelden.eu/blog/2012/08/03/custom-webhelp-apis
Greet,
Willam -
Visual Studio 2013 and SSDT-BI Preview Command Window
Hi,
Is it normal that VS is putting up a command window when previewing SSRS reports from Visual Studio 2013. It pops up when on preview and I have to minimize it. Can some settings make this window invisible (a more integrated approach)?
Regards
SWEDEVHi SWEDEV,
Based on my research, a command window pops up when we preview an SSRS report in Visual Studio 2013 is a confirmed issue.
The issue is fixed, but the updated version within the coming couple of weeks. For more details about this issue, please refer to the following Connect Feedback 849709 and 884544:
https://connect.microsoft.com/SQLServer/feedback/details/849709/reporting-services-preview-processing-host-issues
https://connect.microsoft.com/SQLServer/feedback/details/884544/ssdt-bi-for-vs2013-preview-for-ssrs-pops-up-a-command-window
If there are any other questions, please feel free to ask.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Thats pretty much it - installed 7 yesterday because I was having the same problem with 6- beta I figured it was the beta so I uninstalled all firefox versions and downloaded the release version 7. Apparently Visual Studios sees the error and wants to help. Then I crash
Create a new profile as a test to check if your current profile is causing the problems.
See "Creating a profile":
*https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
*http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem.
*http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
Boot the computer in Windows Safe mode with network support (press F8 on the boot screen) as a test to see if that helps. -
Visual Studios 2008 and Acrobat SDK v9
I am trying to install Acrobat SDK v9. I am getting a prompt to install Visual Studios 2005. Is Visual 2008 supported? If so, what version of SDK?
Read this:
http://forums.adobe.com/message/3280598 -
Can I use ODT 10.2 with Visual Studio 2005 and 10g Express?
If so could anyone provide a pointer to some installation instructions? The one time I tried to install it I didn't seem to be able to connect to the database from within VS. I had to resort back to the previous version of ODT running under VS 2003.
Thanks in advance,
StewartThe special version of ODT for Express only works with VS 2003 and it is an older version of the software that does not include the PL/SQL debugger.
That being said, you can install the latest ODAC and use it with Express with no problem.
Go here:
http://www.oracle.com/technology/software/tech/windows/odpnet/index.html
..and download the first link you see. Install it in the default Oracle home it chooses. Then you'll need to configure the tnsnames.ora file in the \NETWORK\ADMIN directory such that there is an alias for your Express database... you could probably just copy the tnsnames.ora file from the Express home to the new oracle home to achieve this. -
Visual Studio Debugger Crashes Without Notice
In the process of debugging a C++ application, and after increasing the array dimensions to final desired size, code will build but the VS Debugger crashes. I assume that code has exceeded some limit but I do not which. What is the limit
size for an array of doubles? - the code crashes when I define two arrays of 50,000 variables. - What could I being doing wrong?Hi Ernest26505,
Since this forum is to discuss the VS debugger tool issue, to make sure that whether it is your project issue or the VS debugger issue. Could you share us a simple sample with one drive? So we could really repro it in our side.
Since you get this issue when you debug your app, if you run your app with "Start Without debugging(Ctrl+ F5)", how about the result? Please check the detailed message in output window and Error list window if you build your app. We have to
make sure that it has no build error like this case:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/724e0694-e070-440c-811f-013b15a61b64/c-2010-how-to-create-big-array-sizes?forum=vcgeneral
To make sure that whether it is related to the specific line code, add the breakpoints in your project, and debug them, check the result.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Where do I download the crredist*.msi files for Visual Studio 2005 and CR
I've created a VS 2005 application that uses the CR viewer control. When I run the application, the app generates an error message. It states that I need to install the appropriate CR redistributable (crredist*.msi). Shouldn't this file be on the CR cd's?
If not, where do I download it? The development pc has W7 64 bit. The user pc's will have WinXP. I'm using VS 2005 and CR XI R2 Developers Edition.
Thanks,
DWThis info was listed in the original post.
Anyway, I found the solution at the link below.
The recommendation is to explicitly target 32 bit processers when building your assemblies. Go to Project Properties, Compile, Advance Settings then change the Target CPU from its default "Any CPU" to "X86." Those of you who have been building VS apps on a 64bit machine for a while are probably familiar with the need to explicitly target X86. This article, "Windows & the World of 64-Bit Computing" (http://www.ddj.com/hpc-high-performance-computing/184405994), has some helpful insights on developing .NET apps on an X64 computer.
http://aspalliance.com/1744_Lessons_Learned_Sorting_out_Crystal_Reports_2008_Versioning_Service_Packs_and_Deployment.all -
I have an application that is done using SSRS on visual studio and it connects to the report server on SQL server 2008 environment.
I've been changing the existing reports using visual studio 2008 and modifying the reports on the report server. How do I add a new report to the application ? I created a new report and deployed it on the report server but it didn't show up in the application.
I can access the application source code on visual studio 2010 and TFS (Team Foundation). Thanks.Hi,
I have a question. This application retrieves SSRS reports from the report sever. When I download the reports
from the SQL Server I can open them in visual studio 2008 but they don't open in visual studio 2010. I can access the application files on visual studio 2010 and team foundation server 2010. I was unable to open team foundation server 2008 on visual studio
2008. The issue is that I am unable to add a report with a new name to the application. I use visual studio 2008 to deploy the reports on the report server but it has to be the same name to be able to run the report from the application. I can deploy any report
on the report server but I can't access it from the application unless it has to be the same name as the present reports. If I keep the report the same name then it will replace the old report and the new report will run from the application. But only if it's
the same name. I guess when I add a new report to the application with a new name I am supposed to add a definition in the application C sharp files on visual studio 2010 so that the new report will show in the application. What's your opinion
? I have attached 2 images of the application and team foundation server 2010 and the report server.
Thanks. -
Visual Studio Online Build Failure - Unable to copy file, access to directory is denied
Hi,
I have an ASP.Net Web Site that compiles and builds with no errors on my local machine.
However when I attempt to build the site using default build definitions/configurations within Visual Studio Online and deploy to an Azure Website / App Service I receive the following errors:
C:\a\src\House of Canine\HouseOfCanine_1_.metaproj: Unable to copy file "C:\a\src\House of Canine\HouseOfCanine\Bin\AjaxControlToolkit.dll" to "HouseOfCanine\\Bin\AjaxControlToolkit.dll". Access to the path 'HouseOfCanine\\Bin\AjaxControlToolkit.dll' is denied.
Where, I assume, the directory "C:\a\src\House of Canine..." refers to the Visual Studio Online Directory and the directory "HouseOfCanine\\Bin\Ajax..." refers to the Azure Website directory.
This error is repeated for a number of other .dll files in the Bin folder and if I look at the diagnostics tab for the failed build on VSO, I can see that it is where it attempts to copy the binaries to the "drop" where the error fails.
Any advice much appreciated,
Ross
Update
MSBuild Error Code: MSB3021
It seems the permissions are not set correctly for the DLLs in the Bin folder however I cannot change the permissions of the files on Visual Studio Online. Any ideas?Hi Ross,
Since this thread is more related to Visual Studio Online, I will move it to the right forum for a better response. Thanks for your understanding.
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.
Maybe you are looking for
-
FCP/Adobe Premier Workflow
I have a friend who has done some work on his PC using Adobe Premiere and now wants me to finish up the editing for him. The problem is that I have a PowerMac and use Final Cut Studio. Is there any way that the work that he's done on Premiere can be
-
Can skype credit be used to pay the monthly subscr...
I recently bought 100$ skype credits. Today the monthly subscription fee was charged from my stored credit card, instead of from my skype credits. How can I use skype credits before using my credit card? Thanks.
-
Partition of external HD - Time Machine & Aperture
Good day all, I bought an external HD (1TB) and I formatted it in FAT 32, so I can use it for both Window and Mac. I also copied all my files in it. When I tried to select it as Time Machine disk, I received the message that the HD needs to be re for
-
How do I replace former owner's name in all iMac directories?
How do I replace former owner's name in all iMac directories? Including network setup and Office file management. I have already renamed the computer and deleted former owner when and where possible. (I also have an iPad and hope I was directed to th
-
G4 silver locks up when streaming media in safari and Firefox.
G4 Silver, OWC Mercury1.4,1g Ram, OEM Video Card 2HD's 10.3.9 and 10.4.11 This machine locks up when playing streaming media in Safari. This is a long standing problem on this machine. The symptoms occur a few minutes in to the Daily Show or BBC News