Answer Questions
mightymoe HTTP request timing out...
What version of V2.0 are you using Beta 1, Beta 2, etc... Can you capture the stack trace From the details you put in your post, I believe you are talking about an HttpWebRequest timing out Is this correct What is the timeout value on the HttpWebRequest Does it always timeout or just sometimes Is the server under load when it times out Have you captured a netmon sniff of the transaction Do ...Show All
Jean Uninstall plz VB6 and CCW's
Hi, I need to start writing a set of classes that will be used by our VB6 application. Because I have'nt done much in the past with COM interop, I was getting a bit confused as to what attributes I need to use on my managed classes. for example, do I need GuidAttribute and ClassInterface and ProgId, or just a few of these Remebering that these .NET classes will only be used by our VB6 code, nothing else. Thanks for your help Graham ...Show All
Cal Lynn CAO and GAC Issue
I have a .NET Remoting server application (TCP, binary) and it works fine when it loads the defined types from the private assembly, but when I put that assembly in the GAC then I get FileNotFoundException. In the MSDN doc it says: " <activated type="type,assembly" /> Specifies the full type name of the object and the name of the assembly that contains the type implementation. This includes version, culture, and ...Show All
Jiange Sun Problem with XPathNodeIterator
Hello, i have a problem to read an xml document. I use this code to iterate the entire xml document : Dim doc As New XmlDocument doc.Load(Application.ExecutablePath + ".config") Dim nav As XPathNavigator = doc.CreateNavigator() ' Move to the first book node. Dim ni As XPathNodeIterator ni = nav.SelectDescendants("Impostazioni", "",False) ni.MoveNext() Dim nav2 As XPathNavigator = ni.Current ' Display the content of each element node ...Show All
Benoit Nesme XmlTypeAttribute & Namespace in WebService proxy generation
Is it just me, or does it seem like there was a change in the way wsdl.exe and the VS2005 Add Reference Wizard generated code regarding XML namespaces for generated classes, compared to previous versions (beta 2 more explicitly) In the particular case I've run into it seems that for message classes, the [XmlTypeAttribute] that is added to the class declaration when they are generated no longer contains the XML namespace, and instead the code r ...Show All
trying can not create an SQLConnection object
I am getting an initialization exception when I instantiate SQLConnection. The exception occurs emediately upon creating an instance and does not depend on whether I supply a connection string for the constructor. The odd thing is that I am not getting this error on my development computer, only when I install it on a different computer. The computer giving the exception has .Net 2.0 installed from the redistributable which I downloaded fr ...Show All
losoriomx Drawing white text with black background
I'm trying to add some text to my picutures before I display them on my website. To make sure the text can be read, I want to write the text in white letter on a black background. At the moment, I first draw a black rectangle (using Graphics.DrawRectangle) and then I add the text in white (using Graphics.DrawString). While this approach works, I always have to draw a large black rectangle to make sure it's large enough to fit the text in. ...Show All
needsAnswer Threading Problem
Hi, I have the following threading problem: I want to connect to a specific remoting service on another thread. So, in the static ThreadStart method I try to connect to this service and if it fails I put the thread on a sleep and have it call itself again after that. Also, based on a timer, I need to check if the service is still available and here's where I get the problem I think. In the timer callback I'm calling my ThreadStart method again a ...Show All
Assaf Ella Create new XML file on disk
Hi There, I am creating a new XML document, however, it needs there to be an existing .xml file on the disk even if its empty. How do I check that a file exists on disk and if it doesn't, create the actual xml file before calling the xmldocument.load method XmlDocument xmlDocument = new XmlDocument (); xmlDocument.Load( Application .StartupPath + "\\fields.xml" ); XmlNode root = xmlDocument.DocumentElement; ...Show All
JCAlmaria SQL Reporting Websevice and Web Application: Passing DefaultCredentials
Hi I am calling SQL reporting web service from vb.net windows application. I set the credentials to defaultcredentials . ReportingServer is set to use Windows Integrated authentication and no anonymous access. When calling, it throws HTTP 401 Unauthorize error. Please let me know the problem reason and solution. (looks like defaultcredentials is blank). How can I pass the current user credential who is running the exe. I do not want to create ...Show All
elkestra Accessing a client id from within a web service
Hi I am using Visual Studio 2005 with VB 2005 and investigating Web Services. I have a VB client application that accesses a Web Service. This works fine, but I would like to know if there is a way to obtain some kind of unique id/reference of the VB client application from within the Web Service. I would like to save this id/reference somewhere (possibly in a file or database) and then, when the Web Service responds back to the client ...Show All
Bill House CAS some more. . . .
Ok. . . I think this is where I need to begin - 3 assemblies MyApp.Utilities.dll - strongnamed MyApp.exe - strongnamed MyApp.Permissions.dll - strongnamed with StrongNameIndentity LinkDemand applied (this prevents linking to an assembly that doesn't have my strong name and applying my permission to an imposter) In MyApp.Permissions.dll, def ...Show All
tizzdale27 Hai everyone this is new commer may u teach me well with lots of expectations i have joined this forum.
how to get the result of the button on the next page with out occupying space on the displaying page. Indetail: when we add the data to a feild and click update after sucessfull completion of update i want to receive an message "updatedsucessfully" in a page which navigate after the update function. i dont like to occupy any space in this regard of placing a label which i had done untill now. can any one help me on my wa ...Show All
alsanal How to Handle relative URLs in HTTPWebRequest
Hi, I am catching the request from browswers using HTTPListener object and then processing those requests through HTTPWebRequest and writing back the response using HTTPWebResponse classes. The problem is with relative links for images and other scripts. For example my listener gets a request for http:// www.yahoo.com/r/n , it process forwards it to the web server using HTTPWebRequest. Now the further requests having relative URLs for imag ...Show All
Robert Schroeder MSMQ Serializable Hashtable subclass causes a hang when extracting Message.Body
To start: I get no error message; just a hang condition. If I could get an Exception, I could probably figure this out for myself. Instead, .NET just hangs, cold and unresponsive. Here's the short concept of what I'm doing (no code examples here as the concept should be simple enough to implement by any interested troubleshooters): Make a struct called KeyValuePair with two fields: a Key and a ...Show All
