Answer Questions
Cryton Problem with StrongNameIdentityPermission
Hi, The StrongNameIdentityPermission is failing for me even if I am using the correct SNK file in my caller assembly. I have an XBAP application (partial trust) which calls an assembly Assembly 1. I have made Assembly 1 secure by specifying the StrongNameIdentityPermission at the class level and the XBAP program is signed with the correct SNK file. Still it gives a security exception while doing the StrongNameIdentityPermission check. The same solution is working in .NET 1.1 environment when I change the XBAP application to a console application. I am unable to find a reason why it is failing. Is it because of .NET 3.0 framework or is it something else Thanks & Regards, Nishant ...Show All
DBFrustrater problems importing data from XML
Hello, Sorry not having written a more detail Subject for this topic, but i dont know how to explain it in so few words! I'm developing a pocket pc application, which is using a database also used on the desktop computer, and both apps exchange data using export and import functionalities. I've done this once with no problems, but this time there is a different person developing the desktop application, and i'm having problems reading the xml from the exported file. Taking a quick look at xml file i'm trying to read, i can only see one cause for this problem: Instead of specifying the various elements like <table> <row1> <atr1> <atr2> <row2> etc.... its is ...Show All
Ganesh.P.A How can I remove ASPNET account when it is not used
Hi I recently installed .NET framework SDK 2.0 to learn VB. Whenever I run the SDK tutorial, it seems to define the ASPNET account in the system and the accont remains there even after the tutorial is finished. I can remove it only by re-booting the PC. I'd like to remove the ASPNET account as soon as I finish using the SDK tutorial because my company's audit scan doesn't like the extra account on my pc. Is there any command available to do that Strangely the account appears only in the audit report but not on the user account in the control panel. I am an absolute beginner and don't know about how it works. TIA TIA, ASPNET is a local user account that is created when ASP.NET is installed in your machi ...Show All
madaboutnoggins Reflection being used to 'Dynamically write code'? huh??
Developers, I'm sorry, but I don't understand this topic at all, first of all, it looks like you have to write the code before compilation anyway, so how is this 'dynamically written' and secondly, the syntax is much more difficult to understand -- what is the purpose of using dynamically written code ~ Chris McQuade There are a couple different examples I can think of, depending on what you mean by 'dynamically write code'. Imagine implementing a custom designer that plugs into Visual Studio (or some other application). As the user drops shapes on the visual desgin surface, your software dynamically generates the code that is used to construct what the user is designing visually. The user could be constructing a Windows ...Show All
Sam Jost Performance in DotNet remoting
Hi, Application: We have developed a DotNet Remoting application which acts as a server to Calculate analytics. This server takes inputs from different client applications and respond with the analytics. This server is run on a "Single-call" mode so that each request is created independently for scalability. In some scenarios the requests from the client are sent parallely using different threads to speed up the process. Also, this remoting server uses some third party libraries for calculations which takes a longer time to compute the analytics and these libraries do not support multi-threading. Problem Statement: - Keeping number of users and different requests, Request / Response volume is very high. There are case ...Show All
Kent Thomas Using a SQL Database to authenticate users
I am converting a MySQL database over to MsSQL and I'm having problems migrating my user authentication. I'm using Visual Web Studio Express 2005, but the Website is not locally hosted, so using the ASP.NET management seems to be unavailable. The specifc error is: The ConnectionString property has not been initialized. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: The ConnectionString property has not been initialized. The connection to the database is made in my web.config file: < add key = " database &qu ...Show All
Erik Moore Controlling a pc with a standard remote control
Greetings - I want to use a standard universal remote control to send commands (create events) on a PC and respond to those events using vb.net. Any suggestions for the most direct route to doing so Specifically, I have a program that I want to have respond to the user pressing "play" or "pause", etc on a remote. Thanks for any suggestions/pointers! im actually in the middle of doing this myself, but controlling from a Windows Mobile device! I've also created a WMP Remote control app for the mobile device, allows you to control WMP from the power of the device, so you can play/pause etc... and connect via bluetooth/wireless/gprs/usb cable. I guess in your c ...Show All
Palle passing parameter from popup to parent
I am having trouble passing a parameter from a label control in a popup window to a textbox in the parent window. i have tried post and get methods and queries as well but none work.am i missing something here pleasze help so what was your solutions...i am having the same problem thanks i found a solution. http://aspalliance.com/87 really doestn help too much.right now my popup calendar opens in a newwindow but to send back the selected date to the opener is what i cannot figure out. right now i hv set it up such tht on selecting a date the original web form opens up with the date but in the popup window. i ned the date to g ...Show All
CharlieCSharp Workaround
I try to install my application (developed with VS2005 and referencing the NET Framework 2.0 that came with VS2005 on my 32bit machine.) on a Windows Server x64 on a Xeon system. The Install program (ClickOnce) fails reporting an error while checking for the net framework 2.0: "This Version of NET Framework 2.0 is not supported on a 64-bit operating system." This is strange because on all 32bit systems I installed the application on, the installer downloaded the NET 2.0 frameowork from Microsoft, and worked well. The application runs fine on 32bit systems. I manually downloaded and installed the 64bit NET Framework 2.0 on the Windows Server x64. But: I get the same results (installation fails with above error). I cannot find any ...Show All
vijil multiple select
Using .net 2.0 Is it possible to have a stored procedure with several select statements so that a dataset can be populated with all of the select statements. So the dataset will end up with several tables (One table for one select statement). At present I use the dataadapter to fill the dataset. I do this for each stored procedure which holds a select statement each. But rather than repeating this method several times (One for each select), I would like to do all this in one stored procedure and populate a dataset with the results of these tables. Is this to do with MultipleResultSet (MRS) Any suggestions please Thanks Thanks, Now I have to learn about tablemapping because currently I refer to the tables ...Show All
Shawnmcf Deserialization of Enumerated Member
I am trying to deserialize data into a class with a different name from that which was serialized. I believe the solution should be simple with a SerializationBinder but this doesn't seem to work if the class contains an enumerated member. The simplified example below throws ArgumentException: "Object of type 'SerializationTest.NewClassToDeserialize' cannot be converted to type 'SerializationTest.OldClassToSerialize+eBar'." ------------------- Module TestModule Sub Main() Dim tOldObject As New OldClassToSerialize tOldObject.Foo = "My Data Value" ' Serialize object in old format Dim tFilePath As String = Path.GetTempFileName() Dim tBinaryWriteStrm As FileStream = File.Create(tFilePath) Dim tBina ...Show All
Monte Chan Client found response content type of 'text/plain', but expected 'text/xml'.
Hi friends am call a 3rd party web service and when i call one of their methods i get above error any ideas how to resolve this please Thanks for ur help full error text Client found response content type of 'text/plain', but expected 'text/xml'. The request failed with the error message: -- < xml version="1.0" encoding="UTF-8" > <wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:submissionGateway/wsdl" xmlns:intf="urn:submissionGateway/wsdl" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:sg="urn:submissionGateway" xmlns:wsdl="http://schemas.xmlsoap.org/wsd ...Show All
Pramy Pass complex object in remote connection
Hi I'm trying to build a client/server application with .NET remote but some things doesn't work as expected: Just for example: Shared interface (shared assembly) public interface ISampleClass { string ReturnHello(); ISampleClass getMeNewClass (ISampleClass someValue); } public interface IFactory { ISampleClass getNewInstance (); } Server //scip a lot of code RemotingConfiguration.RegisterWellKnownSericeType ( typeof(CFactory), //CFactory class inplement IFactory interface "factory.soap", WellKnownObjectModel.Singleton); Client //scip some code IFactory fac = (IFactory) Activator.GetObject(typeof(IFactory), http:/ ...Show All
wfilus Steps to build a network troubleshooter?
Hi, I have a program that monitors the system, but I need to add a feature. This feature includes a network troubleshooter, which checks all of the necessary components to connect to a network. Can anyone help me who has a XBOX360 or similar to create a network troubleshooter like the ones in the XBOX360 The steps the 360 takes are: 1) Network Adapter (I can already do this one) 2) IP Address Need to know how to verify 3) DNS How to confirm 4) MTU Max. Trans. Unit - What does this mean 5) ICMP What 6) NAT Again, what 7) Internet (Can do this too) Thank you, ...Show All
S_A_S calling database in aspx file
I wanted to find out if i can have the database connection in a aspx file in a script tag- and then call it in another web page which contains the vb code to diplay data (e.g. to display items from a specific table). Ive tried this- with the oledb connection in a aspx file called database and called the file in another aspx file called web page but errors such as variables not initialised keep appearing If i put the connection in the webpage with the vb code it works perfectly- but i would then need to create loads of web pages with the same conenction in. I only want 1 file with the conenction. see below for example: e.g. database.aspx <script> database connection </script> web page <!--#include file ...Show All
