Click here to Skip to main content
15,922,584 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: ASP.NET and JAVASCRIPT Pin
analytiks25-Dec-05 2:38
analytiks25-Dec-05 2:38 
GeneralRe: ASP.NET and JAVASCRIPT Pin
MinaFawzi25-Dec-05 13:31
MinaFawzi25-Dec-05 13:31 
GeneralRe: ASP.NET and JAVASCRIPT Pin
enjoycrack22-Dec-05 6:52
enjoycrack22-Dec-05 6:52 
QuestionODBC on the WebServer Pin
gmhanna20-Dec-05 10:25
gmhanna20-Dec-05 10:25 
GeneralRe: ODBC on the WebServer Pin
Andy Brummer20-Dec-05 11:17
sitebuilderAndy Brummer20-Dec-05 11:17 
GeneralRe: ODBC on the WebServer Pin
gmhanna20-Dec-05 12:47
gmhanna20-Dec-05 12:47 
AnswerRe: ODBC on the WebServer Pin
Guffa20-Dec-05 21:31
Guffa20-Dec-05 21:31 
GeneralRe: ODBC on the WebServer Pin
gmhanna21-Dec-05 5:42
gmhanna21-Dec-05 5:42 
When I throw the exception back, this is what I get:

<br />
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed <br />
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. <br />
<br />
Exception Details: Microsoft.Data.Odbc.OdbcException: ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed<br />
<br />
Source Error: <br />
<br />
<br />
Line 136:			odbcDataAdapter = new OdbcDataAdapter(strSelect, odbcConnection);<br />
Line 137:			odbcCommandBuilder = new OdbcCommandBuilder(odbcDataAdapter);<br />
Line 138:			odbcDataAdapter.Fill(dataSet, "User");<br />
Line 139:			#endregion<br />
Line 140:<br />
 <br />
<br />
Source File: \\msp-webserver\wwwroot$\mcp\default.aspx.cs    Line: 138 <br />
<br />
Stack Trace: <br />
<br />
<br />
[OdbcException: ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed]<br />
   Microsoft.Data.Odbc.OdbcConnection.Open() +646<br />
   System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState) +44<br />
   System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +304<br />
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +77<br />
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +36<br />
   MCP.WebForm1.pbOK_Click(Object sender, EventArgs e) in \\msp-webserver\wwwroot$\mcp\default.aspx.cs:138<br />
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108<br />
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57<br />
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18<br />
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33<br />
   System.Web.UI.Page.ProcessRequestMain() +1292<br />
<br />


From what I have found on the internet, this means the driver can not connect to all types of files, but works fine without when you remove the Webserver from the picture. Not sure what makes the Webserver so special.

Any help is appreciated....

Glenn
QuestionInternet Explorer Title Bar Corrupt -- Displays Only Square Boxes Pin
Kevin McFarlane20-Dec-05 4:17
Kevin McFarlane20-Dec-05 4:17 
AnswerRe: Internet Explorer Title Bar Corrupt -- Displays Only Square Boxes Pin
jcrussell22-Dec-05 18:00
jcrussell22-Dec-05 18:00 
GeneralRe: Internet Explorer Title Bar Corrupt -- Sorted Pin
Kevin McFarlane22-Dec-05 23:46
Kevin McFarlane22-Dec-05 23:46 
QuestionCan't catch ActiveX control events after web page refresh Pin
Calc2020-Dec-05 3:21
Calc2020-Dec-05 3:21 
Questiongetting resource report in asp Pin
karanba19-Dec-05 23:19
karanba19-Dec-05 23:19 
AnswerRe: getting resource report in asp Pin
Guffa20-Dec-05 3:27
Guffa20-Dec-05 3:27 
AnswerRe: getting resource report in asp Pin
Andy Brummer20-Dec-05 11:04
sitebuilderAndy Brummer20-Dec-05 11:04 
QuestionSMS Pin
aasstt19-Dec-05 22:24
aasstt19-Dec-05 22:24 
AnswerRe: SMS Pin
enjoycrack20-Dec-05 21:03
enjoycrack20-Dec-05 21:03 
Questionproblem making dll for clint side Pin
uktrips00719-Dec-05 22:20
uktrips00719-Dec-05 22:20 
AnswerRe: problem making dll for clint side Pin
Guffa20-Dec-05 3:30
Guffa20-Dec-05 3:30 
QuestionAudio files playing in Browser window Pin
progman19-Dec-05 14:55
progman19-Dec-05 14:55 
AnswerRe: Audio files playing in Browser window Pin
minhpc_bk19-Dec-05 15:38
minhpc_bk19-Dec-05 15:38 
QuestionInput file Pin
mandaaa2019-Dec-05 9:28
mandaaa2019-Dec-05 9:28 
AnswerRe: Input file Pin
Guffa20-Dec-05 2:06
Guffa20-Dec-05 2:06 
QuestionInternet Explorer pagination capabilities Pin
Jörgen Sigvardsson19-Dec-05 8:44
Jörgen Sigvardsson19-Dec-05 8:44 
AnswerRe: Internet Explorer pagination capabilities Pin
Shog919-Dec-05 11:16
sitebuilderShog919-Dec-05 11:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.