Converting a LightSwitch project to Visual Studio 2012

We have a LightSwitch project that works in VS2010. We are trying to convert it to VS2012 before converting it to VS2013 (because apparently you have to go through VS2012 first).
We installed VS2012 with Update 4.
Now when the project is loaded we get the following errors:
Could not find the following extensions: Microsoft.Lightswitch.Extensions. Unable to update file D:\SCM\Licence 2013\PP.Licensing.PPLicenceManager\Server\web.config.
and then the following error twice:
Cannot load the application item provider:\nSequence contains no elements\nThis may indicate the model file is corrupted. 
The LightSwitch project itself has no files in it. I also do not have Resharper installed (which has been mentioned on a few threads). I have also looked in detail at the project files in Notepad (again mentioned on some threads) and they look to be OK.
So I created a new LightSwitch project in VS2012 and the Server folder had a web.config file in it (my original solution did now have one). I added this file into my new solution and the first error did not appear but the two following it did.
Has anyone got any ideas what is going on? I am probably going to try and start with a clean machine but any ideas would be welcome. The conversion of this project has been extremely painful.
Thanks
Ian

Hi ghostme,
Based on your description, this issue is related to the SQL Server Script, like this document:
CREATE SEQUENCE (Transact-SQL)
I think it would be related to the SQL Server, so if possible, I suggest you select the correct forum here:
http://social.technet.microsoft.com/Forums/sqlserver/en-us/home?category=sqlserver
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Problem to make new project in visual studio 2012 Ultimate RTM This is often caused by registry permission problems

    hi
    i Install Visual studio Ultimate 2012 RTM and ..
    when i want to create a new project (windows application form C#) give me this error :"Visual Studio does not have permissions to read the template information from the system registry. This is often caused by registry permission problems"
    what can i do for this problem ?
    how can i solve this ?
    Visual studio Ultimate 2012 RTM

    This issue is quite wide-spread and it affected older Visual Studio versions. I am disapointed by the amount of junk advice and the lack of proper stance from Microsoft.
    The only correct solution I could find was provided by HallCrash on July 01, 2010 in this similar thread:
    social.msdn.microsoft.com/Forums/en-US/vbexpress2008prerelease/thread/c273b0e1-7f46-4065-afaf-4edf285d2531
    Ironically, that thread is locked and I was not able to give recognition to HallCrash there ...
    You'd have to scroll almost to the bottom to find HallCrash's solution. That solution is based on a Microsoft supported tool (SubInACL) which can be downloaded here: microsoft.com/en-us/download/details.aspx?id=23510. It limits the registry changes strictly
    to Visual Studio. Nevertheless, start by creating a System Restore Point.
    I do not trust and would not recommend using unknown software (such as the Softpedia suggestion) for this.
    Cheers

  • How to add new project developed in visual studio 2012 on tfs 2010

    Hi Friends,
    our development developed new project in visual studio 2012 .
    and we need to add it on tfs 2010 version .
    we added it on existing collection on tfs 2010.
    but itn't works properly .
     i want to know is it possible to add visual studio 2012 developed projects in tfs server 2010
    mastanvali shaik

    Thanks for Adrian's help.
    Hi Balaji,
    Based on your issue, I agree with Adrian's suggestion. Therefore, I suggest you can try Adrian's suggestion to refer the link of Cybermaxs' reply check your issue.
    In addition, I suggest you can use fiddler to check the header definition.
    For more information, I suggest you can refer the Shiv_P's reply in the following link.
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/9bb37eec-3467-4fcb-8537-648d04e91e2f/how-to-add-latest-chrome-browser-plugin-in-visual-studio-2010-ultimate-for-performance-testing?forum=vstest
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Add-in for Access 2010/2013 with Visual Studio 2012 (2013 Preview)

    Hello!
    Am i right: Microsoft wants to kill Access in favor of Azure/SQL stuff?
    I was unable to find any Projects in Visual Studio 2012/2013 to create an Addon for Access 2010 or 2013 (only Word, Excel, Outlook).
    There is even no Microsoft.Office.Tools.Access.ApplicationFactory
    to install add-in to Access App.
    Any solutions for VS 2012?
    Or i should use outdated Shared Add-in with VS 2010?
    Thank you!

    Sorry Donald M from Microsoft,
    You need to rethink that response.  IDTExtensibility2 is an outdated Office 2003 technology. 
    Everything EXCEPT the ThisAddIn.designer.cs reference to ApplicationFactory _factory compiles when you switch references in another Office application's VSTO project template to msaccess and dao libraries.  Even the Access icon shows up in Visual
    Studio 2013.  The only reason a Ribbon.xml project will not load into Access is that Microsoft hasn't provided the Microsoft.Office.Tools.Access DLL for it.  If you leave the Factory reference pointing to global::Microsoft.Office.Tools.Factory,
    the add-in compiles but will not load.
    MICROSOFT: Please provide us the missing Factories for MSAccess and OneNote.
    Could not create an instance of startup object AccessRibbonAddin.ThisAddIn in assembly AccessRibbonAddin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=664b6483efff25e6.
    ************** Exception Text **************
    Microsoft.VisualStudio.Tools.Applications.Runtime.CannotCreateStartupObjectException: Could not create an instance of startup object AccessRibbonAddin.ThisAddIn in assembly AccessRibbonAddin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=664b6483efff25e6.
    at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.CreateEntryPoint(String entryPointTypeName)
    at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.Microsoft.VisualStudio.Tools.Office.Runtime.Interop.IExecuteCustomization2.LoadEntryPoints(IntPtr serviceProvider)
    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18052 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    Microsoft.VisualStudio.Tools.Office.Runtime
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Runtime/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Runtime.dll
    System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18060 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18060 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Security
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18055 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
    Microsoft.VisualStudio.Tools.Applications.Hosting
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Hosting/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Hosting.dll
    Microsoft.VisualStudio.Tools.Applications.Runtime
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Runtime/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Runtime.dll
    System.Deployment
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
    Microsoft.VisualStudio.Tools.Applications.ServerDocument
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.ServerDocument/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll
    System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18036 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
    Microsoft.Office.Tools
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.dll
    Microsoft.Office.Tools.Common.Implementation
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Common.Implementation/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.Implementation.dll
    Microsoft.Office.Tools.Common
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Common/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.dll
    AccessRibbonAddin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Source/Home/Access/bin/Debug/AccessRibbonAddin.DLL
    Microsoft.Office.Tools.Common.v4.0.Utilities
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.30319.1
    CodeBase: file:///C:/Source/Home/Access/bin/Debug/Microsoft.Office.Tools.Common.v4.0.Utilities.DLL

  • Move a Excel 2010 Dokument Addin Project (Visual Studio 2012) to another devleopment machine with Visual Studio 2012 , but Office 2013

    Hi 
    we do have the following situation
    on computer A there is a Excel Document Addin development project , Visual Studio 2012, Office 2010 installed. All works fine.
    we would like to bring the project to another machine with Visual Studio 2012, but Office 2013 installed.
    Visual Studio can not build the project. It says that the application is not installed on the machine (though Excel 2013 is installed , but not Excel 2010) It seems to have a problem with the
    vbproj. 
    In other forums I found a hint that "Hostpackage = ..} needs to be set accordingly in the vbproj. I created then a "empty Excel-Addin project" under Visual Studio , looked at
    the Hostpackage entry, put that into the vbproj of "problem project. It still does not work.
    It would be great if anyone could help.
    Thomas

    Hello Eugene
    Problem is that it says that projectboard (the name of the main project) can not be loaded. All other projects in the solution can be loaded. Strange thing is , now that I try to create a empty excel Project it says that according to Excel security settings
    it can not be generated !? 
    I opened then Excel and set all Trust Center settings to "Default" - but no effect. I really have no idea what is wrong ..!? 
    Tom

  • Visual Studio 2012 SharePoint Project Error : The partial project item type does not have a value for this property

    Hi,
    I am getting this error from visual studio 2012 whenever i try to create the following project types:
    - Workflow Custom activity
    - Web parts
    The error is as mentioned below
    "The partial project item type does not have a value for this property"
    Due to this the when I add above type of items in my project, they show a red cross icon against them.
    Please let me know If have you any solution?

    Hi
    I had same issue. Below is the solution
    Installing
    "Visual Studio 2012 Update 3" usually solves this problem. (You can download it through microsoft's official site at
    "http://www.microsoft.com/en-in/download/details.aspx?id=39305")
    Hansraj Rathva

  • Problems adding a custom SSRS (PolygonsCRI demo project) control to Visual Studio 2012 toolbox

    I've been trying to create a custom control in SSRS using the PolygonsCRI example.  I've finally got the solution to compile in Dot Net 4.5 under Visual Studio 2012 targeting x86 architecture.  (x86 seems to be the only way to compile without complaints
    about architecture mismatch involving some of the key reporting DLLs.)  I'm running VS2012 Premium, version 11.0.61030.00 Update 4.
    I still can't use it in the Polygons demo reporting project.  
    I can add the DLL to the toolbox but all I get is a red rectangle and the message 'The custom report item type PolygonsDesigner is not installed'.  
    Suggestions?  I'm out of ideas at this point.

    Hello,
    You have "add DLL to Toolbox"?
    See Jazz Up Your Data Using Custom Report Items In SQL Server Reporting Services => Deploying CRI: You have to Register you CRI in "RSReportDesigner.config" file.
    See also MSDN:
    How to: Deploy a Custom Report Item
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How to put if condition by using visual studio 2012 for project server 2013 worflow

    Hi,
     If Project Data:Funding Required equals Yes
        Go to s2- Lead Approval
    Else
        Go to End of Workflow
     above condition is used it in sharepoint designer. I want same condition used in visual studio 2012.
    Please help me how to get fields of project server in visual studio 2012.
    Thanks in Advance in helping us.
    Thank you
    Vinay

    Hi Vinay,
    I can't help you for the code, but the IF THEN ELSE statement is pretty well documented in the article below:
    http://msdn.microsoft.com/en-us/library/752y8abs.aspx
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Exception has been thrown by the target of an invocation. (mscorlib) - multidimensional project visual studio 2012

    Hi everybody,
    give me please advice... When I set Attribute Relationship in multidimensional project in visual studio this exception is thrown. How to remove this problem? This is exact description of this fail:
    Program Location:
       at System.RuntimeMethodHandle.SerializationInvoke(IRuntimeMethodInfo method, Object target, SerializationInfo info, StreamingContext& context)
       at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
       at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
       at System.Runtime.Serialization.ObjectManager.DoFixups()
       at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
       at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
       at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
       at System.Resources.ResourceReader._LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
       at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
       at System.Resources.ResourceReader.LoadObject(Int32 pos)
       at System.Resources.ResourceReader.ResourceEnumerator.get_Entry()
       at System.Resources.ResourceReader.ResourceEnumerator.get_Current()
       at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
       at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, String objectName, CultureInfo culture)
       at Microsoft.AnalysisServices.Graphing.GraphCtrl.InitializeComponent()
       at Microsoft.AnalysisServices.Graphing.GraphCtrl..ctor()
       at Microsoft.AnalysisServices.Design.AR.ARDiagram..ctor()
       at Microsoft.AnalysisServices.Design.AR.AREditor..ctor()
       at Microsoft.AnalysisServices.Design.DimensionDesigner.CreateAREditor(VsStyleToolBar pageViewToolBar)
       at Microsoft.DataWarehouse.Design.EditorWindow.EnsureViewIsLoaded(EditorView view)
    ===================================
    Font 'Arial' does not support style 'Regular'. (System.Drawing)
    Program Location:
       at System.Drawing.Font.CreateNativeFont()
       at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
       at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
       at System.Drawing.Font..ctor(SerializationInfo info, StreamingContext context)
    thanks

    Try asking at
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=visualstudiogeneral&filter=alltypes&sort=lastpostdesc
    Mark Tabladillo PhD (MVP, SAS Expert; MCT, MCITP, MCAD .NET) http://www.marktab.net

  • Visual Studio 2012 is no longer able to interact with any TFS server

    I can connect to the on-premise TFS2012 server using the instance of VS2012 installed on the server machine as well as the instance of VS2012 installed on a coworker's machine.
    I was able to interact with TFS2012 using the instance of VS2012 installed on my Win7 x64 machine, but only one time. Many reboots later, both of the server itself and my machine, I haven't been able to get VS2012 to interact properly with TFS.
    When I click on "Team" and select "Connect to Team Foundation Server", the "Team Explorer" VS window opens. In that window, no matter what button or link I click on, Visual
    Studio won't connect to TFS or allow me to choose a TFS server.
    1. Clicking on the Home icon takes me to page with two buttons: Pending Changes & settings.
    Clicking on "Pending Changes" takes me to a page where I can do 3 things: click on "no workspace" (nothing happens), click on Actions -> Open Source Control Explorer (which opens an
    empty Source Control Explorer Window, from which I can do nothing), click on "Settings", which shows me a page with 4 options:
    Security: clicking it results in the message "Team Foundation Error. Object reference not set to an instance of an object"
    Group Membership: clicking it results in the message "Team Foundation Error. Object reference not set to an instance of an object"
    Source Control: clicking it results in the message "Value cannot be null. Parameter name: serverName"
    Process Template Manager: clicking it results in the message "Value cannot be null: Parameter name: tpc"
    2. Clicking on the "Connect to Team Projects" icon takes me to a page where I can click on either:
    "Configure Team Projects": clicking it does nothing
    "Connect": clicking it does nothing
    "Sign Up": opens a Visual Studio Online page on my web browser
    If I instead go to File -> Source Control -> Advanced, there is only one option which appears to be working:
    Change Source Control. When I click on it I get a window with a table with rows that correspond to the current solution and the projects in the current solution. ie:
    Solution/Project: {item name}
    Server Name: "<No Server>"
    Server Binding: "<No Server>"
    Connected: {gray uncheckable checkbox}
    Status: "Not Controlled"
    Local Binding:
    Provider:
    Relative path:
    The buttons "Connect", "Disconnect", "Browse" are disabled. Clicking on the "Bind" button results in a window with the message "The mappings
    for the solution could not be found" and two buttons: Ok and
    Help. Clicking on Help results in a white window with the message:
    "The 'EurekaPackage' package did not load correctly. The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file 'C:\User\<username>\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml'.
    Continue to show this error message?"
    Clicking "yes" open the following page on my web browser, which essentially tells me to go back to the "Change Source Control" window and unbind the project, which VS is not letting me do:
    http://msdn.microsoft.com/query/dev11.query?appId=Dev11IDEF1&l=EN-US&k=k%28vs.tfc.sourcecontrol.MessageConnectionManagerCantBind%29;k%28TargetFrameworkMoniker-.NETFramework
    The following is an excerpt from the "ActivityLog.xml" file mentioned in the white window that appeared when I clicked on the "Help" button:
      <entry>
        <record>651</record>
        <time>2013/12/20 13:35:53.354</time>
        <type>Information</type>
        <source>Profile manager</source>
        <description>Begin export of category &apos;Source Control_TeamFoundation&apos; ({2A718788-A6D9-44C5-90EF-438BF5B06A74}) from package &apos;Microsoft.VisualStudio.TeamFoundation.VersionControl.HatPackage, Microsoft.VisualStudio.TeamFoundation.VersionControl, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; ({4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}).  3349472 KB of virtual memory currently available.</description>
      </entry>  <entry>
        <record>652</record>
        <time>2013/12/20 13:35:53.354</time>
        <type>Information</type>
        <source>Profile manager</source>
        <description>End export of category &apos;Source Control_TeamFoundation&apos; ({2A718788-A6D9-44C5-90EF-438BF5B06A74}).  3349472 KB of virtual memory currently available.</description>
      </entry>
      <entry> <entry>
    <record>664</record>
    <time>2013/12/20 13:48:51.961</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>CreateInstance failed for package [Microsoft.Data.Entity.Design.BootstrapPackage.BootstrapPackage, Microsoft.Data.Entity.Design.BootstrapPackage, version=11.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]</description>
    <guid>{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}</guid>
    <hr>80070002</hr>
    <errorinfo>Could not load file or assembly 'Microsoft.Data.Entity.Design.BootstrapPackage, Version=11.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</errorinfo>
    </entry>
    <entry>
    <record>671</record>
    <time>2013/12/20 13:50:19.757</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
    <guid>{E8B06F41-6D01-11D2-AA7D-00C04F990343}</guid>
    </entry>
    <entry>
    <record>672</record>
    <time>2013/12/20 13:50:19.757</time>
    <type>Warning</type>
    <source>VisualStudio</source>
    <description>Unexpected system error mode before loading package [Visual Studio Web Browser Package]</description>
    <guid>{E8B06F41-6D01-11D2-AA7D-00C04F990343}</guid>
    </entry>
    <entry>
    <record>676</record>
    <time>2013/12/20 13:50:19.820</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
    <guid>{8C28E535-ABC9-4F92-B5C9-6C16617C8884}</guid>
    </entry>
    <entry>
    <record>677</record>
    <time>2013/12/20 13:50:19.820</time>
    <type>Warning</type>
    <source>VisualStudio</source>
    <description>Unexpected system error mode before loading package [EurekaPackage]</description>
    <guid>{8C28E535-ABC9-4F92-B5C9-6C16617C8884}</guid>
    </entry>
    <entry>
    <entry>
    <record>679</record>
    <time>2013/12/20 13:50:19.820</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>CreateInstance failed for package [EurekaPackage]</description>
    <guid>{8C28E535-ABC9-4F92-B5C9-6C16617C8884}</guid>
    <hr>80070002</hr>
    <errorinfo>Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Web Tools\Eureka\Microsoft.VisualStudio.Web.Eureka.dll' or one of its dependencies. The system cannot find the file specified.</errorinfo>
    </entry>
      <entry>
        <record>559</record>
        <time>2013/12/20 14:30:48.880</time>
        <type>Error</type>
        <source>VisualStudio</source>
        <description>Could not convert file time to system time</description>
        <hr>80070057 - E_INVALIDARG</hr>
      </entry>
    </activity>
    What, if anything, can I do in order to be able to get Visual Studio 2012 to interact with TFS?

    I'll add that when I run devenv.exe with the flag /TFSLink, VS opens a Team Explorer window that contains the following text:
    An exception was encountered while constructing the content of this frame. This information is also logged in "C:\Users\<username>\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml".Exception details:System.NullReferenceException: Object reference not set to an instance of an object.   at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context)   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()

  • Cannot preview SSRS report in Visual Studio 2012 - assembly does not allow partially trusted callers

    Hi,
    I have an SSRS report that works fine in Visual Studio 2008 BIDS.  This report references a .Net assembly namely:
    System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    I use this assembly in some simple Code functions in the report. e.g.
    System.Web.HttpUtility.UrlEncode(inURL).ToString
    I have converted the SSRS project to 2012 and am trying to preview the report.  However, I get an error relating to: "That assembly does not allow partially trusted callers".  If i deploy the rdl to my local SSRS it renders fine, but
    how do I fix Visual Studio to preview the report without error? This is highly annoying.
    My Visual Studio version is:
    Microsoft Visual Studio Professional 2012
    Version 11.0.61030.00 Update 4
    Microsoft .NET Framework
    Version 4.5.51641
    SQL Server Reporting Services  
    Microsoft SQL Server Reporting Services Designers
    Version 11.0.3402.0
    Any help is appreciated on this one.
    Regards,
    MrHH

    Hi MrHappyHead,
    According to your description, you used custom assembly in the report, when you run the report in Visual Studio 2008, the report works fine. When you run the report in Visual Studio 2012, the error message occurred: "That assembly does not allow partially
    trusted callers".  But the report works fine after you deployed it to report manager.
    Only applications that are fully trusted by the runtime code access security system are allowed to access a shared managed code assembly that is not explicitly marked with the System.Security.AllowPartiallyTrustedCallers attribute. A partially trusted assembly
    (one that is registered in SQL Server with the SAFE or EXTERNAL_ACCESS permission set) that attempts to access a strong-name signed assembly without this attribute causes a System.Security.SecurityException to be thrown. To troubleshoot the problem, please
    refer to the following steps:
    Add namespace system.security to AssemblyInfo.cs file
    Add [assembly:allowpartiallytrustedcaller] to the file.
    Set trust level to "Full" in web.config file
    For more information, please refer to the following document:
    http://support.microsoft.com/kb/2869522/en-us
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • SQL Server Database Connectivity with Visual Studio 2012 - Help Needed

    Hello,
    I am having Visual Studio 2012 and SQL Developer 4.0 installed on my system with Windows 8 - 64bit
    I want to shift a VS project with an SQL database connectivity to another new Laptop (above mentioned) ...
    I have the project opened in VS without bieng connected to the database.. 
    I have a backup file of the database (which needs to be restored to a new created database on SQL Developer) 
    The problem:
    I am unable to create a server connection in SQL Developer which will allow me to create a new database followed by the recovery from backup file.
    I am getting the following error message when I try to create a connection:
    Status: Faliure - IO error: The network adapter could not establish a connection
    Please help me in setting up a server connection and adding a new sql database

    The error message seemed unfamiliar to me and since I had never heard of SQL Developer before, I went to Google. Google might be pulling my legs, but it appears that SQL Developer is related to Oracle. This forum is devoted to SQL Server, so you are in the
    wrong place.
    Try finding a forum for SQL Developer.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Visual Studio 2012 cannot resolve symbol or Errors control is not a member of class

    Visual Studio 2012 Web Site Project (Note not a Web application, so there are not Designer.vb files) > Site works perfectly fine and using IIS and attaching to IIS to debug code.
    However, if I try to build the site inside of Visual Studio I am getting lots of Errors ‘pnlName’ is not a member of ‘Page_Name’ In the code behind I am getting errors ‘Cannot resolve symbol ‘pnlName’
    .ascx Page
    <li style="margin-right:0;" id="pnlName" runat="server"><a href="/cart" title="Checkout" class="global-checkout">Checkout</a></li>
    .ascx.vb page
    Me.pnlName.Attributes.Remove("style")
    I have cleaned, rebuild and nothing gets rid of these errors, but again the site works as designed, but I would like to launch and debug inside of Visual Studio.
    Moojjoo MCP, MCTS
    MCP Virtual Business Card
    http://moojjoo.blogspot.com

    Cor,
    What I am stating is this is a solution using the Web Site Project instead of a
    Web Application Project.
    Web Site projects do not require Designer.vb files, Web Application Projects add Designer.vb files in the solution.   
    Background: I have been hired to support a very successful e-commerce site that was built by a 3rd party vendor (I had no input on the contract or specification, because I would have went with
    MVC).  The site works 100% correctly, however from my 2003 - 2015 experience with Visual Studio and Web Development being in Web Forms and MVC I have always built ASP.NET Solutions using the Web Application Project Templates, which compiles the code down
    to .dlls.  
    A Web Site project does not compile the code, but simply uses the .vb files and they have to be migrated to the server with the .aspx files. http://msdn.microsoft.com/en-us/library/dd547590%28v=vs.110%29.aspx
    Currently the only way I can debug this Solution is to attach to the w3wp.exe process running locally on my work station. 
    The Solution is comprised of two Web Sites, which I cannot get it to compile because of the following errors -
     'webServerControlName' is not a member of '(Protected Code Behind Class Name)'  I am reaching out to the MSDN community to see if anyone has experienced this issue with
    Web Site Projects.
    I hope that clears up the Project Type question.
    Moojjoo MCP, MCTS
    MCP Virtual Business Card
    http://moojjoo.blogspot.com

  • Using SSDT-BI in Visual Studio 2012 to create and maintain SSRS, SSAS, SSIS in SQL Server 2008 R2

    Hi,   My management is wanting all the developers (database and .net) to upgrade from Visual Studio 2008 to Visual Studio 2012.  We are currently using SQL Server 2008 R2 for our data warehouse and using Business Intelligence (SSIS,
    SSAS, and SSRS) to maintain it.  Our database team is also wanting to create database projects and include that in our Team Foundation Server 2010 code repository along with our BI code.  From what I've been able to research googling the
    internet is there are two products available SSDT and SSDT-BI which can be installed into VS2012, but it appears that only SSDT for database projects is the only thing that will work until we someday upgrade to SQL Server 2012.  Most of the information
    I've found on the internet regarding this subject is over a year old and a lot can change in a year.  So my questions are can we install VS2012 and both SSDT and SSDT-BI to create and maintain the SSIS, SSRS, and SSAS currently in our SQL Server 2008
    R2 database?  If we can install these three items, VS2012 and the two SSDTs, and are able to create new BI and maintain our current BI in our SS2008R2 database then what issues might we have with our TFS2010 code repository?  We prefer
    to use only VS2012 or VS2008 but not both at the same time.  If we can't do everything we are currently doing in VS2008 with our SS2008R2 database by switching to VS2012 and the two SSDTs then we will stay with VS2008 until we someday upgrade
    to SS2012.  Please advise and thank you.  James M.

    I'm going to move this to the SSAS blog, where most SSDT-BI questions are answered (this forum mainly answers SSDT questions). Someone there may be able to give you better information but here's what I know:
    - I think you'll only need to install SSDT-BI since you're using SSIS, SSAS and SSRS. SSDT is the database tooling which it sounds like you wouldn't use, and it's actually built into VS2012 in any case.
    - SSIS projects don't work with earlier versions of SQL Server, but SSAS and SSRS do. Details are on
    this blog post. I don't have enough knowledge to suggest workarounds or best practices for handling the SSIS issue. Perhaps you could keep 2 projects, or 2 branches of the same project (one for 2012, one for 2008) if that's possible? I think your BIDS projects
    will be upgraded to SSDT-BI compatible projects so it's work checking them into source control, upgrading, then comparing to understand what's changed. You might be able to keep the same overall source and just change a few settings in the different branches?
    Hopefully someone on the SSAS forum can help give you more information and suggestions.
    Kevin

  • Getting Dynamic Context Sensitive Help API to work with Visual Studio 2012 and 64 bit?

    We have RH 9.
    Our developers are working on implementing RH's dynamic CSH API inside of our software product:
    http://help.adobe.com/en_US/robohelp/robohtml/WSa7dd8288c271d662-26f4398e12b0c229082-8000. html
    The instructions our developer found say:
    Call your Help projects with the function RH_ShowHelp. The source code for this function is contained in the support files which you import into your development project. Languages supported are Visual Basic, C/C++, JavaScript, and Java. The files are in C:\Program Files\Adobe\Adobe RoboHelp [version]\CSH API. The files are:
        CSH API\RoboHelp_CSH.cpp (C/C++, dependent on the .h)
        CSH API\RoboHelp_CSH.h (C/C++, dependent on the .cpp)
    I zipped up the CSH API from my RH 9 version and sent it to the developer. We're using Visual Studio 2012.
    But now the dev is asking, "Is there a newer version? This one doesn't compile in win32 without me making some tweaks, and doesn't work at all in x64..." and "Is RoboHelp10 an option? 9 doesn't seem VS2012 compatible or x64 compatible."
    Does anyone know if there are there is a later version of the API available that works for 64-bit / VS 2012?

    Hi,
    The RoboHelp 10 API should work for WebHelp created with RoboHelp 9. Since the RH10 API will now support Multiscreen HTML5 (introduced with RoboHelp 10), I imagine it will work with VS 2012. But I’ve not tried that. You can try the RH10 API, but Adobe won’t support it
    Alternatively: A colleague of mine created a custom C# API some time ago. That might work for you: http://www.wvanweelden.eu/blog/2012/08/03/custom-webhelp-apis
    Greet,
    Willam

Maybe you are looking for