Answer Questions
rima66345 Access Violation when doing BeginReceive on a UdpClient
I'm attaching some code below which demonstrate my troubles. In short, I get an Access Violation thrown when doing BeginReceive after trying to Send() data to a port thats not listening (using UDP). My observations this far: Add a Sleep() between the Send() and BeginReceive(), and you get a SocketException thrown at BeginReceive() instead of the Access Violation Send to localhost, or a host on the same lan (or close, in terms of hops ...Show All
is4me2 Type Conversion
Hi, i am facing one problem. here i am sending my code: Try Dim myConnection As New OleDbConnection("provider=msdaora.l;user id=system;password=oracle10;data source=orcl") myConnection.Open() Dim myCommand As New OleDbCommand Dim strSql As String = String.Empty strSql = "insert into emp(empno,deptno) values (" & Trim(TextBox1.Text) & "," & Trim(TextBox2.Text) & ")" myCommand.Connection = myConnection my ...Show All
Ray Hayes merge two datasets
hello all, i have 2 datasets. one is filled from the remote database(Sql Server 2000) and the other is filled from my local computer sql server 2000. I want to see if the remote dataset(filled from remote server) has some updated data. If it is so, i want to get this updated data in the local dataset and then update this local dataset to the local sql server at my computer. Please write to me soon. Any other method will also be he ...Show All
iambad Program hangs on remote connection when opening SqlConnection .NET 2.0
I am having a problem where my program hangs when creating a SqlConnection object. No exception is thrown, the program just hangs. The details are that I am connecting to a remote server through Terminal Services and the running the program in the 2.0 environment on a Win2K server. If logged into the server as an Admin, then everything works great. If logged in as a regular user, then the program hangs when opening ...Show All
RafOv Common Language Runtime Debugging Services
Hi, We have installed a software PCDCTfor window and we are getting error on exe failling Reports. But failed and give following error message whenever we try to run a big reports/processes: PCDCT for Window.exe - Common Language Runtime Debugging Services Application has generated an exception that could not be handled. Process ID=0x710 (1808), Thread Id=0xa8(2688) Click OK to terminate the application. ...Show All
Radvis exception unhandled
with Visual studio 2005. Code below. add the client I added a webreference as you see. If I test the webservice in my browser it works, but not from the pda. ERROR: at runtime: Web exception was unhandled. Error cannot be displayed because an optional source-assembly was not found. System.Net.WebException was unhandled Message="Web exception was unhandled. E ...Show All
baci Accessing COM+ from a different machine
Hi Guys, I need to access a COM+ which is located on a different machine. What is the correct procedure to do it I tried exporting the COM+ as an MSI file, and installed it on my comp, and from dotnet when i try to add a reference to the COM object(which i installed on my comp), an error is shown saying 'Type Library was exported from a CLR assembly and cannot be re-imported as a CLR assembly'. How do i reference to that COM ...Show All
dfoukas Hungarian dateformat does not work for a client side comparevalidator (ASP.NET)
Hi, We are developing an asp.net (.net 1.1) application which is also used by people in Hungary. The dateformat used there is yyyy. mm. dd. (dot-space between the parts and a dot at the end). However the comparevalidator does not validate this. Also for some other countries (like Slovak : dd. mm. yyyy) the validator does not work. I have found KB article #834330 and installed the patch mentioned, which fixes the error the Slovak, but ...Show All
ManishaPatil Nested queries to populate a DataSet using OdbcDataAdapter
The class listed below uses a CSV file and OdbcDataAdapter object to populate a DataSet using a nested query BUT I keep getting an Access Violation exception when I call OdbcDataAdapter.Fill(). The message is: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." This is written in VS 2005 (.NET Framework 2.0). Are nested queries in the SelectCommand() method of the OdbcDataAdapter object not ...Show All
veneta VB.Net and Access - running a stored query, putting it in a dataset then updating it!
Hi there. i am very new to vb.net and am using a simple MS Access Database. i have a table with user names in Access and a stored Query in there which will pick out the username and password if correct. In vb i have a simple logon form which should get the user's input in the username and password text boxes, then it calls the stored query in Access and checks the information for a correct user. Once it has done this it then should upd ...Show All
Nathan Jones Single-Instance - Web-Application
I want to make a class used in a Web-Application Singe-Instance. How can I make this I do not have a Checkbox "Make single instance application" in the Properties of the solution And: How would I switch back to Non single-instance Your help is very much appreciated Beat Hi! Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was going on. The best place to ask ASP.NET questions ...Show All
kennyp .Net 1.0 & .Net 2.0
Hi, I don’t know if this is a silly question but the problem that I have is that, I have a large application written in .net 1.0 which integrates with many third party applications. One third party application was originally written in 1.0 and has now been upgraded to .net 2.0. I need to get my application working with this third party application without having to recompile my application in 2.0. Are there any workarounds o ...Show All
Jacek Jablonski Type Change in Binary Formatter
Hello, I have a class that is being serialized by the BinaryFormatter. It has a several fields, one of which is an enumerated type that was called: Nevron::Chart::LineSeriesStyle. This was provided by a 3rd party library, and unforunately (for me) they have changed the name of this enum type to be: LineSegmentShape. So now, of course, files that contained this class no longer deserialize because there is a type mismatch. So to fix thi ...Show All
nneo777 VS can find localhost Webservice but not by machine name
I'm running VS 2005 (and love it), but I've created a web service and am having a lot of difficulty getting my other projects to recognize it when referencing it using my machine's name. If I use the url http://localhost/Service/Service.asmx it recognizes it right off the bat, but it times out when I try http://machinename/Service/Service.asmx. I'm using IIS and I tried setting the Default web site multiple identities fields to my machine name f ...Show All
Steve Bywaters Rijndael Algorithm + Padding error...
Hi all I am trying to encrypt and decrypt data using the Rijndael alogrithm. I have been successfull in encrypting and decrypting the data in one go. However problems arise when I attempt to save the key and the IV value and return at a later time to decrypt the data, The error I am getting is as follows: "System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed." Here is the code that ...Show All
