<p>While connecting .NET to sybase server I got this error message:</p>
<blockquote>
<p>[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified</p>
</blockquote>
<p>This has worked properly before. System DSN with same details worked and data connection through vs.net also worked.</p>
<p>I am using VS.NET 2005.</p>
<p>Any suggestions?</p>

Perform the following steps:
Start the Registry Editor by typing
```
regedit
```
in the Run window.
Select the following key in the registry:
```
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC
```
.
In the Security menu, click Permissions.
Grant Full Permission to the account which is being used for making connections.
Quit the Registry Editor.