A bug in Transactional WebServices 
Author Message
 A bug in Transactional WebServices

Hi,

I reported a bug in transactional web services about two month ago.
Regretfully, I haven't received any answer yet. I am eager to know whether
the following bug still exists in the production version of .Net.

The bug is that I invoke a transactional web service and make the service
idle for about twenty minutes. Now I call the web method again. An error
occurs if I have set TransactionOption to Required or RequiresNew. Error
message are as follows. I have installed VS.Net Beta 2 service pack 2.

Thanks!

Lionel Lin
============ Error Message ======================
System.Web.Services.Protocols.SoapException:
System.Web.Services.Protocols.SoapException: Server was unable to process
request. ---> System.Web.HttpException: Exception of type
System.Web.HttpException was thrown. --->
System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. ---> System.Data.OleDb.OleDbException:
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access
denied.
   at System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr)
   at System.Data.OleDb.OleDbConnection.InitializeProvider()
   at System.Data.OleDb.OleDbConnection.Open()
   at Sealink.CodeMartServer.DbSysObjReader.Connect(String datasource,
String initialCatalog, String user, String password) in
c:\inetpub\wwwroot\codemartserver\dbsysobjreader.cs:line 225
   at
Sealink.CodeMartServer.Templates.DbAccessTemplate.GenerateCode(CodeMartCooki
e cookie, TemplateParameterCollection parameters) in
c:\inetpub\wwwroot\codemartserver\dbaccesstemplate.cs:line 63
   at Sealink.CodeMartServer.CodeMartServer.GenerateCode(CodeMartCookie
cookie, String templateName, TemplateParameterCollection parameters) in
c:\inetpub\wwwroot\codemartserver\codemart.asmx.cs:line 69
   at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj,
BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo
culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess)
   at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj,
BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo
culture, Boolean verifyAccess)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target,
Object[] values)
   at System.Web.Services.Protocols.WebServiceHandler.Invoke()
   at System.Web.Util.TransactedInvocation.ExecuteTransactedCode()
   at System.Web.Util.Transactions.InvokeTransacted(TransactedCallback
callback, TransactionOption mode, Boolean& transactionAborted)
   at System.Web.Util.Transactions.InvokeTransacted(TransactedCallback
callback, TransactionOption mode)
   at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
   at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClient
Message message, WebResponse response, Stream responseStream)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
   at
Sealink.CodeMartClient.CodeMartProxy.CodeMartServer.GenerateCode(CodeMartCoo
kie cookie, String templateName, TemplateParameter[] parameters) in E:\Linkl
Documents\Visual Studio Projects\2002\CodeMart\Web
References\CodeMartProxy\codemart.cs:line 76
   at Sealink.CodeMartClient.FormCodeMart.btnGenerateCode_Click(Object
sender, EventArgs e) in e:\linkl documents\visual studio
projects\2002\codemart\formcodemart.cs:line 490
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

========== Loaded Assemblies ==========
mscorlib
    Assembly Version: 1.0.2411.0
    Win32 Version: 1.0.2914.16
    CodeBase:
file:///c:/winnt/microsoft.net/framework/v1.0.2914/mscorlib.dll
----------------------------------------
CodeMart
    Assembly Version: 1.0.744.32158
    Win32 Version: 1.0.744.32158
    CodeBase: file:///E:/Linkl Documents/Visual Studio
Projects/2002/CodeMart/bin/Debug/CodeMart.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 1.0.2411.0
    Win32 Version: 1.0.2914.16
    CodeBase:
file:///C:/WINNT/assembly/GAC/System.Windows.Forms/1.0.2411.0__b77a5c561934e
089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 1.0.2411.0
    Win32 Version: 1.0.2914.16
    CodeBase:
file:///C:/WINNT/assembly/GAC/System/1.0.2411.0__b77a5c561934e089/System.dll
----------------------------------------
System.Web.Services
    Assembly Version: 1.0.2411.0
    Win32 Version: 1.0.2914.16
    CodeBase:
file:///C:/WINNT/assembly/GAC/System.Web.Services/1.0.2411.0__b03f5f7f11d50a
3a/System.Web.Services.dll
----------------------------------------
System.Drawing
    Assembly Version: 1.0.2411.0
    Win32 Version: 1.0.2914.16
    CodeBase:
file:///C:/WINNT/assembly/GAC/System.Drawing/1.0.2411.0__b03f5f7f11d50a3a/Sy
stem.Drawing.dll
----------------------------------------
System.Data
    Assembly Version: 1.0.2411.0
    Win32 Version: 1.0.2914.16
    CodeBase:
file:///C:/WINNT/assembly/GAC/System.Data/1.0.2411.0__b77a5c561934e089/Syste
m.Data.dll
----------------------------------------
System.Xml
    Assembly Version: 1.0.2411.0
    Win32 Version: 1.0.2914.16
    CodeBase:
file:///C:/WINNT/assembly/GAC/System.Xml/1.0.2411.0__b77a5c561934e089/System
.Xml.dll
----------------------------------------
System.Web
    Assembly Version: 1.0.2411.0
    Win32 Version: 1.0.2914.16
    CodeBase:
file:///C:/WINNT/assembly/GAC/System.Web/1.0.2411.0__b03f5f7f11d50a3a/System
.Web.dll
----------------------------------------
y1f95_rx
    Assembly Version: 0.0.0.0
    Win32 Version: 1.0.2914.16
    CodeBase:
file:///c:/winnt/assembly/gac/system/1.0.2411.0__b77a5c561934e089/system.dll
----------------------------------------



Sun, 04 Jul 2004 10:57:13 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Transactional Replication from Heterogeneous Data - repldist.h

2. Holding a list within a transactional MTS component

3. Transactional COM+ component

4. transactional file handleing

5. no Transactional Component Template

6. Beta 2 to Release Conversion: Failed to Register Assembly when hitting Transactional Code

7. transactional web service has problem

8. BUG BUG BUG watch variable

9. Bugs Bugs Bugs galore

10. BUG BUG BUG / VIRUS VIRUS VIRUS

11. Can a webservice work with proxy server ?

12. Connect to webservice online

 

 
Powered by phpBB® Forum Software