.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Framework 1.1 Application errors when run over network

Posted By:      Posted Date: September 20, 2010    Points: 0   Category :Windows Application



I recently picked up a project for a client that is stuck on the 1.1 framework. The application in itself is fairly straight forward. A few datagrids and pic boxes to display data from an mdb file.


When run from the host machine it works a treat and has no problems whatsoever, but when it is run from a network folder it crashes as soon as it tries to connect to the mdb file. This is running on a dev machine to match the clients so is sat on the 1.1 framework. When I run it on my machine which has all frameworks it works fine.


So does anyone know what I have to do to make this work as it's proving to be a show stopper with the client. And before you ask, they won't move frameworks, I tried getting them to do that and they said no.


Just to add as well, I have very good error trapping throughout the app and it doesn't return anything. All message returned are blank which is making it an even bigger pain in the asre. Considering it's such a simple app.





View Complete Post

More Related Resource Links

Entity Framework: N-Tier Application Patterns


This article examines n-tier patterns for success and some of the key APIs and issues specific to the Entity Framework. It also provides a sneak peak at features coming in the Microsoft .NET Framework 4 that should make n-tier development significantly easier.

Daniel Simmons

MSDN Magazine August 2009

Enterprise Library: Take Exception To Critical Errors With Custom Application Blocks


Enterprise Library is a collection of application functionality blocks that you can re-use in your application for common functionality you'd otherwise have to write again and again. Here Jay Hilyard explains how to use them.

Jay Hilyard

MSDN Magazine September 2006

C# and the Web: Writing a Web Client Application with Managed Code in the Microsoft .NET Framework


When the author wanted to build a middleware Web client to connect to other applications over the Internet, he realized that the XMLHttpRequest COM object was not sufficient for his purposes. In order to build a Web client using managed code, the author had to use the HTTPWebRequest and HTTPWebResponse classes provided by the Microsoft .NET framework. These classes are used in the sample project as a substitute for the less powerful XMLHttpRequest COM object, allowing the author to build a full-featured Web client. They also take advantage of all the benefits that the CLR and managed code have to offer.

Avi Ben-Menahem

MSDN Magazine September 2001

Avoiding DLL Hell: Introducing Application Metadata in the Microsoft .NET Framework


The Microsoft .NET platform uses metadata and assemblies to store information about components, enabling cross-language programming and resolving the infamous DLL Hell problem. This article describes the use of metadata for easy linking and loading of assemblies, the relationship between metadata and concepts such as IDL and type libraries, and the metadata hierarchy. The process of reading metadata from assemblies for easy versioning is also described. Although Microsoft provides the MSIL disassembler, IDLASM, and MetaInfo.exe for accessing metadata, the author provides two sample programs that read metadata using the unmanaged metadata interfaces and the Reflection API.

Matt Pietrek

MSDN Magazine October 2000

Think that there is actually errors in ajax toolkit for 2.0 framework...hmm


Im using VS2008, asp.net C# 2.0.


Recently i tryed to correct some stuff on my page and i had a friend to take a look at the stuff...


What i did was that i have Examples page with code examples. Then accordion panes for each code piece...And syntaxhighlighter for each code piece. The code that i presented is read from the txt files wich makes it easyer for me to put new examples on the site...

But the problem is now that two of my accordion panes are not working...and everything works in all other browsers this just happens in Internet Explorer. This is kind of weird and my friends explaination was that there is actually errors in the ajax toolkit dll.


Im using the latest version of ajax toolkit for framework 2.0 wich is 1.0.20229.

My friend said its actually amazing that the toolkit has been out there for that long and it has not been tested that well and that there i still errors in it.


You can test this by your self by doing the exact as i explain:


go here: http://www.simpa.dk/Examples.aspx?cookieCheck=true

click Csharp

and try to open the accordion that is from the bottom 2 or 1 they dont collapse...

but this works in all other browsers then Internet Explore

Why does .NET Framework 4 client profile slow down boot time network creation?

I've been running a Windows XP sp3 KVM virtual machine for a long time now, and some recent update made the initial network startup go from a few seconds at boot time to around 90 seconds. Using Add/Remove program to uninstall recent updates points the finger at .NET Framework 4 client profile. With it installed, if I right click on network and ask for properties right after booting, there is a 90 second delay before the network dialog with the list of network interfaces finally appears. In addition, the network drive I have automounted at login is not accessible for the same 90 seconds. As an experiment, I tried going into the device manager and deleting the network interface, and if I reboot after that it takes 90 seconds for the new hardware wizard to appear. All these 90 second delays vanish if I remove this .NET update. The network comes up as soon as the system boots.

Connection to Exchange Server of .NET 1.1 Framework application on Windows 2008 64-bit

I am running Visual Studio 2003 .NET Framework 1.1 application on Windows 2008 64-bit machine. There is only one problem - connection to Exchange Server. The same application is running fine on Windows 7 64-bit machine (not server). I tried to use the same Interop.MAPI.dll I used for Windows 7, but it doesn't work for Windows 2008.   Please help.  

some wcf errors after the application is ready!!!!!....URGENT

hi all, I have developed a wcf application that has wcf service hosted on IIS(for now locally),it has a client with a form UI that displays information to the user.. Im using BasicHttpBinding,all worked well before..the wcf service part was working very well and had no issues,but by the time i created a UI ,and retested it...,it gives errors.. the errors i googled but im confused what to do..there are 3 to 4 errors that i figure out randomly...the errors are as follows: 1."The HTTP request was forbidden with client authentication scheme 'Anonymous'.   2.The underlying connection was closed: The connection was closed unexpectedly.   3.Cannot access a disposed object. Object name: 'System.ServiceModel.Channels.ServiceChannel'.   are these errors related to each other??are they related to the same issue??..My application is developed and now i get these errors which never figured out before..   what do i do??plz do gv a fast and clear solution if possible..Im waiting for a quick  response..could someone solve this plz..!!   Thanks MumtazMumtaz Surani

ASP.NET Ajax client-side framework failed to load = No Ribbon :( JS errors on Default and at Central

Looking for suggestions to why my ribbon crashed, and I'm unable to edit or add pages to my SharePoint 2010 Site.  Machine is Win7 Ultimate, IE8, SP2010 beta, VS2010 RC. All 64 Bit.  Was working fine.  Tried repair on the frameworks, after googling.  Cannot find the Geneva bits.  Removed Norton completely to sucessfully go back a couple of restore points and removed KB980182.  Clicked throught the SP configuration manager and all went well.  Definitely logged on as administrator.  IIS settings look good.  Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; InfoPath.3; .NET4.0C; .NET4.0E)Timestamp: Sun, 4 Apr 2010 22:21:30 UTC Message: Invalid characterLine: 1Char: 1Code: 0URI: http://starman/ScriptResource.axd?d=Zq0NPA5_FNMrMkj2gVMBkGEJYiejAr4xkOPFxcm9WpzwRnp65ubolTfztiSaY8z2QKXyoZQvaI_7A65C7OJf0Eii_VL61Hoi5B23lMNvWC01&t=ffffffffec2d9970 Message: Invalid characterLine: 1Char: 1Code: 0URI: http://starman/ScriptResource.axd?d=Zq0NPA5_FNMrMkj2gVMBkGEJYiejAr4xkOPFxcm9WpzwRnp65ubolTfztiSaY8z2u8yiDywNtvdUdmHr93TbWc4U0SHQq0pQ3M2FA3FoezpYhgSt6jFnafzRYmCIg8LW0&t=ffffffffec2d9970 Message: ASP.NET Ajax client-side framework failed t

2.0 application run on a machine with only 3.5 framework?

Hi all, This may be a silly question, but will an application developed in VS2005 and normally running on a machine with version 2.0 of the framework, run OK on a machine with only version 3.5 framework? I'm thinking it will as the 2.0 libraries are unchanged in 3.5??? Thanks John

Framework Errors - During Many Install Attempts

2.0 SP1 is installed.  However, something is broke.  Trying to install the 3.5 SP1 update or VS2008 SP1, I receive the below errors:[08/26/08,19:44:40] Microsoft .NET Framework 2.0a: [2] Error: Installation failed for component Microsoft .NET Framework 2.0a. MSI returned error code 1603[08/26/08,19:45:48] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a is not installed.[08/26/08,20:04:10] Microsoft .NET Framework 2.0a: [2] Error: Installation failed for component Microsoft .NET Framework 2.0a. MSI returned error code 1603[08/26/08,20:05:14] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a is not installed.[08/27/08,09:56:12] Microsoft .NET Framework 2.0a: [2] Error: Installation failed for component Microsoft .NET Framework 2.0a. MSI returned error code 1603[08/27/08,09:57:32] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a is not installed.[08/27/08,12:16:44] Microsoft .NET Framework 3.0 SP2 x86: [2] Error: Installation failed for component Microsoft .NET Framework 3.0 SP2 x86. MSI returned error code 1603[08/27/08,15:56:17] Microsoft .NET Framework 2.0a: [2] Error: Install package not found: ASPNET.msp[08/27/08,15:56:17] Microsoft .NET Framework 2.0a: [2] Error: No valid install package found for component Microsoft .NET Framework 2.0a[08/27/08,15:56:18] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInst

Redistribute .NET Framework 4 with my application

Hi,   I have just made a custom installer for my project (previously used ClickOnce) and one problem I have is that the user is sent off to a website where s/he has to download and install .NET and then re-run my installation. That's not at all optimal. Also, it requires an internet connection.   I would like to bundle .NET Framework 4 Client Profile with my application, so the user only has to start my installation one time. I have searched around and found some talk about this aimed and .NET 1 and .NET 2.   First, am I allowed to do this? I have VS 2010 Professional, downloaded via DreamSpark using my student account. Second, how do I do this? I have checked "Microsoft .NET Framework 4 Client Profile" in Prerequisites and tried to set it to "Download prerequisites from the same location as my application" but I still get thrown away to a website where I have to manually install .NET.   Please, I need a more user-friendly deployment. :)

created asp mvc project with framework 4.0 changed to 3.5 and now get errors

I created a small mvc site using framwork 4.0.  I found my hosting company uses 3.5.  I changed my project and compiled and there were no errors.  Now when I run, I get this error on all pages:How can I get it to work in .net 3.5? Compilation ErrorDescription: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.Compiler Error Message: CS0246: The type or namespace name 'dynamic' could not be found (are you missing a using directive or an assembly reference?)Source Error:Line 134:    Line 135:    [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]Line 136:    public class views_page_home_aspx : System.Web.Mvc.ViewPage<dynamic>, System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler {Line 137:        Line 138:        private static bool @__initialized;Source File: c:\Users\user1\AppData\Local\Temp\Temporary ASP.NET Files\root\b4d3bd5e\2b9dd07c\App_Web_home.aspx.78bb4944.oap7wvh_.0.cs    Line: 136

WCF (.Net framework 3.5) Call from Windows Application (.net framework 2.0) is too SLOW!!!

WCF (.Net framework 3.5) Call from Windows Application (.net framework 2.0) is too SLOW!!!

It gives more frustration when the new technology means the performance drawbacks. Do I've to dump .Net 3.5 ??????

We've a web service that is being called from the Windows Application and it is loading the initial screen after 30 seconds. The binding is done through coding:


ET2Service service = new ET2Service();
service.Url =

MVC application problem when running out of Network Service.



I am hosting an ASP.NET MVC 2 application on its own application pool.

Everything works fine if the application pool is running on Network Service with Full Control.

If I make the application pool to run on its application pool identity, even with full control, the web site runs ok but on every page with a form I get the following error:

"Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

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.Web.HttpException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster."

Any idea how to solve this problem?

Thank You,


Testing WPF Application w/ UIAutomation Framework


Hi All,


I have a pretty complex WPF application, but for simplicities sake, let's suppose I have a very simple WPF application with a Button on it.


I have a separate console application that I want to invoke the button on the WPF application. Using UIAutomation I'm having a little trouble finding the intuitive way to do this.


So far the steps for doing so look like:

  • Use Process.Start to launch WPF application
  • Use Process Id from above step to get Window handle for UI Automation framework
  • Once Window handle is obtained, find Button child element of Window
  • Invoke Button
This seems pretty straightforward, and I'm understanding the first 4 steps. The 5th step (invoking the Button), is where I'm having some trouble.

Anyone have experience with something like this?

deployment of .Net framework based application




I want to make setup of .net framework based application in which following components must be included within setup file.


- .Net framework 2.0

- Windows Installer 3.1

- MDAC 2.8


I don't want to provide the link and let user manually download it and install it.

Setup should check whether this components are installed or not.

I tried Inno Setup maker but it requires internet to download .net framework then it installs.


My application is for india and internet is not widely spread in india till now.


Please help me ....

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend