Keys: asp.net, webrequest, proxy.
<system.net>
<defaultproxy>
<proxy
usesystemdefault="false"
proxyaddress="http://192.168.1.1:3128"
bypassonlocal="true"
</proxy>
</defaultproxy>
</system.net>
Sunday, June 22, 2008
Set proxy for WebRequest in web.config
Put this in web.config, you can set usesystemdefault but for me that dont work.
RESTORE cannot process database because it is in use by this session
"System.Data.SqlClient.SqlError: RESTORE cannot process database because it is
in use by this session. It is recommended that the master database be used
when performing this operation."
If you are using Microsoft.SqlServer.SMO set SqlServer.ConnectionContext.DatabaseName to "master".
If you are using TSQL, select master database (USE master).
Keys: error, smo, tsql, c#.
in use by this session. It is recommended that the master database be used
when performing this operation."
If you are using Microsoft.SqlServer.SMO set SqlServer.ConnectionContext.DatabaseName to "master".
If you are using TSQL, select master database (USE master).
Keys: error, smo, tsql, c#.
Subscribe to:
Posts (Atom)