Trisha1802's Q&A profile
Visual Basic The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)
I have an application that is distributed with click-once. One of my users already makes use of it for quite some time without any problems. Only recently, he is not able to launch the application anymore. During the check that is made to see if there is a new version of the software, he gets the message: "Application cannot be started, contact vendor" If I copy my application manually, he is able to launch it without any problem. I included the detailled log below. Any suggestions PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.0 ...Show All
Visual Studio Express Editions Scheduling a procedure
I need to run some code at a certain time. I can do a While loop controled by a Time variable, but I think that that is too inefficient. What is the best way to do this I have something in mind like the Application.OnTime of VBA. Thanks, Antonio My solution is not good. When it loops for more than a few minutes I get: The CLR has been unable to transition from COM context 0x1b1728 to COM context 0x1b1898 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impac ...Show All
Visual Studio Team System TFS Setup 28100 Error Message
Hi everyone, I am trying to install Team Foundation Server on a Windows 2003 server and just before it finishes I get this error: Error 28100. Error loading event webservice. I have tried whatever I found on the web like deleting the registry entry and running install again, Changing permisssionsa,.... When I check System Log I found these 2 logs: The identity of application pool, 'TFS AppPool' is invalid. If it remains invalid when the first request for the application pool is processed, the application pool will be disabled. The data field contains the error number. The identity of application pool 'TFS AppPool' is invalid, so the World Wide Web Publishing Service can not create a worker process to serve the appli ...Show All
SQL Server Unable to Access HTTP Endpoints from C# application when using Integrated security
I hope you can help me to solve my issue. I created an endpoint and have an application to consume the methods from endpoint. Every thing work fine when i use the Impersonation with specific user id and password. In other words i am using Authrentication method = windows and Impersonate = true, user id = "[DOMAIN\userid]" password = "password" in web.config. But this is not the way i want to use endpoints in my application. I want to make it work without any user id and password in Impersonate section of web.config. The end points must be accessible to user using their own credentials. By the way i am using Authentication = (Integrated) in Endpoint definition and the same in IIS. In my .net application i am using proxy.Credentiats = Syst ...Show All
Visual Studio Deployment issue
Hello, I developed asp.net application,created the report in designer and added it to the .net project. And am useing asp page to fire the crystal report(Crystal Report version 11). For deployment i used copy project from the vs.net ide. I then moved the contents to the production server. I knew the problem with the viewer would happen so i installed crystal reports on the production server and it works fine on there. But if i try to view a report from some other computer where crystal report is not installed i get a blank grey screen. Can anyone tell me what needs to be done so that the report is rendered correctly from the server to the client computers when the report is requested. Thanks ...Show All
Visual Studio Express Editions Populate Combo Box
How to populate more then one combobox on same form with same table using sql code This is the good option SqlDataReader but how can i add ValueMember and DisplayMember I have a table that have ID,Name,Pack_size ...... I want to ID is the ValueMember and Name is DisplayMember using SqlDataReader ...Show All
SQL Server ExtendedProperties Performance
Has anyone found a way to speed up the retrival of the "ExtendedProperties" on a column via SMO yet I had a search around but couldn't spot anything. I have an applicaiton that currently cyles through 180+ tables (with the number growing all the time) and the "ExtendedProperties" access is abosultly killing it ... taking it from seconds to minutes. If anyone could provide any information (even if it's a "no it's not possible to speed up") or an alternative retrival method I'd greatly appreciate it. Have you tried using the SetDefaultInitFields method to include the ExtendedProperties object Insert this code after you connect to the server: srv.SetDefaultInitFields( GetType (Table), "ExtendedProperties" ) ...Show All
Visual Basic Trying to make this code work
I can not for the life of me get this to work: Private Sub NewToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NewToolStripMenuItem.Click Dim fLogin As New Form With fLogin .Text = "Account Login" Dim tbLogin As New TextBox With tbLogin .Parent = fLogin ...Show All
.NET Development How To get The system Info in C#
Hello All How to get the hardware specification of the System...like(RAM,Processor,VGA,Hard Disk) That how much size of it ...For hard disk How much free space in it.. (C# code) Regards, Aamir You can't use Processor ID because it's not unique number. Instead you can use Disk SerialNumber or Disk Signature. All this informations can be readed by using WMI. At the end you can use combination of more then one id, like ProcessorID + Disk Signature + ... ...Show All
Visual Studio Express Editions How to receive current row number to use it later
I'm just learning Visual basic 2005 Express Edition and I'm writing a simple application where I use DataGrid. While navigating in it I would like to open a new form filed with the data from current row. I know there is a possibility to open a different form set on a certain position but I would need to receive the row number from my DataGrid. How can I do that or maybe there is an easiest way to set the position in the different form You can only use the SelectedRows property if you have the SelectionMode set to FullRowSelect or RowHeaderSelect. Assuming that you have, something like the following should work for you: This assumes that you have another form "Form2" which contains three l ...Show All
Visual Studio Express Editions Progressbars: For Each foundFile As String In My.Computer.FileSystem.GetFiles
With regards ahmedilyas solution below to copying various file extensions, how can I tie 2 progressbars to this code ProgressBar1 measures each file copy progress ProgressBar2 measures overall files copy progress Thanks for any help. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=832447&SiteID=1 Dim theExtentions() as String = {"*.jpg", "*.bmp"} for each currentExt as String in theExtentions for each currentFile as String in My.Computer.FileSystem.GetFiles(My.Computer.FileSystem.SpecialDirectories.MyDocuments, FileIO.SearchOption.SearchAllSubDirectories, currentExt) 'do your thing next next hmm! interesti ...Show All
Visual Studio Team System Problem resolving merge conflict
Merging from Main to Dev Get a conflict on file A Click on resolve conflict Dialog says building change summary Processor is shoots to 50% usage, fan kicks in and it never comes back. Let it run for 8 hours(over night) and it never came back. I have reduced the merge to just this one file and it will not return from resolve conflict. You can hit cancel and the dialog goes away but it never recovers from eating half of the processor. You basically have to kill VS. We've fixed this, thankfully. Please download SP1: http://www.microsoft.com/downloads/details.aspx FamilyID=8D702463-674B-4978-9E22-C989130F6553&displaylang=en ...Show All
SQL Server Urgent Sub Report Help Needed
I have an urgent need to solve this issue. I have a report that has two sets of six sub reports. Here is what I have: Main Report Subreport1A Subreport2A Subreport3A Subreport4A Subreport5A Subreport6A Subreport1B Subreport2B Subreport3B Subreport4B Subreport5B Subreport6B I want to have a page break between the first set and the second set. The last subreport of the first set, Subreport6A, has a pagebreak at end = true, so it should break. The problem is that when I export to Excel I am getting one sheet for the 12 subreports. Which issue are you having problems with I found a way to get all of the subreports to come together and I also what was causing the error above ...Show All
Software Development for Windows Vista Getting Vista File Open dialog with .NET application
Our application is written in C# 2.0 and using standard file open/save dialogs. In XP, these are pretty basic dialogs, but on Vista they remain the xp-style dialogs and not the Vista-specific open dialog. I've noticed with MFC based applications, if you use the common dialog you can get the Vista specific open dialog when running the same app on Vista. Any idea how we can get the OS-specific open dialog in C# ... if not possible without using the sdk, how about using the unmanaged SDK and getting the open dialog from a C# app For .NET apps, there's not an easy way to use this API (unless you use an unmanaged DLL and invoke the open dialog from there... which I think might not be a good idea) ...Show All
.NET Development BindingList<T>(IList<T>) throws System.TypeLoadException:
System.TypeLoadException: Could not load type 'System.ComponentModel.BindingList`1' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' due to value type mismatch. at System.ComponentModel.BindingList`1.HookPropertyChanged(T item) at System.ComponentModel.BindingList`1.InsertItem(Int32 index, T item) at System.Collections.ObjectModel.Collection`1.Add(T item) I have a simple class, whose code you can see below. When I build a List<StressScenario> and try to construct a BindingList<StressScenario> using new BindingList<StressScenario>(List<StressScenario>) it throws the exception shown above. Using Reflector to look into the BindingList.HookPropertyChanged code, all it is doing ...Show All
