|
Well, for one, a .NET transaction from System.Transactions is not specifically a database transaction. Its a .NET transaction, which may involve many resource managers, including SQL Server, but not limited to it. Its entirely possible to have a .NET transaction that doesn't involve SQL Server at all. So there is unlikely to be any correlation between the transaction ID for the .NET transaction and the transaction ID for the SQL Server transaction, I wouldn't try to use any comparison between the two to find a match.
As for a solution to your problem...you probably need to use a profiler that will trace your calls and identify blocks. I am not sure if either of these will take you directly to the source of the problem, but they are both pretty advanced and should help:
JetBrains dotTrace Profiler
RedGate Ants Profiler
|
|
|
|
|
Can any one suggest me how to connect the database using vb.net 2008.
|
|
|
|
|
e.g.,
string connstring = "Data Source = .\\ABC;Initial Catalog = XYZ; Integrated Security = True";
SqlConnection conn = new SqlConnection(connstring);
SqlCommand comm = new SqlCommand();
comm.CommandText = "Select * From DummyTable";
comm.Connection = conn;
conn.Open();
comm.ExecuteScalar();
conn.Close();
MSDN[^]
|
|
|
|
|
There is not just one or two ways to do this. I highly suggest picking up a book on ADO.NET to have as a learning tool and reference.
|
|
|
|
|
I am new to development. Could anyone suggest,what are the different downloads I would have to do,to start learning c# on the .NET framework?
|
|
|
|
|
If you have .net, you have all you need. The framework includes CSC, the command-line compiler for C#.
I suggest you open a DOS box, write a "hello world" console app, and compile it.
|
|
|
|
|
|
|
thanks..Seems like the exact tutorial i was looking for.
|
|
|
|
|
Do you have developed experience
i just do it
|
|
|
|
|
Guys, we are all developers here --most at least--
I found out about this great little companion for developers and non-developers: http://tinypad.info/[^]
It's really slick and very light. I got so used to it, I can't turn it off.
Another great yet simple idea! Made with .NET 3.5
Just thought I might share this with you all!
|
|
|
|
|
I far prefer OrangeNote[^] made by one of the CP regulars. I use this tool regularly.
|
|
|
|
|
yeah that's another great, two separate concepts though.
Tiny Pad is much lighter on the system. I really like the archiving feature. The highlighting and the firefox-like search are real key features.
What's a real bummer is that there's no tagging like OrangeNote.
I heard the next version will work on Unix/Mac.
Thanks for sharing!
|
|
|
|
|
Hello
I am new in .NET frame work.Actually i have done a project in Symbian os.
How i have to access a calender database from pc by using visual stdio frame work.
Can any one help me as soon as possible.
Jobayer
|
|
|
|
|
when i tried to open the inetmgr it is showing the following error
ntvdm cpu has encountered an illegal instruction in iis
|
|
|
|
|
|
Hi All,
This is my code
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(sCRURL);
request.UserAgent = "Gantec Web Crawler";
WebResponse response = request.GetResponse();
Stream stream = response.GetResponseStream();
StreamReader reader = new StreamReader(stream);
sCreditReport = reader.ReadToEnd();
reader.Close();
I am getting the following error occasionally not all the times please advise how to solve this problem
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.IO.IOException: The decryption operation failed, see inner exception. ---> System.ComponentModel.Win32Exception: The message or signature supplied for verification has been altered --- End of inner exception stack trace --- at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.IO.StreamReader.ReadBuffer() at System.IO.StreamReader.ReadToEnd() at CreditBuilder.PresentationLayer.credit_report.GetCreditReport() at CreditBuilder.PresentationLayer.credit_report.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.credit_report_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Thanks
Warm Regards
Prakash-B
|
|
|
|
|
Hi,
do you have found a solution for this problem? One of our customers get this failure also.
Thanks
Tom
|
|
|
|
|
|
How to Generate a color palette from an image?
Just like,
http://kuler.adobe.com/#create/fromanimage
Check the above link for demo.
How to do that in .NET?
Any Ideas?
Thanks in Advance.
|
|
|
|
|
All you do is call GetPixel on a Bitmap object to return the color at a specific location in the image.
|
|
|
|
|
Thanks Dave for your reply.
But GetPixel is for getting pixel from a particular (x,y) in the image.
We can iterate through the image and we can findout all the colors in the image by using that.
But i have to analyse the whole image and need to find only few colors which are unique in the image,but not the whole colors.
So i think some complex logic will be there for analysing only unique colors.
I tried some logics.But i think may be some good logics there for finding it out.
Any ideas 4 that?
Thans in Adavance.
|
|
|
|
|
That makes the problem a bit more clear. In that case, I have no idea. But, I'd probably start by researching histograms to see if they would play any part in the algorithm.
|
|
|
|
|
A method I've used in the past is Gervautz-Purgathofer octree color quantization...
Sample article[^]
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi all,
i have serached in google n found out the way to add print functionality to the browser.
My problem is i want to add extra data to the print other than the content of the web page.
Please suggest me for this problem.
Thanks.
|
|
|
|