Answer Questions
osamaT .net 3.0 install
I've seen this error in other spots, but I can't seem to find a way to fix it. I'm trying to install the .net 3.0 framework on my computer and it's failing with the following: error msg (sent to microsoft): EventType : wap10setup P1 : 13165 P2 : 3.0.04506.30_waprtm_x86_sfx P3 : mc P4 : inst P5 : f P6 : writeregistryvalues P7 : 1402 P8 : 1603 P9 : - P10 : windows communic Log: [11/11/06,19:11:38] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603 [11/11/06,19:11:51] WapUI: [2] DepCheck indicates Windows Communication Foundation is not installed. [11/11/06,19:11:51] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3. ...Show All
K. Ravinder Reddy Why FileSystemWatcher reports the wrong file name?
We are using FileSystemWatcher in our website project to monitor the configuration files. However, after a file is modified, the reported FullPath in is not the actual file name. E.g, there is a configuration file N:\SourceCode\...\DataCommand.config while the reported file name is N:\SourceCode\...\ve-32E1.tmp or N:\SourceCode\...\ve-32E2.tmp or even sometimes N:\SourceCode\...\DataCommand.config~RF20a125a3.TMP but never the right one. This issue is very confusing and makes a major component in the system stop functioning. So I really hope someone can explain why this is happening and what the walkaround is. Thanks very much. The project type is the latest VS2005 ASP.Net Web Application. Software env: windows 2003 ent, ...Show All
Arock3 FileSystemWatcher watcher.NotifyFilter issue
Hi all, I am using the example from the MSDN Library for the FileSystemWatcher class with only a single change watcher.NotifyFilter = (NotifyFilters.LastWrite) ' Or ' NotifyFilters.LastAccess Or _ ' NotifyFilters.FileName Or _ ' NotifyFilters.DirectoryName) that is - I am only watching for changed events...(to text files). My problem is that when opening and saving the file the event is being executed 3 times for no obvious reason. I have read everything about the class notify filters etc. but cannot see anything wrong, can someone help I have disabled Windows Desktop Search/AntiVirus (security department not happy) etc etc etc but still get three executions - all one after the other. Can anyone shed ...Show All
Demokratizator How to verify if an email was sent or not ? Net framework 1.1
Hello , how can I Know if an email was sent or if there is an error in the smtp server with the Net Framework 1.1 Namespace System.Web I am Using the System.Web.Mail.SmtpMail.Send(MaiMessage) method but it does not return anything telling me if the message was sent or Not . Also a note : I am using this namespace from a windows application . Thanks in advance for your replies well I guess it depends on the SMTP Server some SMTP Servers allow checking of an email address with a special command some dont but will accept any email address and send the email to them, if any errors itll handle itself some also bounce back emails if the email address is not valid. Any Idea or ...Show All
SaimaSalim Can't Update, Repair, or Uninstall Microsoft .NET Framework 2.0.
Hello. I have recently found a security patch for my Microsoft .NET Framework, V 2.0. I needed the framework installed for my ATI Driver update to work. However, Every time I tried to install the patch, it failed. I tried repairing the framework, but that didn't work. Neither did uninstalling it. Uninstalling and Repairing yeilded the following message: "The following error occured during setup: Patch Package could not be opened. Verify that the patch package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package." I downloaded and installed the framework from ATI's site. My system is a Windows XP, and I would like some help... Please... Thanks for any ...Show All
Marnik Van Hileghem RegisterActivatedClientType after first local instance
If an instance of a type is created locally via new, then that type is subsequently the target of a RegisterActivatedClientType, later new instances avoid the channel. What's going on here Is there some sort of caching taking place when the first instance is created that makes subsequent instances not check if the type is remoted Can I clear this cache or otherwise get this to work the way I want Thanks, Andy The problem here is not that the Types are cached but the Activators for the types are cached. An activator is an internal .NET construct that acts as the class factory for a Type. The GC doesn't ever clear caches. Since Remoting wasn't built as a general purpose interception mechanism that yo ...Show All
Jon Bishop My database doesn't update !!!???
I wrote a simple program with ASP .NET that modify data in a table and I'm using SQL server 2005 Express edition as my database engine. But when I modify data in a table (in the webpage) and then when I try to update the database, nothing happends, it even doesn't give me any error, and when i try to see the table again nothing is updated in the table. These are the things that I have done: 1- I gave permission to ASPNET and NETWORK SERVICE so they can Select, Update, Delete,... on that table. 2- I gave permission to ASPNET and NETWORK SERVICE to the table itself. 3- I evern assign the ASPNET and NETWORK SERVICE as the db_datareader and db_datawriter and db_owner. What else should I do Is there anything that i missed ...Show All
AK88 Need help to uninstall .NET Framework v1.1 from win 2003 sp1
Would any one please help me on how to remove .NET framework v1.1 not only from IIS but from windows sp1 (Complete removal from the OS). the only thing I can suggest is to remove the other piece of software and re-install it. .NET 1.1 has been built into WS2003 AFAIK (originally named Windows Server.NET). Windows XP SP2 comes with .NET 1.1 as so does MCE2005. It's integrated into the OS so I don't think you can really remove it. software conflict .NET Framework 1.1 I believe is built into Windows Server 2003 by default. I don't think you can take it out. Why do you want to do this anyway ...Show All
OliWarner Version 2.0 is not a compatible version
I seemed to have a basic misunderstanding about the compatibility of .NET releases. I was under the impression that one could develop .NET dlls under any version, and they would be compatible with all .NET versions. In particular, if you only used classes, members, etc that were included in that .NET dll, you would be safe. I guess this is not true. .NET dlls are not like the Win32Api dlls! I tried to use a .NET dll that was developed under .NET V2.0.50727. I was trying to use this dll with the Lahey V7.1 compiler which is stuck at V1.1.4322. This is not restricted to the Lahey V7.1 compiler though. C# also shows the same problem. You cannot use a V2.0 dll with a V1.1.4322 C# development. Is this true Can you shed some light on why this is ...Show All
Sanje2v Generic Data Access
It seems to me that you cannot use completly generic data access code in your applications using the DataFactories. I use stored procedures in my applications (both SQL Server and Oracle), However, the parameters in the stored procedures have to be different to retrieve results back i.e. REF CURSORS in Oracle. I have read a lot recently on Providers (SQLMembershipProvider,SQLRoleProvider etc) and was wondering if there would be any pros/cons to writting a custom provider for my data layer. So if my users are using SQL Server they would use an SQL Data Layer Provider, and if they were using Oracle they would use the Oracle Data Layer Provider. Is this a good/bad idea to plug my data layer in like this. What are peoples thoughts on this. ...Show All
Rathin Padia IIS 6 connection to SQL Server 2005
Hi, I have an aspx page with a connection to SQL Server 2005 which works fine on the local VS2005 setting. When I deployed it to an IIS 6 box it could not establish the connection. Could someone help shed some light Scenarios, Local to sql 2000 -- OK Local to sql 2005 -- OK IIS box to sql 2000 -- OK IIS box to sql 2005 -- Error The connection string is, "Data Source=DBServer;Initial Catalog=DB;User ID=uid;Password=pwd;Pooling=true;Max Pool Size=50;Min Pool Size=10;" I get the error message SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a conne ction to SQL Server) If connection string is, "Network=DBMSSOCN;Data Source=10.10.1 ...Show All
spotluri deleting element using xpath
Howdy, I'm using vb.net with XML and am having a lot of trouble deleting a whole element in an XML file using vb. Here's an example of my schema: <stack> <property name="id">1</property> <property name="name">Test Name</property> <property name="subject">Test Subject</property> <card> <property name="name">Card Name`</property> <property name="front">Card Front</property> <property name="back">Card Bacak</property> </card> </stack> Say i wanted to delete the card node with the card property name of Card Name If anyone has an example of how to do this, or even an msdn arti ...Show All
Martin00 how to add reference to GAC assemblies
Hi, I have created a class library and strong named it and put in to GAC. But I dont know how to refer that assembly in any other projects. I read in a book( Visual C# 2005 Recipes: A Problem-Solution Approach by Allen Jones, Matthew MacDonald and Rakesh Rajan ) like this "The .NET Framework uses the GAC only at runtime; the C# compiler won't look in the GAC to resolve any external references that your assembly references. During development, the C# compiler must be able to access a local copy of any referenced shared assemblies. You can either copy the shared assembly to the same directory as your source code or use the /lib switch of the C# compiler to specify the directory where the compiler can find th ...Show All
Fran&#231;ois PIETTE Connection Pooling Issues
I've been getting an error that goes something like 'Cannot obtain a connection from the pool, maximum pool size has been reached' I had been using a max pool size of 300, and now i've increased to 10,000. Is this the right thing to do Is there a limit to the pool size that i can set So far i haven't had that error, but I would like to know if there is a better way to handle the issue Thanks Emeka Awagu Yes i believe my application is closing the connection - all my data access codes are enclosed within a try..catch..finally block. and i always close the connection in the finally block. I'm working with Microsoft SQL Server 2000 Thank you. Note this error i ...Show All
rodniko Removing xmlns attributes
I have an XML document. For example < xml version="1.0" encoding="utf-8" > <hello xmlns="duracellko:hello" xmlns:xs=" http://www.w3.org/2001/XMLSchema"></hello > I would like to remove xmlns and xmlns:xs attributes. I loaded this xml into XmlDocument object and then removes all attributes from DocumentElement. But when I save the XmlDocument, then there is still xmlns attribute in hello element. Can you help me how to remove namespace declarations from XML document. Thank you Rasto Namespace is part element name. You have to copy elements to remove them. You can use XSLT (see http://wiki.apache.org/cocoon/RemoveNamespaces ) or tweak XmlTextWriter's WriteStartElement and WirteStartAttribute. ...Show All
