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


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

VS 2010 Crashes during 'Deploy' command

Posted By:      Posted Date: October 25, 2010    Points: 0   Category :SharePoint
 

I recently have started getting a crash every time I use the 'Deploy' command from a sharepoint 2010 project.  The whole solution will build correctly with no errors but when it attempts to deploy is always crashes.  Below is the last bit it tries to execute it always brings up the error message

 

Active Deployment Configuration: Default
Run Pre-Deployment Command:
  Skipping deployment step because a pre-deployment command is not specified.
Recycle IIS Application Pool:
  Skipping application pool recycle because no matching package on the server was found.
Retract Solution:
  Skipping package retraction because no matching package on the server was found.
Add Solution:

Below is the exception and stack trace:

System.AccessViolationException was unhandled
  Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
  Source=EnvDTE
  StackTrace:
       at EnvDTE.ProjectItem.get_Properties()
       at Microsoft.VisualStudio.SharePoint.ProjectUtils.GetFullPath(ProjectItem item)
       at Microsoft.VisualStudio.SharePoint.HierarchyItem.get_FullPath()
       at Micros


View Complete Post


More Related Resource Links

WPF Designer (in VS 2008 and VS 2010) crashes with Visual Studio

  
Good day all. I have the following question: WPF designer in both VS 2008 and VS 2010 crashes with Visual Studio when I try to edit UI form. Moreover, it crashes even when I try to save .xaml.cs file. Meanwhile, Winforms and Dataset UI editors work as usual. Are there other people met this issue? And how could I fix up this problem? Deleting the .suo file, uninstalling silverlight, repairing visual studio, and further googling did not help me. Thanks in advance.

Visual Studio 2010 crashes all the time

  
Does anyone know why VS 2010 crashes so often, and how to fix it?Greg H.

Target a Specific Site/Web using Deploy in VS 2010 IDE

  
If using a SharePoint Project's context menu option of "Deploy", is there a way to specify a target (given the scope of the Feature, etc.)? Thanks.

Failing while trying to deploy Sharepoint Server 2010

  
Hi, I am installing Sharepoint Server 2010 in [ Windows Server 2008 SP2 win SQL Server 2008 R2 installed]. Installation  fails  with message Configuration failed . The following error in the error log 23:09:10  9  INF                    Creating connection string for config db SharePoint_Config server sharepointalias 08/21/2010 23:09:10  9  INF                    Creating connection string for admin content db SharePoint_AdminContent_b6892e2d-f9c1-4c75-aac5-c7ebefb032ca server sharepointalias 08/21/2010 23:09:10  9  INF                    Using NTLM for sql connection string 08/21/2010 23:09:10  9  INF                    Creating a new farm with config db SharePoint_Config content db SharePoint_AdminContent_b6892e2d-f9c1-4c75-aac5-c7ebefb032ca server sharepointalias for farm mode 08/21/2010 23:09:10  1  INF                    Not running in high contr

Internet Exporer Crashes when viewing a SharePoint 2010 Slide library

  
I have 3 environments  (Test, Development & Production) in which this issue happens on all. Whether i create a new blank or use and existing Slide library; upload more than one Powerpoint slide in the library and i put my mouse cursor on any place other than the ribbon interface, Internet explorer jams and stops working. IE restarts itself and brings you back to the library but then does the same thing if you put your cursor anywhere in the sharepoint view. We had tested using IE without addons and it worked correctly. We then ran internete explorer and disabled all addons one by one until all were disabled and the issue was still occurring. We had changed a number of settings and found that disabling "active scripting" in the IE settings also made the issue dissapear. The issue is that we want active scripting and all add ons to work aswell.  We also updated Silverlight  from 4 with a build of 3.0.4 from the Microsoft Website.   (Internet Explroer 8 is the version running on Windows 7 Enterprise edition) The issue IE creates in the application log:  Event ID: 1000 Task Category: (100) Level: Error Keyword: Classic Faulting application name: IEXPLORE.EXE, version: 8.0.7600.16385, time stamp: 0x4a5bc69e Faulting module name: mshtml.dll, version: 8.0.7600.16490, time stamp: 0x4b2c9557

Query crashes in MSAccess 2007 and 2010 on Windows 7 64bit, but works on 32 bit

  
Hello. I have a prepared a Database that contains 2 tables, and a Query. If you execte the query (Just a very simple join with a few where statments) Windows 7 crashes in 64 bit, but not on a 32 bit platform. Unfortunatly the Database has 300MB and is to big to be uploaded here. So if there is anyone interested at MS to get my Database, please feel free to contact me serge.dornseiffer@sdna.lu

Visual Studio 2010 Lab Environment for Student to deploy to a IIS 7.5 web server with SQL 2008

  
Currently the environment I am trying to create is a teaching lab for Visual Studio 2010 and ASP.NET website development. The intent is to setup an environment where students can create a website with an attached database written with the assistance of Visual Studio 2010. When the website is completed they need to use one of the Visual Studio deploy technologies to upload the website to a locally run server (Windows 2008 R2 with IIS 7.5 running and SQL Server 2008.) I am responsible for setting up the correct deploy technology in Visual Studio as well as setting up the IIS 7.5 deployment server that is running the right version of SQL Server. I have already started this process and figured out how to configure a deployment package in visual studio and have it published on our local server. I am trying to get a very streamlined environment that does not require students have to configure a lot of SQL strings and IIS settings because this is not really what the teaching lab is all about. Just to let you know, we have had  this exact setup using Visual Studio 2008, Server 2003 with front page server extensions on IIS 6.0 and SQL Server Compact edition running on the server. My issue is that since it is now time to update everything there does not seem to be something comparable. Any help would be greatly appreciated. If someone has an idea of the 

Word 2010 crashes everytime I try to load a doc from SharePoint 2007.

  
Every time I try to load a doc from our sharepoint site, Word stops working and crashes.  I have repaired Office from Programs and Features, I have renamed the WWLIB.DLL as bad and then repairec again (It came back) and I can not find a dupolicate version of the owssupp.dll file.  In fact the only file in the Office 11 is the UCSribe.dll and it is not duplicated in the Office 14 folder.  The Event viewer gives this error Faulting application name: WINWORD.EXE, version: 14.0.4734.1000, time stamp: 0x4b58fb0e Faulting module name: wwlib.dll, version: 14.0.4734.1000, time stamp: 0x4b58fba1 Exception code: 0xc0000005 Fault offset: 0x00612406 Faulting process id: 0xc98 Faulting application start time: 0x01cb5110726d8727 Faulting application path: C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE Faulting module path: C:\Program Files (x86)\Microsoft Office\Office14\wwlib.dll Report Id: b4600a6b-bd03-11df-988f-463500000031   Does anybody have a solution for me? THis is a very fresh install (<6 months old). 

Word 2010 crashes everytime I try to load a doc from SharePoint 2007.

  
Every time I try to load a doc from our sharepoint site, Word stops working and crashes.  I have repaired Office from Programs and Features, I have renamed the WWLIB.DLL as bad and then repairec again (It came back) and I can not find a dupolicate version of the owssupp.dll file.  In fact the only file in the Office 11 is the UCSribe.dll and it is not duplicated in the Office 14 folder.  The Event viewer gives this error Faulting application name: WINWORD.EXE, version: 14.0.4734.1000, time stamp: 0x4b58fb0e Faulting module name: wwlib.dll, version: 14.0.4734.1000, time stamp: 0x4b58fba1 Exception code: 0xc0000005 Fault offset: 0x00612406 Faulting process id: 0xc98 Faulting application start time: 0x01cb5110726d8727 Faulting application path: C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE Faulting module path: C:\Program Files (x86)\Microsoft Office\Office14\wwlib.dll Report Id: b4600a6b-bd03-11df-988f-463500000031   Does anybody have a solution for me? THis is a very fresh install (<6 months old). 

Word 2010 Crashes When Editing Server or Document Properties

  
I don’t know if I’m doing something wrong or if this is a bug. We are using Metadata in our SharePoint 2010 implementation and I have linked this to the various document templates. If the template is a docx or dotx extension then, in a document library, going New Document and editing the Server or Document Properties causes Word to crash. Document templates based on .doc extensions work fine. Once the document has been created you can edit the properties but obviously this isn’t the best process. Does anyone have any advice on this? Thanks Neil

Deploy infopath 2010 form template to MOSS (saved as Infopath2007 format)

  
I saw this post on another site and this happened to me as well.  I am trying to create a web form with controls, chose WebForms for Infopath2007 and changed the code to C# for Infopath 2007 and tried to deploy the form to the Infopath forms solution in Central Admin and was unable to do so.  any suggestions? 

 

I have an interesting issue while deploying a VSTO enabled form today. For

some odd reason while performing stsadm -o verifyformtemplate -filename

foobar.xsn, it returned a "FatalError : The form cannot be converted because

it was designed for a later version of InfoPath Forms Services.".



Has anyone else tried deploying a InfoPath 2010 form with managed code in a

MOSS environment?? I'd hate to go back to InfoPath 2007, I love the new

ribbon. :D
 

 


how to deploy to server farm from visual studio 2010?

  

Server farm config is 4 servers: 2 wfe,1 app, 1 db.  NLB on WFE's. 

Deploy from VS 2010 to http://myspapp or http://myspsite I get this error in visual studio.

Error 2 Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site: http://myspapp/. Make sure that this is a valid URL and the SharePoint site is running on the local computer. If you moved this project to a new computer or if the URL of the SharePoint site has changed since you created the project, update the Site URL property of the project.

On my dev machine deploy works fine.  Is it possible to deploy to a server farm from visual studio 2010 or do I have to use powershell commands?


Deploy xslt with wsp file to sharepoint 2010 server

  

I have a xslt file, which i need to place in the layout section, I have created the path in the web part project, I am not able to deploy the wsp file through VS2010 as i do not have local sharepoint server, sO i am copying the file from biin\debug\wsp file to sharepoint server then add the solution install the soution,, but i also have an xslt file, which i need to place it in layouts folder, I have added as resource file during building the web part, file exists in the package, but i am not sure in wsp file

I have a layout folder in my vs 2010 project and xslt file is there in the folder , built the solution, when i use it on the sharepoint page it says that c:\pro.. files\..\..\..\bin\14\templates\layout\xyz.xslt file not found.

Hope some has a view or suggestion or an answer

thank you

Neel

 


How to deploy on a windows web 2008 dedicated server the VS 2010 ASP.NET simplest template ?

  

I have installed SQL Server 2008 Express Advance Services Edition on server.


I have copied the standard asp.net VS 2O10 from simplest template (the one with login link and 2 tabs home and about) under the root directory of the server. The website works until I try to login then I get:

Failed to generate a user instance of SQL Server

I cannot find a single article that just explains step by step how to deploy this simple example used by Microsoft or can I ? Then can you point me to this tutorial thanks.


Deploy and update script file with custom ribbon tab to Sharepoint Server 2010

  

Hey everyone,

currently I'm building a custom tab for Sharepoint Server 2010 and at the moment I'm stuck on the following issue,
with the first debug deployment Visual Studio sends the .js file that provides some functions for the ribbon elements from Scripts folder in the VS project
to Sharepoint Server.
However, it won't apply any changes I did on the script afterwards to the file on the server.
So the effect is, that as soon as I do the next debug, the previous script is being used by Sharepoint and the new version, containing the new code, is left aside.

It seems to me as if Visual Studio would only deploy the .js file just once and then rely to this copy, maybe there are some configuration settings to make, but after hours of research, I still can't figure out where things do go wrong or what configuration to apply to update the script on the server.
I couldn't locate the file on hdd either, even searched the whole fs but the results showed only the new script file.

Any help on this would be very much appreciated, this issue drives me nuts and consumes plenty of time ;)

Workaround at the moment: each time the script is changed, set up new project... :D

Greets, Norman

P.S: Yes, I did flush

how to use OCDExportList StsAdm command with sharepoint 2010 ?

  

Hello!

 

I need to use this command to export list definitions from sharepoint to xml definition files. When I run it it says error:

PS C:\Users\XXXXX> stsadm -o ocdexportlist -url "http://XXXXXX:1245" -dir
"c:\Test"

Value cannot be null.
Parameter name: type

 

Thanks

 


How to alter wsp(SharePoint 2007) to be able to deploy to SharePoint 2010

  

When I attempt to deploy my wsp(SharePoint 2007) to my SharePoint 2010 environment I am faced with an error inline with, Version 3 not supported on this installation, which is to be expected, I then recreated my wsp with all the 2010 references, built and again the same thing happened(version 3 not supported on this installation)

After this I created a new SharePoint project, added all the aspx pages in my wsp to the new solution(under site definition) built and deployd, this time it loaded the default.aspx, but it was blank(IE blank, not a blank SharePoint site)

I use the deafult.master page.

Cheers


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