Answer Questions
EarlyAdoptors "The request failed with HTTP status 401: Access Denied"
I am currently developing an ASP.net web application to consume web services, but am having an error message on the ASP.net web application whenever i try to run it. The message says " Server Error in 'Client record application', "The request failed with HTTP status 401: Access Denied". How do i resolve this Does this error occur when a webmethod is invoked If so, then the rights being passed to the webservice do not have r ...Show All
RichardM aspnet_wp.exe was recycled because memory consumption
hi! I have an web application running in 2 server with WIN 2000 Server (2Gb RAM, 2-processors) in load balance and I having problems with memory consumption. This same application is running in only one server for tests, and is this server the problem not occur any time. The difference is the OS, this server is running with WIN 2003 server . Taking a look in the perfmon, i see the dinamics for the objects in all servers. At the WIN 2003 s ...Show All
Jason Walker Where did XMLReader.GetAsObject() go?
In this article: http://msdn.microsoft.com/xml/default.aspx pull=/library/en-us/dnxml/html/SysXMLVS05.asp under #7, the GetAsObject method is being used. Was it removed or changed in beta 2 I'd like to use that method instead of using XmlSerializer since I don't have to specify a type to get an object in GetAsObject() method like I'd have to do in the XmlSerializer constructor. There is some misunderstanding ...Show All
osofuchi how can we put a resultset of a sqldatareader into a datatable object
how can we put a resultset of a sqldatareader into a datatable object Thanks. cool thanks. The DataTable.Load method is new to .Net 2.0. It takes an IDataReader object and populates the DataTable object with it. This could not be done with any built in methods of the DataTable class in .Net 1.1. You can use the code provided to accomplish the same thing. smc750 Here is a variation of how you can do it in .Net 1.1 ...Show All
Vivek Ayer wat is webservice
what is webservice and how it will be use in real time scenario's wat are the main differences b/w webservice/remoting/windows services MSDN can help you a lot. SreenivasRao.K wrote: what is webservice and how it will be use in real time scenario's wat are the main differences b/w webservice/remoting/windows services a "windows service" is a program that runs on windows in the background ...Show All
Irreversible Can framework 2.0 be used with VS 2003?
A very simple question, but I can find nothing on microsoft's site about this. I just want to install the .net framework and use it with my VS 2003 IDE. No - you can't. If you want to use the new framework, you need to buy the new IDE. However, there is a Microsoft project called MSBee to allow the ability to build .NET 1.x applications using MSBuild. For more information, see http://blogs.msdn.com/clichten/default.aspx . ...Show All
Mungos Web Service Logging
Hello! I have an application that uses the web service interface that is automatically created by Visual Studio 2003. However, because of some network problems, I need to log the transaction to the server and back, to find out where the problems are resulting. I’ve tried working with the SoapExtension class, but I couldn’t find a way to implement it into the web service class. I currently have installed WSE 1.0, but don’t know if thi ...Show All
Jan Wiberg How to determine Missing WebMethod
I could not find a missingMethod exception version in SoapException which is thrown by Web Services. When i call a Web Method in my client, I need to determine whether returned error specifies missing method exception. My client code takes Web Service URL as input and call a method in service. Web Service wont return a WSDL file as a security measure. Please help. Thanks, Salim Thanks for reply. Actual ...Show All
drole casting error?
Hi, I am creating an application which consumes a web service. I get a run-time error at this line: cert = (System.Security.Cryptography.X509Certificates.X509Certificate2) System.Security.Cryptography.X509Certificates.X509Certificate2.CreateFromCertFile(certificate); where private System.Security.Cryptography.X509Certificates.X509Certificate2 cert = null; and certificate is the name of the certificate fi ...Show All
DOrsborne JScript / JScriptEvaluate issue
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim overhead As String = "10" Dim a As Integer Dim b As Integer Dim c As Integer c = 20 & ...Show All
Iwin Error Please HELP
Hi everyone, I have a problem on VB.net I have been working for hours on a project but an Error has come up and I can't fix it!! the Error is " Unable to copy file "obj\Debug\Bubbles.exe" to "bin\Debug\Bubbles.exe". The process cannot access the file 'bin\Debug\Bubbles.exe' because it is being used by another process. " please help!! Simon Ps:Please make the answer easy to under ...Show All
rakesh_halder Compacting an Access 97 DB from VB.NET 2003
Hi everybody, Here's my code, Imports System.IO Public Class Access97Routines Public Shared Sub RepairCorruptDatabase(ByRef corruptDB As FileInfo, ByVal destinationFileName As String) Dim accessApp As New Access.Application Try accessApp.DBEngine.CompactDatabase(corruptDB.FullName, destinationFileName) ...Show All
aloulou_2007 UDP socket communication between a linux (server) and a window (client) machine in C#
Dear all, Are there any thing to watch out for between UDP socket communication between a linux (server) and a window (client) machine Can I just treat the linux mahine as a "black box" that I just send and receive byte arrays I am not able to receive data from the hardware which is linked to the linux machine. As far as I know, it seems my program is correct when I test my c# client program and a C# server program which just receives dat ...Show All
JMicke Passing Dictionary in WebService
I tried to pass Dictionary as a return value of a webservice Here's a snippet of the code: //I marked BL.Customer class as serializable. [Webmethod] public Dictionary<string, BL.Customer> GetAllCustomer() { Dictionary<string, BL.Customer> customers = new Dictionary<string, BL.Customer>(); &nbs ...Show All
DwightK duplicate columns into datatable
Hi, I have created one DataTable programatically into C#. And I want to add duplicate DataColumns into it i.e. suppose I have one column named "Col1" and I want add one more column with the same name. Its giving "DuplicateNameException". How should I make it possible. Is there any other way. Please provide some code. Thank you. If suppose that you may want to bind your datatable la ...Show All
