|
Hi,
Since a few days I receive the following error during debugging of my vb.net program.
With this program I setup a connectionstring with a access datebase.
An exception of type 'System.Configuration.ConfigurationErrorsException' occurred in System.Configuration.dll but was not handled in user code
My program is not changed and when i use the same program on a differtent computer it works.
There I expect it has something to do with windows 10, but I'n not sure.
It always worked before.
As fas as I know I cannot attach any picture otherwise i would have attached a screenshot to this forum.
I hope somebody can help me out.
|
|
|
|
|
You need to add a try/catch block to your code to catch and diagnose the exception.
|
|
|
|
|
Depending on the operating system and the way the app is installed, one or more "config" files may be stored in various locations: ProgramData; AppData; Users; etc.
Depending on how the app is "moved" / installed on a different computer, one or more config files may get missed or put in the wrong folders.
The fact that the exception references "System.Configuration" leads me that conclusion so I would trace the code that references "configuration" settings in the app.
(Sometimes an "uninstall" / re-install will work; depending on the install exe / msi).
|
|
|
|
|
Thanks for your answers, now i have some I will check your suggestions.
kind regards
|
|
|
|
|
Hi I have found the reason for this error.
Under Windows, C drive users, the hidden folder AppData there was the config file.
User\AppData\Local\ProgramName\ProgramName.vshost.exe_StrongName_m4e20rktsmm0d44mssjiomu5bbsjaezz\1.0.0.0\user.config
I have deleted this file, now it is working again.
Everybody thanks and have nice holidays.
regards.
|
|
|
|
|
And prettig kerstdagen to you too!
|
|
|
|
|
Hi,
It maybe unrelated issue, but if somebody can help me in
My company is using GitExtensions for Source Control, so far no problem as I was able to use Check-in Check-out etc, but now I got all together different issue, I need to create branching of my Application, I went into GitExtensions UI then selected the application I want to create branch clicked "Create New Branch", I selected branch name, it says it successfully created the branch, yes it shows alongside with the main branch. I am not sure what can I do with that branch, I am not to see it separated from the branch nor able to check it out separately or even I am not able to merge this main branch into the new branch. Any suggestion or a link anything would be very helpful.
Please help me.
Thanks,
Abdul Aleem
"There is already enough hatred in the world lets spread love, compassion and affection."
|
|
|
|
|
You've already asked one question that has absolutely nothing to do with .NET in this forum and been told that you shouldn't do that. Why did you think we would find it acceptable for you to ask yet another none .NET question in this forum?
This space for rent
|
|
|
|
|
|
|
OK my friend that's why I said sorry before putting the question, for that saying me to get out is big, I said sorry and I didn't know any of the Git forums and I found Git has difficult learning curve.
Thanks,
Abdul Aleem
"There is already enough hatred in the world lets spread love, compassion and affection."
|
|
|
|
|
Hi,
I am sorry if this is little of the topic, I apologize for it.
I am remoting into my Server to do some stuff, but it needs the System to be logged in some specific user, but when I am trying to remote into my Server its always logging in me with my Lan Id, but I want to change the Logged in User to the account that I wanted, but I am not finding the option "Log in as different User" in remote desktop, if I log off my machine and log in with that account I may lose stuff that I am working, is there any way I can select log in as different user option on the Remote Desktop instead of me Logging off my machine and logging in as different account.
Any help a link or suggestion would be very helpful, thanks in advance.
Thanks,
Abdul Aleem
"There is already enough hatred in the world lets spread love, compassion and affection."
|
|
|
|
|
This has absolutely NOTHING to do with the .NET Framework.
Having said that, open Remote Desktop. In the bottom left corner of the window to specify the machine you want to connect to, there is a drop down that says "Show Options". The rest should be obvious.
|
|
|
|
|
I do agree, that's why I asked for apologies before my friend.
Thanks,
Abdul Aleem
"There is already enough hatred in the world lets spread love, compassion and affection."
|
|
|
|
|
Hi,
Please suggest books for preparing for the Brainbench .net framework 4.0 test
[Brainbench .net framework 4.0]
regards,
NJ
=====================================================
The grass is always greener on the other side of the fence
|
|
|
|
|
Why not go to www.google.com and look for one yourself?
|
|
|
|
|
The "Test Outline" is there; what more do you want?
Someone to take the test for you?
|
|
|
|
|
test outline is there.
But my question is about preparation for specific to this brainbench test.
overall .NET 4.0 is vast
=====================================================
The grass is always greener on the other side of the fence
|
|
|
|
|
Well, you could have started with the "C# Test".
But, nooooooooo ... you had to tackle the whole framework.
|
|
|
|
|
Hello
Just check out this
<a href="https://www.brainbench.com/xml/bb/common/testcenter/alltests.xml"></a>[<a href="https://www.brainbench.com/xml/bb/common/testcenter/alltests.xml" target="_blank" title="New Window">^</a>]
Thank You
Regards
Pooja
|
|
|
|
|
That links are for taking the actual test after preparation
=====================================================
The grass is always greener on the other side of the fence
|
|
|
|
|
Well, it was a long time ago, but I cut my teeth in .NET with Jeffrey Richter's book (CLR via C# or whatever it is these days). Not long after that I did the .NET brainbench and scored so well that someone in a hedge fund noticed and called me out the blue to work for them, which I did. Brilliant book, so that's what I recommend.
The tests have no doubt moved on, but as I recall .NET was pretty easy in comparison to the C# one.
Regards,
Rob Philpott.
|
|
|
|
|
I add some items into the database in other to load in a combobox then trying to add items to the second combobox in other to act as a sub to the first combobox.. i found out that i would need to select an item from the first combobox before i can add items to the second combobox.. for instance i have "state" as my first combobox and in each state, there are local governments and i would have to select a particular state in other to enter the corresponding Local governments. as a result of this, i will be having more than one entry on my state column and when i try to use it from the user's end, when i select state, it will contain more than one entry for each state... is there a way i can reduce redundancy in the combobox.. please i need help with this
|
|
|
|
|
You can only select the second set of items based on the information provided by the first. If you need to reduce the number of items for a single state then you will have to add some other criteria to your application. This is a logic issue rather than a coding one.
|
|
|
|
|
Can u make DICOM Image Viewer by vb.net
thanku
|
|
|
|