.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

Deploying Web Application.

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :JQuery
Hello everybody, I have a web application, which I have published and copied to client testserver's inetpub-->wwwroot and created virtual directory. When I try to open the website, I am getting error in the event log as, Activation context generation failed for "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\gilbane.costadvisor.server.ui\677e255c\31199697\assembly\dl3\e2cb9af3\000d670b_93d0c501\Microsoft.SqlServer.Replication.DLL". Dependent Assembly Microsoft.VC80.ATL,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0" could not be found. Please use sxstrace.exe for detailed diagnosis. could any one help me resolve this? Any help is appreciated.!
Regards, Rajesh Vemunoori.

View Complete Post

More Related Resource Links

Trouble deploying Winforms application that accesses com components

Using VS2008 Framework 3.5. I have a Winforms application (exe) that uses a Winforms user control (dll) that uses a VB6 user control (ocx) that connects to a VB6 ActiveX EXE. All of this runs on a single Windows XP workstation, no networking involved. I have verified that the VB6 components are installed and working properly. When I run the Winforms exe on my development machine, it runs correctly. When I copy the Winforms exe, dll, and interop dlls to another developers workstation, it too runs correctly. When I copy the same files to a non-developer workstation, it does not run. I get an error that says the application encountered a problem and needs to close. The error signature refers to an Event Type:clr20r3 and a system.invalidoperationexception. The workstation has Framework 3.5 and the VB6 components are installed properly. I looked at the CAS and it appears everything is running with fulltrust. I also tried building the assemblies with strong names. And I tried installing them to the GAC... no change. It seems like I must be missing something easy. Can anyone point me in the right direction? Thanks

JS script file path screwed up after deploying MVC application

Hi,  I am relatively new to MVC, after deploying my MVC application as per Haack http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx i seem to have got a new problem. My Jquery doesnt seem to get recognized. I get "object doesnt support this property or method " at this line "jQuery(document).ready(function() {" i have tried all sort of things including changing the js script file path to relative and absolute, setting base tag etc. Kindly advice if the above method of deploying is right and if that is what is causing the issue and if there is some other way to handle the .mvc requests.   Thanks and Regards, Muzammil Ahmed

Error while Deploying WebMatrix Beta Application having SQL Database on Remote Server


Hello All,

I have created "DotNetNuke SQL Database Application" from the WebMatrix Gallery.

Now I want to deploy it on the remote server using Web Deploy method.

Without selecting SQL database, application is deployed successfully but when I select SQL database it gives following error:

Publish : Error - Make sure the database connection string for the server is correct and that you have appropriate permission to access the database. (Web Deploy provider is dbFullSql).

Can anyone have the solution of this error?

Thanks in advance....

Exception when deploying .net remoting application over internet

Hi everyone,

I'm trying to make a .net application works in a computer outside my intranet, using a web service created with .Net remoting and
hosted in my intranet.

This application works well in any computer in the intranet, but not in the computer
that accesses the web service over the internet.

My .net remoting web service is configured in IIs and uses http channel.

I'm using interfaces and i'm implementing this interfaces each one
being a subclass of the MarshalByRefObject, like this:
    public interface IClassMain
      int GetSum(int a, int b);
      IClass1 Class1 { get; }

    public interface IClass1
      String GetFormattedName(string firstname, string lastname);

    internal class ClassMainImplementation : MarshalByRefObject, IClassMain
      private Class1Implementation m_class1Implementati

Deploying Web Application from VS.Net 10 to Windows Server 2003



I have built my site using VS.Net 2010 on my XP machine. I would like to deploy it to my server which is a Windows 2003 Server. I have tried to do it with FTP, but it keeps failing with the error that "Front Page Extensions are not installed on the web server". When I check the server the extensions were installed and I also checked IIS and the service for the extension is allowed. How can I get this done? I need to deploy my site urgently.

Your advise is welcome.



Deploying an application using Windows Bootstrapper... localization issues in the bootstrapper itsel


First off, apologies if this isn't the correct way to post this question. It IS connected with deploying a .NET application using Windows Bootstrapper and installing the needed prerequisites.

The thing is, despite asking Visual Studio to publish a localized package, the Microsoft Bootstrapper has some strings hard-coded into the setup.exe, such as "For the following components", and these strings are always in English. So despite having created localized packages for the .NET installation (which work... mostly... I'm still new at this :P) the ClickOnce installer is still not entirely localized to my liking.

So far the only solution I found was to fire up a HEX editor and start manually changing the strings in the .EXE, which is a whole lot of painful work, especially if you need to publish some changes to your application.

Any hints or tips as to how fix this issue would be appreciated.

Permissions issue when deploying a VB.NET application


I have developed an app in VS 2010 and deployed it on a Windows 2003 server.  Now I'm attempting to deploy it on a Win 2008 R2 server. 

I am getting the following error message:



	Below is a summary of the errors, details of these errors are listed later in the log.

	* Activation of \\Asiapp1\applications\OnlineClaimsImageProcessing\OnlineClaimsImageProcessing.application resulted in exception. Following failure messages were detected:

		+ Configuration system failed to initialize

		+ An error occurred loading a configuration file: Access to the path 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config' is denied. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config)

		+ Access to the path 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config' is denied.


This is a VB.Net Console app, NOT an ASP.Net web app. 

What account(s) must have what permissions on the above-referenced machine.config file for this to work?

Need help deploying a WCF SilverLight application


I'm new to WCF programming and need help.

Here's what I've done:

1. Created SilverLight app
2. Added SilverLight-enabled WCF Service to Web project
3. Added Web reference to SilverLightproject
4. Call my simple service from MainPage.xaml.cs

This all works fine on the localhost.

Now the two (probably related) questions that are confusing me:

1) How do I deploy my new application and service to my Web site? For a simple SilverLight application with no Web service, I have simply copied the following files and everything worked:
* [my app].aspx
* silverlight.js
* clientbin/[my app].xap

However, when I try that with the SilverLight app that includes a Web service, it doesn't work. Is there something additional that I need to copy to my Web site or edit before deploying?

2) I would think that I would have two binaries to copy - one being the xap package (that contains my SilverLight app and gets downloaded to the client) and the other being a dll (that contains my web service that will run on the server). Is that not the case? I only see a xap file in the clientbin. How do I define a WCF service that runs on the server?

I know these are newbie questions and appreciate any help.

merge replication: suggestion on deploying on my application


Hello all,

We have an aplication in .net which we are planning to deploy on our workers laptop so that they can work offline with their own copy of database.

We planned to do merge replication and have database replicated across workers machine.

We have tables, procedures and triggers to be replicated. Tables are around 330.

1. Will the application work perfectly on workers machine on replicated database as it is working on our office db. Would it require any structural change.

2. What flavor would be perfect to have at workers laptop because we have procedures and triggers.


1. please suggest things in terms of long term considerations which we must consider in advance which are really worth.


Problems in deploying WebMatrix application to a server


hi there,

I have developed a simple "test" project and the files are in .CSHTML. The application works fine locally. However, when I publish to the server, the application fails to load. It throws 404 Page Not Found error. The .CSHTML is rendered by the server though however, when it is trying to pull something from the SQL Compact database, it throws this error message.

Another thing to note down: I installed WebMatrix application on the server and I then try to run my project with this WebMatrix application. It works. In other words, the project works fine with the URL like http://localhost:8448/gallery/Item-101029, however it fails when I try to browse to it publicly via URL http://www.myDomain.com/gallery/Item-101029.

Would you please advise what did I do wrong here? I can see that the SQL compact database is in my App_data folder. Why does http://www.myDomain.com/gallery/Item-101029 fails to work? Thanks in advanced for all the advises

Deploying Windows application

Hello everybody,

I have a windows application published. I jus tried to install in my client's machine but got error while installation which reads like this 'unable to install or run the applcation. The application requires that assembly Microsoft.SqlServer.Connectioninfo Version be installed in the Global Assembly Cache(GAC) first.'

Please can any one suggest  how to resolve this?

Any help is appreciated.!

Regards, Rajesh Vemunoori.

Microsoft's Collaborative Application Markup Language (CAML) Loop

discovered an interesting error recently while working with Microsoft's Collaborative Application Markup Language (CAML) that, surprisingly, had received no ink. Partly what surprises me about this is that the error may require you to rewrite large sections of your code if you haven't previously considered this SharePoint limitation. I'll start with some context, but first of all the error is:

Integrating a Legacy Web Application in SharePoint

This month we will continue with the theme of deploying Microsoft's SharePoint as a company intranet by describing a method for integrating a legacy Web application inside a SharePoint site.

In many companies the intranet site is not just a home page with announcements. It houses Web applications used by many different departments. In last month's article, I built a page to search the employee table in Northwind (the sample database included in Microsoft's SQL Server). This month, I will move the Web pages used to add/remove records from the table into the SharePoint intranet.

MVC architecture in ASP.Net using C# and Microsoft Data Access Application block

The Model-View-Controller (MVC) pattern separates the modeling of the domain, the presentation, and the actions based on user input into three separate classes [Burbeck92]:

Model. The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller).

View. The view manages the display of information.

Controller. The controller interprets the mouse and keyboard inputs from the user, informing the model and/or the view to change as appropriate.

High-Performance .NET Application Development & Architecture

It has always been a goal of project architects to plan an effective strategy from the ground up in regards to an new application. All relevant factors are taken into consideration with respect to the application, from its design and layout to a functional website infrastructure. Pre-.NET strategies and design guidelines still effective now were developed with Microsoft's DNA (Distributed interNet Application) platform. This model successfully served the purpose of architecting N(any number of)-Tier (levels) applications. In its basic sense, as in most robust, distributed applications, you'll architect 3 main layers or Tiers: presentation, business rules and data access.

Application architecture in asp .net

Application Architecture is the most important process of developing a good application. Some people tends to jump into coding without any architecture laid. Later we see those people changing the architecture and finally the application had to be developed from the scratch with the correct architecture.

In this article I will describe some details about how you can improve the architecture of you application. This article is targeted to the beginner's audience.

Improving Application Performance in .Net

Application performance has always been a concern for Web Application developers. This article contains guidelines and tips for maximizing application performance in ASP.NET.
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