September 04, 2007

Load DataSet Error

Problem:
Failed to load dataset because of the following error:
Unable to Find connection ‘xyzConnectionString (Settings)1' For object ‘Settings’. The connection string could not be found in application settings, or the data provider associated with the connection string could not be loaded.





Solution:

It's so simple ...
Go to your xyzDataSet.xsd code and remove the one of duplicate Connection tags like below

<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="xyzConnectionString"
ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly"
Name="xyzConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.xyzDataLayer.Properties.Settings.GlobalReference.Default.xyzConnectionString"
Provider="System.Data.SqlClient"></Connection>

August 30, 2007

stdafx.h #define in C#

If you came from Microsoft Visual C++ world to the C#, I think that you know that we have not stdafx.h in this world therefore ..
If you wanna add a general #define to your project then you must add your #define lines to all cs pages which this is the first thing cross your mind but bill puts another way for you ... ;-)

go to Build section of your project's properties and find the condition compilation symbols and fill it with your #define flags ...

I think that this can help you, too ...
Have fun ;-)

August 24, 2007

Manifest Problem

Problem:
Error 1 general error c10100b1: Failed to load file "xyz.dll". The system cannot find the file specified. mt.exe

Solution:
In our case problem come from difference path between Output File path and Manifest File Path.
We changed those and problems gonna ;-)
- Go to Visual Studio > Menu > Project > Properties and select Linker from tree-view in left
Linker > General > Output File: .\xyz.dll
Linker > Manifest File > Manifest File: .\xyz.intermediate.manifest


Please don't hesitate to contact us and share your experiences ;-D

March 24, 2007

Dell Driver Problem On Windows 2003

Do you have problem for migration from Windows XP to Windows 2003 on Dell notebook like me .. ;-)

My friend purchased a Dell XPS M1710 (and M1210 for his robot team) and i replaced Windows XP with Windows Server 2003.
The problem was started with modem and sound card ...
After my migration, i had two icons with an exclamation mark for PCI Device (modem) and Microsoft UAA Bus Driver for High Definition Audio (audio)

Modem Specification:
Title: Communications: Conexant D110,HDA,MDC,v.92,modem DRVR
OEM name : Conexant D110,HDA,MDC,v.92,modem
OEM Version: Drv7.38.0xp
Computers : MXG061
OS : Windows XP
Created : Friday, November 10, 2006

Sound Card Specification:
Title: Audio: SIGMATEL STAC 92XX C-Major HD Audio DRVR
OEM name : SIGMATEL STAC 92XX C-Major HD Audio
OEM Version: 5.10.0.4995
Computers : MXG061
OS : Windows XP
Created : Friday, November 10, 2006



Solving Solution:
You must download and install (just 545KB) package from Microsoft [link] for this hell problem.
It come for
- Microsoft Windows Server 2003, 32-Bit Editions [link]
- Microsoft Windows Server 2003, 64-Bit Editions [link]
- Microsoft Windows XP Professional x64 Editions [link]

after install it your drive install easily ...
but if you have problem again you can
- Enable Windows Audio service from Control Panel>Administrative Tools>Services>Windows Audio>Automatic/Startup
- Visit Dell Download and Driver for SIGMATEL STAC 92XX C-Major HD Audio [link]
- Visit Dell Download and Driver for Conexant D110,HDA,MDC,v.92,modem [link]