|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET Frameworkmicrosoft.public.dotnet.framework
ERROR: The state information is invalid for this page and might be corrupted
Nathan Sokalski -
9 Dec 2006 10:42 PM - 4 messages
I am recieving the following error on the second postback of a page I have written: The state information is invalid for this page and might be corrupted Stack Trace: [FormatException: Invalid character in a Base-64 string.] System.Convert.FromBase64String(String s) +0 ...
Can't run aspnet_regsql.exe on remote machine
Amit -
9 Dec 2006 5:32 PM - 5 messages
I cannot run aspnet_regsql.exe on a remote machine. The remote machine is running MSSQL 2000 and is behind my local network. Its basically a sandbox machine. I specify my remote machine's name (Nightcrawler), SQL Server user name and ...
Get properties on interface (runtime/reflection)
Anderskj -
9 Dec 2006 3:10 PM - 2 messages
Hi! I am developing a c# application. I have an interface (which can change therefore my problem) If i do like this: List<PropertyInfo> properties = new List<PropertyInfo>(); properties.AddRange(typeof(app.IView).GetProperties()); I get the correct properties on the interface (9 pcs) ...
unable to find XXXX.XmlSerializers.DLL
Rahul -
8 Dec 2006 9:47 PM - 1 message
Hi, We have upgraded our code from 1.1 to 2.0 framework. The application has somehow stopped working. I enabled fusion to see what was happening and saw that the runtime was trying to load "xxx.XmlSerializers.DLL". We do not have that assembly any ...
Webservice Error Unable to find System.Web
commanderjason -
8 Dec 2006 9:39 PM - 2 messages
I have a webservice written in .net 2.0 I am able to view the web service info and wsdl without issue. When I execute one of the methods directly from the webservice page generated by .net I get an error. ...
Windows authentication with nt user but need to use role from SQL
mustai -
8 Dec 2006 8:36 PM - 1 message
I secure my application with the web config and by adding code in the global asax. It's a role base security. It work fine. My only concern it's I dont know how to not go get role every time at ...
.Net 3.0 XAML attribute usage error: Width="{x:Static SystemParameters.ScrollWidth}"
Plamen Ratchev -
8 Dec 2006 8:03 PM - 1 message
We have the following grid defined in XAML: <Grid ShowGridLines="False" VerticalAlignment="Top" DockPanel.Dock="Top"> <Grid.ColumnDefinitions> <ColumnDefinition Width="0.5*" /> <ColumnDefinition Width="33" /> ...
Open a file using the default program for a different file extension
Matt -
8 Dec 2006 6:16 PM - 2 messages
Hello, I was wondering if there is an easy method to opening a file with the default program for a different file extension. For example, we are building an XML log file - for specific reasons it is not well formed ...
.Net 2.0 MSI package using vdproj and 1.1 assemblies
jim.ahles -
8 Dec 2006 6:10 PM - 1 message
I'm creating an MSI package using a vdproj file and have to include a couple of 1.1 assembly files that are needed. They are not strong named and cannot be put into the GAC. When MSI deploys these files, the file ...
Need help with URI path
John Smith -
8 Dec 2006 5:46 PM - 3 messages
Hello, I'm not sure if these are the appropriate forums for my question since it is closer to about Visual Studio 2005 than it is about .NET framework. So please pardon me and direct me to a different forum if I ...
Can I run two versions of .NETFramework on my computer?
Rainmaker -
8 Dec 2006 4:28 PM - 5 messages
I am not a programmer, so please consider me ignorant. Can I have .NETFramework v1.1 and 2.0 on my machine simultaneously? I have installed ACT! 9.0 and I believe it wants . NET v2.0. When I ...
Caspol in batfile - How override yes/no question after running caspol
Joe -
8 Dec 2006 4:13 PM - 3 messages
Hi I run Caspol thru a batfile which I want to automate Some pc (some security setting) after running caspol ask yes/no to continue? Is there a flag i can set to overide yes/no ??? Thanks ...
Where to store config information?
James Crosswell -
8 Dec 2006 3:34 PM - 11 messages
So it used to be that this info went in ini files... then it was the registry and now it seems that it's gone back to files again with the introduction of .config files to facilitate xcopy deployment. However, I'm still pretty confused about where everything should go. It ...
Caps Lock and Num Lock ?
JerryWEC -
8 Dec 2006 2:09 PM - 6 messages
What is the best way to do Caps Lock and Num Lock for a statusbar control in vs2005? I was doing this in vs2003... Private Sub SetPanelLocks() Try Dim numLockValue As Integer = 0 Dim capsLockValue As Integer = 0 ...
Technology partners
Peter Morris [Droopy eyes software] -
8 Dec 2006 1:29 AM - 5 messages
Hi all I'm looking for a list of "most successful" MS technology partners. I am interested in partners who sell tools / plugins / components etc for use within VS IDE. Thanks :-) Pete ...
Need help with UpdateButton in FormView
shaly -
7 Dec 2006 7:29 PM - 1 message
Hi friends, Somehow i am stuck at a very basic step. I have two pages - 1. DomainList.aspx which just displays all the records from the Domains table. 2. DomainAddEdit.aspx which displays the selected record in FormView(Edit Mode) with two link for Update and Cancel. ...
HtmlImage becoming HtmlGenericControl in converted 2003 project
belvario -
7 Dec 2006 7:20 PM - 1 message
Hi - We are converting a VS 2003 project to VS 2005 and we are encountering the following problem - all HTML IMG tags that were marked runat="server" in the old project (and were declared as HtmlImage in the codebehind) are coming up in the new project as ...
socket beginreceive and thread exit
William Stacey [C# MVP] -
7 Dec 2006 5:36 PM - 3 messages
The doco for socket.BeginReceive says: "All I/O initiated by a given thread is canceled when that thread exits. A pending asynchronous operation can fail if the thread exits before the operation completes." I have been bitten by this recently. But it raises another question. If ...
Program build fails; how do I resolve the situation?
AlBruAn -
7 Dec 2006 4:12 PM - 2 messages
I'm trying to build my application from within the IDE, but I get an error message that reads: The item "obj\Debug\MyApp.Security.resources" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the ...
NUMBER OF THREADS
Sugandh Jain -
7 Dec 2006 4:11 PM - 2 messages
Hi, I am confused about the number of threads getting used when I run a desktop application where multiple forms open up from different dlls used in the project. do they open on single thread or multiple forms open on the same UI thread. ...
SQL Timeout Error
Amit -
7 Dec 2006 3:52 PM - 17 messages
I have a development setup as follows: 2 machines both running win xp pro, with machine A running .net 2.0 and machine B acting as my database server running sql server 2000. I want to use ASP.NET 2.0 new forms authentication configuration tools but I ...
Thread.CurrentPrincipal still returns GenericPrincipal
manny.klystron -
7 Dec 2006 3:20 PM - 3 messages
I'm calling AppDomain.SetPrincipalPolicy() with WindowsPrincipal, but Thread.CurrentPrincipal still returns a GenericPrincipal. I don't see Thread.CurrentPrincipal being set before this (which can cause it). Are there any other circumstances under which this can happen? This is ...
British date instead of american
Gina -
7 Dec 2006 3:16 PM - 2 messages
I normally use this line: Session.LCID = (2057) in my code so that all date fields are british and not american in format. How might I do this when using a console application? It doesn't 'Session'. Thanks! EggHeadCafe.com - .NET Developer Portal of Choice ...
Missing enumeration value in EventWaitHandleRights enumeration?
A1b2c3d4@community.nospam -
7 Dec 2006 12:29 PM - 1 message
Hi, Is there a missing value in this enumeration? A dump of the values reveals: 0x0002 - Modify 0x10000 - Delete 0x20000 - ReadPermissions 0x40000 - ChangePermissions 0x80000 - TakeOwnership 0x100000 - Synchronize 0x1f0003 - FullControl I expected FullControl to be the logical sum of the individual rights, but ...
Change Application icon [output file] c#
Avnish -
7 Dec 2006 12:13 PM - 1 message
Hi, I have created an form based application in c# having some GUI. I have also added localization support to it, due to GUI changes for different customers.Now the issue I have, the Application icon can be set only through ...
Is this a good Dispose() idea or not?
first10 -
7 Dec 2006 12:10 PM - 3 messages
use reflection to detect class and instance fields which require disposal you can derive from a base class with these methods and it will automatically dispose void IDisposable.Dispose() { DisposeObject(this); GC.SuppressFinalize(this); ...
accessing eventlogs on remote machine fails using system.management apis
aseembansal -
7 Dec 2006 12:06 PM - 1 message
Hi, I want to know what permissions do you require to query event logs (using system.management APIs) lying on a remote computer. I created a small sample to query event logs, but I get the following error. Unhandled Exception: System.UnauthorizedAccessException: Access is ...
Appearance of a DrawingBrush material (WPF 3D)
Koen -
7 Dec 2006 10:00 AM - 1 message
Hi all. These are my first days in 3D programming, so bear with me. I'm using Windows Presentation Foundation (WPF) to display a 3D view of a geographical map. The map is 2D vector art (not a bitmap), and was exported as a ...
Compile MSBuild targets to subfolder
Henning Krause [MVP - Exchange] -
7 Dec 2006 8:41 AM - 1 message
Hello folks, I've a small question about MSBuild. This is the scenario: 1) ca. 40 projects, all referenced by a single project, which builds them (simple Visual Studio 2005 solution). 2) This project has an additionaly MSBuild script which copies some files to ...
how to get the port number of "Default Web Site" from IIS
John Paul. A -
7 Dec 2006 6:46 AM - 1 message
Hi, I want to get the port number of "Default Web Site" from IIS. Can you please tell me how to get it using the namespace System.DirectoryServices. Thanks, John ...
Threading
Charles A. Lackman -
7 Dec 2006 6:27 AM - 2 messages
Hello, I made a Windows Project in 1.1 and converted it to 2.0 and get the following Error: "Cross-thread operation not valid: Control 'progressBar1' accessed from a thread other than the thread it was created on." I have a small form that is processing a lot of information and if the user ...
Explore an assembly programatically...
Lloyd Dupont -
7 Dec 2006 2:58 AM - 4 messages
In my current project I want to replace a library I'm using by an other one I will write my self. 1st I want to write a skeletton library which feature all type/method I'm using (with no real code inside). ...
Object loses pointer to Base class
Wicks -
6 Dec 2006 11:20 PM - 1 message
Wiered bug - it's as if the whole virtual function table goes missing It's a page with many private variables holding pointers to object collections with nested object collections. Object Inheritance chain in this instance is ...
Known Issues w/ File.AppendText()
JerryWEC -
6 Dec 2006 10:33 PM - 21 messages
I'd like to know if there are any known issues with using AppendText() method. I'm trying to write data to a log file using it and I'm having some issues. I keep getting an error message from my ProcessException() handler ...
Update link in FormView fails to update
shaly -
6 Dec 2006 9:29 PM - 1 message
Hi folks, Hi Folks, I hope I get the answer to this problem. Any clue would be greatly appreciated. I have "Update" and "Cancel" links in my FormView. Just to test the Update link button, I have written a simple query wich is - ...
ASP.NET Back Button Saga
dougloj -
6 Dec 2006 8:56 PM - 3 messages
Hi. I'm new to ASP.NET development (as will become obvious). I developed an application which would normally have several individual .aspx pages. Instead of having several pages, I thought I would be clever and put everything on my default.aspx page. I put all the html code that would ...
Null stream
Darren -
6 Dec 2006 6:21 PM - 2 messages
Is there a null stream built into the framework or do I have to derive one? ...
Dataset ForeignKey Constraint
JohnMSyrasoft -
6 Dec 2006 5:56 PM - 5 messages
Hi, I have a dataTable that contains both an autonumber primarykey field and a second numeric field. The second numeric field can refer to another dataRow in the same table (or can be left "blank" with a default value of 0). ...
Tool to analyze events and eventhandlers.
Jan Obrestad -
6 Dec 2006 1:46 PM - 1 message
At work I've inherited a project where the original developer is no longer available. It's a windows forms project and events are used extensively. What I'd like to know is this: Do you know of a tool that analyzes .NET code and shows a report of ...
New to C#
Eric D. Anderson -
6 Dec 2006 4:17 AM - 5 messages
Well I am somewhat new to programming in c#. And I am having a hard time figuring out how to open up a 2nd form within my program. Here is what I am wanting to do: When I click the "about" option from the menuStrip within my program, I want it to open up a form that I created, and show the user the information about my program. ...
Simulating a fatal exception
Quimbly -
5 Dec 2006 8:02 PM - 10 messages
I have a top-level exception handler for my WinForms app that I'd like to test, but in order to do so (fully), I need generate/simulate a fatal exception (i.e. an exception which is caught but can't be ignored and causes ...
AxWebBrowser script code calling host C# method
jrett -
5 Dec 2006 7:21 PM - 1 message
In .NET 1.1, I have an application which is essentially a web browser, using the AxWebBrowser control. I need to extend the functionality of the control such that a the html/Dhtml which is being rendered in the browser can call a C# method of the host ...
ODBC ConnectionTimeout not working?
Eve -
5 Dec 2006 5:43 PM - 2 messages
If the user name or password is invalid as I'm attempting to make a connection, I get the login window. The problem with that is when my application runs as a service, the user can't really enter that information, ...
Extracting resources ...
gbraux -
5 Dec 2006 3:09 PM - 2 messages
Hello, I have extracted a ".resources" file form a .net 2.0 application (using ildasm). What i whant now il to export data contained in this .resouces file (xaml files *.baml). The problem is that theses files are not typed as String in the ...
Signing executable files programatically
Miles -
5 Dec 2006 2:31 PM - 3 messages
Hi, I am struggling to work out how to digitally sign exe files using .Net 2.0. This must be programmatic, not the manual way and will be built in to an existing .Net application. I am trying to use ...
NGen introduces instability
Bill -
5 Dec 2006 2:24 PM - 6 messages
We have a section of code that executes cleanly until that code is NGen'ed. After a native image has been created, that same section of code produces a .NET Runtime Fatal Execution Engine Failure and the application closes without warning. ...
IsXmlValid function
Craig HB -
5 Dec 2006 11:34 AM - 2 messages
I would like to validate an XML document in a VB.NET app. This is the function that I'm after: Public Shared Function IsXmlValid(ByVal xmlPath As String, ByVal xsdPath As String) as Boolean 'code here End Sub Can someone help me with the code ? ...
AppDomain memory and async
johndoe96050 -
5 Dec 2006 10:38 AM - 1 message
hi, here i have a abridgement from MSDN: Application domains provide a flexible and secure method of isolating running applications. And i thought that i can resolve my problems with creating AppDomains. 1. I must call form main thread, x instances from unmanaged code libraries ...
Requesting http from a web-site or a windows application, is there any preformance difference?
Niclas Colleen -
5 Dec 2006 9:18 AM - 5 messages
I'll be sending a bunch(1000's) of SMS/day where the cell phone-numbers are picked up from a database and then a request to something like '[link]' is made, they deliver the sms. ...
Requesting http from a web-site or a windows application, is there any performance difference?
Niclas Colleen -
5 Dec 2006 9:10 AM - 1 message
I'll be sending a bunch(1000's) of SMS/day where the cell phone-numbers are picked up from a database and then a request to something like '[link]' is made, they deliver the sms. ...
How to copy a Form from one solution to another solution?
AlexAngAB@gmail.com -
5 Dec 2006 2:47 AM - 3 messages
I am using Visual Studio.Net 2003. 1. How to copy a Form from one solution to another solution? 2. How to copy a Form within the same solution? Thanks. ...
Web application architecture using 2.0
cschuman -
4 Dec 2006 11:34 PM - 3 messages
Currently there are 60+ web applications at my shop. The applications have similar functionality just different parameters. We are about to go through a reskinning process. I would like to create a master application that contains all UI elements (such as parameters, ...
retrieving BLOB from Oracle
matt -
4 Dec 2006 7:11 PM - 3 messages
hello, for the first time i have to insert & retrieve files from an Oracle datasource (no need for a discussion on *that*!). i learned first-hand of the somewhat awkward technique for inserting binary data into an Oracle BLOB column via ADO.NET. since the files are ...
Consuming Webservice via https
Jens Mander -
4 Dec 2006 5:21 PM - 2 messages
Hi and sorry for the heavy crossposting (fu2 mpdf)! As you might have gotten out of the subject line, my application tries to consume a webservice that's being connected to via https. This works fine when I use a windows forms app. Trying the same from within an asp.net app ...
solitario con .net 3.0 avalon
*FeDe* -
4 Dec 2006 5:00 PM - 3 messages
In rete girava un video con un tizio che con poche righe di codice scriveva il classico "solitario" usando avalon. Non trovo piu il link .. lo avete voi ? ...
RTC 1.3 and .NET
papawuu -
4 Dec 2006 4:07 PM - 1 message
Hi, I have an C# webapp using RTC 1.3 I have a manifest file to specify the proper version of RTC to use. But i get this error when I Initialize the RCClientClass; e2 = {"Retrieving the COM class factory for component with CLSID ...
Algorithm for multi combination
Jakob Lithner -
4 Dec 2006 3:38 PM - 12 messages
I have a collection of groups: Group1, Group2, ... In each group there are a number of items. I need to produce a list of all possible item combinations where one item is picked from each group. What would be the best algorithm for this? Recursive or iterative? ...
Changing DisplayNames of my properties using PropertyGrid component, how ??
Tugrul HELVACI -
4 Dec 2006 3:04 PM - 4 messages
I'm using Delphi 2006 and I have a class defination like this: TPerson = class fPersonName : String; fPersonSurName : String; fPersonAge : Integer; published property PersonName : String read fPersonName write fPersonName; property PersonSurname : String read fPersonSurname write fPersonSurname; property PersonAge : Integer read fPersonAge write fPersonAge; ...
RemotingConfiguration.Configur=ADe_Fails_in_SmartClient_with_System.ArgumentException:_URI
Lambuz -
4 Dec 2006 2:25 PM - 3 messages
Hello everyone, I have an applciation that uses remoting. When the application is run via a local copy it works. When it is run via an HTTP address RemotingConfiguration.Configure fails. Apparently this method can not find the configuration file even though other parts of my application can ...
RijndaelManaged without padding
Daniel Meier -
4 Dec 2006 11:24 AM - 2 messages
Hey I'd tried to use the RijndaelManaged-Class to encrypt some data. The size of the encrypted data have to be exactly the same as the original data. Is there a way to do this with RijndaelManaged? I thought I can ...
.NET, Clipboard, and metafiles
Peter Duniho -
4 Dec 2006 7:41 AM - 16 messages
I'm trying to use .NET and C# to draw a metafile copied to the clipboard by another application (Word 2003 in this case, but it shouldn't matter). I naively thought that I'd be able to use the Clipboard class to get an ...
Partial Pre-compilation?
Jim Shady -
4 Dec 2006 6:35 AM - 1 message
Hello, I would like to disable pre-compilation for a specific folder (App_Themes) using ASP.NET 2. Is this possible? The reason is I would like users to have multiple themes with the ability to create skin files for server controls. ...
Non English in Web
Anu -
3 Dec 2006 4:11 AM - 4 messages
Hi, I would like to crate a web appication using .Net framework. I want to make a [my native language eg:- Malayalam] - English dictionary. User should be able to see corresponding malayalam charecter when he/she type english keys on keyboard.He should be able to see english meaning whenevr he submit the ...
|
|||||||||||||||||||||||