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


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

how to run vb.net2008 developed application on system XP-SP3 and framework4.0 installed

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :.NET Framework
 

hello friends

Hello please help me regarding the following issue.
I have developed the vb.net application in vs2008  and made EXE.
I want to instal on other system with configuration XP-SP3 and DOTNETFRAMEWORK4.0,WindowsXP-KB942288-v3-x86 installed.


after my exe got installed on running the exe file it is throwing error "Application Encountered Problem and be closed"

Please please give any resolution its very urgent. any help appreciated.

 

regards

friend511

 




View Complete Post


More Related Resource Links

is there a way to run asp.net on a system that does not have IIS installed?

  

Our system administrators will not allow IIS on our system because of security concerns. Is there a way to run asp.net on a system that does not have IIS installed? If so, do you have any examples? thanks in advance for your time and effort o n this.


'System OutOfMemory Exception' while using rdlc in Windows application

  
hi Everyone , I am Using Reporting Service (.rdlc) in my Windows application , i am getting Error System OutOfMemory Exception Like "an error occured during local report processing An Unexpected error occured in Report Processing Exception of type 'System OutOfMemory Exception'Was Thrown " what to do Please anyone help me ... Advance Thanks Anilmarnal

Imports System.Data.SqlServerCE on Web application

  
Hi everybody, Can we import System.Data.SqlServerCe namesapce to web application? I tried to add The SqlServerCe namespace from AddReference dialog but it didnt show. And I have tried to install compact framework 3.5 but it still the same not show. My requirements are Login to the website and then create a database[.sdf] on the mobile device. Then connect to the .sdf file to retrieve info and display on my webpage. The window mobile device is running on Window CE 5.0 OS. And I'm using MS Visual Studio 2005.   HELP!!!!!!HELP!!!!!!     LEENO

"System.ArgumentException: Font '?' cannot be found" during application start up. Any ideas?

  
We have couple of users that get this error when they run our application.  I have never seen this problem before. Client says fonts are installed and Microsoft Sans Serif font is there as well. Also he states that user has Read permissions to %SytemRoot%Fonts folder. Any suggestions or ideas how to fix this problem will be appreciated. Thank you.  Here is the stack:   Exception: System.ArgumentException: Font '?' cannot be found.   at System.Drawing.FontFamily.GetGdipGenericSansSerif()    at System.Drawing.FontFamily.get_GenericSansSerif()    at System.Drawing.SystemFonts.get_DefaultFont()    at System.Windows.Forms.Control.get_DefaultFont()    at System.Windows.Forms.Control.get_Font()    at System.Windows.Forms.Control.AssignParent(Control value)    at System.Windows.Forms.Control.ControlCollection.Add(Control value)    at Bloomberg.SmartClient.Hosting.ErrorControl.InitializeComponent() in C:\Projects\Source\Client\ApplicationHosting\ErrorControl.cs:line 218    at Bloomberg.SmartClient.Hosting.ErrorControl..ctor(String appTitle, Boolean inPanel, Exception exception) in C:\Projects\Source\Client\ApplicationHosting\ErrorControl.cs:line 119    at Bloomberg.SmartClient.Hosting.ApplicationHost.OnDisplayError(ApplicationDescription appDescription, Excepti

"System.ArgumentException: Font '?' cannot be found" during application start up. Any ideas?

  
We have couple of users that get this error when they run our application.  I have never seen this problem before. Client says fonts are installed and Microsoft Sans Serif font is there as well. Also he states that user has Read permissions to %SytemRoot%Fonts folder. Any suggestions or ideas how to fix this problem will be appreciated. Thank you.  Here is the stack: Exception: System.ArgumentException: Font '?' cannot be found.   at System.Drawing.FontFamily.GetGdipGenericSansSerif()    at System.Drawing.FontFamily.get_GenericSansSerif()    at System.Drawing.SystemFonts.get_DefaultFont()    at System.Windows.Forms.Control.get_DefaultFont()    at System.Windows.Forms.Control.get_Font()    at System.Windows.Forms.Control.AssignParent(Control value)    at System.Windows.Forms.Control.ControlCollection.Add(Control value)    at Bloomberg.SmartClient.Hosting.ErrorControl.InitializeComponent() in C:\Projects\Source\Client\ApplicationHosting\ErrorControl.cs:line 218    at Bloomberg.SmartClient.Hosting.ErrorControl..ctor(String appTitle, Boolean inPanel, Exception exception) in C:\Projects\Source\Client\ApplicationHosting\ErrorControl.cs:line 119    at Bloomberg.SmartClient.Hosting.ApplicationHost.OnDisplayError(ApplicationDescription appDescription, Exception err

System.BadImageFormatException:is not a valid Win32 application

  
We are facing problem while migrating a .Net 2.0 application 64 Bit OS Windows Server 2003.The error is  as below:"is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) " 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.BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)the application is running fine on 32 Bit OS windows Server 2003.Can any one provide any possible soution to the above problem.thanksNikhil

System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed is returning false sometimes

  
Hi,I have a WPF browser application. I am showing the current application version information whenever client click on a help button.for that i am writing the code as follows.void CreateAboutPopUp(object sender, EventArgs e)        {                        string StringVersion = "Info not available";                       if (System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed)            {                System.Version Version = System.Deployment.Application.ApplicationDeployment.CurrentDeployment.CurrentVersion;                if (Version != null)                    StringVersion = Version.ToString();             }                       string InfoString = "Version: " + StringVersion +  " ;            MessageBox.Show(App.Current.MainWindow, InfoString, "Passiar version information", MessageBoxButton.OK, MessageBoxImage.Information);                    }Works fine in Dev and Test servers and shows tthe vesrion information correctly.But in production server, the vesrion information is not showing up. its showing 'Version: Info not available '. Eventhough all manifest information is lates and available. and is also ClickOnce application.It is happening rarely.Please anybody can help me on this?Thanks in advance.Karuna.PS: My application is FullTrust and it is Checked as ClickOnce Application.

Side-side by config error on Win7 64 apps if VS2008 is not installed on the system

  
Hi, I am using Win 764 bit application. When I try to run my application in target machine Iam gettting the following error. The application is running fine if the target machine has VS2008 and SP1 installed   "Unable to Load TekRobo Dll. The application has failed to start because its side -by-side configuration is incorrect. Please see the application event log or use the command line sxstrace.exe for more detail (Exception from HRESULT:0x800736B1.)"        The Evn log viewer mesaage is as given below: Activation context generation failed for "C:\Program Files\Tektronix\TekRobo\TekRobo.dll". Dependent Assembly Microsoft.VC90.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.   Actually the dll which has a problem is originally developed in VC++ and it is using Win32 APIs. Recendly I have moved the code base from VC6 to VS2008 and I have compiled the dlls in 64 bit mode. Any thoughts? Thanks,Mohan Mohan das Gandhi

Access Denied creating a web application in SP Foundation 2010 installed on windows 7 with local acc

  

Hello,

I've installed SharePoint foundation over windows 7 with a local account using this guide: http://sharepoint.microsoft.com/blogs/fromthefield/Lists/Posts/Post.aspx?ID=112

When I try to create a new web application the ribbon button is disabled. Using the link located in /_admin/createsite.aspx I get an "Access Denied" error message.

I access the SP Administration with the same user used during installation. This user is local admin and member of SQL server roles "securityadmin" and "dbcreator".

Any idea about this error?

 

Thanks in advance


C#Net2008 Window Application - F5 launch wrong FORM

  

Hullo Good Friend,

I encounter another interesting problem.

I need your help. Please help me.

I am writing a new C#Net2008 Window Application. The first FORM that was created is FrmSales.cs

Then I created another FORM FrmMainMenu.cs which is the Main Menu form with 6 command buttons to load other forms.

When I pressed F5 to launch the application, FrmSales.cs appears instead of FrmMainMenu .

What must I do to make FrmMainMenu the initial form to lauch. Which provide menu options for the user to select and load other specific FORM.


.NET application crashes when computer system wakes up from sleep mode.

  

Need help in understanding this error message generated from mscorlib failing when using threading.  I know the problem is not the code written by me, as the application works fine until the computer system is left idle, say for 30mins and allowed to go into sleep mode then the error manifests itself, about a minute later when the computer wakes from sleep mode, the application will perform its tasks and then this error is generated.


This could be a problem with System.Net.NetworkInformation.NetworkChange.AddressChangeListener.AddressChangedCallback

Any information given about the error described below is greatly appreciated, and information on how to prevent such errors even more greatly appreciated, or traps and handles it successfully.

 

Kind Regards,

Shelvin.

Details of the error given below:--

{System.Collections.ListDictionaryInternal}

"The Undo operation encountered a context that is different from what was applied in the corresponding Set operation. The possible cause is that a context was Set on the thread and not reverted(undone)."

Source: "mscorlib"

StackTrace: "   at System.Threading.SynchronizationContextSwitcher.Undo()\r\n   at System.Threading.ExecutionContextSwitcher.Undo()\r\n   at System.Threading.ExecutionContext.run

System.Deployment.Application.DeploymentDownloadException on PDB in XBAP

  

Hi.

I am trying to include the pdb for an xbap application in VS 2010 and I am getting download errors when running my xbap.  I check the directory where the files are and the pdb file exists there.  Here is the error output:

PLATFORM VERSION INFO
 Windows    : 6.1.7600.0 (Win32NT)
 Common Language Runtime  : 4.0.30319.1
 System.Deployment.dll   : 4.0.30319.1 (RTMRel.030319-0100)
 clr.dll    : 4.0.30319.1 (RTMRel.030319-0100)
 dfdll.dll    : 4.0.30319.1 (RTMRel.030319-0100)
 dfshim.dll    : 4.0.31106.0 (Main.031106-0000)

SOURCES
 Deployment url   : http://localhost:10000/EEAdmin.xbap
 Application url   : http://localhost:10000/Application%20Files/EEAdmin_1_0_0_0/EEAdmin.exe.manifest

IDENTITIES
 Deployment Identity  : EEAdmin.xbap, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c79b6a703d3f35af, processorArchitecture=msil
 Application Identity  : EEAdmin.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c79b6a703d3f35af, processorArchitecture=msil, type=win32

APPLICATION SUMMARY

can't launch the MFC application on AMD64 operating system.

  

Hi,

       I have ported an application from 32 to 64 bit and trying to run on AMD64 OS but it prompts a follwing system error. 

 "Application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."

system error code for this message is 14001.

Also, Windows event viewer displays the following message 

"Dependent Assembly Microsoft.Windows.Common-Controls could not be found and Last Error was The referenced assembly is not installed on your system."

Is it the problem with 64SDK version or 64bit WinXP version.Currently, I have 64-bit WindowXP with build 3790 (SP 1, version 1433) with AMD64 machine. 

Project option under C/C++ tab

/nologo /MTd /W3 /Zi /Od /I "$(PLATSDK)\Include" /I "." /I "..\$(ICE_DIVISION)infslib" /I ".\.." /I "$(DDKXPROOT)\inc\wxp" /D "WIN64" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "MFC_USE" /Fo"Debug64/" /Fd"Debug64/" /FD /Wp64 /EHsc /GS /c

Anbody can help me to reslove this?

Thanks,
Kishore Wani


Publishing new version of XBAP causes System.Deployment.Application.DeploymentException

  

Hello all, I'm currently developing a full trust XBAP. I'm hosting the published release version of the XBAP on my Windows Azure storage account. 

Recently, when I publish a new release version of the XBAP, some users receive a System.Deployment.Application.DeploymentException when trying to access the new version of the XBAP. The previous version of the XBAP worked on their computers no problem.

I did some research that suggest this exception may be caused if the version number of the XBAP is not incremented upon release. (I double checked, the release number IS automatically incremented). I also read I should use mage -cc to clear the cache before building and publishing. I tried both of these solutions to no avail.

If a user receives this error I can get the XBAP to run on their computer if I manually delete the appdata/Local/Apps/2.0/Data...  folder where the XBAP is cached. 

So my question is, how can publishing a new version of the XBAP (with a properly incremented version number) cause the XBAP to stop working on a computer where the previous version ran without error? What could cause the need to delete the appdata/Local/Apps/2.0/Data... folder where the XBAP is stored to fix the problem? And is there any way to ensure that this problem won't happen in the future?

Thanks for your help. The gory exception det

System.Windows.Media.Composition.DUCE.Channel.SyncFlush() error when we open our application in IE 8

  

Experts, please advice.

I have a WPF application developed using Visual Studio 2008 + DotNET 3.5 + Windows XP - SP 3.We have wrapped Our WPF application in Active X and hosting in IE 6 and it is works fine ,recently we migrated to IE 8 .Actually we are launching our app inside a parent application which is Browser based application(developed in java).

When we launch our app in IE 8 and switching between different modules along with our app in parent application our application is crashing.Pls find below stack trace for the problem.

++++++++++++++++++++++++++++++++++++++++++++++++++

Exception from HRESULT: 0x88980406
Exception Stack Trace: 

  at System.Windows.Media.Composition.DUCE.Channel.SyncFlush()
   at System.Windows.Media.MediaContext.CompleteRender()
   at System.Windows.Interop.HwndTarget.OnResize()
   at System.Windows.Interop.HwndTarget.HandleMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   a

ReportBuilder_2_0_0_0.application file not installed?

  

I have a server running windows 2003 SP2. SSRS 2008 Enterprise is installed and running correctly (SSRS databases on a separate server).

I have downloaded RB 2.0 from http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9f783224-9871-4eea-b1d5-f3140a253db6&displaylang=en and run the install

I installed this, accepting defaults. When I try to launch with the URL: http://servernamehere/ReportServer/ReportBuilder/ReportBuilder_2_0_0_0.application I get:

The report server could not transmit the file because the file /ReportBuilder/ReportBuilder_2_0_0_0.application is not installed or you do not have the correct permissions to access it. (rsReportBuilderFileTransmissionError) Get Online Help
Could not find file 'd:\MSSQL\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\ReportBuilder\ReportBuilder_2_0_0_0.application'.

I looked into that folder and indeed the file ReportBuilder_2_0_0_0.application is missing.

I did a search on all local drives and this file does not exist anywhere.

I have RB 2.0 on another machine (with OS win2008) and it launches correctly for me with the above URL.

Any help would be appreciated.

 

Cheers


 


SQL2005 and SQL2008 installed on the same environment - Application problems connecting to SQL2005 d

  

We have an environment with SQL 2005 and SQL2008 instances - failover 2 node cluster 64 bit.

We installed a new web application and we cannot connect to the databases on the SQL2005 instance.

We are able to connect to the database using the same credentials used by the web site using a udl file and using SQL Management Studio. However, the web site tells that we do not have authorisation to access the web site.

I wonder whether there is something to do with the fact that we have the two SQL versions on the same environment.

We had a similar problem on another mixed environment. On that particular case the connection failed on a SSIS package. We tried the same package on a SQL2005 and the package ran.

If the mixture of the two versions is affecting new applications to connect to the databases, is there a way around to resolve this problem? Unfortunately, the environments contain live databases.

Thank you in advance for your help.


Categories: 
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