.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 to Web App Fails (2 issues)

Posted By:      Posted Date: September 30, 2010    Points: 0   Category :SharePoint

So, I have a solution that's scoped to the web app. In one environment, it deploys just fine (via Visual Studio). I had originally deployed it as a farm solution in this environment, but have verified that the dll is not in the GAC and the solution (and feature within) were fully removed. The solution appears to be deployed to a single web app (at least according to central admin). The feature in the solution shows up farm-wide, but if you try to activate it anywhere but the deployed web app, it fails. So, question 1 - is it normal behavior for the feature to show up farm wide?

In another environment (VM w/o Visual Studio - clean snapshot that's rolled back between each test install), if I try to deploy the solution I get the error: Failed to load receiver assembly blah blah blah). This happens even if I manually copy the assembly into the bin and restart IIS. It happens both via powershell and via central admin. Central admin accurately recognizes the solution as being web app-scoped and having a CAS policy.

Thoughts on why it can't find the assembly?

View Complete Post

More Related Resource Links

What are issues involved with deploying a reporting Services report outside of our network?


I would like to know if it is resonable and acceptable to make reports created through SQL Server Reporting services available through our Public facing applications.


Also, what are the potential problems? Security? Impact on the SQL Server? Limit to specific types of reports?


If anyone has any info it would be greatly appreciated, I am a big fan of SQL Reporting but we are unsure if we are going to be able to use the reports on the Public side and we don't want two separate sets of reports (internal and Public).


Thanks in advance.


Getting Web compatability Issues when Deploying access From Navigation to sahrepoint 2010 having lis


Hi Friends,

              I have Created 2 lists in sharepoint  and deployed in access  which have look up's for   1 of the listand .I created  web navigation from and added 2 lists of sahrepoint in it ,Finally when i give url and click on  "Web Compatibility Checker "    getting error as "Web Combatibility Issues" 

                 Friends can any one helps to solve this problem

Mohammad Siddiqali



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.

deploying to msdeploy does not support a proxy server


I am trying to deploy through webmatrix but my system Proxy server configuration is not being used. I assume that webmatrix would detect the proxy server settings and use that for the msdeploy calls under the hood. Can anyone confirm this is a know issue? 

IE 8 Issues with Chinese/Japanese Characters


On my web application, I display information in different languages. Everything works fine in IE compatibility mode and FireFox but it shows boxes for chinese/japanese languages. I am pretty much having the same issue as described here



Thanks for your help.

ToggleDebugCompilation fails trying to perform "an unauthorised operation"



We're having a problem with the Visual Studio 2008 RTW version of the web deployment projects on a colleagues machine. The project works fine if I run it on my machine, but when he tries to run it on his machine he gets:

<SNIP : Most output removed>
  Task "Exec"
    if exist ".\TempBuildDir\" rd /s /q ".\TempBuildDir\"
  Done executing task "Exec".
  Using "ToggleDebugCompilation" task from assembly "C:\Program Files\MSBuild\Microsoft\WebDeployment\v9.0\Microsoft.WebDeployment.Tasks.dll".
  Task "ToggleDebugCompilation"
    Updating Web.config <compilation> element debug attribute to 'True'.
    C:\Program Files\MSBuild\Microsoft\WebDeployment\v9.0\Microsoft.WebDeployment.targets(639,7): error : Attempted to perform an unauthorized operation.
    C:\Program Files\MSBuild\Microsoft\WebDeployment\v9.0\Microsoft.WebDeployment.targets(639,7): error MSB4018: The "ToggleDebugCompilation" task failed unexpectedly.
    C:\Program Files\MSBuild\Microsoft\WebDeployment\v9.0\Microsoft.WebDeployment.targets(639,7): error MSB4018: System.ArgumentNullException: Parameter "message" cannot be null.
    C:\Program Files\MSBuild\Microsoft\WebDeployment

ArrayList.ToArray fails!


In my app, I have code similar to the following:



               ArrayList alStartFrames = new ArrayList();
                byte[] abytTest = { 1, 2 };


                byte[] abytCombinedFrame = (byte[])alStartFrames.ToArray(typeof(byte));

            catch (Exception ex)

The call to ToArray always fails and the exception is caught even though I'm pretty sure alStartFrames is an array list of byte arrays. Anyone have any insight on why this is happening?! TIA

Windows Azure: Developing and Deploying Cloud Apps in Visual Studio 2010


You'll find direct support for building Windows Azure applications in Visual Studio 2010 and Visual Web Developer 2010 Express. We'll walk you through using Visual Studio 2010 for the entirety of the Windows Azure application development lifecycle.

Jim Nakashima

MSDN Magazine April 2010

Cloud Patterns: Designing and Deploying Services for Windows Azure


To better understand how SOA patterns can be applied to Windows Azure deployments, we walk you through a scenario in which a bank moves its services to the cloud.

Thomas Erl, Arman Kurtagic, Herbjörn Wilhelmsen

MSDN Magazine January 2010

SharePoint's Sandbox: Developing, Deploying and Monitoring Sandboxed Solutions in SharePoint 2010


The challenge in SharePoint development has always been the balance between creating and deploying solutions that you can trust not to damage or impair a SharePoint farm. A new feature in SharePoint 2010, called Sandboxed Solutions, enables farm administrators to feel comfortable that the SharePoint farm is safe, gives site collection administrators the authority to manage applications in their site collection, and provides developers with the flexibility to create solutions they know will be deployed in a safe and rapid manner.

Paul Stubbs

MSDN Magazine November 2009

Concurrency: Tools And Techniques to Identify Concurrency Issues


Efficient parallel applications aren't born by merely running an old app on a parallel processor machine. Tuning needs to be done if you're to gain maximum benefit.

Rahul V. Patil and Boby George

MSDN Magazine June 2008

CLR Inside Out: Investigating Memory Issues


Memory issues can manifest in a wide variety of ways. This column shows you how to collect the data you need to determine what types of mem¬ory issues you are experiencing.

Claudio Caldato and Maoni Stephens

MSDN Magazine November 2006

Stress Testing: Custom LoadGenerator Tool Identifies the Issues Your Application Faces Under Stress


It's easy to postpone stress testing when developing an application, and it's easy to forgo it altogether. Having an easy-to-use framework at your fingertips to conduct these tests can make the task far less painful. This article walks you through an application that eases the task of generating load for a variety of layers within an application.

Brian Otto

MSDN Magazine April 2004

Code Name Longhorn: A First Look at Writing and Deploying Apps in the Next Generation of Windows


The next version of the Microsoft Windows operating system, code-named "Longhorn," marks a significant change not only in terms of how the operating system works, but also in the way in which applications are built. The Longhorn version of Windows includes a new storage system, natural search technology, and an increased emphasis on security and trustworthy computing. Here the author provides an overview of Longhorn, focusing on the build-once, deploy n-times application model. In addition, he discusses the new language, code-named "XAML," that's used to create UI elements, then presents some working samples.

Dino Esposito

MSDN Magazine January 2004

The ASP Column: Deploying an ASP.NET App Using Visual Studio .NET


When Visual Studio® . NET was released back in February 2002, it included a number of new features that made it easier to create Web applications. The Microsoft® . NET Framework includes classes for intercepting and processing HTTP requests, and Visual Studio .

George Shepherd

MSDN Magazine November 2002

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