TFS access issue when check in files - tfs

I have a problem in TFS.
Actually, last time when we are working on ROM (my project name). We (john & me ) both had created a controller with same
name ROController.cs and we noticed this problem (same files Confilct), when we are checking files to TFS.
So, i deleted my file , and let john to check in his file.
Now ,the problem is that when i try to get lastest or even
access that ROController and its View. i got errors like
"you do not have permissoin to access this file."
also in the team explorer , my file is shown as deleted, user name (me)
These are the files properly defining the error status.
This is the Error Shown

Related

Service-based Database Failed

When trying to add a Service-based Database to my new project, I get a long error message stating that the CREATE FILE failed along with other queries:
The project I'm trying to add the database to is just created with nothing else changed with it:
After the error message pops up, the .mdf file shows in my solution explorer. However, when I double click the files, it states it does not exist in the project directory.
Edit: I have done a repair plus a reboot of my PC and I'm still getting this same issue.

Graph beta Teams Channels filesFolder property problem

There seems to be a number of issues with the "filesFolder" endpoint and the results are intermittent.
Using Graph to create channels (both private and standard) I then have these errors:
For newly created "private" channels it returns code: "BadGateway" errors. I don't know if they ever go away. The private channel site is created in Sharepoint. The error message: "Failed to execute backend request."
For newly created "standard" channels it always returns code: "NotFound" errors. I can find the channel folder in Sharepoint so I know it exists. The error message: "Sharepoint folder not found."
Really need this!
The older workaround to just create folders for the Channel using the same name and dummy files and then removing them --> links the SharePoint folder to the Channel when someone clicks the Files Tab for the first or second (because of random "cannot get files notification") time.
However --> we just want to provision nice short namings for the SharePoint folder for automation purposes and ALSO let users rename the channel if desired. So if someone renames the channel before they click on the Files tab --> the provisioned Folder never will be linked to a channel because Teams creates a new one with the renamed channel name 😒

Visual Studio 2015 Preview , While creating Web Projects throwing Unspecified error HRESULT:0x80004005 (E_FAIL)

I downloaded the VS2015 Preview and tried to create a Web Project.
I am getting the following errors when creating the project itself.
I get a Watson error first 'Unspeciifed error HRESULT:0x80004005 (E_FAIL)' ,
Then When I tried to open the Project Directly from the physical location it is throwing the other error 'Unable to create the Virtual Directory Localhost:5544 ...Error:Filename:redirection.config'
I had tried each of the steps recommended and didn't work. So, my last resource was to review the registry to find out if my user was pointing to a temp or cache folder.
Some posts were suggesting to check on HKEY_LOCAL_MACHINE; but nothing there. So, I finally found it by going into the HKEY_CURRENT_USER as recommended by boilers222.
Opened registry (CTRL+R, regedit, OK)
Navigated to
KEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\
Found out the Personal key was pointing to
\OurServer\RedirectedFolders\MyName\MyDocuments
Selected the Personal key, right clicked on it, and selected Modify
Entered a location pointing to my user's documents file:
%USERPROFILE%\Documents\
Clicked OK and closed the registry editor
When I opened Visual Studio and opened my solution, it loaded without the "unable to access the IIS metabase" error.

Pentaho 5.0.1 CE Adding folder to pentaho-solutions directory

How do I get a folder to appear in the browser after adding it to \pentaho-solutions in Pentaho 5.0.1 CE. The documentation I read does not seem to work with this new version.
1. Create a new directory in /pentaho/server/biserver-ee/pentaho-solutions/.
Use underscores instead of spaces in the solution directory name. Ensure that the directory has the appropriate user
and group ownership to be writable from the BI Platform.
2. Using an XML-aware text editor (or Design Studio), create a file named index.xmlin your new solution directory.
3. Copy the following text into the index.xml file, changing the content accordingly:
***<index>
<name>Example Solution</name>
<description>This solution contains examples I created while learning to
work with action sequences.</description>
<icon></icon>
<visible>true</visible>
<display-type>icons</display-type>
</index>***
4. Save the file and close the text editor.
5. Log into the Pentaho User Console as an administrator.
6. Refresh the solution repository cache by going to the Toolsmenu, then selecting the Refreshsubmenu, then
clicking on Repository Cache.
You now have a new solution directory. It will show up in all file dialogues in the Pentaho User Console as well as the
Solution Browser in the left pane.
Every time you add or edit an action sequence to your solution directory, you must refresh the repository cache as
explained above. Each user currently logged into the Pentaho User Console must also refresh their session cache; this
is best done by re-logging into the Pentaho User Console.
I am using Pentaho design studio to develop an xaction sequence script. I followed this procedure:
1. In Design Studio, go to the Filemenu, then select New, and click on Other...in the sub-menu.
The Newwindow will appear.
2. In the Newwindow, click the triangle next to Pentaho, select New Action Sequence Wizard, then click Next.
3. In the File namefield, type hello_world.xaction.
4. Select Hello Worldfrom the Templatedrop-down box, then click Finish.
The wizard will generate the new file and bring you back to the workbench.
5. Click on HelloWorldComponentin the Process Actionssection on the left.
The right side of the screen will change to show the options available for this action: Nameand Message. The
Name field controls the name of the component in the Process Actions list on the left; it doesn't do anything else of
note. The Message field contains the text that will appear on the screen when the action sequence is run. It is prepopulated with %quote, which is a token that represents a quote message in a nonexistent properties file. Pentaho
used to provide properties files for each example, but they have been removed from the standard Pentaho Business
Analytics distribution.
6. Replace the %quotewith a sufficiently inspiring message.
Alternatively, you could create a hello_world.propertiesfile and populate it with the appropriate messages and
tokens, but that has no advantage unless you intend to internationalize this action sequence.
7. Save the file.
You now have a working action sequence that prints a short text message: "Hello, World." plus whatever you typed into
the Message field. The first part of the message is determined by a message bundle packaged with the Pentaho Web
application archive.
To test the action sequence, use the Test tab if you are on Windows or OS X, or log into the Pentaho User Console and
run it from the Solution Browser.
Running the sample xaction fails with
Sorry. We really did try.
Something went wrong. Please try again
or contact your administrator.
I figure this is because pentaho cannot locate the xaction file as specified in the file path when I generate the url from within design studio. The folder I created within the solution directory does not appear in the browser directory list despite refreshing the cache. Any help?
With Version 5 the files and folders are no longer stored in "/pentaho/server/biserver-ee/pentaho-solutions/..."
It is stored now in a jackrabbit repository.
You can create folders and upload files in the user console.
I did mistake after starting biserver 5.2. Unexpectedly i deleted Public folder after configuring to jackrabbit. Now how do i create the folder so that i can see Public and Home Folders.
Sorry for getting back to this question some time later, just in case someone searches something related to Pentaho repositories management with no success, i hope this information can help.
Just to make things more clear, i'm using version 5.2.x and i'm supposing you want to create a new folder on the root directory of Browse Files screen, something that is not allowed on Pentaho5 CE Web Console.
The answers about repository management based on JackRabbit are correct, so the old way we used to configure new "solutions" folders doesn't work anymore. From version 5 on, Pentaho exposes an interesting REST api that allows you doing things not allowed in web console.
For instance, for creating a folder in root directory you should create a http REST PUT request against Pentaho Server (using tools like curl or if you appreciate Google Chrome, something like Advanced Rest Client, etc.) using the following URL:
http://localhost:8080/pentaho/api/repo/dirs/:new_directory_name?userid=admin&password=password
Pentaho repository directory REST api is documented here:
http://javadoc.pentaho.com/bi-platform500/webservice500/resource_DirectoryResource.html
It's worthy to spend some time reading REST API the documentation.

VS 2012 publishing a webside 2 big problems

I am new to coding and everytime I ask a question I feel like stupid because I mostly am unfamiliar with most known things in this "industry" so I will sum up the whole situation fastly.
I learned how to code html css and js, I learned how to use VS 2012 asp.net mvc 4 and finally I made a webside for a student club I am into. Hosting is provided by our school and they only gave me ftp user name and password, I dont know which hosting firm is it or what is going on and so on, I got Filezilla to delete and unpublish the old webside, and I didnt know a proper way to publish asp.net websides through filezilla so I used VS 2012 publish tool.
I choosed FTP as publish method because I had ftp user name... I choosed relase as configuration and thats it ( I didnt open options here ) finally I could push on publish...
I faced 2 main problems so I couldnt publish
Problems I faced were;
1) While I was trying to publish I got an error like
" Validation (HTML5): Element 'a' must not be nested within element 'a button' "
I was trying to make a nav with sub items on it, It worked while I was trying it on local host I saw similar problems spoken out here on VS 2010 I tried to make exstensions to VS didnt work out
Anyway I deleted that part from the project and I tried publishing again.
2)It worked out perfect it seemed like no problem occoured. But when I try to open the webside it was saying I had no permisson to view.
I hope I didnt write any off topic staff here just try to tell you my problems so maybe someone can get help like I did from prior topics.
" Validation (HTML5): Element 'a' must not be nested within element 'a
button' "
You cannot have one anchor tag inside another anchor tag. If you have it that will cause you the problem.
Check out this thread to find out valid elements which can be nested inside an Anchor tag.
I had no permisson to view.
You need to give proper read/write permissions for the ApplicationPool Identity on the folder structure you have for your website. Or else IIS Apppool will not be able to get the files and execute them.
Give permissions to AppPool Identity for a particular folder/file. That resource will guide you one how to give you permissions to Application Pool Identity.
Alternatively you can give permissions from FileZilla itself. Simply right click the application root folder and select permissions. Then you can specify permissions from client side itself. But in most of the production cases, we have to add app pool user to the folder/file permissions list manually. But definitely give a try with FileZilla.

Resources