Getting a .dep file to work on Windows server 2008 R2 - sharepoint-2010

I am working on a dashboard related project using the MS BI stack integrated with SharePoint. I have a configured POC server running on Windows Server 2008 R2, SQL 2012 and SharePoint 2010. I am trying to run one of the MS tutorials that I have already completed on the MS virtual labs in a completely 2008 environment but doing so within my SQL 2012 / SharePoint 2010 environment and this requires I use the .dep file to set the tutorial up. When I first tried to run it I got the windows doesn't know which program to run it with but since the server is in a sandboxed area without net access it cannot search the web for the correct program. In the tutorial it mentioned the file ran via the command prompt so I tried opening it with that and unfortunately nothing happened, but I forgot to untick the always associate box so basically I now have two issues.
First is getting the .dep file back to having no default associated program to run with or finding out what actually is the correct one and the second is to actually get the required files I need to run the .dep file and set-up the environment for the tutorial. Unfortunately MS does not have a nicely detailed list on this.
I have tried using GPMC.MMC to remove the file association but as it is connected to our active directory the default features do not match up with what the technet article states on doing this and I don't want to cause errors on our active directory. Any advice on how to get this working would be appreciated.

You can try downloading the offline training kit.
This training kit should contain a folder with the name "assets". Into this folder you can find an installation of the software "DependencyChecker.msi". Just do this installation. The installation associates the .dep files with the "Dependency Checker Tool"
Secondarily, you can google around to find "How to install the Microsoft Dependency Checker Tool".
In the next link Microsoft talks about the tool.
http://msdn.microsoft.com/en-us/identitytrainingcourse_silverligthandidentity2010.aspx

Related

How to deploy vb.net project with SQL Server CE as database

I created a vb.net project and I used SQL Server Compact Edition as my database. Now I want to create an installer for it, for installing on different PCs.
Does it require to install Visual Studio on the client PC? How should I create installer which will include that database file?
Sorry for my bad English.
Please help.
Thank you in advance.
This msdn link shows how to do it:
https://msdn.microsoft.com/en-us/library/aa983326.aspx
There are 2 parts to it:
Deploy the database file. This can be done by setting the file to copy local always and updating your connection string to point to this.
Deploy the sqlserverce dll's. Follow the instructions in the msdn link which will copy the 7 dll's locally. This means you don't have to install sqlserverce on the individual pcs.

Run SSMS 2012 as administrator Application can not start error

When i tried to run SSMS 2012 as administrator it gives the error "application can not start". I am using windows 8 64 bit and sql server 2012.
Actually yesterday i tried to install ssms 2005 side by side installation but i stopped the installation in the middle as it needed a feature to complete installation so i stopped it. Now i want to access SSMS 2012 as administrator as i have to access integration server which prompt me to access it as administrator which lead me to run SSMS 2012 as administrator.
Any help to resolve this problem will be appreciated.
This is usually due to corrupt registries or some bad uninstall that removed files it shouldn't have. It's existed for years over multiple versions of VS and its shell. SSMS is dependent on the VS framework so it's among the potential victims, also spanning multiple versions.
This blog discusses some of the details of the problem and the comments section has some great feedback and possible solutions. The link should bring you directly to Oyvind Gellein's post whose solution worked for many. You can browse the rest of the page if you want to learn more.
http://blogs.msdn.com/b/visualstudio/archive/2009/10/29/how-to-fix-the-application-cannot-start-error.aspx#10061076
You can also check out this other page for another potential solution
https://mycodepad.wordpress.com/2013/12/07/visual-studio-2012-4-run-as-administrator-the-application-cannot-start-error/
Finally it is resolved by uninstalling all the SQl server components and VS frameworks. Then again reinstalled the sql server with SSMS.

Windows CE CAB file creation does not like spaces in file path

We've just set up a new development server, and when building our existing mobile applications (Windows Mobile 6.5), I'm getting the following error:
Windows CE CAB Wizard
Warning: Section [RegKeys] has no data
Warning: Section [DefaultInstall] key "AddReg" - there are no section entries to process
Error: CAB file "E:\...\MyProject.CAB" could not be created
ERROR: The Windows CE CAB Wizard encountered an error. See the output window for more information.
Now, I've worked out that it's due to spaces in the file paths. Which, I can fix, but is a tedious task as we have multiple mobile applications that will need changing. We also have spaces in our default dev folder paths, so all programmers would need to make a change to their dev environment.
The new dev machine is running Windows Server 2012 R2, the old one was Server 2008 R2. Both using VS2008. Nothing has changed in the source code, so it has to be something different with the OS version...?
I've read many posts with this same issue, but have not found any explanation as to why it is happening, just fixing the spaces.
I'd prefer to be able to find a magic system setting that makes it allow spaces in file paths again!

Develop Infopath 2010 with object model locally without SharePoint 2010

I am on windows 7 enterprise
I have infopath 2010 installed my pc and have used it before
But due to my requirements I have to use object model to write code and it requires I add a reference to SharePoint
I read some article but it does not have any solutions for my need (it was on web part and remote debugging, they talked about export the registry and import it to local box)
My question is what do I need to install (bare mininum of SP Foundation or whatever it is) on my local pc so I can develop code and add sharepoint reference in visual studio.
Well the bare minimum is to add the Microsoft.SharePoint.dll (located in the 14 hives folder) to your project - but you are not going to be happy with it. You might be able to write code and the compiler will not complain about missing references but you will not be able to debug or get any information from the SharePoint objects because all information is stored in the specific databases (config db, content db).
The best solution is to install SP Foundation (preferably in a VM) - if you want to code against features which are only available in the Standard/Enterprise version (for example InfoPath Froms Service) you will have to install the correspondig version.

MS Access: Can't complete the Output operation

I'm not an experienced vba programmer and working with access is not my cup of tea. I've been asked to fix some errors in an MS Access 2010 VB application. The sole user previously ran the application on a 32-bit platform but now has migrated to 64-bit. This caused the aplication to break. I have made some progress but every issue I resolve another seems to appear.
The following piece of code
DoCmd.OutputTo acOutputReport, "rptQLDExport", acFormatRTF, frm.txtDirectory.Value + "\QLD\All\QDATA.DOC"
is causing a runtime error 2587: Microsoft Access can't complete the Output operation
I have seached on the net for an answer but to no avail.
My development environment is Windows 7 SP1 (64-bit) and the application is running in Access 2010 (vba7, 64-bit). I'm willing answer questions to provide more information. Any suggestion will be appreciated.
This forum post suggests it is related to runtime versus full versions of Access (or Office). The suggested solution is to Copy the file UTILITY.ACCDA from the ACCWIZ directory to the same directory as MSACCESS.EXE
You would need to check licensing before distributing the file in your application installer, obviously.
Update: On a machine that fails, copy over ProcessMonitor (from technet; no install required). Filter to your application. Repeat the process and get it to fail. Examine the files that your application is trying to access and why they fail.